feat(template): use updated core
This commit is contained in:
parent
a0d6d53a3c
commit
83525ed6a7
3 changed files with 34 additions and 23 deletions
|
@ -62,7 +62,7 @@ npm create mcfly@latest
|
||||||
**3. `./src/api/`**
|
**3. `./src/api/`**
|
||||||
|
|
||||||
- file-based routing for REST API endpoints
|
- file-based routing for REST API endpoints
|
||||||
- e.g., `./routes/api/users.ts` can be accessed via `http://<domain>/api/users`
|
- e.g., `./routes/api/users.js` can be accessed via `http://<domain>/api/users`
|
||||||
- TypeScript or JavaScript welcome!
|
- TypeScript or JavaScript welcome!
|
||||||
|
|
||||||
## Packages
|
## Packages
|
||||||
|
|
|
@ -47,10 +47,13 @@ importers:
|
||||||
devDependencies:
|
devDependencies:
|
||||||
nitropack:
|
nitropack:
|
||||||
specifier: ~2.10
|
specifier: ~2.10
|
||||||
version: 2.10.4(typescript@5.7.2)
|
version: 2.10.4(typescript@5.7.3)
|
||||||
|
|
||||||
packages/core:
|
packages/core:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
'@mcflyjs/config':
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../config
|
||||||
c12:
|
c12:
|
||||||
specifier: ^2.0.1
|
specifier: ^2.0.1
|
||||||
version: 2.0.1(magicast@0.3.5)
|
version: 2.0.1(magicast@0.3.5)
|
||||||
|
@ -68,7 +71,7 @@ importers:
|
||||||
version: 1.13.0
|
version: 1.13.0
|
||||||
nitropack:
|
nitropack:
|
||||||
specifier: latest
|
specifier: latest
|
||||||
version: 2.10.4(typescript@5.7.2)
|
version: 2.10.4(typescript@5.7.3)
|
||||||
pathe:
|
pathe:
|
||||||
specifier: ^1.1.2
|
specifier: ^1.1.2
|
||||||
version: 1.1.2
|
version: 1.1.2
|
||||||
|
@ -123,15 +126,15 @@ importers:
|
||||||
templates/basic:
|
templates/basic:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@mcflyjs/config':
|
'@mcflyjs/config':
|
||||||
specifier: ^0.2.1
|
specifier: ^0.2.3
|
||||||
version: 0.2.1
|
version: 0.2.3
|
||||||
'@mcflyjs/core':
|
'@mcflyjs/core':
|
||||||
specifier: ^0.7.1
|
specifier: ^0.8.0
|
||||||
version: 0.7.1(magicast@0.3.5)(typescript@5.7.2)
|
version: 0.8.0(magicast@0.3.5)(typescript@5.7.3)
|
||||||
devDependencies:
|
devDependencies:
|
||||||
typescript:
|
typescript:
|
||||||
specifier: ^5
|
specifier: ^5.7.3
|
||||||
version: 5.7.2
|
version: 5.7.3
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
|
||||||
|
@ -605,11 +608,11 @@ packages:
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
'@mcflyjs/config@0.2.1':
|
'@mcflyjs/config@0.2.3':
|
||||||
resolution: {integrity: sha512-u+4iKQtId3P8qvopl9p04gX2a/ahSmmrLx/uFp9bvg6UA6Y9tIhPG8l713QH7LVNr4iSIybukeuYbHxYHLiHYQ==}
|
resolution: {integrity: sha512-toHJrWuusLiYhkxfBnGo9Mqm+8R+5YFmabvA/4dARRRDXdHIfP8c4xJdBowDqZxv4CI504tdvlQvtROpWj1LkA==}
|
||||||
|
|
||||||
'@mcflyjs/core@0.7.1':
|
'@mcflyjs/core@0.8.0':
|
||||||
resolution: {integrity: sha512-supKkiuGrJfOSwlQ99LfvcbqNoj/DDQdCKe/wTg0oF7TtOP/xxslBN3edzpqW6eIuBY3Qs4mlXHq47x41w3HPg==}
|
resolution: {integrity: sha512-NbXkfYLAtZDTp+qaYTdc9P+nPNgfXOQ6TK1Tfou+C0eoPJWqlZKPK+dMoWy8SY1OlCfkT0JTnlCURt27xBH3Xg==}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
'@netlify/functions@2.8.2':
|
'@netlify/functions@2.8.2':
|
||||||
|
@ -2490,6 +2493,11 @@ packages:
|
||||||
engines: {node: '>=14.17'}
|
engines: {node: '>=14.17'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
|
typescript@5.7.3:
|
||||||
|
resolution: {integrity: sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==}
|
||||||
|
engines: {node: '>=14.17'}
|
||||||
|
hasBin: true
|
||||||
|
|
||||||
ufo@1.4.0:
|
ufo@1.4.0:
|
||||||
resolution: {integrity: sha512-Hhy+BhRBleFjpJ2vchUNN40qgkh0366FWJGqVLYBHev0vpHTrXSA0ryT+74UiW6KWsldNurQMKGqCm1M2zBciQ==}
|
resolution: {integrity: sha512-Hhy+BhRBleFjpJ2vchUNN40qgkh0366FWJGqVLYBHev0vpHTrXSA0ryT+74UiW6KWsldNurQMKGqCm1M2zBciQ==}
|
||||||
|
|
||||||
|
@ -3119,21 +3127,22 @@ snapshots:
|
||||||
- encoding
|
- encoding
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@mcflyjs/config@0.2.1':
|
'@mcflyjs/config@0.2.3':
|
||||||
dependencies:
|
dependencies:
|
||||||
h3: 1.13.0
|
h3: 1.13.0
|
||||||
web-component-base: 2.1.2
|
web-component-base: 2.1.2
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- uWebSockets.js
|
- uWebSockets.js
|
||||||
|
|
||||||
'@mcflyjs/core@0.7.1(magicast@0.3.5)(typescript@5.7.2)':
|
'@mcflyjs/core@0.8.0(magicast@0.3.5)(typescript@5.7.3)':
|
||||||
dependencies:
|
dependencies:
|
||||||
|
'@mcflyjs/config': link:packages/config
|
||||||
c12: 2.0.1(magicast@0.3.5)
|
c12: 2.0.1(magicast@0.3.5)
|
||||||
citty: 0.1.6
|
citty: 0.1.6
|
||||||
consola: 3.3.3
|
consola: 3.3.3
|
||||||
esprima: 4.0.1
|
esprima: 4.0.1
|
||||||
h3: 1.13.0
|
h3: 1.13.0
|
||||||
nitropack: 2.10.4(typescript@5.7.2)
|
nitropack: 2.10.4(typescript@5.7.3)
|
||||||
pathe: 1.1.2
|
pathe: 1.1.2
|
||||||
ultrahtml: 1.5.3
|
ultrahtml: 1.5.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
|
@ -4492,7 +4501,7 @@ snapshots:
|
||||||
|
|
||||||
natural-compare@1.4.0: {}
|
natural-compare@1.4.0: {}
|
||||||
|
|
||||||
nitropack@2.10.4(typescript@5.7.2):
|
nitropack@2.10.4(typescript@5.7.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@cloudflare/kv-asset-handler': 0.3.4
|
'@cloudflare/kv-asset-handler': 0.3.4
|
||||||
'@netlify/functions': 2.8.2
|
'@netlify/functions': 2.8.2
|
||||||
|
@ -4541,7 +4550,7 @@ snapshots:
|
||||||
node-fetch-native: 1.6.4
|
node-fetch-native: 1.6.4
|
||||||
ofetch: 1.4.1
|
ofetch: 1.4.1
|
||||||
ohash: 1.1.4
|
ohash: 1.1.4
|
||||||
openapi-typescript: 7.4.4(typescript@5.7.2)
|
openapi-typescript: 7.4.4(typescript@5.7.3)
|
||||||
pathe: 1.1.2
|
pathe: 1.1.2
|
||||||
perfect-debounce: 1.0.0
|
perfect-debounce: 1.0.0
|
||||||
pkg-types: 1.3.0
|
pkg-types: 1.3.0
|
||||||
|
@ -4650,14 +4659,14 @@ snapshots:
|
||||||
is-docker: 2.2.1
|
is-docker: 2.2.1
|
||||||
is-wsl: 2.2.0
|
is-wsl: 2.2.0
|
||||||
|
|
||||||
openapi-typescript@7.4.4(typescript@5.7.2):
|
openapi-typescript@7.4.4(typescript@5.7.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@redocly/openapi-core': 1.26.1(supports-color@9.4.0)
|
'@redocly/openapi-core': 1.26.1(supports-color@9.4.0)
|
||||||
ansi-colors: 4.1.3
|
ansi-colors: 4.1.3
|
||||||
change-case: 5.4.4
|
change-case: 5.4.4
|
||||||
parse-json: 8.1.0
|
parse-json: 8.1.0
|
||||||
supports-color: 9.4.0
|
supports-color: 9.4.0
|
||||||
typescript: 5.7.2
|
typescript: 5.7.3
|
||||||
yargs-parser: 21.1.1
|
yargs-parser: 21.1.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- encoding
|
- encoding
|
||||||
|
@ -5082,6 +5091,8 @@ snapshots:
|
||||||
|
|
||||||
typescript@5.7.2: {}
|
typescript@5.7.2: {}
|
||||||
|
|
||||||
|
typescript@5.7.3: {}
|
||||||
|
|
||||||
ufo@1.4.0: {}
|
ufo@1.4.0: {}
|
||||||
|
|
||||||
ufo@1.5.4: {}
|
ufo@1.5.4: {}
|
||||||
|
|
|
@ -10,10 +10,10 @@
|
||||||
"build:preview": "npm run build && npm run preview"
|
"build:preview": "npm run build && npm run preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"typescript": "^5"
|
"typescript": "^5.7.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@mcflyjs/config": "^0.2.1",
|
"@mcflyjs/config": "^0.2.3",
|
||||||
"@mcflyjs/core": "^0.7.1"
|
"@mcflyjs/core": "^0.8.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue