osra 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.d.ts +382 -8
- package/build/index.js +438 -333
- package/build/index.js.map +1 -1
- package/build/test.js +8301 -7440
- package/build/test.js.map +1 -1
- package/package.json +5 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "osra",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Easy communication between workers",
|
|
5
5
|
"files": [
|
|
6
6
|
"build"
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
"dev": "concurrently \"npm run build-test-watch\"",
|
|
16
16
|
"_dev": "concurrently \"npm run build-watch\" \"npm run build-test-watch\" \"npm run test-watch\"",
|
|
17
17
|
"dev2": "concurrently \"npm run build-watch\" \"npm run build-test-watch\" \"npm run test-watch-headful\"",
|
|
18
|
-
"test": "npx playwright test",
|
|
18
|
+
"test": "npm run build-test && npx playwright test",
|
|
19
19
|
"test-watch": "set PWTEST_WATCH=1 & npx playwright test",
|
|
20
20
|
"test-watch-headful": "nodemon --watch build --exec \"npx playwright test --headed\"",
|
|
21
21
|
"test-with-coverage": "npm run build-test && npx playwright test && npm run print-coverage && npm run clean-coverage",
|
|
22
22
|
"print-coverage": "npx nyc report",
|
|
23
23
|
"clean-coverage": "rimraf .nyc_output coverage",
|
|
24
|
-
"type-check": "
|
|
24
|
+
"type-check": "tsgo --noEmit",
|
|
25
25
|
"start-server": "http-server -p 3000",
|
|
26
26
|
"linux-run-playwright": "xhost +local:docker && docker run -it --name playwright -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix:rw --network=host --ipc=host --shm-size=2gb --rm mcr.microsoft.com/playwright:v1.55.1-noble npx npx -y playwright@1.55.1 run-server --port 8010 --host 0.0.0.0",
|
|
27
27
|
"linux-test": "PW_TEST_CONNECT_WS_ENDPOINT=ws://127.0.0.1:8010/ npx playwright test -c playwright.linux.config.ts",
|
|
@@ -48,6 +48,8 @@
|
|
|
48
48
|
"@types/chrome": "^0.1.27",
|
|
49
49
|
"@types/firefox-webext-browser": "^143.0.0",
|
|
50
50
|
"@types/node": "^25.0.2",
|
|
51
|
+
"@types/webextension-polyfill": "^0.12.4",
|
|
52
|
+
"@typescript/native-preview": "^7.0.0-dev.20251223.1",
|
|
51
53
|
"chai": "^5.3.3",
|
|
52
54
|
"chai-as-promised": "^8.0.1",
|
|
53
55
|
"concurrently": "^9.1.0",
|