Package detail

@iceworks/generate-project

apptools-lab4552.0.4

Generator project

readme

generate-project

根据模板生成项目初始化目录。

使用

import { downloadAndGenerateProject } from '@iceworks/generate-project';

await downloadAndGenerateProject(
  projectDir,
  scaffoldNpmName,
  {
    version,
    registry,
    extraDependencies,
    ejsOptions,
  }
);

changelog

@iceworks/generate-project

2.0.4

  • [fix] do not remove publishConfig in package.json

2.0.3

  • [fix] remove unnecessary package.json format

2.0.2

  • [feat] support format .mjs .cjs .mts .cts file

2.0.1

  • [feat] support format json file
  • [fix] throw error when extraDependencies is undefined

2.0.0

  • [feat]: support generate ice.js 3 scaffolds

1.4.6

  • [chore]: update taobao npm registry from https://registry.npm.taobao.org to https://registry.npmmirror.com

1.4.5

  • migrate GitHub repo to appworks and add repository to package.json

1.4.4

  • [chore] 非内网环境则删除 build.json 里的 web.pha 字段,对社区不透出 pha 概念

1.4.3

  • change content of abc.json

1.4.2

  • chore: upgrade ice-npm-utils from 2.x to 3.x

1.4.1

  • support default def version

1.4.0

  • remove fs-readdir-recursive use glob. Add ignore directories such as node_modules, .rax, .ice and build.

1.3.2

  • remove @iceworks/constant, use @appworks/constant

1.3.1

  • set goldlog: false of @ali/build-plugin-event-tracking-register

1.3.0

  • add @ali/build-plugin-event-tracking-register and @ali/universal-event-tracking

1.2.4

  • add "builtInLibrary": { "lib-mtop": false } to src/app.json

1.2.3

  • add mini.project.json for ali (taobao) miniapp

1.2.2

  • add formatScaffoldToProject method, which formats filename and formats to project

1.2.1

  • add pha ejs option

1.2.0

  • 升级 plugin-def 到 3.x

1.1.5

  • chore: abc.json 存在时不再覆盖
  • feat: 支持通过 pkg.bizTeam 定制生成逻辑

1.1.4

  • chore: ejs ignore node_modules