Simplify publish process

This commit is contained in:
JFH
2025-12-07 17:29:10 +01:00
parent 28fe82b61e
commit 370ba56ff0
15 changed files with 397 additions and 195 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@svgedit/react-test",
"version": "1.1.5",
"version": "7.4.0",
"description": "",
"main": "dist/index.js",
"scripts": {

View File

@@ -1,58 +1,58 @@
{
"name": "@svgedit/svgcanvas",
"version": "7.2.7",
"description": "SVG Canvas",
"main": "dist/svgcanvas.js",
"author": "Narendra Sisodiya",
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/SVG-Edit/svgedit/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SVG-Edit/svgedit.git"
},
"homepage": "https://github.com/SVG-Edit/svgedit#readme",
"contributors": [
"Pavol Rusnak",
"Jeff Schiller",
"Vidar Hokstad",
"Alexis Deveria",
"Brett Zamir",
"Fabien Jacq",
"OptimistikSAS"
"name": "@svgedit/svgcanvas",
"version": "7.4.0",
"description": "SVG Canvas",
"main": "dist/svgcanvas.js",
"author": "Narendra Sisodiya",
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/SVG-Edit/svgedit/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SVG-Edit/svgedit.git"
},
"homepage": "https://github.com/SVG-Edit/svgedit#readme",
"contributors": [
"Pavol Rusnak",
"Jeff Schiller",
"Vidar Hokstad",
"Alexis Deveria",
"Brett Zamir",
"Fabien Jacq",
"OptimistikSAS"
],
"keywords": [
"svg-editor",
"javascript",
"svg-edit",
"svg",
"svgcanvas"
],
"license": "MIT",
"browserslist": [
"defaults",
"not IE 11",
"not OperaMini all"
],
"standard": {
"ignore": [
"dist"
],
"keywords": [
"svg-editor",
"javascript",
"svg-edit",
"svg",
"svgcanvas"
"globals": [
"cy",
"assert"
],
"license": "MIT",
"browserslist": [
"defaults",
"not IE 11",
"not OperaMini all"
],
"standard": {
"ignore": [
"dist"
],
"globals": [
"cy",
"assert"
],
"env": [
"mocha",
"browser"
]
},
"scripts": {
"build": "vite build",
"prebuild": "standard . && npm i",
"prepublishOnly": "npm run build"
}
"env": [
"mocha",
"browser"
]
},
"scripts": {
"build": "vite build",
"prebuild": "standard . && npm i",
"prepublishOnly": "npm run build"
}
}

View File

@@ -1,6 +1 @@
## To publish this package
1. update the version number in package.json
2. update the CHANGES.md
3. move to the package directory (packages/svgcanvas)
4. run 'npm publish' (that will automate the build)
5. create a commit with above changes called 'release x.y.z'
see docs/ReleaseInstructions.md