Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peeja committed Jan 28, 2025
1 parent f75a105 commit d35844c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
4 changes: 3 additions & 1 deletion packages/upload-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"type": "module",
"types": "dist/src/index.d.ts",
"main": "dist/src/index.js",
"// scripts": "The `test-:*` scripts are internal only, to be run by `npm-run-all` in parallel with the mock servers.",
"scripts": {
"dev": "tsc --build --watch --preserveWatchOutput",
"build": "tsc --build",
Expand All @@ -21,7 +22,8 @@
"attw": "attw --pack .",
"lint": "eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"lint:fix": "eslint --fix '**/*.{js,ts}' && prettier --write '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"test:node": "hundreds -r html -r text mocha 'test/**/!(*.browser).test.js' -n experimental-vm-modules -n no-warnings",
"test:node": "npm-run-all --parallel --race --npm-path pnpm mock:* 'test-:node'",
"test-:node": "hundreds -r html -r text mocha 'test/**/!(*.browser).test.js' -n experimental-vm-modules -n no-warnings",
"test:browser": "npm-run-all --parallel --race --npm-path pnpm mock:* 'test-:browser'",
"test-:browser": "playwright-test 'test/**/!(*.node).test.js'",
"mock": "run /^mock:/",
Expand Down
10 changes: 9 additions & 1 deletion packages/upload-client/project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"$schema": "./../../node_modules/nx/schemas/project-schema.json",
"targets": {
"test": {}
"test": {},
"test:node": {
"// parallelism": "Uses the mock server, so don't run it in parallel with other tasks.",
"parallelism": false
},
"test:browser": {
"// parallelism": "Uses the mock server, so don't run it in parallel with other tasks.",
"parallelism": false
}
}
}
4 changes: 3 additions & 1 deletion packages/w3up-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,16 @@
"files": [
"dist"
],
"// scripts": "The `test-:*` scripts are internal only, to be run by `npm-run-all` in parallel with the mock servers.",
"scripts": {
"dev": "tsc --build --watch --preserveWatchOutput",
"build": "tsc --build",
"clean": "rm -rf dist coverage",
"typecheck": "tsc --build",
"lint": "eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"lint:fix": "eslint --fix '**/*.{js,ts}' && prettier --write '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
"test:node": "hundreds -r html -r text mocha 'test/**/!(*.browser).test.js' -n experimental-vm-modules -n no-warnings -n stack-trace-limit=1000 -t 10000 --bail",
"test:node": "npm-run-all --parallel --race --npm-path pnpm mock:* 'test-:node'",
"test-:node": "hundreds -r html -r text mocha 'test/**/!(*.browser).test.js' -n experimental-vm-modules -n no-warnings -n stack-trace-limit=1000 -t 10000 --bail",
"test:browser": "npm-run-all --parallel --race --npm-path pnpm mock:* 'test-:browser'",
"test-:browser": "playwright-test --runner mocha 'test/**/!(*.node).test.js'",
"mock:bucket-0-200": "PORT=8989 STATUS=200 node test/helpers/bucket-server.js",
Expand Down
10 changes: 9 additions & 1 deletion packages/w3up-client/project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"$schema": "./../../node_modules/nx/schemas/project-schema.json",
"targets": {
"test": {}
"test": {},
"test:node": {
"// parallelism": "Uses the mock server, so don't run it in parallel with other tasks.",
"parallelism": false
},
"test:browser": {
"// parallelism": "Uses the mock server, so don't run it in parallel with other tasks.",
"parallelism": false
}
}
}

0 comments on commit d35844c

Please sign in to comment.