Skip to content

Commit

Permalink
fix(publish): update all next packages
Browse files Browse the repository at this point in the history
  • Loading branch information
gchoqueux committed Dec 11, 2024
1 parent 383b227 commit 5a2947d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/Debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"scripts": {
"lint": "eslint \"src/**/*.{js,ts,tsx}\"",
"transpile": "cross-env BABEL_DISABLE_CACHE=1 babel src --out-dir lib --extensions .js,.ts",
"watch": "npm run transpile -- --watch"
"watch": "npm run transpile -- --watch",
"publish-next": "npm version prerelease --preid next && npm run update-package",
"update-package": "npm remove @gchoqueux/geographic itowns && npm install @gchoqueux/geographic@$npm_package_version itowns@$npm_package_version --save"
},
"files": [
"*.md",
Expand Down
4 changes: 3 additions & 1 deletion packages/Widgets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"copy_transpile": "npx copyfiles -u 1 \"./lib/**/*\" ../Main/lib/Utils/gui/",
"transpileOnly": "cross-env BABEL_DISABLE_CACHE=1 babel src --out-dir lib --extensions .js,.ts",
"transpile": "npm run transpileOnly && npm run copy_transpile",
"watch": "npm run transpileOnly -- --watch"
"watch": "npm run transpileOnly -- --watch",
"publish-next": "npm version prerelease --preid next && npm run update-package",
"update-package": "npm remove @gchoqueux/geographic itowns && npm install @gchoqueux/geographic@$npm_package_version itowns@$npm_package_version --save"
},
"files": [
"*.md",
Expand Down

0 comments on commit 5a2947d

Please sign in to comment.