create-qwik 0.0.108 → 0.0.109-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.
Files changed (73) hide show
  1. package/README.md +7 -19
  2. package/create-qwik.cjs +3 -0
  3. package/index.cjs +125 -0
  4. package/package.json +11 -7
  5. package/starters/apps/base/.prettierignore +6 -0
  6. package/starters/apps/base/README.md +6 -16
  7. package/starters/apps/base/gitignore +4 -6
  8. package/starters/apps/base/package.json +15 -18
  9. package/starters/apps/base/public/favicon.ico +0 -0
  10. package/starters/apps/base/public/favicons/android-chrome-192x192.png +0 -0
  11. package/starters/apps/base/public/favicons/apple-touch-icon.png +0 -0
  12. package/starters/apps/base/public/favicons/favicon-16x16.png +0 -0
  13. package/starters/apps/base/public/favicons/favicon-32x32.png +0 -0
  14. package/starters/apps/base/public/favicons/favicon.svg +13 -0
  15. package/starters/apps/base/src/entry.preview.tsx +6 -0
  16. package/starters/apps/base/src/entry.ssr.tsx +7 -5
  17. package/starters/apps/base/tsconfig.json +5 -4
  18. package/starters/apps/base/vite.config.ts +1 -6
  19. package/starters/apps/blank/dist/q-manifest.json +105 -0
  20. package/starters/apps/blank/package.json +1 -16
  21. package/starters/apps/blank/src/entry.preview.tsx +18 -0
  22. package/starters/apps/blank/src/root.tsx +2 -2
  23. package/starters/apps/{qwik-city → library}/tsconfig.json +1 -4
  24. package/starters/apps/library/vite.config.ts +1 -6
  25. package/starters/apps/qwik-city/{public → dist}/favicons/android-chrome-192x192.png +0 -0
  26. package/starters/apps/qwik-city/{public → dist}/favicons/android-chrome-256x256.png +0 -0
  27. package/starters/apps/qwik-city/{public → dist}/favicons/apple-touch-icon.png +0 -0
  28. package/starters/apps/qwik-city/{public → dist}/favicons/favicon.svg +0 -0
  29. package/starters/apps/qwik-city/{public → dist}/logos/qwik-logo.svg +0 -0
  30. package/starters/apps/qwik-city/{public → dist}/logos/qwik.svg +0 -0
  31. package/starters/apps/qwik-city/dist/q-manifest.json +904 -0
  32. package/starters/apps/qwik-city/dist/service-worker.js +167 -0
  33. package/starters/apps/qwik-city/package.json +2 -13
  34. package/starters/apps/qwik-city/src/components/menu/menu.tsx +4 -4
  35. package/starters/apps/{perf.prod → qwik-city}/src/entry.ssr.tsx +7 -5
  36. package/starters/apps/qwik-city/src/root.tsx +4 -4
  37. package/starters/apps/qwik-city/src/routes/service-worker.ts +10 -0
  38. package/starters/apps/qwik-city/vite.config.ts +1 -8
  39. package/create-qwik +0 -107
  40. package/index.js +0 -22
  41. package/starters/apps/blank/src/entry.express.tsx +0 -59
  42. package/starters/apps/perf.prod/package.json +0 -22
  43. package/starters/apps/perf.prod/src/components/app/app.tsx +0 -189
  44. package/starters/apps/perf.prod/src/entry.express.tsx +0 -59
  45. package/starters/apps/perf.prod/src/global.css +0 -3
  46. package/starters/apps/perf.prod/src/root.tsx +0 -18
  47. package/starters/apps/qwik-city/public/_headers +0 -2
  48. package/starters/apps/qwik-city/public/favicon.ico +0 -0
  49. package/starters/features/prettier/.prettierignore +0 -23
  50. package/starters/features/prettier/package.json +0 -10
  51. package/starters/features/react/package.json +0 -26
  52. package/starters/features/react/src/entry.ssr.tsx +0 -11
  53. package/starters/features/react/src/react/app.tsx +0 -14
  54. package/starters/features/tailwindcss/package.json +0 -8
  55. package/starters/features/tailwindcss/postcss.config.cjs +0 -6
  56. package/starters/features/tailwindcss/src/global.css +0 -3
  57. package/starters/features/tailwindcss/tailwind.config.cjs +0 -7
  58. package/starters/servers/cloudflare-pages/.node-version +0 -1
  59. package/starters/servers/cloudflare-pages/README.md +0 -17
  60. package/starters/servers/cloudflare-pages/functions/[[path]].ts +0 -5
  61. package/starters/servers/cloudflare-pages/package.json +0 -18
  62. package/starters/servers/cloudflare-pages/public/_headers +0 -2
  63. package/starters/servers/cloudflare-pages/src/entry.cloudflare.tsx +0 -4
  64. package/starters/servers/express/README.md +0 -9
  65. package/starters/servers/express/package.json +0 -11
  66. package/starters/servers/express/src/entry.express.tsx +0 -31
  67. package/starters/servers/netlify-edge/.node-version +0 -1
  68. package/starters/servers/netlify-edge/README.md +0 -39
  69. package/starters/servers/netlify-edge/netlify.toml +0 -10
  70. package/starters/servers/netlify-edge/package.json +0 -19
  71. package/starters/servers/netlify-edge/public/_headers +0 -2
  72. package/starters/servers/netlify-edge/src/entry.netlify.ts +0 -6
  73. package/starters/servers/netlify-edge/tsconfig.json +0 -17
