easy-soft-develop 2.1.50 → 2.1.53

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 (43) hide show
  1. package/package.json +10 -10
  2. package/types/cliCollection/check-all-package-version.d.ts +1 -1
  3. package/types/cliCollection/clear-all-dependence.d.ts +1 -1
  4. package/types/cliCollection/commit-refresh.d.ts +1 -1
  5. package/types/cliCollection/create-assist-scripts.cli.d.ts +1 -1
  6. package/types/cliCollection/create-project-with-template.d.ts +1 -1
  7. package/types/cliCollection/create-repository-project.d.ts +1 -1
  8. package/types/cliCollection/createCode.d.ts +1 -1
  9. package/types/cliCollection/prompt.d.ts +1 -1
  10. package/types/cliCollection/publish-to-npm.d.ts +1 -1
  11. package/types/cliCollection/sleep.d.ts +1 -1
  12. package/types/cliCollection/update-all-package-version.d.ts +1 -1
  13. package/types/cliCollection/update-package-from-package.d.ts +1 -1
  14. package/types/config/develop.initial.environment.d.ts +2 -2
  15. package/types/index.d.ts +43 -43
  16. package/types/project/initProject.d.ts +1 -1
  17. package/types/templates/babel.config.template.d.ts +8 -8
  18. package/types/templates/commitlint.config.template.d.ts +8 -8
  19. package/types/templates/cz.config.template.d.ts +8 -8
  20. package/types/templates/editor.template.d.ts +8 -8
  21. package/types/templates/eslint.template.d.ts +178 -178
  22. package/types/templates/git.template.d.ts +18 -18
  23. package/types/templates/jest.template.d.ts +17 -17
  24. package/types/templates/lint-staged.template.d.ts +8 -8
  25. package/types/templates/package.template.d.ts +37 -37
  26. package/types/templates/prettier.template.d.ts +28 -28
  27. package/types/templates/stylelint.template.d.ts +27 -27
  28. package/types/templates/template.config.d.ts +1 -1
  29. package/types/tools/clean.d.ts +1 -1
  30. package/types/tools/commit.refresh.d.ts +1 -1
  31. package/types/tools/createCode.d.ts +1 -1
  32. package/types/tools/develop.file.d.ts +14 -14
  33. package/types/tools/initial.environment.d.ts +6 -6
  34. package/types/tools/meta.d.ts +42 -42
  35. package/types/tools/package.dependence.d.ts +3 -3
  36. package/types/tools/package.install.global.develop.dependence.d.ts +7 -7
  37. package/types/tools/package.script.d.ts +4 -4
  38. package/types/tools/package.tools.d.ts +8 -8
  39. package/types/tools/package.update.d.ts +7 -7
  40. package/types/tools/prettier.file.d.ts +2 -2
  41. package/types/tools/prettier.package.json.d.ts +2 -2
  42. package/types/tools/sleep.d.ts +1 -1
  43. package/types/tools/update.package.from.package.d.ts +7 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-soft-develop",
3
- "version": "2.1.50",
3
+ "version": "2.1.53",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kityandhero/easy-soft-develop#readme",
6
6
  "bugs": {
@@ -72,24 +72,24 @@
72
72
  "terminal-kit": "^3.0.1"
73
73
  },
