Skip to content

Commit

Permalink
version bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
BrodyHughes committed Oct 25, 2024
1 parent df9b017 commit 37ba9da
Show file tree
Hide file tree
Showing 6 changed files with 340 additions and 316 deletions.
3 changes: 2 additions & 1 deletion e2e/parallel/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export default mergeConfig(
defineConfig({
test: {
bail: 1,
threads: false,
isolate: false,
fileParallelism: false,
},
}) as UserConfig,
);
3 changes: 2 additions & 1 deletion e2e/serial/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export default mergeConfig(
viteConfig,
defineConfig({
test: {
threads: false,
isolate: false,
fileParallelism: false,
bail: 1,
sequence: {
shuffle: false,
Expand Down
206 changes: 111 additions & 95 deletions lavamoat/build-webpack/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight": {
"packages": {
"@testing-library/react>@testing-library/dom>@babel/code-frame>@babel/highlight>chalk": true,
"jest>@jest/core>jest-snapshot>@babel/types>@babel/helper-validator-identifier": true,
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true,
"react>loose-envify>js-tokens": true
}
},
Expand Down Expand Up @@ -288,14 +288,39 @@
"path.sep": true
},
"packages": {
"copy-webpack-plugin>fast-glob": true,
"copy-webpack-plugin>glob-parent": true,
"copy-webpack-plugin>globby": true,
"copy-webpack-plugin>schema-utils": true,
"copy-webpack-plugin>serialize-javascript": true,
"globby>fast-glob": true,
"lint-staged>normalize-path": true
}
},
"copy-webpack-plugin>fast-glob": {
"builtin": {
"fs.lstat": true,
"fs.lstatSync": true,
"fs.readdir": true,
"fs.readdirSync": true,
"fs.stat": true,
"fs.statSync": true,
"os.cpus": true,
"path.basename": true,
"path.resolve": true,
"stream.PassThrough": true,
"stream.Readable": true
},
"globals": {
"process.cwd": true
},
"packages": {
"eslint>@nodelib/fs.walk": true,
"globby>fast-glob>@nodelib/fs.stat": true,
"globby>fast-glob>merge2": true,
"msw>chokidar>glob-parent": true,
"ts-loader>micromatch": true
}
},
"copy-webpack-plugin>glob-parent": {
"builtin": {
"os.platform": true,
Expand Down Expand Up @@ -323,12 +348,32 @@
"process.cwd": true
},
"packages": {
"copy-webpack-plugin>fast-glob": true,
"copy-webpack-plugin>globby>array-union": true,
"copy-webpack-plugin>globby>dir-glob": true,
"eslint>ignore": true,
"globby>array-union": true,
"globby>dir-glob": true,
"globby>fast-glob": true,
"globby>merge2": true,
"globby>slash": true
"globby>fast-glob>merge2": true,
"jest>@jest/core>slash": true
}
},
"copy-webpack-plugin>globby>dir-glob": {
"builtin": {
"path.extname": true,
"path.isAbsolute": true,
"path.join": true,
"path.posix.join": true
},
"globals": {
"process.cwd": true
},
"packages": {
"copy-webpack-plugin>globby>dir-glob>path-type": true
}
},
"copy-webpack-plugin>globby>dir-glob>path-type": {
"builtin": {
"fs": true,
"util.promisify": true
}
},
"copy-webpack-plugin>schema-utils": {
Expand Down Expand Up @@ -414,8 +459,8 @@
},
"packages": {
"css-loader>postcss>nanoid": true,
"css-loader>postcss>source-map-js": true,
"vitest>picocolors": true
"css-loader>postcss>picocolors": true,
"css-loader>postcss>source-map-js": true
}
},
"css-loader>postcss-modules-local-by-default": {
Expand All @@ -441,6 +486,16 @@
"css-loader>icss-utils": true
}
},
"css-loader>postcss>picocolors": {
"builtin": {
"tty.isatty": true
},
"globals": {
"process.argv.includes": true,
"process.env": true,
"process.platform": true
}
},
"dotenv-webpack": {
"builtin": {
"fs": true
Expand Down Expand Up @@ -617,7 +672,8 @@
"eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/helper-validator-identifier": true,
"eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/template": true,
"jest>@jest/core>jest-snapshot>@babel/traverse": true,
"jest>@jest/core>jest-snapshot>@babel/types": true
"jest>@jest/core>jest-snapshot>@babel/types": true,
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true
}
},
"eslint-config-rainbow>eslint-import-resolver-babel-module>@babel/core>@babel/helper-module-transforms>@babel/helper-module-imports": {
Expand Down Expand Up @@ -808,51 +864,6 @@
"webpack>schema-utils>ajv-keywords": true
}
},
"globby>dir-glob": {
"builtin": {
"path.extname": true,
"path.isAbsolute": true,
"path.join": true,
"path.posix.join": true
},
"globals": {
"process.cwd": true
},
"packages": {
"globby>dir-glob>path-type": true
}
},
"globby>dir-glob>path-type": {
"builtin": {
"fs": true,
"util.promisify": true
}
},
"globby>fast-glob": {
"builtin": {
"fs.lstat": true,
"fs.lstatSync": true,
"fs.readdir": true,
"fs.readdirSync": true,
"fs.stat": true,
"fs.statSync": true,
"os.cpus": true,
"path.basename": true,
"path.resolve": true,
"stream.PassThrough": true,
"stream.Readable": true
},
"globals": {
"process.cwd": true
},
"packages": {
"eslint>@nodelib/fs.walk": true,
"globby>fast-glob>@nodelib/fs.stat": true,
"globby>merge2": true,
"msw>chokidar>glob-parent": true,
"ts-loader>micromatch": true
}
},
"globby>fast-glob>@nodelib/fs.stat": {
"builtin": {
"fs.lstat": true,
Expand All @@ -861,7 +872,7 @@
"fs.statSync": true
}
},
"globby>merge2": {
"globby>fast-glob>merge2": {
"builtin": {
"stream.PassThrough": true
},
Expand Down Expand Up @@ -1149,8 +1160,7 @@
"jest>@jest/core>jest-snapshot>@babel/traverse>@babel/code-frame>@babel/highlight": {
"packages": {
"jest>@jest/core>jest-snapshot>@babel/traverse>@babel/code-frame>chalk": true,
"jest>@jest/core>jest-snapshot>@babel/traverse>@babel/types>@babel/helper-validator-identifier": true,
"react>loose-envify>js-tokens": true
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight": true
}
},
"jest>@jest/core>jest-snapshot>@babel/traverse>@babel/code-frame>chalk": {
Expand Down Expand Up @@ -1220,10 +1230,38 @@
},
"packages": {
"jest>@jest/core>jest-snapshot>@babel/types>@babel/helper-string-parser": true,
"jest>@jest/core>jest-snapshot>@babel/types>@babel/helper-validator-identifier": true,
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true,
"lavamoat>lavamoat-core>@babel/types>to-fast-properties": true
}
},
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight": {
"packages": {
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>@babel/helper-validator-identifier": true,
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk": true,
"react>loose-envify>js-tokens": true
}
},
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk": {
"globals": {
"process.env.TERM": true,
"process.platform": true
},
"packages": {
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>ansi-styles": true,
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>escape-string-regexp": true,
"supports-color": true
}
},
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>ansi-styles": {
"packages": {
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert": true
}
},
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert": {
"packages": {
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert>color-name": true
}
},
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name": {
"packages": {
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template": true,
Expand All @@ -1243,7 +1281,7 @@
"process.emitWarning": true
},
"packages": {
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>@babel/highlight": true,
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/code-frame>@babel/highlight": true,
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name>@babel/template>@babel/code-frame>chalk": true
}
},
Expand Down Expand Up @@ -1603,27 +1641,6 @@
"viem>ws>bufferutil>node-gyp-build": true
}
},
"vitest>acorn": {
"globals": {
"console": true,
"define": true
}
},
"vitest>acorn-walk": {
"globals": {
"define": true
}
},
"vitest>picocolors": {
"builtin": {
"tty.isatty": true
},
"globals": {
"process.argv.includes": true,
"process.env": true,
"process.platform": true
}
},
"vitest>vite>terser": {
"globals": {
"Buffer.from": true,
Expand All @@ -1636,7 +1653,7 @@
},
"packages": {
"vitest>vite>terser>@jridgewell/source-map": true,
"vitest>vite>terser>acorn": true
"webpack>acorn": true
}
},
"vitest>vite>terser>@jridgewell/source-map": {
Expand All @@ -1646,12 +1663,6 @@
"define": true
}
},
"vitest>vite>terser>acorn": {
"globals": {
"console": true,
"define": true
}
},
"web-ext>source-map-support": {
"builtin": {
"fs": true,
Expand Down Expand Up @@ -1811,18 +1822,17 @@
"packages": {
"lodash": true,
"viem>ws": true,
"vitest>acorn-walk": true,
"webpack-bundle-analyzer>acorn": true,
"webpack-bundle-analyzer>acorn-walk": true,
"webpack-bundle-analyzer>chalk": true,
"webpack-bundle-analyzer>gzip-size": true,
"webpack-bundle-analyzer>opener": true,
"webpack-bundle-analyzer>sirv": true,
"webpack-cli>@discoveryjs/json-ext": true
"webpack-cli>@discoveryjs/json-ext": true,
"webpack>acorn": true
}
},
"webpack-bundle-analyzer>acorn": {
"webpack-bundle-analyzer>acorn-walk": {
"globals": {
"console": true,
"define": true
}
},
Expand Down Expand Up @@ -2241,8 +2251,8 @@
"process": true
},
"packages": {
"vitest>acorn": true,
"webpack>terser-webpack-plugin>terser>@jridgewell/source-map": true
"webpack>terser-webpack-plugin>terser>@jridgewell/source-map": true,
"webpack>terser-webpack-plugin>terser>acorn": true
}
},
"webpack>terser-webpack-plugin>terser>@jridgewell/source-map": {
Expand All @@ -2252,6 +2262,12 @@
"define": true
}
},
"webpack>terser-webpack-plugin>terser>acorn": {
"globals": {
"console": true,
"define": true
}
},
"webpack>watchpack": {
"builtin": {
"events.EventEmitter": true,
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"dependencies": {
"@capsizecss/core": "3.0.0",
"@ethereumjs/tx": "5.0.0",
"@ethereumjs/util": "9.0.0",
"@ethereumjs/util": "9.1.0",
"@ethersproject/abstract-signer": "5.7.0",
"@ethersproject/address": "5.7.0",
"@ethersproject/bignumber": "5.7.0",
Expand Down Expand Up @@ -209,7 +209,7 @@
"file-loader": "6.2.0",
"fs-extra": "10.1.0",
"geckodriver": "4.3.0",
"globby": "11.0.4",
"globby": "14.0.2",
"happy-dom": "8.9.0",
"html-webpack-plugin": "5.5.0",
"husky": "8.0.1",
Expand All @@ -228,7 +228,7 @@
"svg-path-commander": "1.0.5",
"ts-loader": "9.4.1",
"typescript": "5.2.2",
"vitest": "0.34.6",
"vitest": "2.1.3",
"web-ext": "7.6.2",
"webpack": "5.94.0",
"webpack-bundle-analyzer": "4.8.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/e2e-serial-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ launch_anvil() {
# Function to run tests
run_tests() {
echo "Running Tests..."
yarn vitest e2e/serial/$1 --config ./e2e/serial/vitest.config.ts --reporter=verbose --bail 1
yarn vitest e2e/serial/$1 --config ./e2e/serial/vitest.config.ts --reporter=verbose --bail 1 --run
}

# Main loop for retry logic
Expand Down
Loading

0 comments on commit 37ba9da

Please sign in to comment.