Skip to content

Commit

Permalink
chore(browserify): remove secureBundling policy.json from VCS
Browse files Browse the repository at this point in the history
This also avoids a second unnecessary run of the `test:prep` script when `npm test` is invoked from the workspace root.

Closes #1103
  • Loading branch information
boneskull committed Mar 19, 2024
1 parent 166c953 commit d945e27
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1,312 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -123,3 +123,6 @@ packages/*/types

!**/fixtures/main/node_modules
packages/aa/test/projects/4/node_modules/aaa

# generated by browserify's test:prep script
packages/browserify/test/fixtures/secureBundling/lavamoat/node/policy.json
2 changes: 1 addition & 1 deletion packages/browserify/package.json
Expand Up @@ -24,7 +24,7 @@
"scripts": {
"build:ses": "(cd ./node_modules/ses && npm install && npm run build && cp ./dist/ses.umd.js ../../lib/)",
"lint:deps": "depcheck",
"test": "npm run test:prep && npm run test:ava",
"test": "npm run test:ava",
"test:ava": "ava",
"test:prep": "cross-env WRITE_AUTO_POLICY=1 node ./test/fixtures/secureBundling/run.js && cross-env WRITE_AUTO_POLICY=1 node ./test/fixtures/secureBundling/build.js >/dev/null"
},
Expand Down

0 comments on commit d945e27

Please sign in to comment.