diff --git a/packages/create-pkg/CHANGELOG.md b/packages/create-pkg/CHANGELOG.md index bfc16ecc..b86d0cec 100644 --- a/packages/create-pkg/CHANGELOG.md +++ b/packages/create-pkg/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.3.4 + +- chore rename internal -> isAliInternal + ## 1.3.3 - feat: support handle pkg-plugin-dev diff --git a/packages/create-pkg/package.json b/packages/create-pkg/package.json index df9480f5..e9958601 100644 --- a/packages/create-pkg/package.json +++ b/packages/create-pkg/package.json @@ -1,6 +1,6 @@ { "name": "@ice/create-pkg", - "version": "1.3.3", + "version": "1.3.4", "description": "npm init @ice/pkg", "type": "module", "exports": "./lib/index.mjs", diff --git a/packages/create-pkg/src/index.mts b/packages/create-pkg/src/index.mts index 364f4853..205d95f7 100644 --- a/packages/create-pkg/src/index.mts +++ b/packages/create-pkg/src/index.mts @@ -57,7 +57,7 @@ interface CliOptions { async function create(dirPath: string, dirname: string, options: CliOptions): Promise { const info = await getInfo(); - const isInternal = await checkAliInternal(); + const isAliInternal = await checkAliInternal(); await fs.ensureDir(dirPath); const empty = await checkEmpty(dirPath); @@ -89,7 +89,7 @@ async function create(dirPath: string, dirname: string, options: CliOptions): Pr npmName, // @ts-expect-error generateMaterial should support index signature. workspace: options.workspace, - internal: isInternal, + isAliInternal, }, materialTemplateDir: tempDir, materialType: 'component', @@ -102,7 +102,7 @@ async function create(dirPath: string, dirname: string, options: CliOptions): Pr await removeFilesAndContent(dirPath); } - if (isInternal) { + if (isAliInternal) { const docsDirectories = await globby('**/docs', { cwd: dirPath, onlyFiles: false,