create-icebreaker 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import path from "node:path";
2
2
  import process from "node:process";
3
- import { Command, checkbox, input, shouldSkipTemplatePath, skeletonDir, templateChoices, templatesDir, toWorkspaceGitignorePath } from "@icebreakers/monorepo-templates";
3
+ import { Command, assetsDir, checkbox, input, shouldSkipTemplatePath, templateChoices, templatesDir, toWorkspaceGitignorePath } from "@icebreakers/monorepo-templates";
4
4
  import fs from "node:fs/promises";
5
5
 
6
6
  //#region src/constants.ts
@@ -134,7 +134,7 @@ async function copySelectedTemplates(targetDir, selectedTemplates) {
134
134
  }
135
135
  }
136
136
  async function scaffoldFromNpm(targetDir, selectedTemplates) {
137
- await copyDirContents(skeletonDir, targetDir);
137
+ await copyDirContents(assetsDir, targetDir);
138
138
  await copySelectedTemplates(targetDir, selectedTemplates);
139
139
  }
140
140
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-icebreaker",
3
3
  "type": "module",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "description": "Bootstrap the icebreaker monorepo template via npm create/pnpm create with optional cleanup",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "node": ">=18.0.0"
32
32
  },
33
33
  "dependencies": {
34
- "@icebreakers/monorepo-templates": "0.1.0"
34
+ "@icebreakers/monorepo-templates": "0.1.1"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public"