@@ -1,39 +0,0 @@
1
- ## Netlify
2
-
3
- This starter site is configured to deploy to [Netlify Edge Functions](https://www.netlify.com/products/edge/), which means it will be rendered at an edge location near to your users.
4
-
5
- ### Local development
6
-
7
- The [Netlify CLI](https://docs.netlify.com/cli/get-started/) can be used to preview a production build locally. To do so: First build your site, then to start a local server, run:
8
-
9
- 1. install Netlify CLI globally `npm i -g netlify-cli`
10
- 2. Build your site both ssr and client `npm run build`.
11
- 3. Start a local server with `npm run serve`.
12
- In this project, `npm run serve` uses the `netlify dev` command to spin up a server that can handle Netlify's Edge Functions locally.
13
- 4. Visit [http://localhost:8888/](http://localhost:8888/) to check out your site.
14
-
15
- ### Deployments
16
-
17
- You can [deploy your site to Netlify](https://docs.netlify.com/site-deploys/create-deploys/) either via a Git provider integration or through the Netlify CLI. This starter site includes a `netlify.toml` file to configure your build for deployment.
18
-
19
- #### Deploying via Git
20
-
21
- Once your site has been pushed to your Git provider, you can either link it [in the Netlify UI](https://app.netlify.com/start) or use the CLI. To link your site to a Git provider from the Netlify CLI, run the command:
22
-
23
- ```shell
24
- netlify link
25
- ```
26
-
27
- This sets up [continuous deployment](https://docs.netlify.com/site-deploys/create-deploys/#deploy-with-git) for your site's repo. Whenever you push new commits to your repo, Netlify starts the build process..
28
-
29
- #### Deploying manually via the CLI
30
-
31
- If you wish to deploy from the CLI rather than using Git, you can use the command:
32
-
33
- ```shell
34
- netlify deploy --build
35
- ```
36
-
37
- You must use the `--build` flag whenever you deploy. This ensures that the Edge Functions that this starter site relies on are generated and available when you deploy your site.
38
-
39
- Add `--prod` flag to deploy to production.
@@ -1,10 +0,0 @@
1
- [build]
2
- publish = "dist"
3
- command = "npm run build"
4
-
5
- [[edge_functions]]
6
- path = "/*"
7
- function = "entry.netlify"
8
-
9
- [dev]
10
- framework = "#static"
@@ -1,19 +0,0 @@
1
- {
2
- "description": "Netlify Edge Functions.",
3
- "scripts": {
4
- "serve": "netlify dev",
5
- "build.ssr": "vite build --ssr src/entry.netlify.ts"
6
- },
7
- "devDependencies": {
8
- "@netlify/vite-plugin-netlify-edge": "1.1.0"
9
- },
10
- "__qwik__": {
11
- "priority": -1,
12
- "vite": {
13
- "VITE_IMPORTS": "import netlifyEdge from '@netlify/vite-plugin-netlify-edge';",
14
- "VITE_CONFIG": "",
15
- "VITE_QWIK": "{ ssr: { outDir: 'netlify/edge-functions/entry.netlify' } }",
16
- "VITE_PLUGINS": "netlifyEdge({ functionName: 'entry.netlify' }),"
17
- }
18
- }
19
- }
@@ -1,2 +0,0 @@
1
- /build/*
2
- Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable
@@ -1,6 +0,0 @@
1
- import { qwikCity } from '@builder.io/qwik-city/middleware/netlify-edge';
2
- import render from './entry.ssr';
3
-
4
- const qwikCityHandler = qwikCity(render);
5
-
6
- export default qwikCityHandler;
@@ -1,17 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2017",
4
- "module": "ES2020",
5
- "lib": ["es2020", "DOM"],
6
- "jsx": "react-jsx",
7
- "jsxImportSource": "@builder.io/qwik",
8
- "strict": true,
9
- "resolveJsonModule": true,
10
- "moduleResolution": "node",
11
- "esModuleInterop": true,
12
- "skipLibCheck": true,
13
- "incremental": true,
14
- "types": ["vite/client"]
15
- },
16
- "include": ["src"]
17
- }