create-apollo-monorepo 0.5.2 → 0.5.4
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/index.mjs +11 -7
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -349,7 +349,9 @@ function writeRootPackageJson(targetDir, dirName) {
|
|
|
349
349
|
lint: "pnpm -r lint",
|
|
350
350
|
typecheck: "pnpm -r typecheck",
|
|
351
351
|
"backend:update": "git submodule update --remote --merge apps/backend",
|
|
352
|
-
|
|
352
|
+
// `pnpm setup` is pnpm's CLI bootstrap built-in — must use `run` to
|
|
353
|
+
// forward to the workspace's setup script (apollo-cms's db:push + db:seed).
|
|
354
|
+
"backend:setup": "pnpm --filter ./apps/backend run setup",
|
|
353
355
|
},
|
|
354
356
|
devDependencies: {
|
|
355
357
|
concurrently: "^9.0.0",
|
|
@@ -362,21 +364,23 @@ function writeRootPackageJson(targetDir, dirName) {
|
|
|
362
364
|
// Allow listed packages to run their build/postinstall scripts; the rest
|
|
363
365
|
// are skipped (pnpm 10 default is empty allow-list).
|
|
364
366
|
onlyBuiltDependencies: [
|
|
367
|
+
"@parcel/watcher",
|
|
368
|
+
"@rolldown/binding-darwin-arm64",
|
|
369
|
+
"@rolldown/binding-linux-arm64-gnu",
|
|
370
|
+
"@rolldown/binding-linux-x64-gnu",
|
|
371
|
+
"@sentry/cli",
|
|
365
372
|
"@swc/core",
|
|
366
373
|
"@swc/core-darwin-arm64",
|
|
367
374
|
"@swc/core-darwin-x64",
|
|
368
375
|
"@swc/core-linux-arm64-gnu",
|
|
369
376
|
"@swc/core-linux-x64-gnu",
|
|
377
|
+
"better-sqlite3",
|
|
378
|
+
"core-js",
|
|
379
|
+
"core-js-pure",
|
|
370
380
|
"esbuild",
|
|
371
381
|
"msw",
|
|
372
382
|
"sharp",
|
|
373
383
|
"unrs-resolver",
|
|
374
|
-
"@rolldown/binding-darwin-arm64",
|
|
375
|
-
"@rolldown/binding-linux-x64-gnu",
|
|
376
|
-
"@rolldown/binding-linux-arm64-gnu",
|
|
377
|
-
"better-sqlite3",
|
|
378
|
-
"core-js",
|
|
379
|
-
"core-js-pure",
|
|
380
384
|
],
|
|
381
385
|
},
|
|
382
386
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-apollo-monorepo",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"description": "Scaffold a monorepo with a frontend app and Apollo CMS as a git submodule backend (single-origin via Next.js rewrites + assetPrefix)",
|
|
5
5
|
"bin": {
|
|
6
6
|
"create-apollo-monorepo": "index.mjs"
|