Skip to content

Commit 471d054

Browse files
committed
fix: remove browser tests and express dep
1 parent fe1f0d7 commit 471d054

8 files changed

Lines changed: 3 additions & 793 deletions

File tree

package-lock.json

Lines changed: 0 additions & 434 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/run/package.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,18 @@
3232
],
3333
"scripts": {
3434
"build": "tsc",
35-
"build:web": "esbuild web/index.ts --bundle --format=esm --platform=browser --outdir=dist/web && cp web/index.html dist/web/index.html",
3635
"prepublishOnly": "npm run build",
3736
"start": "node dist/scripts/start.js",
3837
"stop": "node dist/scripts/stop.js",
3938
"restart": "npm run stop && npm run start",
4039
"logs": "node dist/scripts/logs.js",
4140
"info": "node dist/scripts/info.js",
4241
"test": "if [ \"$CI\" = \"true\" ]; then echo 'Skipping tests in CI'; exit 0; fi && NODE_ENV=test node ./src/run-tests.js \"tests/basic.spec.ts\"",
43-
"test:browser": "if [ \"$CI\" = \"true\" ]; then echo 'Skipping browser tests in CI'; exit 0; fi && npm run build:web && npx playwright test --reporter=line",
4442
"fix": "run-s fix:*",
45-
"fix:lint": "eslint src scripts tests web --fix",
43+
"fix:lint": "eslint src scripts tests --fix",
4644
"check": "run-s check:*",
4745
"check:tsc": "tsc -p tsconfig.dev.json",
48-
"check:lint": "eslint src scripts tests web",
46+
"check:lint": "eslint src scripts tests",
4947
"check:spelling": "cspell \"{README.md,src/**/*.ts,scripts/**/*.ts,tests/**/*.ts}\""
5048
},
5149
"engines": {
@@ -58,14 +56,10 @@
5856
"@waku/utils": "*"
5957
},
6058
"devDependencies": {
61-
"@playwright/test": "^1.51.1",
6259
"@types/chai": "^4.3.11",
63-
"@types/express": "^4.17.21",
6460
"@types/mocha": "^10.0.6",
6561
"chai": "^4.3.10",
6662
"cspell": "^8.6.1",
67-
"esbuild": "^0.21.5",
68-
"express": "^4.21.2",
6963
"mocha": "^10.3.0",
7064
"npm-run-all": "^4.1.5",
7165
"ts-node": "^10.9.2",

packages/run/playwright.config.ts

Lines changed: 0 additions & 22 deletions
This file was deleted.

packages/run/tests/browser.spec.ts

Lines changed: 0 additions & 188 deletions
This file was deleted.

packages/run/tests/test-server.ts

Lines changed: 0 additions & 38 deletions
This file was deleted.

packages/run/tsconfig.dev.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"compilerOptions": {
44
"rootDir": "."
55
},
6-
"include": ["src", "scripts", "tests", "web", "playwright.config.ts"]
6+
"include": ["src", "scripts", "tests"]
77
}

packages/run/web/index.html

Lines changed: 0 additions & 13 deletions
This file was deleted.

packages/run/web/index.ts

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)