|
110 | 110 | "@node-rs/helper": "1.6.0", |
111 | 111 | "@octokit/action": "6.1.0", |
112 | 112 | "@playwright/test": "1.40.0", |
| 113 | + "@swc/core": "^1.7.25", |
| 114 | + "@swc/helpers": "^0.5.13", |
113 | 115 | "@types/brotli": "1.3.4", |
114 | 116 | "@types/bun": "1.1.6", |
115 | 117 | "@types/cross-spawn": "6.0.6", |
|
144 | 146 | "prettier-plugin-jsdoc": "1.3.0", |
145 | 147 | "pretty-quick": "4.0.0", |
146 | 148 | "prompts": "2.4.2", |
| 149 | + "regenerator-runtime": "^0.14.1", |
147 | 150 | "rollup": "4.19.0", |
148 | 151 | "semver": "7.6.3", |
149 | 152 | "simple-git-hooks": "2.11.1", |
|
152 | 155 | "svgo": "3.3.2", |
153 | 156 | "syncpack": "12.3.3", |
154 | 157 | "terser": "5.31.3", |
155 | | - "tsm": "2.3.0", |
| 158 | + "ts-node": "^10.9.2", |
156 | 159 | "typescript": "5.4.5", |
157 | 160 | "undici": "*", |
158 | 161 | "vfile": "6.0.1", |
|
189 | 192 | "build": "tsm scripts/index.ts", |
190 | 193 | "build.changelog-formatter": "tsc .changeset/changelog-github-custom.ts && mv .changeset/changelog-github-custom.js .changeset/changelog-github-custom.cjs", |
191 | 194 | "build.clean": "rm -rf packages/qwik/dist/ && rm -rf packages/qwik-city/lib/ && rm -rf packages/docs/dist/ && rm -rf packages/insights/dist/ && rm -rf packages/qwik-labs/lib/ && rm -rf packages/qwik-labs/vite/", |
192 | | - "build.cli": "tsm scripts/index.ts --cli --dev", |
193 | | - "build.cli.prod": "tsm scripts/index.ts --cli", |
194 | | - "build.core": "tsm scripts/index.ts --tsc --build --qwikcity --api --platform-binding", |
195 | | - "build.eslint": "tsm scripts/index.ts --eslint", |
196 | | - "build.full": "tsm scripts/index.ts --tsc --tsc-docs --build --supabaseauthhelpers --api --eslint --qwikcity --qwikworker --qwiklabs --qwikreact --qwikauth --cli --platform-binding --wasm", |
197 | | - "build.local": "tsm scripts/index.ts --tsc --tsc-docs --build --supabaseauthhelpers --api --eslint --qwikcity --qwikworker --qwiklabs --qwikreact --qwikauth --cli --platform-binding-wasm-copy", |
198 | | - "build.only_javascript": "tsm scripts/index.ts --tsc --build --api", |
| 195 | + "build.cli": "node --loader ts-node/esm scripts/index.ts --cli --dev", |
| 196 | + "build.cli.prod": "node --loader ts-node/esm scripts/index.ts --cli", |
| 197 | + "build.core": "node --loader ts-node/esm scripts/index.ts --tsc --build --qwikcity --api --platform-binding", |
| 198 | + "build.eslint": "node --loader ts-node/esm scripts/index.ts --eslint", |
| 199 | + "build.full": "node --loader ts-node/esm scripts/index.ts --tsc --tsc-docs --build --supabaseauthhelpers --api --eslint --qwikcity --qwikworker --qwiklabs --qwikreact --qwikauth --cli --platform-binding --wasm", |
| 200 | + "build.local": "node --loader ts-node/esm scripts/index.ts --tsc --tsc-docs --build --supabaseauthhelpers --api --eslint --qwikcity --qwikworker --qwiklabs --qwikreact --qwikauth --cli --platform-binding-wasm-copy", |
| 201 | + "build.only_javascript": "node --loader ts-node/esm scripts/index.ts --tsc --build --api", |
199 | 202 | "build.packages.docs": "pnpm -C ./packages/docs/ run build", |
200 | 203 | "build.packages.insights": "pnpm -C ./packages/insights/ run build", |
201 | | - "build.platform": "tsm scripts/index.ts --platform-binding", |
202 | | - "build.platform.copy": "tsm scripts/index.ts --platform-binding-wasm-copy", |
203 | | - "build.qwik-city": "tsm scripts/index.ts --tsc --qwikcity", |
204 | | - "build.validate": "tsm scripts/index.ts --tsc --build --api --eslint --qwikcity --platform-binding --wasm --validate", |
205 | | - "build.vite": "tsm scripts/index.ts --tsc --build --api --qwikcity --eslint --platform-binding-wasm-copy", |
206 | | - "build.wasm": "tsm scripts/index.ts --wasm", |
207 | | - "build.watch": "tsm scripts/index.ts --build --qwikcity --watch --dev --platform-binding", |
| 204 | + "build.platform": "node --loader ts-node/esm scripts/index.ts --platform-binding", |
| 205 | + "build.platform.copy": "node --loader ts-node/esm scripts/index.ts --platform-binding-wasm-copy", |
| 206 | + "build.qwik-city": "node --loader ts-node/esm scripts/index.ts --tsc --qwikcity", |
| 207 | + "build.validate": "node --loader ts-node/esm scripts/index.ts --tsc --build --api --eslint --qwikcity --platform-binding --wasm --validate", |
| 208 | + "build.vite": "node --loader ts-node/esm scripts/index.ts --tsc --build --api --qwikcity --eslint --platform-binding-wasm-copy", |
| 209 | + "build.wasm": "node --loader ts-node/esm scripts/index.ts --wasm", |
| 210 | + "build.watch": "node --loader ts-node/esm scripts/index.ts --build --qwikcity --watch --dev --platform-binding", |
208 | 211 | "change": "changeset", |
209 | 212 | "cli": "pnpm build.cli && node packages/create-qwik/dist/create-qwik.cjs && tsm scripts/validate-cli.ts --copy-local-qwik-dist", |
210 | 213 | "cli.qwik": "pnpm build.cli && node packages/qwik/dist/qwik-cli.cjs", |
211 | | - "cli.validate": "tsm scripts/validate-cli.ts", |
| 214 | + "cli.validate": "node --loader ts-node/esm scripts/validate-cli.ts", |
212 | 215 | "deps": "corepack pnpm upgrade -i -r --latest && syncpack fix-mismatches && corepack pnpm dedupe", |
213 | 216 | "docs.dev": "cd packages/docs && pnpm build.repl-sw && pnpm dev", |
214 | 217 | "docs.preview": "cd packages/docs && pnpm preview", |
215 | | - "docs.sync": "tsm scripts/docs_sync/index.ts && pnpm fmt", |
216 | | - "eslint.update": "tsm scripts/eslint-docs.ts", |
| 218 | + "docs.sync": "node --loader ts-node/esm scripts/docs_sync/index.ts && pnpm fmt", |
| 219 | + "eslint.update": "node --loader ts-node/esm scripts/eslint-docs.ts", |
217 | 220 | "fmt": "pnpm prettier.fix && pnpm syncpack format", |
218 | 221 | "fmt.staged": "pretty-quick --staged", |
219 | 222 | "link.dist": "cd packages/qwik && pnpm link --global && cd ../qwik-city && pnpm link --global && cd ../eslint-plugin-qwik && pnpm link --global && cd ../qwik-react && pnpm link --global", |
|
228 | 231 | "preinstall": "npx only-allow pnpm", |
229 | 232 | "prepare": "simple-git-hooks", |
230 | 233 | "prettier.fix": "prettier --cache --write .", |
231 | | - "qwik-save-artifacts": "tsm ./scripts/qwik-save-artifacts.ts", |
| 234 | + "qwik-save-artifacts": "node --loader ts-node/esm ./scripts/qwik-save-artifacts.ts", |
232 | 235 | "release": "changeset publish", |
233 | 236 | "release.pkg-pr-new": "pnpm dlx pkg-pr-new@^0.0.9 publish --compact --pnpm ./packages/qwik ./packages/qwik-city ./packages/eslint-plugin-qwik ./packages/create-qwik", |
234 | 237 | "release.prepare": "pnpm build --prepare-release", |
235 | | - "serve": "tsm --inspect --conditions=development starters/dev-server.ts 3300", |
236 | | - "serve.debug": "tsm --inspect-brk --conditions=development starters/dev-server.ts 3300", |
| 238 | + "serve": "node --loader ts-node/esm --inspect --conditions=development starters/dev-server.ts 3300", |
| 239 | + "serve.debug": "node --loader ts-node/esm --inspect-brk --conditions=development starters/dev-server.ts 3300", |
237 | 240 | "start": "concurrently \"npm:build.watch\" \"npm:tsc.watch\" -n build,tsc -c green,cyan", |
238 | 241 | "test": "pnpm build.full && pnpm test.unit && pnpm test.e2e", |
239 | 242 | "test.e2e": "pnpm test.e2e.chromium && pnpm test.e2e.webkit", |
|
250 | 253 | "tsc.check": "tsc --noEmit", |
251 | 254 | "tsc.trace": "tsc -p tsconfig.json --traceResolution > tsc.log", |
252 | 255 | "tsc.watch": "tsc --noEmit --watch --preserveWatchOutput", |
253 | | - "update.qwik.builds": "tsm scripts/update-qwik-builds.ts packages/docs && tsm scripts/update-qwik-builds.ts packages/insights; pnpm install", |
| 256 | + "update.qwik.builds": "node --loader ts-node/esm scripts/update-qwik-builds.ts packages/docs && node --loader ts-node/esm scripts/update-qwik-builds.ts packages/insights; pnpm install", |
254 | 257 | "vitest": "vitest" |
255 | 258 | }, |
256 | 259 | "simple-git-hooks": { |
|
0 commit comments