Skip to content

Commit

Permalink
build(app): Update file hashes after sentry instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowbas authored and bas080 committed Nov 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 131d3ed commit 7065f4c
Showing 3 changed files with 271 additions and 0 deletions.
268 changes: 268 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -75,6 +75,7 @@
"@angular/compiler-cli": "15.1.3",
"@angular/language-service": "^15.2.7",
"@cypress/webpack-preprocessor": "^5.17.0",
"@sentry/cli": "^2.38.2",
"@types/jasmine": "~4.3.1",
"@types/jasminewd2": "~2.0.10",
"@types/node": "^14.14.31",
2 changes: 2 additions & 0 deletions src/build/post-build.js
Original file line number Diff line number Diff line change
@@ -3,6 +3,8 @@ const chalk = require('chalk');

execSync('git checkout src/app/buildtimestamp.ts');
execSync('git checkout ngsw-config.json');
execSync('npx sentry-cli sourcemaps inject ./dist/');
execSync('npx ngsw-config ./dist ngsw-config.json "/app/"');

const changelogUpdated = execSync('git status --porcelain src/app/changelog/changes.ts').toString().trim();
if (changelogUpdated) {

0 comments on commit 7065f4c

Please sign in to comment.