create-qwik 1.16.0 → 1.17.0
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/dist/index.cjs +102 -98
- package/dist/starters/apps/base/package.json +4 -4
- package/dist/starters/apps/base/tsconfig.json +1 -1
- package/dist/starters/apps/e2e-library/package.json +4 -0
- package/dist/starters/apps/library/README.md +8 -0
- package/dist/starters/apps/library/package.json +5 -4
- package/dist/starters/apps/library/tsconfig.json +1 -1
- package/dist/starters/apps/playground/src/components/starter/header/header.tsx +1 -4
- package/package.json +1 -1
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
"qwik": "qwik"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@builder.io/qwik": "^1.
|
|
20
|
-
"@builder.io/qwik-city": "^1.
|
|
19
|
+
"@builder.io/qwik": "^1.17.0",
|
|
20
|
+
"@builder.io/qwik-city": "^1.17.0",
|
|
21
21
|
"@eslint/js": "latest",
|
|
22
22
|
"@types/node": "20.19.0",
|
|
23
23
|
"typescript-eslint": "8.38.0",
|
|
24
24
|
"eslint": "9.32.0",
|
|
25
|
-
"eslint-plugin-qwik": "^1.
|
|
25
|
+
"eslint-plugin-qwik": "^1.17.0",
|
|
26
26
|
"globals": "16.3.0",
|
|
27
27
|
"prettier": "3.6.2",
|
|
28
28
|
"typescript": "5.4.5",
|
|
29
29
|
"typescript-plugin-css-modules": "latest",
|
|
30
30
|
"undici": "*",
|
|
31
|
-
"vite": "7.1.
|
|
31
|
+
"vite": "7.1.7",
|
|
32
32
|
"vite-tsconfig-paths": "^4.2.1"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
@@ -45,3 +45,11 @@ The production build should generate the production build of your component libr
|
|
|
45
45
|
```
|
|
46
46
|
npm run build
|
|
47
47
|
```
|
|
48
|
+
|
|
49
|
+
## sideEffects: false
|
|
50
|
+
|
|
51
|
+
This package is configured with "sideEffects": false in its package.json.<br/>
|
|
52
|
+
This tells bundlers that the module [has no side effects](https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free) when imported.<br/>
|
|
53
|
+
Consequently, to maintain the integrity of tree-shaking optimizations, please ensure your code truly contains no side effects (such as modifying global variables or the DOM upon import).<br/>
|
|
54
|
+
If your module does introduce side effects, remove "sideEffects": false or specify the specific files with side effects.<br/>
|
|
55
|
+
Be sure to only remove it from the specific file where the global is being set. Finally, verify that your build continues to function as expected after making any adjustments to the sideEffects setting.
|
|
@@ -33,18 +33,18 @@
|
|
|
33
33
|
"release": "np"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@builder.io/qwik": "1.
|
|
36
|
+
"@builder.io/qwik": "1.17.0",
|
|
37
37
|
"@eslint/js": "latest",
|
|
38
38
|
"@types/node": "20.19.0",
|
|
39
39
|
"typescript-eslint": "8.38.0",
|
|
40
40
|
"eslint": "9.32.0",
|
|
41
|
-
"eslint-plugin-qwik": "1.
|
|
41
|
+
"eslint-plugin-qwik": "1.17.0",
|
|
42
42
|
"globals": "16.3.0",
|
|
43
43
|
"np": "^8.0.4",
|
|
44
44
|
"prettier": "3.6.2",
|
|
45
45
|
"typescript": "5.4.5",
|
|
46
46
|
"undici": "*",
|
|
47
|
-
"vite": "7.1.
|
|
47
|
+
"vite": "7.1.7",
|
|
48
48
|
"vite-tsconfig-paths": "^4.2.1"
|
|
49
49
|
},
|
|
50
50
|
"__qwik__": {
|
|
@@ -53,5 +53,6 @@
|
|
|
53
53
|
"docs": [
|
|
54
54
|
"https://qwik.dev/docs/getting-started/"
|
|
55
55
|
]
|
|
56
|
-
}
|
|
56
|
+
},
|
|
57
|
+
"sideEffects": false
|
|
57
58
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-qwik",
|
|
3
3
|
"description": "Interactive CLI for create Qwik projects and adding features.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.17.0",
|
|
5
5
|
"author": "Builder.io Team",
|
|
6
6
|
"bin": "./create-qwik.cjs",
|
|
7
7
|
"bugs": "https://github.com/QwikDev/qwik/issues",
|