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.
- package/package.json +10 -10
- package/types/cliCollection/check-all-package-version.d.ts +1 -1
- package/types/cliCollection/clear-all-dependence.d.ts +1 -1
- package/types/cliCollection/commit-refresh.d.ts +1 -1
- package/types/cliCollection/create-assist-scripts.cli.d.ts +1 -1
- package/types/cliCollection/create-project-with-template.d.ts +1 -1
- package/types/cliCollection/create-repository-project.d.ts +1 -1
- package/types/cliCollection/createCode.d.ts +1 -1
- package/types/cliCollection/prompt.d.ts +1 -1
- package/types/cliCollection/publish-to-npm.d.ts +1 -1
- package/types/cliCollection/sleep.d.ts +1 -1
- package/types/cliCollection/update-all-package-version.d.ts +1 -1
- package/types/cliCollection/update-package-from-package.d.ts +1 -1
- package/types/config/develop.initial.environment.d.ts +2 -2
- package/types/index.d.ts +43 -43
- package/types/project/initProject.d.ts +1 -1
- package/types/templates/babel.config.template.d.ts +8 -8
- package/types/templates/commitlint.config.template.d.ts +8 -8
- package/types/templates/cz.config.template.d.ts +8 -8
- package/types/templates/editor.template.d.ts +8 -8
- package/types/templates/eslint.template.d.ts +178 -178
- package/types/templates/git.template.d.ts +18 -18
- package/types/templates/jest.template.d.ts +17 -17
- package/types/templates/lint-staged.template.d.ts +8 -8
- package/types/templates/package.template.d.ts +37 -37
- package/types/templates/prettier.template.d.ts +28 -28
- package/types/templates/stylelint.template.d.ts +27 -27
- package/types/templates/template.config.d.ts +1 -1
- package/types/tools/clean.d.ts +1 -1
- package/types/tools/commit.refresh.d.ts +1 -1
- package/types/tools/createCode.d.ts +1 -1
- package/types/tools/develop.file.d.ts +14 -14
- package/types/tools/initial.environment.d.ts +6 -6
- package/types/tools/meta.d.ts +42 -42
- package/types/tools/package.dependence.d.ts +3 -3
- package/types/tools/package.install.global.develop.dependence.d.ts +7 -7
- package/types/tools/package.script.d.ts +4 -4
- package/types/tools/package.tools.d.ts +8 -8
- package/types/tools/package.update.d.ts +7 -7
- package/types/tools/prettier.file.d.ts +2 -2
- package/types/tools/prettier.package.json.d.ts +2 -2
- package/types/tools/sleep.d.ts +1 -1
- package/types/tools/update.package.from.package.d.ts +7 -7
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export namespace ignoreFile {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
export namespace contentFile {
|
|
8
|
-
|
|
9
|
-
export { folderPath_1 as folderPath };
|
|
10
|
-
|
|
11
|
-
export { fileName_1 as fileName };
|
|
12
|
-
|
|
13
|
-
export { coverFile_1 as coverFile };
|
|
14
|
-
export { contentFileContent as fileContent };
|
|
15
|
-
}
|
|
16
|
-
export namespace configFile {
|
|
17
|
-
|
|
18
|
-
export { folderPath_2 as folderPath };
|
|
19
|
-
|
|
20
|
-
export { fileName_2 as fileName };
|
|
21
|
-
|
|
22
|
-
export { coverFile_2 as coverFile };
|
|
23
|
-
export { configFileContent as fileContent };
|
|
24
|
-
}
|
|
25
|
-
declare const contentFileContent:
|
|
26
|
-
declare const configFileContent:
|
|
27
|
-
export {};
|
|
1
|
+
export namespace ignoreFile {
|
|
2
|
+
let folderPath: string;
|
|
3
|
+
let fileName: string;
|
|
4
|
+
let coverFile: boolean;
|
|
5
|
+
let fileContent: string;
|
|
6
|
+
}
|
|
7
|
+
export namespace contentFile {
|
|
8
|
+
let folderPath_1: string;
|
|
9
|
+
export { folderPath_1 as folderPath };
|
|
10
|
+
let fileName_1: string;
|
|
11
|
+
export { fileName_1 as fileName };
|
|
12
|
+
let coverFile_1: boolean;
|
|
13
|
+
export { coverFile_1 as coverFile };
|
|
14
|
+
export { contentFileContent as fileContent };
|
|
15
|
+
}
|
|
16
|
+
export namespace configFile {
|
|
17
|
+
let folderPath_2: string;
|
|
18
|
+
export { folderPath_2 as folderPath };
|
|
19
|
+
let fileName_2: string;
|
|
20
|
+
export { fileName_2 as fileName };
|
|
21
|
+
let coverFile_2: boolean;
|
|
22
|
+
export { coverFile_2 as coverFile };
|
|
23
|
+
export { configFileContent as fileContent };
|
|
24
|
+
}
|
|
25
|
+
declare const contentFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst mainContent = `/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst { generalConfig } = require('./develop/config/stylelint/config');\n\nmodule.exports = generalConfig;\n`;\n\nconst packageContent = `/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst { generalConfig } = require('../../develop/config/stylelint/config');\n\nmodule.exports = generalConfig;\n`;\n\nmodule.exports = {\n mainContent,\n packageContent,\n};\n";
|
|
26
|
+
declare const configFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nmodule.exports = {\n generalConfig: {\n extends: [\n 'stylelint-config-standard',\n 'stylelint-config-css-modules',\n 'stylelint-config-prettier',\n ],\n plugins: ['stylelint-declaration-block-no-ignored-properties'],\n ignoreFiles: ['**/*.js', '**/*.jsx', '**/*.tsx', '**/*.ts'],\n customSyntax: 'postcss-less',\n rules: {\n 'function-url-quotes': 'always',\n 'selector-attribute-quotes': 'always',\n 'font-family-no-missing-generic-family-keyword': null,\n 'plugin/declaration-block-no-ignored-properties': true,\n 'selector-type-no-unknown': null,\n 'value-keyword-case': ['lower', { ignoreProperties: ['composes'] }],\n 'no-descending-specificity': null,\n 'selector-class-pattern': null,\n 'value-no-vendor-prefix': null,\n 'color-function-notation': null,\n 'function-no-unknown': null,\n },\n },\n};\n";
|
|
27
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const fileGlobalHeader: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n";
|
|
1
|
+
export const fileGlobalHeader: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n";
|
package/types/tools/clean.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export function clean(preCmd: any, ...targets: any[]): void;
|
|
1
|
+
export function clean(preCmd: any, ...targets: any[]): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function commitRefresh(fileName?: string, relativeFolder?: string): void;
|
|
1
|
+
export function commitRefresh(fileName?: string, relativeFolder?: string): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function generateCode(dataSource: any): void;
|
|
1
|
+
export function generateCode(dataSource: any): void;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export function createCzConfigFile(successMessage?: string): void;
|
|
2
|
-
export function createCommitlintConfigFile(successMessage?: string): void;
|
|
3
|
-
export function createBabelConfigFile(successMessage?: string): void;
|
|
4
|
-
export function createNcuConfigFile(successMessage?: string): void;
|
|
5
|
-
export function createNpmConfigFile(successMessage?: string): void;
|
|
6
|
-
export function createCleanScriptFile(): boolean;
|
|
7
|
-
export function createPackageCheckSpecialVersionScriptFile(): void;
|
|
8
|
-
export function createInstallGlobalDevelopDependenceScriptFile(): void;
|
|
9
|
-
/**
|
|
10
|
-
* Create initial environment script files
|
|
11
|
-
*/
|
|
12
|
-
export function createInitialEnvironmentScriptFiles(): void;
|
|
13
|
-
export function createDevelopFiles(waitMessage?: string, successMessage?: string): void;
|
|
14
|
-
export function createUpdatePackageFromPackageScriptFile(): boolean;
|
|
1
|
+
export function createCzConfigFile(successMessage?: string): void;
|
|
2
|
+
export function createCommitlintConfigFile(successMessage?: string): void;
|
|
3
|
+
export function createBabelConfigFile(successMessage?: string): void;
|
|
4
|
+
export function createNcuConfigFile(successMessage?: string): void;
|
|
5
|
+
export function createNpmConfigFile(successMessage?: string): void;
|
|
6
|
+
export function createCleanScriptFile(): boolean;
|
|
7
|
+
export function createPackageCheckSpecialVersionScriptFile(): void;
|
|
8
|
+
export function createInstallGlobalDevelopDependenceScriptFile(): void;
|
|
9
|
+
/**
|
|
10
|
+
* Create initial environment script files
|
|
11
|
+
*/
|
|
12
|
+
export function createInitialEnvironmentScriptFiles(): void;
|
|
13
|
+
export function createDevelopFiles(waitMessage?: string, successMessage?: string): void;
|
|
14
|
+
export function createUpdatePackageFromPackageScriptFile(): boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export function initialEnvironment({ mainFileContentList, packageFileContentList, mainScripts, childScripts, }: {
|
|
2
|
-
mainFileContentList?: any[] | undefined;
|
|
3
|
-
packageFileContentList?: any[] | undefined;
|
|
4
|
-
mainScripts?: {} | undefined;
|
|
5
|
-
childScripts?: {} | undefined;
|
|
6
|
-
}): void;
|
|
1
|
+
export function initialEnvironment({ mainFileContentList, packageFileContentList, mainScripts, childScripts, }: {
|
|
2
|
+
mainFileContentList?: any[] | undefined;
|
|
3
|
+
packageFileContentList?: any[] | undefined;
|
|
4
|
+
mainScripts?: {} | undefined;
|
|
5
|
+
childScripts?: {} | undefined;
|
|
6
|
+
}): void;
|
package/types/tools/meta.d.ts
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
export function exec(cmd: any): void;
|
|
2
|
-
export function cd(path: any): void;
|
|
3
|
-
export function getArgCollection(): any;
|
|
4
|
-
/**
|
|
5
|
-
* Check value in the collection.
|
|
6
|
-
* @param {Array} collection value collection
|
|
7
|
-
* @param {*} target the target value will be checked
|
|
8
|
-
*/
|
|
9
|
-
export function checkInCollection(collection: any[], target: any): boolean;
|
|
10
|
-
export function existFileSync(path: any): any;
|
|
11
|
-
export function existDirectorySync(path: any): any;
|
|
12
|
-
export function writeFileSync(path: any, content: any, options?: {
|
|
13
|
-
coverFile: boolean;
|
|
14
|
-
}): boolean;
|
|
15
|
-
export function checkStringIsEmpty(v: any): boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Prompt line
|
|
18
|
-
*/
|
|
19
|
-
export function promptLine(): void;
|
|
20
|
-
export function promptEmptyLine(): void;
|
|
21
|
-
export function promptSuccess(message: any): void;
|
|
22
|
-
export function promptInfo(message: any): void;
|
|
23
|
-
export function promptWarn(message: any): void;
|
|
24
|
-
export function promptError(error: any): void;
|
|
25
|
-
export function isObject(value: any): boolean;
|
|
26
|
-
export function isArray(value: any): boolean;
|
|
27
|
-
export function assignObject(source: any, ...mergeData: any[]): any;
|
|
28
|
-
export function mkdirSync(path: any): void;
|
|
29
|
-
export function readJsonFileSync(path: any): any;
|
|
30
|
-
export function writeJsonFileSync(path: any, json: any, options?: {
|
|
31
|
-
coverFile: boolean;
|
|
32
|
-
}): boolean;
|
|
33
|
-
export function writeFileWithFolderAndNameSync(folderPath: any, relativePath: any, fileName: any, fileContent: any, coverFile?: boolean): boolean;
|
|
34
|
-
export function writeFileWithOptionsSync({ folderPath, relativePath, fileName, fileContent, coverFile, }: {
|
|
35
|
-
folderPath: any;
|
|
36
|
-
relativePath?: string | undefined;
|
|
37
|
-
fileName: any;
|
|
38
|
-
fileContent: any;
|
|
39
|
-
coverFile?: boolean | undefined;
|
|
40
|
-
}): boolean;
|
|
41
|
-
export function resolvePath(path: any): any;
|
|
42
|
-
export function exit(): any;
|
|
1
|
+
export function exec(cmd: any): void;
|
|
2
|
+
export function cd(path: any): void;
|
|
3
|
+
export function getArgCollection(): any;
|
|
4
|
+
/**
|
|
5
|
+
* Check value in the collection.
|
|
6
|
+
* @param {Array} collection value collection
|
|
7
|
+
* @param {*} target the target value will be checked
|
|
8
|
+
*/
|
|
9
|
+
export function checkInCollection(collection: any[], target: any): boolean;
|
|
10
|
+
export function existFileSync(path: any): any;
|
|
11
|
+
export function existDirectorySync(path: any): any;
|
|
12
|
+
export function writeFileSync(path: any, content: any, options?: {
|
|
13
|
+
coverFile: boolean;
|
|
14
|
+
}): boolean;
|
|
15
|
+
export function checkStringIsEmpty(v: any): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Prompt line
|
|
18
|
+
*/
|
|
19
|
+
export function promptLine(): void;
|
|
20
|
+
export function promptEmptyLine(): void;
|
|
21
|
+
export function promptSuccess(message: any): void;
|
|
22
|
+
export function promptInfo(message: any): void;
|
|
23
|
+
export function promptWarn(message: any): void;
|
|
24
|
+
export function promptError(error: any): void;
|
|
25
|
+
export function isObject(value: any): boolean;
|
|
26
|
+
export function isArray(value: any): boolean;
|
|
27
|
+
export function assignObject(source: any, ...mergeData: any[]): any;
|
|
28
|
+
export function mkdirSync(path: any): void;
|
|
29
|
+
export function readJsonFileSync(path: any): any;
|
|
30
|
+
export function writeJsonFileSync(path: any, json: any, options?: {
|
|
31
|
+
coverFile: boolean;
|
|
32
|
+
}): boolean;
|
|
33
|
+
export function writeFileWithFolderAndNameSync(folderPath: any, relativePath: any, fileName: any, fileContent: any, coverFile?: boolean): boolean;
|
|
34
|
+
export function writeFileWithOptionsSync({ folderPath, relativePath, fileName, fileContent, coverFile, }: {
|
|
35
|
+
folderPath: any;
|
|
36
|
+
relativePath?: string | undefined;
|
|
37
|
+
fileName: any;
|
|
38
|
+
fileContent: any;
|
|
39
|
+
coverFile?: boolean | undefined;
|
|
40
|
+
}): boolean;
|
|
41
|
+
export function resolvePath(path: any): any;
|
|
42
|
+
export function exit(): any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export function getGlobalDevelopPackages(): any[];
|
|
2
|
-
export function getMainDevelopPackages(): any[];
|
|
3
|
-
export function getProjectDevelopPackages(): any[];
|
|
1
|
+
export function getGlobalDevelopPackages(): any[];
|
|
2
|
+
export function getMainDevelopPackages(): any[];
|
|
3
|
+
export function getProjectDevelopPackages(): any[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export function installDevelopDependencePackages({ globalDevelopPackageList, mainDevelopPackageList, childrenDevelopPackageList, childrenSpecialDevelopPackageList, execInstall, }: {
|
|
2
|
-
globalDevelopPackageList: any;
|
|
3
|
-
mainDevelopPackageList?: any[] | undefined;
|
|
4
|
-
childrenDevelopPackageList?: any[] | undefined;
|
|
5
|
-
childrenSpecialDevelopPackageList?: any[] | undefined;
|
|
6
|
-
execInstall?: boolean | undefined;
|
|
7
|
-
}): void;
|
|
1
|
+
export function installDevelopDependencePackages({ globalDevelopPackageList, mainDevelopPackageList, childrenDevelopPackageList, childrenSpecialDevelopPackageList, execInstall, }: {
|
|
2
|
+
globalDevelopPackageList: any;
|
|
3
|
+
mainDevelopPackageList?: any[] | undefined;
|
|
4
|
+
childrenDevelopPackageList?: any[] | undefined;
|
|
5
|
+
childrenSpecialDevelopPackageList?: any[] | undefined;
|
|
6
|
+
execInstall?: boolean | undefined;
|
|
7
|
+
}): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const globalScript: {
|
|
2
|
-
'z:initial:environment': string;
|
|
3
|
-
};
|
|
4
|
-
export const packageScript: {};
|
|
1
|
+
export const globalScript: {
|
|
2
|
+
'z:initial:environment': string;
|
|
3
|
+
};
|
|
4
|
+
export const packageScript: {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* loop all package
|
|
3
|
-
*/
|
|
4
|
-
export function loopPackage(callback?: ({ name, absolutePath, relativePath }: {
|
|
5
|
-
name: any;
|
|
6
|
-
absolutePath: any;
|
|
7
|
-
relativePath: any;
|
|
8
|
-
}) => void): void;
|
|
1
|
+
/**
|
|
2
|
+
* loop all package
|
|
3
|
+
*/
|
|
4
|
+
export function loopPackage(callback?: ({ name, absolutePath, relativePath }: {
|
|
5
|
+
name: any;
|
|
6
|
+
absolutePath: any;
|
|
7
|
+
relativePath: any;
|
|
8
|
+
}) => void): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export function checkAllPackageVersion(): void;
|
|
2
|
-
/**
|
|
3
|
-
* update special package version
|
|
4
|
-
* @param {Array} packageList
|
|
5
|
-
*/
|
|
6
|
-
export function updateSpecialPackageVersion(packageList: any[]): void;
|
|
7
|
-
export function updateAllPackageVersion(): void;
|
|
1
|
+
export function checkAllPackageVersion(): void;
|
|
2
|
+
/**
|
|
3
|
+
* update special package version
|
|
4
|
+
* @param {Array} packageList
|
|
5
|
+
*/
|
|
6
|
+
export function updateSpecialPackageVersion(packageList: any[]): void;
|
|
7
|
+
export function updateAllPackageVersion(): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function prettierAllFile(): void;
|
|
2
|
-
export function prettierChangeFile(): void;
|
|
1
|
+
export function prettierAllFile(): void;
|
|
2
|
+
export function prettierChangeFile(): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function prettierAllPackageJson(): void;
|
|
2
|
-
export function prettierCurrentPackageJson(): void;
|
|
1
|
+
export function prettierAllPackageJson(): void;
|
|
2
|
+
export function prettierCurrentPackageJson(): void;
|
package/types/tools/sleep.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export function sleep(n: any, showLog?: boolean): void;
|
|
1
|
+
export function sleep(n: any, showLog?: boolean): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export function updatePackageFromPackage({ path, primaryRemoteUrl, spareRemoteUrl, agent, localFile, }: {
|
|
2
|
-
path: any;
|
|
3
|
-
primaryRemoteUrl: any;
|
|
4
|
-
spareRemoteUrl: any;
|
|
5
|
-
agent: any;
|
|
6
|
-
localFile: any;
|
|
7
|
-
}): Promise<void>;
|
|
1
|
+
export function updatePackageFromPackage({ path, primaryRemoteUrl, spareRemoteUrl, agent, localFile, }: {
|
|
2
|
+
path: any;
|
|
3
|
+
primaryRemoteUrl: any;
|
|
4
|
+
spareRemoteUrl: any;
|
|
5
|
+
agent: any;
|
|
6
|
+
localFile: any;
|
|
7
|
+
}): Promise<void>;
|