@stormycms/cli 0.0.14 → 0.0.16

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/boilerplate.zip CHANGED
Binary file
package/dist/cli.js CHANGED
@@ -253,12 +253,12 @@ async function init(options) {
253
253
  replaceProjectName(targetDir, projectName);
254
254
  const envAnswers = await promptEnvValues(targetDir, options.skipEnv);
255
255
  await generateEnvFiles(targetDir, envAnswers);
256
- console.log("Initializing git repository...");
257
- await initializeGitRepository(targetDir);
258
256
  if (!options.skipInstall) {
259
257
  console.log("Installing dependencies...");
260
258
  await runPnpmInstall(targetDir);
261
259
  }
260
+ console.log("Initializing git repository...");
261
+ await initializeGitRepository(targetDir);
262
262
  console.log("\n\u2705 Project initialized successfully!");
263
263
  console.log(`
264
264
  Location: ${targetDir}`);
@@ -450,7 +450,7 @@ async function generateEnvFiles(targetDir, answers) {
450
450
  }
451
451
  async function runPnpmInstall(targetDir) {
452
452
  try {
453
- await execFileAsync("pnpm", ["install", "--frozen-lockfile"], { cwd: targetDir, timeout: 3e5 });
453
+ await execFileAsync("pnpm", ["install"], { cwd: targetDir, timeout: 3e5 });
454
454
  } catch (error) {
455
455
  const execError = error;
456
456
  throw new Error(`Failed to install dependencies: ${execError.stderr ?? execError.stdout ?? String(error)}`);
package/dist/index.js CHANGED
@@ -196,12 +196,12 @@ async function init(options) {
196
196
  replaceProjectName(targetDir, projectName);
197
197
  const envAnswers = await promptEnvValues(targetDir, options.skipEnv);
198
198
  await generateEnvFiles(targetDir, envAnswers);
199
- console.log("Initializing git repository...");
200
- await initializeGitRepository(targetDir);
201
199
  if (!options.skipInstall) {
202
200
  console.log("Installing dependencies...");
203
201
  await runPnpmInstall(targetDir);
204
202
  }
203
+ console.log("Initializing git repository...");
204
+ await initializeGitRepository(targetDir);
205
205
  console.log("\n\u2705 Project initialized successfully!");
206
206
  console.log(`
207
207
  Location: ${targetDir}`);
@@ -393,7 +393,7 @@ async function generateEnvFiles(targetDir, answers) {
393
393
  }
394
394
  async function runPnpmInstall(targetDir) {
395
395
  try {
396
- await execFileAsync("pnpm", ["install", "--frozen-lockfile"], { cwd: targetDir, timeout: 3e5 });
396
+ await execFileAsync("pnpm", ["install"], { cwd: targetDir, timeout: 3e5 });
397
397
  } catch (error) {
398
398
  const execError = error;
399
399
  throw new Error(`Failed to install dependencies: ${execError.stderr ?? execError.stdout ?? String(error)}`);
package/dist/index.mjs CHANGED
@@ -153,12 +153,12 @@ async function init(options) {
153
153
  replaceProjectName(targetDir, projectName);
154
154
  const envAnswers = await promptEnvValues(targetDir, options.skipEnv);
155
155
  await generateEnvFiles(targetDir, envAnswers);
156
- console.log("Initializing git repository...");
157
- await initializeGitRepository(targetDir);
158
156
  if (!options.skipInstall) {
159
157
  console.log("Installing dependencies...");
160
158
  await runPnpmInstall(targetDir);
161
159
  }
160
+ console.log("Initializing git repository...");
161
+ await initializeGitRepository(targetDir);
162
162
  console.log("\n\u2705 Project initialized successfully!");
163
163
  console.log(`
164
164
  Location: ${targetDir}`);
@@ -350,7 +350,7 @@ async function generateEnvFiles(targetDir, answers) {
350
350
  }
351
351
  async function runPnpmInstall(targetDir) {
352
352
  try {
353
- await execFileAsync("pnpm", ["install", "--frozen-lockfile"], { cwd: targetDir, timeout: 3e5 });
353
+ await execFileAsync("pnpm", ["install"], { cwd: targetDir, timeout: 3e5 });
354
354
  } catch (error) {
355
355
  const execError = error;
356
356
  throw new Error(`Failed to install dependencies: ${execError.stderr ?? execError.stdout ?? String(error)}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stormycms/cli",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "description": "Stormy CMS CLI - Framework-agnostic core with plugin system",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -29,6 +29,7 @@
29
29
  "scripts": {
30
30
  "build": "tsup",
31
31
  "package:boilerplate": "tsx scripts/package-boilerplate.ts",
32
+ "publish:dev": "pnpm publish --registry=https://gitlab.com/api/v4/projects/78099267/packages/npm/ --no-git-checks",
32
33
  "dev": "tsup --watch",
33
34
  "typecheck": "tsc --noEmit",
34
35
  "test": "vitest run",