forked from QwikDev/qwik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
219 lines (219 loc) · 9.41 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
{
"name": "qwik-monorepo",
"version": "1.6.0",
"comments": {
"01": "devDependencies includes reference to @builder.io/qwik: workspace: *. This is needed or e2e tests will fail",
"02": " It would be nice to be able to remove this dependency and fix the test.",
"03": "devDependencies can't include reference to @builder.io/qwik-city or e2e test will fail."
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"syncpack": {
"versionGroups": [
{
"label": "use workspace protocol for local packages and allow patch versions (used in e.g. qwik-react)",
"dependencies": [
"$LOCAL"
],
"dependencyTypes": [
"!local"
],
"pinVersion": "workspace:^"
},
{
"label": "Playwright should have the same version as in flake.nix",
"dependencies": [
"@playwright/test"
],
"pinVersion": "1.40.0"
}
],
"semverGroups": [
{
"label": "Undici should always be * until we remove it",
"range": "*",
"dependencies": [
"undici"
]
}
]
}
},
"contributors": [
{
"name": "Miško Hevery",
"email": "[email protected]",
"url": "https://twitter.com/mhevery"
},
{
"name": "Adam Bradley",
"email": "[email protected]",
"url": "https://twitter.com/adamdbradley"
},
{
"name": "Manu Mtz.-Almeida",
"email": "[email protected]",
"url": "https://twitter.com/manucorporat"
}
],
"dependencies": {
"esbuild-plugin-raw": "^0.1.8"
},
"devDependencies": {
"@builder.io/partytown": "^0.10.0",
"@builder.io/qwik": "workspace:^",
"@builder.io/qwik-city": "workspace:^",
"@clack/prompts": "^0.7.0",
"@eslint/eslintrc": "^3.0.2",
"@mdx-js/mdx": "^3.0.1",
"@microsoft/api-documenter": "7.24.2",
"@microsoft/api-extractor": "7.43.1",
"@napi-rs/cli": "^2.18.0",
"@napi-rs/triples": "^1.2.0",
"@node-rs/helper": "^1.5.0",
"@octokit/action": "6.0.7",
"@playwright/test": "1.40.0",
"@types/brotli": "^1.3.4",
"@types/bun": "^1.1.0",
"@types/cross-spawn": "^6.0.6",
"@types/eslint": "^8.56.10",
"@types/express": "^4.17.21",
"@types/node": "^20.12.7",
"@types/path-browserify": "^1.0.2",
"@types/prompts": "^2.4.9",
"@types/react": "^18.2.79",
"@types/semver": "^7.5.8",
"@types/which-pm-runs": "^1.0.2",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"@typescript-eslint/rule-tester": "^7.7.1",
"@typescript-eslint/utils": "^7.7.1",
"all-contributors-cli": "6.26.1",
"brotli": "1.3.3",
"commitizen": "4.3.0",
"concurrently": "^8.2.2",
"create-qwik": "workspace:^",
"cross-spawn": "7.0.3",
"csstype": "^3.1.3",
"cz-conventional-changelog": "3.3.0",
"esbuild": "^0.20.2",
"eslint": "^8.57.0",
"eslint-plugin-no-only-tests": "3.1.0",
"eslint-plugin-qwik": "workspace:^",
"execa": "8.0.1",
"express": "4.19.2",
"install": "^0.13.0",
"monaco-editor": "^0.45.0",
"mri": "1.2.0",
"path-browserify": "1.0.1",
"prettier": "^3.2.5",
"prettier-plugin-jsdoc": "^1.3.0",
"pretty-quick": "^4.0.0",
"prompts": "2.4.2",
"rollup": "^4.13.0",
"semver": "7.6.0",
"snoop": "^1.0.4",
"source-map": "0.7.4",
"svgo": "^3.2.0",
"syncpack": "^12.3.1",
"terser": "^5.29.2",
"tsm": "^2.3.0",
"typescript": "5.4.5",
"undici": "*",
"vfile": "^6.0.1",
"vite": "^5.2.10",
"vite-imagetools": "^6.2.9",
"vite-plugin-dts": "^3.9.0",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.5.0",
"watchlist": "0.3.1",
"which-pm-runs": "1.1.0",
"zod": "^3.22.4"
},
"engines": {
"node": ">=16.8.0 <18.0.0 || >=18.11",
"npm": "please-use-pnpm",
"yarn": "please-use-pnpm",
"pnpm": ">=9.0.5"
},
"packageManager": "[email protected]",
"pnpm": {
"overrides": {
"typescript": "5.4.5",
"vfile": "^6.0.1",
"sharp": ">=0.33",
"@supabase/realtime-js": "2.8.4"
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
}
},
"private": true,
"scripts": {
"api.update": "tsm scripts/index.ts --tsc --api --dev",
"build": "tsm scripts/index.ts",
"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/",
"build.cli": "tsm scripts/index.ts --cli --dev",
"build.cli.prod": "tsm scripts/index.ts --cli",
"build.core": "tsm scripts/index.ts --tsc --build --qwikcity --api --platform-binding-wasm-copy",
"build.eslint": "tsm scripts/index.ts --eslint",
"build.full": "tsm scripts/index.ts --tsc --tsc-docs --build --supabaseauthhelpers --api --eslint --qwikcity --qwikworker --qwiklabs --qwikreact --qwikauth --cli --platform-binding --wasm",
"build.local": "tsm scripts/index.ts --tsc --tsc-docs --build --supabaseauthhelpers --api --eslint --qwikcity --qwikworker --qwiklabs --qwikreact --qwikauth --cli --platform-binding-wasm-copy",
"build.only_javascript": "tsm scripts/index.ts --tsc --build --api",
"build.packages.docs": "pnpm run build.local && pnpm -C ./packages/docs/ run build",
"build.packages.insights": "pnpm run build.local && tsm ./scripts/patch-workspace-packages.ts && pnpm -C ./packages/insights/ run build",
"build.platform": "tsm scripts/index.ts --platform-binding",
"build.platform.copy": "tsm scripts/index.ts --platform-binding-wasm-copy",
"build.qwik-city": "tsm scripts/index.ts --tsc --qwikcity",
"build.validate": "tsm scripts/index.ts --tsc --build --api --eslint --qwikcity --platform-binding --wasm --validate",
"build.vite": "tsm scripts/index.ts --tsc --build --api --qwikcity --eslint --qwiklabs --platform-binding-wasm-copy",
"build.wasm": "tsm scripts/index.ts --wasm",
"build.watch": "tsm scripts/index.ts --build --qwikcity --watch --dev --platform-binding",
"cli": "pnpm build.cli && node packages/create-qwik/dist/create-qwik.cjs && tsm scripts/validate-cli.ts --copy-local-qwik-dist",
"cli.qwik": "pnpm build.cli && node packages/qwik/qwik-cli.cjs",
"cli.validate": "tsm scripts/validate-cli.ts",
"commit": "git-cz",
"deps": "corepack pnpm upgrade -i -r --latest && syncpack fix-mismatches && corepack pnpm dedupe",
"docs.dev": "cd packages/docs && pnpm dev",
"docs.preview": "cd packages/docs && pnpm preview",
"docs.sync": "tsm scripts/docs_sync/index.ts && pnpm fmt",
"eslint.update": "tsm scripts/eslint-docs.ts",
"fmt": "pnpm prettier.fix && pnpm syncpack format",
"fmt.staged": "pretty-quick --staged",
"link.dist": "cd packages/qwik/dist && pnpm link --global && cd ../../qwik-city/lib && pnpm link --global && cd ../../eslint-plugin-qwik/dist && pnpm link --global && cd ../../qwik-react && pnpm link --global",
"link.dist.npm": "cd packages/qwik/dist && npm link && cd ../../qwik-city/lib && npm link && cd ../../eslint-plugin-qwik/dist && npm link && cd ../../qwik-react && npm link",
"link.dist.yarn": "cd packages/qwik/dist && yarn link && cd ../../qwik-city/lib && yarn link && cd ../../eslint-plugin-qwik/dist && yarn link && cd ../../qwik-react && yarn link",
"lint": "pnpm lint.eslint && pnpm lint.prettier && pnpm lint.rust",
"lint.eslint": "eslint --cache \"**/*.ts*\"",
"lint.fix": "eslint --fix \"**/*.ts*\" && pnpm prettier.fix",
"lint.prettier": "prettier --cache --check .",
"lint.rust": "make lint",
"preinstall": "npx only-allow pnpm",
"prettier.fix": "prettier --cache --write .",
"qwik-save-artifacts": "tsm ./scripts/qwik-save-artifacts.ts",
"release.prepare": "pnpm build --prepare-release",
"serve": "tsm --inspect --conditions=development starters/dev-server.ts 3300",
"serve.debug": "tsm --inspect-brk --conditions=development starters/dev-server.ts 3300",
"start": "concurrently \"npm:build.watch\" \"npm:tsc.watch\" -n build,tsc -c green,cyan",
"test": "pnpm build.full && pnpm test.unit && pnpm test.e2e",
"test.e2e": "pnpm test.e2e.chromium && pnpm test.e2e.webkit",
"test.e2e.chromium": "playwright test starters --browser=chromium --config starters/playwright.config.ts",
"test.e2e.chromium.debug": "PWDEBUG=1 playwright test starters --browser=chromium --config starters/playwright.config.ts",
"test.e2e.city": "playwright test starters/e2e/qwikcity --browser=chromium --config starters/playwright.config.ts",
"test.e2e.firefox": "playwright test starters --browser=firefox --config starters/playwright.config.ts",
"test.e2e.webkit": "playwright test starters --browser=webkit --config starters/playwright.config.ts",
"test.rust": "make test",
"test.rust.update": "make test-update",
"test.unit": "vitest packages",
"test.unit.debug": "vitest --inspect-brk packages",
"test.vite": "playwright test starters/e2e/qwikcity --browser=chromium --config starters/playwright.config.ts",
"tsc.check": "tsc --noEmit",
"tsc.trace": "tsc -p tsconfig.json --traceResolution > tsc.log",
"tsc.watch": "tsc --noEmit --watch --preserveWatchOutput",
"update.qwik.builds": "tsm scripts/update-qwik-builds.ts packages/docs && tsm scripts/update-qwik-builds.ts packages/insights; pnpm install",
"vitest": "vitest"
},
"type": "module"
}