create-apollo-monorepo 0.5.2 → 0.5.3
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 +3 -1
- 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",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-apollo-monorepo",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
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"
|