create-qwik 0.17.5 → 0.18.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/index.cjs +2 -2
- package/package.json +1 -1
- package/starters/apps/base/.vscode/qwik.code-snippets +4 -4
- package/starters/apps/base/package.json +5 -5
- package/starters/apps/basic/src/routes/flower/index.tsx +4 -4
- package/starters/apps/basic/src/routes/index.tsx +10 -0
- package/starters/apps/basic/src/routes/layout.tsx +2 -2
- package/starters/apps/basic/src/routes/todolist/index.tsx +5 -5
- package/starters/apps/documentation-site/src/routes/docs/layout.tsx +1 -1
- package/starters/apps/documentation-site/src/routes/index.tsx +91 -77
- package/starters/apps/library/package.json +3 -3
package/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* create-qwik 0.
|
|
3
|
+
* create-qwik 0.18.0
|
|
4
4
|
* Copyright Builder.io, Inc. All Rights Reserved.
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://github.com/BuilderIO/qwik/blob/main/LICENSE
|
|
@@ -125,7 +125,7 @@ ${m.bgRed(` ${t} install failed `)}
|
|
|
125
125
|
|
|
126
126
|
You might need to run "${m.green(`${t} install`)}" manually inside the root of the project.
|
|
127
127
|
|
|
128
|
-
`;console.error(g)}}catch(f){u&&u.fail(),Ve(String(f))}};return{rootDir:e.rootDir,integration:i,updates:s,commit:n}}async function zi(t,e){Lp()?e=process.cwd():(e=Xi(e),$t.default.existsSync(e)&&Ve(`Directory "${e}" already exists. Please either remove this directory, or choose another location.`));let r=Ie(),s=await kt({starterId:t,outDir:e});return Zi(r,s,!1),s}function Zi(t,e,r){console.log(""),console.log("");let i=process.cwd()===e.outDir,s=(0,Ce.relative)(process.cwd(),e.outDir);console.log(i?`\u{1F984} ${m.bgMagenta(" Success! ")}`:`\u{1F984} ${m.bgMagenta(" Success! ")} ${m.cyan("Project created in")} ${m.bold(m.magenta(s))} ${m.cyan("directory")}`),console.log(""),console.log(`\u{1F430} ${m.cyan("Next steps:")}`),i||console.log(` cd ${s}`),r||console.log(` ${t} install`),console.log(` ${t} start`),console.log("");let n=t!=="npm"?`${t} qwik add`:"npm run qwik add";console.log(`\u{1F50C} ${m.cyan("Integrations? Add Netlify, Cloudflare, Tailwind...")}`),console.log(` ${n}`),console.log(""),On(e.docs),console.log(`\u{1F4FA} ${m.cyan("Presentations, Podcasts and Videos:")}`),console.log(" https://qwik.builder.io/media/"),console.log("")}async function kt(t){let e=Ie();if(!sl(t.starterId))throw new Error("Missing starter id");if(!sl(t.outDir))throw new Error("Missing outDir");if(!(0,Ce.isAbsolute)(t.outDir))throw new Error("outDir must be an absolute path");$t.default.existsSync(t.outDir)||$t.default.mkdirSync(t.outDir,{recursive:!0});let r={starterId:t.starterId,outDir:t.outDir,docs:[]},i=(await Je()).filter(n=>n.type==="app");if(t.starterId==="library"){let n=i.find(o=>o.id==="library");if(!n)throw new Error("Unable to find base app");await il(e,r,n)}else{let n=i.find(a=>a.id==="base");if(!n)throw new Error("Unable to find base app");let o=i.find(a=>a.id===t.starterId);if(!o)throw new Error(`Invalid starter id "${t.starterId}". It can only be one of${i.map(a=>` "${a.id}"`)}.`);await il(e,r,n,o)}return r}async function il(t,e,r,i){e.docs.push(...r.docs);let s=i??r,n=En({...r.pkgJson,name:`my-${s.pkgJson.name}`,description:s.pkgJson.description,scripts:void 0,dependencies:void 0,devDependencies:void 0});await Sn(e.outDir,n);let o=(0,Ce.join)(e.outDir,"README.md");await $t.default.promises.writeFile(o,""),await(await Ki(t,{rootDir:e.outDir,integration:r.id,installDeps:!1})).commit(!1),i&&(e.docs.push(...i.docs),await(await Ki(t,{rootDir:e.outDir,integration:i.id,installDeps:!1})).commit(!1))}function sl(t){return typeof t=="string"&&t.trim().length>0}function Xi(t){return(0,Ce.resolve)(process.cwd(),t)}function Lp(){return Fp()}function Fp(){try{return process.cwd().startsWith("/home/projects/")}catch{}return!1}var un=A(require("fs")),$c=require("path"),Jt=A(Pc());async function hn(){console.log(""),console.clear(),console.log(""),console.log(`\u{1F430} ${m.cyan("Let's create a")} ${m.bold(m.magenta("Qwik"))} ${m.cyan("app")} \u{1F407} ${m.dim("v0.
|
|
128
|
+
`;console.error(g)}}catch(f){u&&u.fail(),Ve(String(f))}};return{rootDir:e.rootDir,integration:i,updates:s,commit:n}}async function zi(t,e){Lp()?e=process.cwd():(e=Xi(e),$t.default.existsSync(e)&&Ve(`Directory "${e}" already exists. Please either remove this directory, or choose another location.`));let r=Ie(),s=await kt({starterId:t,outDir:e});return Zi(r,s,!1),s}function Zi(t,e,r){console.log(""),console.log("");let i=process.cwd()===e.outDir,s=(0,Ce.relative)(process.cwd(),e.outDir);console.log(i?`\u{1F984} ${m.bgMagenta(" Success! ")}`:`\u{1F984} ${m.bgMagenta(" Success! ")} ${m.cyan("Project created in")} ${m.bold(m.magenta(s))} ${m.cyan("directory")}`),console.log(""),console.log(`\u{1F430} ${m.cyan("Next steps:")}`),i||console.log(` cd ${s}`),r||console.log(` ${t} install`),console.log(` ${t} start`),console.log("");let n=t!=="npm"?`${t} qwik add`:"npm run qwik add";console.log(`\u{1F50C} ${m.cyan("Integrations? Add Netlify, Cloudflare, Tailwind...")}`),console.log(` ${n}`),console.log(""),On(e.docs),console.log(`\u{1F4FA} ${m.cyan("Presentations, Podcasts and Videos:")}`),console.log(" https://qwik.builder.io/media/"),console.log("")}async function kt(t){let e=Ie();if(!sl(t.starterId))throw new Error("Missing starter id");if(!sl(t.outDir))throw new Error("Missing outDir");if(!(0,Ce.isAbsolute)(t.outDir))throw new Error("outDir must be an absolute path");$t.default.existsSync(t.outDir)||$t.default.mkdirSync(t.outDir,{recursive:!0});let r={starterId:t.starterId,outDir:t.outDir,docs:[]},i=(await Je()).filter(n=>n.type==="app");if(t.starterId==="library"){let n=i.find(o=>o.id==="library");if(!n)throw new Error("Unable to find base app");await il(e,r,n)}else{let n=i.find(a=>a.id==="base");if(!n)throw new Error("Unable to find base app");let o=i.find(a=>a.id===t.starterId);if(!o)throw new Error(`Invalid starter id "${t.starterId}". It can only be one of${i.map(a=>` "${a.id}"`)}.`);await il(e,r,n,o)}return r}async function il(t,e,r,i){e.docs.push(...r.docs);let s=i??r,n=En({...r.pkgJson,name:`my-${s.pkgJson.name}`,description:s.pkgJson.description,scripts:void 0,dependencies:void 0,devDependencies:void 0});await Sn(e.outDir,n);let o=(0,Ce.join)(e.outDir,"README.md");await $t.default.promises.writeFile(o,""),await(await Ki(t,{rootDir:e.outDir,integration:r.id,installDeps:!1})).commit(!1),i&&(e.docs.push(...i.docs),await(await Ki(t,{rootDir:e.outDir,integration:i.id,installDeps:!1})).commit(!1))}function sl(t){return typeof t=="string"&&t.trim().length>0}function Xi(t){return(0,Ce.resolve)(process.cwd(),t)}function Lp(){return Fp()}function Fp(){try{return process.cwd().startsWith("/home/projects/")}catch{}return!1}var un=A(require("fs")),$c=require("path"),Jt=A(Pc());async function hn(){console.log(""),console.clear(),console.log(""),console.log(`\u{1F430} ${m.cyan("Let's create a")} ${m.bold(m.magenta("Qwik"))} ${m.cyan("app")} \u{1F407} ${m.dim("v0.18.0")}`),console.log("");let t=Ie(),r=(await Je()).filter(S=>S.type==="app"),i=r.find(S=>S.id==="base"),s=r.filter(S=>S.id!==i.id),n=tl(t,i),o=await(0,Jt.default)({type:"text",name:"outDir",message:"Where would you like to create your new project?",initial:"./qwik-app"},{onCancel:()=>{console.log(""),process.exit(1)}});console.log("");let a=Xi(o.outDir.trim()),l=null;if(un.default.existsSync(a)){let S=await(0,Jt.default)({type:"select",name:"outDirChoice",message:`Directory "./${(0,$c.relative)(process.cwd(),a)}" already exists. What would you like to do?`,choices:[{title:"Do not overwrite this directory and exit",value:"exit"},{title:"Overwrite and replace this directory",value:"replace"}],hint:"(use \u2193\u2191 arrows, hit enter)"},{onCancel:async()=>{console.log(m.dim(` - Exited without modifying "${a}"`)+`
|
|
129
129
|
`),await n.abort(),process.exit(1)}});console.log(""),S.outDirChoice==="replace"?l=un.default.promises.rm(a,{recursive:!0}):(console.log(m.dim(` - Exited without modifying "${a}"`)+`
|
|
130
130
|
`),await n.abort(),process.exit(1))}let u=await(0,Jt.default)({type:"select",name:"starterId",message:"Select a starter",choices:s.map(S=>{var w;return{title:S.name,value:S.id,description:"\u2514\u2500"+((w=S.pkgJson)==null?void 0:w.description)}}),hint:"(use \u2193\u2191 arrows, hit enter)"},{onCancel:async()=>{console.log(""),await n.abort(),process.exit(1)}});console.log("");let p=u.starterId,f=await(0,Jt.default)({type:"confirm",name:"runInstall",message:`Would you like to install ${t} dependencies?`,initial:!0},{onCancel:async()=>{console.log(""),await n.abort(),process.exit(1)}});console.log(""),l&&await l;let d=f.runInstall,v=await kt({starterId:p,outDir:a}),b=await n.complete(d,v.outDir);return Zi(t,v,b),v}async function W0(){G0();try{let t=process.argv.slice(2);t.length>=2?await zi(t[0],t[1]):await hn()}catch(t){Ve(t.message||t)}}function G0(){let t=process.version,[e,r]=t.replace("v","").split(".");Number(e)<16?(console.error(m.red(`Qwik requires Node.js 16.8 or higher. You are currently running Node.js ${t}.`)),process.exit(1)):Number(e)===16&&Number(r)<8&&console.warn(m.yellow(`Node.js 16.8 or higher is recommended. You are currently running Node.js ${t}.`))}0&&(module.exports={createApp,runCli,runCreateCli,runCreateInteractiveCli});
|
|
131
131
|
/*! Bundled license information:
|
package/package.json
CHANGED
|
@@ -59,12 +59,12 @@
|
|
|
59
59
|
""
|
|
60
60
|
]
|
|
61
61
|
},
|
|
62
|
-
"
|
|
62
|
+
"useBrowserVisibleTask": {
|
|
63
63
|
"scope": "javascriptreact,typescriptreact",
|
|
64
|
-
"prefix": "
|
|
65
|
-
"description": "
|
|
64
|
+
"prefix": "quseBrowserVisibleTask",
|
|
65
|
+
"description": "useBrowserVisibleTask$() function hook",
|
|
66
66
|
"body": [
|
|
67
|
-
"
|
|
67
|
+
"useBrowserVisibleTask$(({ track }) => {",
|
|
68
68
|
" $0",
|
|
69
69
|
"});",
|
|
70
70
|
""
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
"qwik": "qwik"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@builder.io/qwik": "0.
|
|
20
|
-
"@builder.io/qwik-city": "0.
|
|
19
|
+
"@builder.io/qwik": "0.18.0",
|
|
20
|
+
"@builder.io/qwik-city": "0.2.0",
|
|
21
21
|
"@types/eslint": "8.21.0",
|
|
22
|
-
"@types/node": "^18.
|
|
22
|
+
"@types/node": "^18.13.0",
|
|
23
23
|
"@types/node-fetch": "latest",
|
|
24
24
|
"@typescript-eslint/eslint-plugin": "5.51.0",
|
|
25
25
|
"@typescript-eslint/parser": "5.51.0",
|
|
26
|
-
"eslint-plugin-qwik": "0.
|
|
26
|
+
"eslint-plugin-qwik": "0.18.0",
|
|
27
27
|
"eslint": "8.33.0",
|
|
28
28
|
"node-fetch": "3.3.0",
|
|
29
29
|
"undici": "5.18.0",
|
|
30
|
-
"prettier": "2.8.
|
|
30
|
+
"prettier": "2.8.4",
|
|
31
31
|
"typescript": "4.9.5",
|
|
32
32
|
"vite": "4.1.1",
|
|
33
33
|
"vite-tsconfig-paths": "3.5.0"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { component$,
|
|
2
|
-
import { DocumentHead, useLocation } from '@builder.io/qwik-city';
|
|
1
|
+
import { component$, useBrowserVisibleTask$, useStore, useStylesScoped$ } from '@builder.io/qwik';
|
|
2
|
+
import { type DocumentHead, useLocation } from '@builder.io/qwik-city';
|
|
3
3
|
import styles from './flower.css?inline';
|
|
4
4
|
|
|
5
5
|
export default component$(() => {
|
|
@@ -11,7 +11,7 @@ export default component$(() => {
|
|
|
11
11
|
number: 20,
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
useBrowserVisibleTask$(({ cleanup }) => {
|
|
15
15
|
const timeout = setTimeout(() => (state.count = 1), 500);
|
|
16
16
|
cleanup(() => clearTimeout(timeout));
|
|
17
17
|
|
|
@@ -35,7 +35,7 @@ export default component$(() => {
|
|
|
35
35
|
}}
|
|
36
36
|
class={{
|
|
37
37
|
host: true,
|
|
38
|
-
pride: loc.query
|
|
38
|
+
pride: loc.query.get('pride') === 'true',
|
|
39
39
|
}}
|
|
40
40
|
>
|
|
41
41
|
{Array.from({ length: state.number }, (_, i) => (
|
|
@@ -96,6 +96,16 @@ export default component$(() => {
|
|
|
96
96
|
</a>
|
|
97
97
|
</td>
|
|
98
98
|
</tr>
|
|
99
|
+
<tr>
|
|
100
|
+
<td>
|
|
101
|
+
<code>npm run qwik add vercel-edge</code>
|
|
102
|
+
</td>
|
|
103
|
+
<td>
|
|
104
|
+
<a href="https://vercel.com/docs/concepts/get-started" target="_blank">
|
|
105
|
+
Vercel Edge Functions
|
|
106
|
+
</a>
|
|
107
|
+
</td>
|
|
108
|
+
</tr>
|
|
99
109
|
</tbody>
|
|
100
110
|
</table>
|
|
101
111
|
|
|
@@ -3,14 +3,14 @@ import { loader$ } from '@builder.io/qwik-city';
|
|
|
3
3
|
|
|
4
4
|
import Header from '../components/header/header';
|
|
5
5
|
|
|
6
|
-
export const
|
|
6
|
+
export const useServerTimeLoader = loader$(() => {
|
|
7
7
|
return {
|
|
8
8
|
date: new Date().toISOString(),
|
|
9
9
|
};
|
|
10
10
|
});
|
|
11
11
|
|
|
12
12
|
export default component$(() => {
|
|
13
|
-
const serverTime =
|
|
13
|
+
const serverTime = useServerTimeLoader();
|
|
14
14
|
return (
|
|
15
15
|
<>
|
|
16
16
|
<main>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { component$ } from '@builder.io/qwik';
|
|
2
|
-
import { DocumentHead, loader$, action$, zod$, z, Form } from '@builder.io/qwik-city';
|
|
2
|
+
import { type DocumentHead, loader$, action$, zod$, z, Form } from '@builder.io/qwik-city';
|
|
3
3
|
|
|
4
4
|
interface ListItem {
|
|
5
5
|
text: string;
|
|
@@ -7,11 +7,11 @@ interface ListItem {
|
|
|
7
7
|
|
|
8
8
|
export const list: ListItem[] = [];
|
|
9
9
|
|
|
10
|
-
export const
|
|
10
|
+
export const useListLoader = loader$(() => {
|
|
11
11
|
return list;
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
-
export const
|
|
14
|
+
export const useAddToListAction = action$(
|
|
15
15
|
(item) => {
|
|
16
16
|
list.push(item);
|
|
17
17
|
return {
|
|
@@ -24,8 +24,8 @@ export const addToListAction = action$(
|
|
|
24
24
|
);
|
|
25
25
|
|
|
26
26
|
export default component$(() => {
|
|
27
|
-
const list =
|
|
28
|
-
const action =
|
|
27
|
+
const list = useListLoader();
|
|
28
|
+
const action = useAddToListAction();
|
|
29
29
|
|
|
30
30
|
return (
|
|
31
31
|
<>
|
|
@@ -2,7 +2,7 @@ import { component$, Slot, useStyles$ } from '@builder.io/qwik';
|
|
|
2
2
|
import type { DocumentHead } from '@builder.io/qwik-city';
|
|
3
3
|
import Menu from '~/components/menu/menu';
|
|
4
4
|
import OnThisPage from '~/components/on-this-page/on-this-page';
|
|
5
|
-
import styles from '
|
|
5
|
+
import styles from './docs.css?inline';
|
|
6
6
|
|
|
7
7
|
export default component$(() => {
|
|
8
8
|
useStyles$(styles);
|
|
@@ -31,88 +31,102 @@ export default component$(() => {
|
|
|
31
31
|
<h2>Commands</h2>
|
|
32
32
|
|
|
33
33
|
<table class="commands">
|
|
34
|
-
<
|
|
35
|
-
<
|
|
36
|
-
<
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
<
|
|
48
|
-
<
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
<
|
|
54
|
-
<
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
34
|
+
<tbody>
|
|
35
|
+
<tr>
|
|
36
|
+
<td>
|
|
37
|
+
<code>npm run dev</code>
|
|
38
|
+
</td>
|
|
39
|
+
<td>Start the dev server and watch for changes.</td>
|
|
40
|
+
</tr>
|
|
41
|
+
<tr>
|
|
42
|
+
<td>
|
|
43
|
+
<code>npm run preview</code>
|
|
44
|
+
</td>
|
|
45
|
+
<td>Production build and start preview server.</td>
|
|
46
|
+
</tr>
|
|
47
|
+
<tr>
|
|
48
|
+
<td>
|
|
49
|
+
<code>npm run build</code>
|
|
50
|
+
</td>
|
|
51
|
+
<td>Production build.</td>
|
|
52
|
+
</tr>
|
|
53
|
+
<tr>
|
|
54
|
+
<td>
|
|
55
|
+
<code>npm run qwik add</code>
|
|
56
|
+
</td>
|
|
57
|
+
<td>Select an integration to add.</td>
|
|
58
|
+
</tr>
|
|
59
|
+
</tbody>
|
|
58
60
|
</table>
|
|
59
61
|
|
|
60
62
|
<h2>Add Integrations</h2>
|
|
61
63
|
|
|
62
64
|
<table class="commands">
|
|
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
|
-
href="https://
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
65
|
+
<tbody>
|
|
66
|
+
<tr>
|
|
67
|
+
<td>
|
|
68
|
+
<code>npm run qwik add azure-swa</code>
|
|
69
|
+
</td>
|
|
70
|
+
<td>
|
|
71
|
+
<a href="https://learn.microsoft.com/azure/static-web-apps/overview" target="_blank">
|
|
72
|
+
Azure Static Web Apps
|
|
73
|
+
</a>
|
|
74
|
+
</td>
|
|
75
|
+
</tr>
|
|
76
|
+
<tr>
|
|
77
|
+
<td>
|
|
78
|
+
<code>npm run qwik add cloudflare-pages</code>
|
|
79
|
+
</td>
|
|
80
|
+
<td>
|
|
81
|
+
<a href="https://developers.cloudflare.com/pages" target="_blank">
|
|
82
|
+
Cloudflare Pages Server
|
|
83
|
+
</a>
|
|
84
|
+
</td>
|
|
85
|
+
</tr>
|
|
86
|
+
<tr>
|
|
87
|
+
<td>
|
|
88
|
+
<code>npm run qwik add express</code>
|
|
89
|
+
</td>
|
|
90
|
+
<td>
|
|
91
|
+
<a href="https://expressjs.com/" target="_blank">
|
|
92
|
+
Nodejs Express Server
|
|
93
|
+
</a>
|
|
94
|
+
</td>
|
|
95
|
+
</tr>
|
|
96
|
+
<tr>
|
|
97
|
+
<td>
|
|
98
|
+
<code>npm run qwik add netlify-edge</code>
|
|
99
|
+
</td>
|
|
100
|
+
<td>
|
|
101
|
+
<a href="https://docs.netlify.com/" target="_blank">
|
|
102
|
+
Netlify Edge Functions
|
|
103
|
+
</a>
|
|
104
|
+
</td>
|
|
105
|
+
</tr>
|
|
106
|
+
<tr>
|
|
107
|
+
<td>
|
|
108
|
+
<code>npm run qwik add vercel-edge</code>
|
|
109
|
+
</td>
|
|
110
|
+
<td>
|
|
111
|
+
<a href="https://vercel.com/docs/concepts/get-started" target="_blank">
|
|
112
|
+
Vercel Edge Functions
|
|
113
|
+
</a>
|
|
114
|
+
</td>
|
|
115
|
+
</tr>
|
|
116
|
+
<tr>
|
|
117
|
+
<td>
|
|
118
|
+
<code>npm run qwik add static</code>
|
|
119
|
+
</td>
|
|
120
|
+
<td>
|
|
121
|
+
<a
|
|
122
|
+
href="https://qwik.builder.io/qwikcity/static-site-generation/overview/"
|
|
123
|
+
target="_blank"
|
|
124
|
+
>
|
|
125
|
+
Static Site Generation (SSG)
|
|
126
|
+
</a>
|
|
127
|
+
</td>
|
|
128
|
+
</tr>
|
|
129
|
+
</tbody>
|
|
116
130
|
</table>
|
|
117
131
|
|
|
118
132
|
<h2>Community</h2>
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"release": "np"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@builder.io/qwik": "0.
|
|
35
|
+
"@builder.io/qwik": "0.18.0",
|
|
36
36
|
"@types/eslint": "8.21.0",
|
|
37
|
-
"@types/node": "^18.
|
|
37
|
+
"@types/node": "^18.13.0",
|
|
38
38
|
"@types/node-fetch": "latest",
|
|
39
39
|
"@typescript-eslint/eslint-plugin": "5.51.0",
|
|
40
40
|
"@typescript-eslint/parser": "5.51.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"node-fetch": "3.3.0",
|
|
44
44
|
"undici": "5.18.0",
|
|
45
45
|
"np": "7.6.1",
|
|
46
|
-
"prettier": "2.8.
|
|
46
|
+
"prettier": "2.8.4",
|
|
47
47
|
"typescript": "4.9.5",
|
|
48
48
|
"vite": "4.1.1"
|
|
49
49
|
},
|