@majordigital/create-acorn 1.0.3 → 1.0.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/README.md CHANGED
@@ -37,16 +37,8 @@ First iteration of an interactive CLI to scaffold a Headless CMS skeleton with N
37
37
 
38
38
  Recommended usage (once published to npm):
39
39
 
40
- - Use npm init-style:
41
-
42
- ```bash
43
- npm create acorn@latest
44
- ```
45
-
46
- - Or via npx with the alias:
47
-
48
40
  ```bash
49
- npx major-acorn@latest
41
+ npx @majordigital/create-acorn@latest
50
42
  ```
51
43
 
52
44
  Local (from this repo):
@@ -70,7 +62,7 @@ You can also pass the repository name non-interactively:
70
62
  ```bash
71
63
  npm run acorn -- --cms prismic --repo my-repo
72
64
  # or
73
- npx major-acorn@latest --cms prismic --repo my-repo
65
+ npx @majordigital/create-acorn@latest --cms prismic --repo my-repo
74
66
  ```
75
67
 
76
68
  Repository name rules: lowercase letters, numbers, and hyphens only.
@@ -140,12 +140,7 @@ async function setupPrismic() {
140
140
  }
141
141
  console.log('');
142
142
 
143
- const initArgs = ['@slicemachine/init@latest', '--repository', repo];
144
- if (isExisting) {
145
- initArgs.push('--existing-repo');
146
- }
147
-
148
- await runCommand('npx', initArgs);
143
+ await runCommand('npx', ['@slicemachine/init@latest', '--repository', repo]);
149
144
 
150
145
  // Ensure slicemachine script exists in package.json
151
146
  const pkgPath = join(process.cwd(), 'package.json');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@majordigital/create-acorn",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Interactive scaffold for Acorn with Storyblok/Prismic/DatoCMS, TypeScript, and Tailwind.",
5
5
  "bin": {
6
6
  "create-acorn": "bin/create-acorn.mjs",