chore: Use bun run --sequential to simplify package scripts (#2252)
This commit is contained in:
@@ -8,11 +8,11 @@
|
||||
"dev:firefox": "buildc --deps-only -- wxt -b firefox",
|
||||
"dev:firefox-mv3": "buildc --deps-only -- wxt -b firefox --mv3",
|
||||
"build": "buildc --deps-only -- wxt build",
|
||||
"build:all": "buildc --deps-only -- bun run build:all:chrome-mv3 && bun run build:all:chrome-mv2 && bun run build:all:firefox-mv3 && bun run build:all:firefox-mv2",
|
||||
"build:all:chrome-mv3": "wxt build",
|
||||
"build:all:chrome-mv2": "wxt build --mv2",
|
||||
"build:all:firefox-mv3": "wxt build -b firefox --mv3",
|
||||
"build:all:firefox-mv2": "wxt build -b firefox",
|
||||
"build:all": "buildc --deps-only -- bun run --sequential 'build:*-*'",
|
||||
"build:chrome-mv3": "wxt build",
|
||||
"build:chrome-mv2": "wxt build --mv2",
|
||||
"build:firefox-mv3": "wxt build -b firefox --mv3",
|
||||
"build:firefox-mv2": "wxt build -b firefox",
|
||||
"test": "buildc --deps-only -- vitest",
|
||||
"test:coverage": "bun run test run --coverage",
|
||||
"zip": "buildc --deps-only -- wxt zip",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"scripts": {
|
||||
"wxt": "bun run src/cli/index.ts",
|
||||
"build": "buildc -- bun run tsdown --config-loader unrun",
|
||||
"check": "bun run build && bun run check:default && bun run check:tsc-virtual",
|
||||
"check": "bun run build && bun run --sequential 'check:*'",
|
||||
"check:default": "check",
|
||||
"check:tsc-virtual": "tsc --noEmit -p src/virtual",
|
||||
"test": "buildc --deps-only -- vitest",
|
||||
|
||||
@@ -47,7 +47,6 @@ describe('Content Script UIs', () => {
|
||||
<p id="three"></p>
|
||||
</div>
|
||||
`;
|
||||
// @ts-ignore
|
||||
window.fetch = fetch;
|
||||
fetch.mockResolvedValue({ text: () => Promise.resolve('') });
|
||||
ctx = new ContentScriptContext('test');
|
||||
|
||||
Reference in New Issue
Block a user