@liuli-util/cli 3.13.0 → 3.16.0
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/CHANGELOG.md +28 -0
- package/dist/bin.js +96 -77
- package/dist/bin.js.map +3 -3
- package/dist/commands/deploy/DeployService.d.ts +51 -0
- package/dist/commands/deploy/DeployService.d.ts.map +1 -0
- package/dist/commands/deploy/deploy.d.ts +3 -0
- package/dist/commands/deploy/deploy.d.ts.map +1 -0
- package/dist/commands/deploy/index.d.ts +3 -0
- package/dist/commands/deploy/index.d.ts.map +1 -0
- package/dist/commands/deploy/util/FileLock.d.ts +14 -0
- package/dist/commands/deploy/util/FileLock.d.ts.map +1 -0
- package/dist/commands/deploy/util/PromiseUtil.d.ts +14 -0
- package/dist/commands/deploy/util/PromiseUtil.d.ts.map +1 -0
- package/dist/commands/deploy/util/createArchive.d.ts +10 -0
- package/dist/commands/deploy/util/createArchive.d.ts.map +1 -0
- package/dist/commands/deploy/util/execPromise.d.ts +4 -0
- package/dist/commands/deploy/util/execPromise.d.ts.map +1 -0
- package/dist/commands/deploy/util/wait.d.ts +9 -0
- package/dist/commands/deploy/util/wait.d.ts.map +1 -0
- package/dist/commands/esbuild/ESBuildProgram.d.ts +1 -2
- package/dist/commands/esbuild/ESBuildProgram.d.ts.map +1 -1
- package/dist/commands/generate/GenerateProgram.d.ts.map +1 -1
- package/dist/commands/sync/SyncProgram.d.ts.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +2 -2
- package/dist/index.js +3 -3
- package/dist/index.js.map +2 -2
- package/dist/utils/nodeCacheDir.d.ts +2 -0
- package/dist/utils/nodeCacheDir.d.ts.map +1 -0
- package/package.json +13 -7
- package/src/bin.ts +3 -2
- package/src/commands/deploy/DeployService.ts +157 -0
- package/src/commands/deploy/__tests__/DeployService.test.ts +75 -0
- package/src/commands/deploy/__tests__/FileLock.test.ts +27 -0
- package/src/commands/deploy/__tests__/conf.test.ts +29 -0
- package/src/commands/deploy/__tests__/simpleGit.test.ts +29 -0
- package/src/commands/deploy/__tests__/util/deployGhPageWorker.ts +16 -0
- package/src/commands/deploy/deploy.ts +48 -0
- package/src/commands/deploy/index.ts +7 -0
- package/src/commands/deploy/util/FileLock.ts +31 -0
- package/src/commands/deploy/util/PromiseUtil.ts +34 -0
- package/src/commands/deploy/util/createArchive.ts +30 -0
- package/src/commands/deploy/util/execPromise.ts +13 -0
- package/src/commands/deploy/util/wait.ts +23 -0
- package/src/commands/esbuild/ESBuildProgram.ts +3 -12
- package/src/commands/esbuild/__tests__/.temp/getDeps/package.json +1 -0
- package/src/commands/esbuild/__tests__/ESBuildProgram.test.ts +0 -1
- package/src/commands/generate/GenerateProgram.ts +8 -24
- package/src/commands/generate/__tests__/.temp/test-cli/CHANGELOG.md +1 -0
- package/src/commands/generate/__tests__/.temp/test-cli/README.md +1 -0
- package/src/commands/generate/__tests__/.temp/test-cli/bin.js +3 -0
- package/src/commands/generate/__tests__/.temp/test-cli/package.json +44 -0
- package/src/commands/generate/__tests__/.temp/test-cli/src/bin.ts +13 -0
- package/src/commands/generate/__tests__/.temp/test-cli/src/index.ts +1 -0
- package/src/commands/generate/__tests__/.temp/test-cli/tsconfig.json +28 -0
- package/src/commands/generate/__tests__/GenerateProgram.test.ts +17 -17
- package/src/commands/sync/SyncProgram.ts +15 -41
- package/src/commands/sync/__tests__/SyncProgram.test.ts +13 -1
- package/src/utils/__tests__/nodeCacheDir.test.ts +6 -0
- package/src/utils/nodeCacheDir.ts +54 -0
- package/templates/cli/package.json +4 -10
- package/templates/cli/tsconfig.json +28 -28
- package/templates/lib/package.json +2 -8
- package/templates/lib/tsconfig.json +28 -28
- package/tsconfig.json +34 -34
- package/src/commands/sync/__tests__/.temp/lerna.json +0 -6
- package/src/commands/sync/__tests__/.temp/package.json +0 -58
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 3.16.0
|
|
4
|
+
|
|
5
|
+
- feat: 不再处理并发部署 gh-pages 的问题
|
|
6
|
+
- feat: 实现一个根据配置文件决定是否需要等待的 gh-pages 部署(实测会有并发问题)
|
|
7
|
+
- feat: 实现部署项目到 gh-pages 远端
|
|
8
|
+
- feat: 实现发布到 sftp 远端
|
|
9
|
+
|
|
10
|
+
## 3.15.0
|
|
11
|
+
|
|
12
|
+
<!--hash:5402013d664173283c30e818a63d427fa55edf73-->
|
|
13
|
+
|
|
14
|
+
- feat: 同步命令支持同步 jest 依赖
|
|
15
|
+
- chore: 更新模板,删除不需要的文档相关的命令
|
|
16
|
+
- chore: 将所有的 liuli-cli 的依赖强制指向本地
|
|
17
|
+
- fix: 修复 monorepo 中使用 cli 会复制 node_modules 的错误
|
|
18
|
+
|
|
19
|
+
## 3.14.0
|
|
20
|
+
|
|
21
|
+
<!--hash:640b9c257c2276edfe262e2cbfd1c11bab6fb27b-->
|
|
22
|
+
|
|
23
|
+
- feat: 构建 iife 时强制包含所有依赖
|
|
24
|
+
|
|
25
|
+
## 3.13.1
|
|
26
|
+
|
|
27
|
+
<!--hash:0f666fdbeee514f614a61b5257c4aa9a6cfd3143-->
|
|
28
|
+
|
|
29
|
+
- fix: 修复 generate 不能选择模板的问题
|
|
30
|
+
|
|
3
31
|
## 3.13.0
|
|
4
32
|
|
|
5
33
|
<!--hash:615c6f1f69083a4cf7b0760ee6a81c68c2cf6e85-->
|