74
74
  "devDependencies": {
75
- "@commitlint/cli": "^18.4.3",
76
- "@commitlint/config-conventional": "^18.4.3",
77
- "@commitlint/config-pnpm-scopes": "^18.4.3",
78
- "@commitlint/cz-commitlint": "^18.4.3",
75
+ "@commitlint/cli": "^18.4.4",
76
+ "@commitlint/config-conventional": "^18.4.4",
77
+ "@commitlint/config-pnpm-scopes": "^18.4.4",
78
+ "@commitlint/cz-commitlint": "^18.4.4",
79
79
  "commitizen": "^4.3.0",
80
80
  "conventional-changelog-conventionalcommits": "^7.0.2",
81
- "eslint": "^8.55.0",
81
+ "eslint": "^8.56.0",
82
82
  "eslint-config-prettier": "^9.1.0",
83
- "eslint-formatter-pretty": "^6.0.0",
83
+ "eslint-formatter-pretty": "^6.0.1",
84
84
  "eslint-import-resolver-typescript": "^3.6.1",
85
85
  "eslint-plugin-eslint-comments": "^3.2.0",
86
86
  "eslint-plugin-import": "^2.29.1",
87
- "eslint-plugin-prettier": "^5.0.1",
87
+ "eslint-plugin-prettier": "^5.1.3",
88
88
  "eslint-plugin-promise": "^6.1.1",
89
89
  "husky": "^8.0.3",
90
90
  "lint-staged": "^15.2.0",
91
91
  "npm-check-updates": "^16.14.12",
92
- "prettier": "^3.1.1",
93
- "prettier-plugin-packagejson": "^2.4.7"
92
+ "prettier": "^3.2.2",
93
+ "prettier-plugin-packagejson": "^2.4.9"
94
94
  }
95
95
  }
