Skip to content

Commit

Permalink
Fixed deploy-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tabris87 committed Oct 17, 2022
1 parent a3b7331 commit 9d48326
Show file tree
Hide file tree
Showing 8 changed files with 547 additions and 13 deletions.
4 changes: 2 additions & 2 deletions app/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
"maximumWarning": "1mb",
"maximumError": "2mb"
},
{
"type": "anyComponentStyle",
Expand Down
8 changes: 8 additions & 0 deletions app/deployZip.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const { zip } = require('zip-a-folder');
const { version } = require('./package.json');

const zipping = async () => {
zip('dist', `../journey_recorder_${version.replace(/\./gm, '-')}.zip`);
}

zipping();
Loading

0 comments on commit 9d48326

Please sign in to comment.