mirror of
https://github.com/bcomnes/deploy-to-neocities.git
synced 2026-01-24 01:41:14 +00:00
refactor: Made versioning more efficient.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@ sandbox.js
|
|||||||
config.json
|
config.json
|
||||||
public
|
public
|
||||||
node_modules
|
node_modules
|
||||||
|
tmp_modules
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
"release": "git push --follow-tags && gh-release",
|
"release": "git push --follow-tags && gh-release",
|
||||||
"version": "run-s version:*",
|
"version": "run-s version:*",
|
||||||
"version:1-changelog": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING:' && git add CHANGELOG.md",
|
"version:1-changelog": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING:' && git add CHANGELOG.md",
|
||||||
"version:2-cleandeps": "rm -rf node_modules && npm i --only=prod && git add node_modules --force",
|
"version:2-cleandeps": "mv node_modules tmp_modules && npm i --only=prod && git add node_modules --force",
|
||||||
"postversion": "npm i",
|
"postversion": "rm -rf node_modules && mv tmp_modules node_modules",
|
||||||
"clean": "rimraf dist && mkdirp dist",
|
"clean": "rimraf dist && mkdirp dist",
|
||||||
"build": "mkdir public && cp package.json public/test.json"
|
"build": "mkdir public && cp package.json public/test.json"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user