Skip to content

Commit f707f48

Browse files
refactor(build): add script for updating package.json's sencha section on postbump
1 parent 2b9cdb6 commit f707f48

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

package.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,13 @@
105105
"release:patch": "npm run preversion && standard-version --release-as patch && npm run postversion",
106106
"release:minor": "npm run preversion && standard-version --release-as minor && npm run postversion",
107107
"release:major": "npm run preversion && standard-version --release-as major && npm run postversion",
108-
"deps:prod:latest": "npm i -P @conjoon/extjs-dev-webmailsim@latest @coon-js/extjs-app-user@latest @coon-js/extjs-comp-navport@latest @coon-js/extjs-lib-comp@latest @coon-js/extjs-lib-core @l8js/l8@latest"
108+
"deps:prod:latest": "npm i -P @conjoon/extjs-dev-webmailsim@latest @coon-js/extjs-app-user@latest @coon-js/extjs-comp-navport@latest @coon-js/extjs-lib-comp@latest @coon-js/extjs-lib-core @l8js/l8@latest",
109+
"update:package.json": "node bin/updatePackageJson.mjs"
110+
},
111+
"standard-version": {
112+
"scripts": {
113+
"postbump": "npm run update:package.json"
114+
}
109115
},
110116
"repository": {
111117
"type": "git",
@@ -128,4 +134,4 @@
128134
"url": "https://github.com/conjoon/extjs-app-webmail/issues"
129135
},
130136
"homepage": "https://github.com/conjoon/extjs-app-webmail#readme"
131-
}
137+
}

0 commit comments

Comments
 (0)