@studio-fes/create-fes-app 0.3.10 → 0.3.11
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/bin/create-fes-app.mjs
CHANGED
|
@@ -151,6 +151,16 @@ async function main() {
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
+
// pnpm >=10 blocks postinstall scripts for these deps until approved via
|
|
155
|
+
// `pnpm approve-builds`. Pre-approve them here so a fresh scaffold installs
|
|
156
|
+
// cleanly without an extra manual/interactive step.
|
|
157
|
+
if (answers.packageManager === 'pnpm') {
|
|
158
|
+
pkgJson.pnpm = {
|
|
159
|
+
...pkgJson.pnpm,
|
|
160
|
+
onlyBuiltDependencies: ['@parcel/watcher', 'esbuild', 'sharp', 'unrs-resolver'],
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
154
164
|
writeFileSync(pkgJsonPath, `${JSON.stringify(pkgJson, null, 2)}\n`)
|
|
155
165
|
}
|
|
156
166
|
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"postinstall": "nuxt prepare"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@studio-fes/layer-base": "^0.3.
|
|
14
|
-
"@studio-fes/layer-craft": "^0.3.
|
|
13
|
+
"@studio-fes/layer-base": "^0.3.11",
|
|
14
|
+
"@studio-fes/layer-craft": "^0.3.11",
|
|
15
15
|
"nuxt": "^4.5.1",
|
|
16
16
|
"vue": "^3.5.40",
|
|
17
17
|
"vue-router": "^5.2.0"
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"postinstall": "nuxt prepare"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@studio-fes/layer-base": "^0.3.
|
|
14
|
-
"@studio-fes/layer-strapi": "^0.3.
|
|
13
|
+
"@studio-fes/layer-base": "^0.3.11",
|
|
14
|
+
"@studio-fes/layer-strapi": "^0.3.11",
|
|
15
15
|
"nuxt": "^4.5.1",
|
|
16
16
|
"vue": "^3.5.40",
|
|
17
17
|
"vue-router": "^5.2.0"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@studio-fes/create-fes-app",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.11",
|
|
5
5
|
"description": "Interactive wizard to scaffold a new project from the studio fes Nuxt layers starters (Craft CMS, Strapi).",
|
|
6
6
|
"bin": {
|
|
7
7
|
"create-fes-app": "./bin/create-fes-app.mjs"
|