Skip to content

Commit

Permalink
Merge pull request runbox#1623 from runbox/shadowbas/update-file-hash…
Browse files Browse the repository at this point in the history
…es-after-sentry-instrumentation

build(app): Update file hashes after sentry instrumentation
  • Loading branch information
castaway authored Nov 19, 2024
2 parents 3ab1b71 + 7065f4c commit cb6e208
Show file tree
Hide file tree
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
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions src/build/post-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit cb6e208

Please sign in to comment.