@@ -1 +1 @@
1
- export function run(): void;
1
+ export function run(): void;
@@ -1 +1 @@
1
- export function run(s: any, o: any): Promise<void>;
1
+ export function run(s: any, o: any): Promise<void>;
@@ -1 +1 @@
1
- export function run(s: any, o: any): void;
1
+ export function run(s: any, o: any): void;
@@ -1 +1 @@
1
- export function run(): void;
1
+ export function run(): void;
@@ -1 +1 @@
1
- export function run(s: any, o: any): void;
1
+ export function run(s: any, o: any): void;
@@ -1 +1 @@
1
- export function run(s: any, o: any): void;
1
+ export function run(s: any, o: any): void;
@@ -1 +1 @@
1
- export function run(s: any, o: any): void;
1
+ export function run(s: any, o: any): void;
@@ -1 +1 @@
1
- export function run(s: any, o: any): void;
1
+ export function run(s: any, o: any): void;
@@ -1 +1 @@
1
- export function run(s: any, o: any): Promise<void>;
1
+ export function run(s: any, o: any): Promise<void>;
@@ -1 +1 @@
1
- export function run(s: any, o: any): void;
1
+ export function run(s: any, o: any): void;
@@ -1 +1 @@
1
- export function run(): void;
1
+ export function run(): void;
@@ -1 +1 @@
1
- export function run(s: any, o: any): Promise<void>;
1
+ export function run(s: any, o: any): Promise<void>;
@@ -1,2 +1,2 @@
1
- export function createDevelopInitialEnvironmentConfigFile(): void;
2
- export function getDevelopInitialEnvironmentConfig(): any;
1
+ export function createDevelopInitialEnvironmentConfigFile(): void;
2
+ export function getDevelopInitialEnvironmentConfig(): any;
package/types/index.d.ts CHANGED
@@ -1,43 +1,43 @@
1
- import { exec } from "./tools/meta";
2
- import { cd } from "./tools/meta";
3
- import { getArgCollection } from "./tools/meta";
4
- import { checkInCollection } from "./tools/meta";
5
- import { existFileSync } from "./tools/meta";
6
- import { existDirectorySync } from "./tools/meta";
7
- import { writeFileSync } from "./tools/meta";
8
- import { checkStringIsEmpty } from "./tools/meta";
9
- import { promptLine } from "./tools/meta";
10
- import { promptEmptyLine } from "./tools/meta";
11
- import { promptSuccess } from "./tools/meta";
12
- import { promptInfo } from "./tools/meta";
13
- import { promptWarn } from "./tools/meta";
14
- import { promptError } from "./tools/meta";
15
- import { isObject } from "./tools/meta";
16
- import { isArray } from "./tools/meta";
17
- import { assignObject } from "./tools/meta";
18
- import { mkdirSync } from "./tools/meta";
19
- import { readJsonFileSync } from "./tools/meta";
20
- import { writeJsonFileSync } from "./tools/meta";
21
- import { writeFileWithFolderAndNameSync } from "./tools/meta";
22
- import { writeFileWithOptionsSync } from "./tools/meta";
23
- import { resolvePath } from "./tools/meta";
24
- import { exit } from "./tools/meta";
25
- import { clean } from "./tools/clean";
26
- import { sleep } from "./tools/sleep";
27
- import { commitRefresh } from "./tools/commit.refresh";
28
- import { initialEnvironment } from "./tools/initial.environment";
29
- import { installDevelopDependencePackages } from "./tools/package.install.global.develop.dependence";
30
- import { loopPackage } from "./tools/package.tools";
31
- import { checkAllPackageVersion } from "./tools/package.update";
32
- import { updateSpecialPackageVersion } from "./tools/package.update";
33
- import { updateAllPackageVersion } from "./tools/package.update";
34
- import { createCleanScriptFile } from "./tools/develop.file";
35
- import { createPackageCheckSpecialVersionScriptFile } from "./tools/develop.file";
36
- import { createInstallGlobalDevelopDependenceScriptFile } from "./tools/develop.file";
37
- import { createDevelopFiles } from "./tools/develop.file";
38
- import { prettierAllFile } from "./tools/prettier.file";
39
- import { prettierChangeFile } from "./tools/prettier.file";
40
- import { prettierAllPackageJson } from "./tools/prettier.package.json";
41
- import { prettierCurrentPackageJson } from "./tools/prettier.package.json";
42
- import { updatePackageFromPackage } from "./tools/update.package.from.package";
43
- export { exec, cd, getArgCollection, checkInCollection, existFileSync, existDirectorySync, writeFileSync, checkStringIsEmpty, promptLine, promptEmptyLine, promptSuccess, promptInfo, promptWarn, promptError, isObject, isArray, assignObject, mkdirSync, readJsonFileSync, writeJsonFileSync, writeFileWithFolderAndNameSync, writeFileWithOptionsSync, resolvePath, exit, clean, sleep, commitRefresh, initialEnvironment, installDevelopDependencePackages, loopPackage, checkAllPackageVersion, updateSpecialPackageVersion, updateAllPackageVersion, createCleanScriptFile, createPackageCheckSpecialVersionScriptFile, createInstallGlobalDevelopDependenceScriptFile, createDevelopFiles, prettierAllFile, prettierChangeFile, prettierAllPackageJson, prettierCurrentPackageJson, updatePackageFromPackage };
1
+ import { exec } from "./tools/meta";
2
+ import { cd } from "./tools/meta";
3
+ import { getArgCollection } from "./tools/meta";
4
+ import { checkInCollection } from "./tools/meta";
5
+ import { existFileSync } from "./tools/meta";
6
+ import { existDirectorySync } from "./tools/meta";
7
+ import { writeFileSync } from "./tools/meta";
8
+ import { checkStringIsEmpty } from "./tools/meta";
9
+ import { promptLine } from "./tools/meta";
10
+ import { promptEmptyLine } from "./tools/meta";
11
+ import { promptSuccess } from "./tools/meta";
12
+ import { promptInfo } from "./tools/meta";
13
+ import { promptWarn } from "./tools/meta";
14
+ import { promptError } from "./tools/meta";
15
+ import { isObject } from "./tools/meta";
16
+ import { isArray } from "./tools/meta";
17
+ import { assignObject } from "./tools/meta";
18
+ import { mkdirSync } from "./tools/meta";
19
+ import { readJsonFileSync } from "./tools/meta";
20
+ import { writeJsonFileSync } from "./tools/meta";
21
+ import { writeFileWithFolderAndNameSync } from "./tools/meta";
22
+ import { writeFileWithOptionsSync } from "./tools/meta";
23
+ import { resolvePath } from "./tools/meta";
24
+ import { exit } from "./tools/meta";
25
+ import { clean } from "./tools/clean";
26
+ import { sleep } from "./tools/sleep";
27
+ import { commitRefresh } from "./tools/commit.refresh";
28
+ import { initialEnvironment } from "./tools/initial.environment";
29
+ import { installDevelopDependencePackages } from "./tools/package.install.global.develop.dependence";
30
+ import { loopPackage } from "./tools/package.tools";
31
+ import { checkAllPackageVersion } from "./tools/package.update";
32
+ import { updateSpecialPackageVersion } from "./tools/package.update";
33
+ import { updateAllPackageVersion } from "./tools/package.update";
34
+ import { createCleanScriptFile } from "./tools/develop.file";
35
+ import { createPackageCheckSpecialVersionScriptFile } from "./tools/develop.file";
36
+ import { createInstallGlobalDevelopDependenceScriptFile } from "./tools/develop.file";
37
+ import { createDevelopFiles } from "./tools/develop.file";
38
+ import { prettierAllFile } from "./tools/prettier.file";
39
+ import { prettierChangeFile } from "./tools/prettier.file";
40
+ import { prettierAllPackageJson } from "./tools/prettier.package.json";
41
+ import { prettierCurrentPackageJson } from "./tools/prettier.package.json";
42
+ import { updatePackageFromPackage } from "./tools/update.package.from.package";
43
+ export { exec, cd, getArgCollection, checkInCollection, existFileSync, existDirectorySync, writeFileSync, checkStringIsEmpty, promptLine, promptEmptyLine, promptSuccess, promptInfo, promptWarn, promptError, isObject, isArray, assignObject, mkdirSync, readJsonFileSync, writeJsonFileSync, writeFileWithFolderAndNameSync, writeFileWithOptionsSync, resolvePath, exit, clean, sleep, commitRefresh, initialEnvironment, installDevelopDependencePackages, loopPackage, checkAllPackageVersion, updateSpecialPackageVersion, updateAllPackageVersion, createCleanScriptFile, createPackageCheckSpecialVersionScriptFile, createInstallGlobalDevelopDependenceScriptFile, createDevelopFiles, prettierAllFile, prettierChangeFile, prettierAllPackageJson, prettierCurrentPackageJson, updatePackageFromPackage };
@@ -1 +1 @@
1
- export function createRepositoryProject(name: any): void;
1
+ export function createRepositoryProject(name: any): void;
@@ -1,8 +1,8 @@
1
- export namespace contentFile {
2
- export const folderPath: string;
3
- export const fileName: string;
4
- export const coverFile: boolean;
5
- export { contentFileContent as fileContent };
6
- }
7
- declare const contentFileContent: string;
8
- export {};
1
+ export namespace contentFile {
2
+ export let folderPath: string;
3
+ export let fileName: string;
4
+ export let coverFile: boolean;
5
+ export { contentFileContent as fileContent };
6
+ }
7
+ declare const contentFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nmodule.exports = function (api) {\n api.cache(true);\n return {\n babelrcRoots: ['.', 'packages/*'],\n };\n};\n";
8
+ export {};
@@ -1,8 +1,8 @@
1
- export namespace contentFile {
2
- export const folderPath: string;
3
- export const fileName: string;
4
- export const coverFile: boolean;
5
- export { contentFileContent as fileContent };
6
- }
7
- declare const contentFileContent: string;
8
- export {};
1
+ export namespace contentFile {
2
+ export let folderPath: string;
3
+ export let fileName: string;
4
+ export let coverFile: boolean;
5
+ export { contentFileContent as fileContent };
6
+ }
7
+ declare const contentFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nmodule.exports = {\n extends: [\n '@commitlint/config-conventional',\n '@commitlint/config-pnpm-scopes',\n ],\n parserPreset: 'conventional-changelog-conventionalcommits',\n prompt: {\n messages: {\n skip: '[可跳过]',\n max: '[字数上限: %d]',\n min: '[字数下限: %d]',\n emptyWarning: '此为必填项目, 不能为空白',\n upperLimitWarning: '超过最大限制',\n lowerLimitWarning: '低于最小限制',\n },\n questions: {\n type: {\n description: '择要提交的更改类型:',\n enum: {\n feat: {\n description: '新功能/特性',\n title: 'Features',\n emoji: '✨',\n },\n fix: {\n description: 'Bug修补',\n title: 'Bug Fixes',\n emoji: '🐛',\n },\n docs: {\n description: '仅文档变更',\n title: 'Documentation',\n emoji: '📚',\n },\n style: {\n description: '不影响含义的更改(空白、格式、错误码、分号等)',\n title: 'Styles',\n emoji: '💎',\n },\n refactor: {\n description: '代码重构(既不修复bug也不添加特性的更改)',\n title: 'Code Refactoring',\n emoji: '📦',\n },\n perf: {\n description: '改进性能的调整',\n title: 'Performance Improvements',\n emoji: '🚀',\n },\n test: {\n description: '添加缺失的测试或纠正现有的测试',\n title: 'Tests',\n emoji: '🚨',\n },\n build: {\n description:\n '影响构建系统或外部依赖的更改(例如:gulp, broccoli, npm等)',\n title: 'Builds',\n emoji: '🛠',\n },\n ci: {\n description:\n '更改CI配置文件和脚本(例如:Travis、Circle、BrowserStack、SauceLabs等)',\n title: 'Continuous Integrations',\n emoji: '⚙️',\n },\n chore: {\n description: '其他不修改src或测试文件的更改',\n title: 'Chores',\n emoji: '♻️',\n },\n revert: {\n description: '恢复前一个提交',\n title: 'Reverts',\n emoji: '🗑',\n },\n },\n },\n scope: {\n description: '此更改的范围是什么(例如:组件或文件名)',\n },\n subject: {\n description: '用简短的祈使语句描述变化',\n },\n body: {\n description: '对变更提供更详细的描述',\n },\n isBreaking: {\n description: '有什么突破性的变化吗?',\n },\n breakingBody: {\n description: '中断变更提交需要一个主体. 请输入提交本身的更长的描述',\n },\n breaking: {\n description: '描述突破性的变化',\n },\n isIssueAffected: {\n description: '这个变化会影响任何未决问题吗?',\n },\n issuesBody: {\n description:\n '如果问题被关闭, 则提交需要一个主体. 请输入提交本身的更长的描述',\n },\n issues: {\n description: '添加问题引用(例如:\"fix #123\", \"re #123\".)',\n },\n },\n },\n};\n";
8
+ export {};
@@ -1,8 +1,8 @@
1
- export namespace contentFile {
2
- export const folderPath: string;
3
- export const fileName: string;
4
- export const coverFile: boolean;
5
- export { contentFileContent as fileContent };
6
- }
7
- declare const contentFileContent: "{\n \"path\": \"@commitlint/cz-commitlint\"\n}\n";
8
- export {};
1
+ export namespace contentFile {
2
+ export let folderPath: string;
3
+ export let fileName: string;
4
+ export let coverFile: boolean;
5
+ export { contentFileContent as fileContent };
6
+ }
7
+ declare const contentFileContent: "{\n \"path\": \"@commitlint/cz-commitlint\"\n}\n";
8
+ export {};
@@ -1,8 +1,8 @@
1
- export namespace contentFile {
2
- export const folderPath: string;
3
- export const fileName: string;
4
- export const coverFile: boolean;
5
- export { contentFileContent as fileContent };
6
- }
7
- declare const contentFileContent: string;
8
- export {};
1
+ export namespace contentFile {
2
+ export let folderPath: string;
3
+ export let fileName: string;
4
+ export let coverFile: boolean;
5
+ export { contentFileContent as fileContent };
6
+ }
7
+ declare const contentFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst content = `# http://editorconfig.org\nroot = true\n\n[*]\nindent_style = space\nindent_size = 2\nend_of_line = lf\ncharset = utf-8\ntrim_trailing_whitespace = true\ninsert_final_newline = true\n\n[*.md]\ntrim_trailing_whitespace = false\n\n[Makefile]\nindent_style = tab\n`;\n\nmodule.exports = {\n content,\n};\n";
8
+ export {};