Dependency install hooks now stay off in client/, as they already are at the root and in sas/: client/.npmrc is committed with ignore-scripts and save-exact, the root install script runs `npm run postinstall` after installing, and both CI installs pass --ignore-scripts and then run the generator by hand. The client's own postinstall is what creates src/environments/version.ts and the hot icons, so it has to run - it is third-party hooks that do not. CI writes client/.npmrc from the NPMRC secret; the second job now appends rather than overwrites so the tracked policy survives (the first already appended). The archiver guard reads the archive back instead of checking its size: a matcher that takes the top-level file and misses the nested directory clears any size threshold, and that is exactly the failure it exists to catch. It now asserts a.txt and sub/b.txt are both present.
6 lines
256 B
Plaintext
6 lines
256 B
Plaintext
ignore-scripts=true
|
|
save-exact=true
|
|
# dependency install hooks are skipped: the client's own postinstall generates
|
|
# src/environments/version.ts and the hot icons, so run `npm run postinstall`
|
|
# after installing (the root install script does this for you)
|