Changes for jsx from tempstream

Summary: T2738

Reviewers: #testers

Subscribers: kuba-orlik, jenkins-user

Maniphest Tasks: T2738

Differential Revision: https://hub.sealcode.org/D1363
master
Kuba Orlik 10 months ago
parent 199e1085ef
commit 7df920534c

@ -23,6 +23,14 @@ npm run watch
## Testing
First time after installing the project run this command to download firefox
```
npx playwright install firefox
```
And then
```
./npm.sh run test
```

26
package-lock.json generated

@ -14,16 +14,16 @@
"@hotwired/turbo": "^7.1.0",
"@koa/router": "^12.0.1",
"@playwright/test": "^1.36.1",
"@sealcode/sealgen": "^0.10.1",
"@sealcode/sealgen": "^0.11.0",
"@sealcode/ts-predicates": "^0.4.3",
"@types/kill-port": "^2.0.0",
"get-port": "^7.0.0",
"locreq": "^3.0.0",
"multiple-scripts-tmux": "^1.0.4",
"nodemon": "^3.0.1",
"sealious": "^0.17.37",
"sealious": "^0.17.48",
"stimulus": "^2.0.0",
"tempstream": "^0.0.21",
"tempstream": "^0.3.0",
"vitest": "^1.1.0"
},
"devDependencies": {
@ -1274,9 +1274,9 @@
}
},
"node_modules/@sealcode/sealgen": {
"version": "0.10.1",
"resolved": "https://registry.npmjs.org/@sealcode/sealgen/-/sealgen-0.10.1.tgz",
"integrity": "sha512-Yp/MOOuIfJUiEQIZgUuRV4wY5uXCWtOF/rnrSVU1u94ldSUbBUnRxrhakT74K0L01wDJMeyg+xR1pswnwDCKdg==",
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/@sealcode/sealgen/-/sealgen-0.11.0.tgz",
"integrity": "sha512-Nl2/PccEqRNh7hnA0O7B3qeUfMvB7ttQyTj/WGbEqR/6Ry2oL+AANDtRnbEwe3FcTNPtz9k28FoLK2vBQFuo9A==",
"dependencies": {
"@koa/router": "^12.0.1",
"@sealcode/ts-predicates": "^0.4.3",
@ -1288,7 +1288,7 @@
"merge": "^2.1.1",
"prettier": "^2.7.1",
"prompts": "^2.4.2",
"tempstream": "^0.0.21",
"tempstream": "^0.3.0",
"tiny-glob": "^0.2.9",
"yargs": "^17.6.2"
},
@ -9106,9 +9106,9 @@
}
},
"node_modules/sealious": {
"version": "0.17.37",
"resolved": "https://registry.npmjs.org/sealious/-/sealious-0.17.37.tgz",
"integrity": "sha512-9NXSkeLZ4Fst/OYyW4QfuTYq1bTNQNWNNComuAIgr0eIDomN6UWIIrE6BTX1gVNLB/dXhS4ei69MztVIVdmDqQ==",
"version": "0.17.48",
"resolved": "https://registry.npmjs.org/sealious/-/sealious-0.17.48.tgz",
"integrity": "sha512-nHNV6gFlmWSL8RDW0j0oKL5Vf35SlT/Y7MuupjGtCegKjLEkTm7OQ8eRf1Zv0jauwg4fA+P1bLudDGRABUQaKw==",
"dependencies": {
"@koa/router": "^12.0.1",
"@sealcode/ts-predicates": "^0.4.3",
@ -10054,9 +10054,9 @@
}
},
"node_modules/tempstream": {
"version": "0.0.21",
"resolved": "https://registry.npmjs.org/tempstream/-/tempstream-0.0.21.tgz",
"integrity": "sha512-k1lVWBxXiwe47sMNPW7iomCwmT2p/fAdSw1FGQy5I2z32y1+8auKcV8CND8JpKkQzFLxUeZiWjrq41REe8eJ5w=="
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/tempstream/-/tempstream-0.3.0.tgz",
"integrity": "sha512-GJgzlDLIRqYhzoobx+rTEhBQ6btaE4bTOVrshsC+I+5EO5qs9Ov3KUNR+1X811fi1CqlTHg4Ldrbua1wLHzFXA=="
},
"node_modules/terser": {
"version": "5.26.0",

@ -17,7 +17,7 @@
"test": "npm run test-cmd -- --ui",
"coverage": "npm run test --coverage",
"postinstall": "sealgen make-env && npm install --prefix webhint",
"test-reports": "npm run test-cmd-once -- --coverage",
"test-reports": "rm -f .xunit && npm run test-cmd-once -- --coverage --reporter=junit --outputFile=.xunit",
"show-coverage": "npm run test-reports; xdg-open coverage/index.html"
},
"tmux-scripts": {
@ -35,7 +35,7 @@
"@hotwired/turbo": "^7.1.0",
"@koa/router": "^12.0.1",
"@playwright/test": "^1.36.1",
"@sealcode/sealgen": "^0.10.6",
"@sealcode/sealgen": "^0.11.0",
"@sealcode/ts-predicates": "^0.4.3",
"@types/kill-port": "^2.0.0",
"get-port": "^7.0.0",
@ -44,7 +44,7 @@
"nodemon": "^3.0.1",
"sealious": "^0.17.48",
"stimulus": "^2.0.0",
"tempstream": "^0.0.21",
"tempstream": "^0.3.0",
"vitest": "^1.1.0"
},
"devDependencies": {

@ -10,6 +10,8 @@
"lib": ["es6", "esnext"],
"outDir": "../../dist/back",
"keyofStringsOnly": true,
"jsx": "react",
"reactNamespace": "TempstreamJSX",
"checkJs": false,
"allowJs": true,
"resolveJsonModule": true,

@ -14,7 +14,5 @@ export default defineConfig({
all: true,
include: ["src/**", "test?(-*).?(c|m)[jt]s?(x)"],
},
reporters: ["junit"],
outputFile: ".xunit",
},
});

Loading…
Cancel
Save