create-jant 0.1.21 → 0.1.23

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.js CHANGED
@@ -8,7 +8,7 @@ import path from "path";
8
8
  import { fileURLToPath } from "url";
9
9
  var __filename = fileURLToPath(import.meta.url);
10
10
  var __dirname = path.dirname(__filename);
11
- var CORE_VERSION = "0.2.18";
11
+ var CORE_VERSION = "0.2.20";
12
12
  var TEMPLATE_DIR = fs.existsSync(path.resolve(__dirname, "../template")) ? path.resolve(__dirname, "../template") : path.resolve(__dirname, "../../../templates/jant-site");
13
13
  function isValidProjectName(name) {
14
14
  return /^[a-z0-9]([a-z0-9-]*[a-z0-9])?$/.test(name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-jant",
3
- "version": "0.1.21",
3
+ "version": "0.1.23",
4
4
  "description": "Create a new Jant project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -55,6 +55,7 @@
55
55
  "typecheck": "tsc --noEmit",
56
56
  "copy-template": "rm -rf template && cp -r ../../templates/jant-site template",
57
57
  "prepare-template": "node scripts/prepare-template.js",
58
- "inject-version": "node -e \"const fs=require('fs');const v=require('../core/package.json').version;const f='dist/index.js';fs.writeFileSync(f,fs.readFileSync(f,'utf8').replace('__JANT_CORE_VERSION__',v))\""
58
+ "inject-version": "node -e \"const fs=require('fs');const v=require('../core/package.json').version;const f='dist/index.js';fs.writeFileSync(f,fs.readFileSync(f,'utf8').replace('__JANT_CORE_VERSION__',v))\"",
59
+ "test-template": "node scripts/test-template.js"
59
60
  }
60
61
  }
@@ -11,7 +11,7 @@
11
11
  "deploy": "pnpm build && wrangler deploy",
12
12
  "preview": "vite preview",
13
13
  "typecheck": "tsc --noEmit",
14
- "db:migrate:local": "wrangler d1 migrations apply DB --local",
14
+ "db:migrate:local": "wrangler d1 migrations apply DB --local --skip-confirmation",
15
15
  "db:migrate:remote": "wrangler d1 migrations apply DB --remote",
16
16
  "jant": "jant",
17
17
  "reset-password": "node scripts/reset-password.mjs"
@@ -1,7 +1,29 @@
1
1
  {
2
- "extends": "../../tsconfig.json",
3
2
  "compilerOptions": {
4
- "types": ["@cloudflare/workers-types", "vite/client"]
3
+ "target": "ES2022",
4
+ "module": "ESNext",
5
+ "moduleResolution": "bundler",
6
+ "lib": [
7
+ "ES2022"
8
+ ],
9
+ "strict": true,
10
+ "skipLibCheck": true,
11
+ "noEmit": true,
12
+ "esModuleInterop": true,
13
+ "resolveJsonModule": true,
14
+ "isolatedModules": true,
15
+ "verbatimModuleSyntax": true,
16
+ "noUncheckedIndexedAccess": true,
17
+ "noImplicitOverride": true,
18
+ "forceConsistentCasingInFileNames": true,
19
+ "jsx": "react-jsx",
20
+ "jsxImportSource": "hono/jsx",
21
+ "types": [
22
+ "@cloudflare/workers-types",
23
+ "vite/client"
24
+ ]
5
25
  },
6
- "include": ["src/**/*"]
26
+ "include": [
27
+ "src/**/*"
28
+ ]
7
29
  }