Skip to content

Commit

Permalink
chore: user xlayers/version-stamp instead of script
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefiozie committed Oct 21, 2020
1 parent a4a953a commit 939db56
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 31 deletions.
4 changes: 4 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@
"jestConfig": "apps/xlayers/jest.config.js",
"passWithNoTests": true
}
},
"stamp": {
"builder": "@xlayers/version-stamp:stamp",
"options": {}
}
}
},
Expand Down
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"update": "ng update @nrwl/workspace",
"workspace-schematic": "nx workspace-schematic",
"dep-graph": "nx dep-graph",
"stamp": "node tools/stamp.js",
"stamp": "ng run xlayers:stamp",
"release": "release-it --config .release-it.json",
"deploy": "npm run build -- --prod && npm run stamp && firebase deploy --only hosting",
"help": "nx help"
Expand Down Expand Up @@ -83,6 +83,8 @@
"@types/jest": "26.0.8",
"@types/node": "^8.10.64",
"@types/sketchapp": "^56.0.0",
"@xlayers/version-stamp": "0.0.1",
"adm-zip": ">=0.4.11",
"codelyzer": "~5.0.1",
"cypress": "^4.1.0",
"cypress-file-upload": "^4.0.7",
Expand All @@ -101,8 +103,7 @@
"ts-node": "~7.0.0",
"tslint": "~6.0.0",
"typescript": "3.9.7",
"url-parse": ">=1.4.3",
"adm-zip": ">=0.4.11"
"url-parse": ">=1.4.3"
},
"lint-staged": {
"*.{ts,json,md}": [
Expand Down
28 changes: 0 additions & 28 deletions tools/stamp.js

This file was deleted.

0 comments on commit 939db56

Please sign in to comment.