create-cloudflare 0.0.0-4e33f2cdc → 0.0.0-4e571fd00
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/README.md +1 -1
- package/dist/cli.js +2545 -2772
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/templates/angular/c3.ts +25 -13
- package/templates/angular/templates/src/server.ts +15 -0
- package/templates/angular/templates/tools/copy-files.mjs +8 -2
- package/templates/astro/templates/wrangler.toml +1 -0
- package/templates/common/js/wrangler.toml +6 -0
- package/templates/common/ts/tsconfig.json +37 -95
- package/templates/common/ts/wrangler.toml +6 -0
- package/templates/docusaurus/c3.ts +2 -1
- package/templates/hello-world/js/wrangler.toml +6 -0
- package/templates/hello-world/py/wrangler.toml +6 -0
- package/templates/hello-world/ts/test/tsconfig.json +1 -1
- package/templates/hello-world/ts/tsconfig.json +36 -95
- package/templates/hello-world/ts/wrangler.toml +6 -0
- package/templates/hello-world-durable-object/js/wrangler.toml +6 -0
- package/templates/hello-world-durable-object/ts/tsconfig.json +36 -95
- package/templates/hello-world-durable-object/ts/wrangler.toml +6 -0
- package/templates/hono/templates/wrangler.toml +6 -0
- package/templates/nuxt/templates/wrangler.toml +1 -0
- package/templates/openapi/ts/wrangler.toml +6 -0
- package/templates/pre-existing/c3.ts +26 -7
- package/templates/queues/js/wrangler.toml +6 -0
- package/templates/queues/ts/tsconfig.json +36 -95
- package/templates/queues/ts/wrangler.toml +6 -0
- package/templates/scheduled/js/wrangler.toml +6 -0
- package/templates/scheduled/ts/tsconfig.json +36 -95
- package/templates/scheduled/ts/wrangler.toml +6 -0
- package/templates/svelte/c3.ts +3 -3
- package/templates-experimental/angular/c3.ts +24 -14
- package/templates-experimental/angular/templates/src/server.ts +15 -0
- package/templates-experimental/angular/templates/wrangler.toml +8 -2
- package/templates-experimental/astro/templates/wrangler.toml +8 -2
- package/templates-experimental/docusaurus/templates/wrangler.toml +7 -1
- package/templates-experimental/gatsby/templates/wrangler.toml +7 -1
- package/templates-experimental/hello-world-assets-only/templates/wrangler.toml +7 -1
- package/templates-experimental/hello-world-durable-object-with-assets/js/wrangler.toml +6 -1
- package/templates-experimental/hello-world-durable-object-with-assets/ts/tsconfig.json +36 -95
- package/templates-experimental/hello-world-durable-object-with-assets/ts/wrangler.toml +6 -1
- package/templates-experimental/hello-world-with-assets/js/test/index.spec.js +3 -3
- package/templates-experimental/hello-world-with-assets/js/wrangler.toml +7 -1
- package/templates-experimental/hello-world-with-assets/py/wrangler.toml +7 -1
- package/templates-experimental/hello-world-with-assets/ts/test/index.spec.ts +5 -5
- package/templates-experimental/hello-world-with-assets/ts/tsconfig.json +36 -95
- package/templates-experimental/hello-world-with-assets/ts/wrangler.toml +7 -1
- package/templates-experimental/hono/c3.ts +43 -0
- package/templates-experimental/hono/templates/public/index.html +19 -0
- package/templates-experimental/hono/templates/src/index.ts +9 -0
- package/templates-experimental/hono/templates/worker-configuration.d.ts +4 -0
- package/templates-experimental/hono/templates/wrangler.toml +5 -0
- package/templates-experimental/next/c3.ts +52 -0
- package/templates-experimental/next/templates/__dot__gitignore +42 -0
- package/templates-experimental/next/templates/env.d.ts +5 -0
- package/templates-experimental/next/templates/wrangler.toml +12 -0
- package/templates-experimental/nuxt/c3.ts +1 -1
- package/templates-experimental/nuxt/templates/wrangler.toml +8 -2
- package/templates-experimental/qwik/templates/wrangler.toml +7 -1
- package/templates-experimental/remix/c3.ts +2 -27
- package/templates-experimental/remix/templates/public/.assetsignore +0 -4
- package/templates-experimental/remix/templates/wrangler.toml +8 -2
- package/templates-experimental/solid/c3.ts +7 -50
- package/templates-experimental/solid/templates/wrangler.toml +8 -2
- package/templates-experimental/svelte/c3.ts +3 -3
- package/templates-experimental/svelte/js/wrangler.toml +7 -1
- package/templates-experimental/svelte/ts/wrangler.toml +7 -1
- package/templates/angular/templates/server.ts +0 -34
- package/templates/angular/templates/tools/alter-polyfills.mjs +0 -27
- package/templates/angular/templates/tools/paths.mjs +0 -9
- package/templates-experimental/angular/templates/server.ts +0 -34
- package/templates-experimental/angular/templates/src/.assetsignore +0 -4
- package/templates-experimental/angular/templates/tools/alter-polyfills.mjs +0 -27
- package/templates-experimental/angular/templates/tools/copy-files.mjs +0 -9
- package/templates-experimental/angular/templates/tools/paths.mjs +0 -9
- package/templates-experimental/nuxt/templates/cloudflare-preset/nitro.config.ts +0 -27
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { type NitroPreset } from "nitropack";
|
|
2
|
-
|
|
3
|
-
export default <NitroPreset>{
|
|
4
|
-
extends: "cloudflare",
|
|
5
|
-
exportConditions: ["workerd"],
|
|
6
|
-
output: {
|
|
7
|
-
dir: "{{ rootDir }}/dist",
|
|
8
|
-
publicDir: "{{ output.dir }}/public",
|
|
9
|
-
serverDir: "{{ output.dir }}/worker",
|
|
10
|
-
},
|
|
11
|
-
commands: {
|
|
12
|
-
preview: "npx wrangler dev",
|
|
13
|
-
deploy: "npx wrangler deploy",
|
|
14
|
-
},
|
|
15
|
-
wasm: {
|
|
16
|
-
lazy: false,
|
|
17
|
-
esmImport: true,
|
|
18
|
-
},
|
|
19
|
-
rollupConfig: {
|
|
20
|
-
output: {
|
|
21
|
-
entryFileNames: "index.js",
|
|
22
|
-
format: "esm",
|
|
23
|
-
exports: "named",
|
|
24
|
-
inlineDynamicImports: false,
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
};
|