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
@@ -1,178 +1,178 @@
1
- export namespace ignoreFile {
2
- export const folderPath: string;
3
- export const fileName: string;
4
- export const coverFile: boolean;
5
- export { ignoreFileContent as fileContent };
6
- }
7
- export namespace contentFile {
8
- const folderPath_1: string;
9
- export { folderPath_1 as folderPath };
10
- const fileName_1: string;
11
- export { fileName_1 as fileName };
12
- const coverFile_1: boolean;
13
- export { coverFile_1 as coverFile };
14
- export { contentFileContent as fileContent };
15
- }
16
- export namespace ruleEmbedFile {
17
- const folderPath_2: string;
18
- export { folderPath_2 as folderPath };
19
- const fileName_2: string;
20
- export { fileName_2 as fileName };
21
- const coverFile_2: boolean;
22
- export { coverFile_2 as coverFile };
23
- export { ruleEmbedFileContent as fileContent };
24
- }
25
- export namespace ruleCustomFile {
26
- const folderPath_3: string;
27
- export { folderPath_3 as folderPath };
28
- const fileName_3: string;
29
- export { fileName_3 as fileName };
30
- const coverFile_3: boolean;
31
- export { coverFile_3 as coverFile };
32
- export { ruleCustomFileContent as fileContent };
33
- }
34
- export namespace ruleFile {
35
- const folderPath_4: string;
36
- export { folderPath_4 as folderPath };
37
- const fileName_4: string;
38
- export { fileName_4 as fileName };
39
- const coverFile_4: boolean;
40
- export { coverFile_4 as coverFile };
41
- export { ruleFileContent as fileContent };
42
- }
43
- export namespace configFile {
44
- const folderPath_5: string;
45
- export { folderPath_5 as folderPath };
46
- const fileName_5: string;
47
- export { fileName_5 as fileName };
48
- const coverFile_5: boolean;
49
- export { coverFile_5 as coverFile };
50
- export { configFileContent as fileContent };
51
- }
52
- export namespace extendEmbedFile {
53
- const folderPath_6: string;
54
- export { folderPath_6 as folderPath };
55
- const fileName_6: string;
56
- export { fileName_6 as fileName };
57
- const coverFile_6: boolean;
58
- export { coverFile_6 as coverFile };
59
- export { extendEmbedFileContent as fileContent };
60
- }
61
- export namespace extendCustomFile {
62
- const folderPath_7: string;
63
- export { folderPath_7 as folderPath };
64
- const fileName_7: string;
65
- export { fileName_7 as fileName };
66
- const coverFile_7: boolean;
67
- export { coverFile_7 as coverFile };
68
- export { extendCustomFileContent as fileContent };
69
- }
70
- export namespace extendFile {
71
- const folderPath_8: string;
72
- export { folderPath_8 as folderPath };
73
- const fileName_8: string;
74
- export { fileName_8 as fileName };
75
- const coverFile_8: boolean;
76
- export { coverFile_8 as coverFile };
77
- export { extendFileContent as fileContent };
78
- }
79
- export namespace pluginEmbedFile {
80
- const folderPath_9: string;
81
- export { folderPath_9 as folderPath };
82
- const fileName_9: string;
83
- export { fileName_9 as fileName };
84
- const coverFile_9: boolean;
85
- export { coverFile_9 as coverFile };
86
- export { pluginEmbedFileContent as fileContent };
87
- }
88
- export namespace pluginCustomFile {
89
- const folderPath_10: string;
90
- export { folderPath_10 as folderPath };
91
- const fileName_10: string;
92
- export { fileName_10 as fileName };
93
- const coverFile_10: boolean;
94
- export { coverFile_10 as coverFile };
95
- export { pluginCustomFileContent as fileContent };
96
- }
97
- export namespace pluginFile {
98
- const folderPath_11: string;
99
- export { folderPath_11 as folderPath };
100
- const fileName_11: string;
101
- export { fileName_11 as fileName };
102
- const coverFile_11: boolean;
103
- export { coverFile_11 as coverFile };
104
- export { pluginFileContent as fileContent };
105
- }
106
- export namespace parserEmbedFile {
107
- const folderPath_12: string;
108
- export { folderPath_12 as folderPath };
109
- const fileName_12: string;
110
- export { fileName_12 as fileName };
111
- const coverFile_12: boolean;
112
- export { coverFile_12 as coverFile };
113
- export { parserEmbedFileContent as fileContent };
114
- }
115
- export namespace parserCustomFile {
116
- const folderPath_13: string;
117
- export { folderPath_13 as folderPath };
118
- const fileName_13: string;
119
- export { fileName_13 as fileName };
120
- const coverFile_13: boolean;
121
- export { coverFile_13 as coverFile };
122
- export { parserCustomFileContent as fileContent };
123
- }
124
- export namespace parserFile {
125
- const folderPath_14: string;
126
- export { folderPath_14 as folderPath };
127
- const fileName_14: string;
128
- export { fileName_14 as fileName };
129
- const coverFile_14: boolean;
130
- export { coverFile_14 as coverFile };
131
- export { parserFileContent as fileContent };
132
- }
133
- export namespace settingEmbedFile {
134
- const folderPath_15: string;
135
- export { folderPath_15 as folderPath };
136
- const fileName_15: string;
137
- export { fileName_15 as fileName };
138
- const coverFile_15: boolean;
139
- export { coverFile_15 as coverFile };
140
- export { settingEmbedFileContent as fileContent };
141
- }
142
- export namespace settingCustomFile {
143
- const folderPath_16: string;
144
- export { folderPath_16 as folderPath };
145
- const fileName_16: string;
146
- export { fileName_16 as fileName };
147
- const coverFile_16: boolean;
148
- export { coverFile_16 as coverFile };
149
- export { settingCustomFileContent as fileContent };
150
- }
151
- export namespace settingFile {
152
- const folderPath_17: string;
153
- export { folderPath_17 as folderPath };
154
- const fileName_17: string;
155
- export { fileName_17 as fileName };
156
- const coverFile_17: boolean;
157
- export { coverFile_17 as coverFile };
158
- export { settingFileContent as fileContent };
159
- }
160
- declare const ignoreFileContent: string;
161
- declare const contentFileContent: string;
162
- declare const ruleEmbedFileContent: string;
163
- declare const ruleCustomFileContent: string;
164
- declare const ruleFileContent: string;
165
- declare const configFileContent: string;
166
- declare const extendEmbedFileContent: string;
167
- declare const extendCustomFileContent: string;
168
- declare const extendFileContent: string;
169
- declare const pluginEmbedFileContent: string;
170
- declare const pluginCustomFileContent: string;
171
- declare const pluginFileContent: string;
172
- declare const parserEmbedFileContent: string;
173
- declare const parserCustomFileContent: string;
174
- declare const parserFileContent: string;
175
- declare const settingEmbedFileContent: string;
176
- declare const settingCustomFileContent: string;
177
- declare const settingFileContent: string;
178
- export {};
1
+ export namespace ignoreFile {
2
+ export let folderPath: string;
3
+ export let fileName: string;
4
+ export let coverFile: boolean;
5
+ export { ignoreFileContent as fileContent };
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 ruleEmbedFile {
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 { ruleEmbedFileContent as fileContent };
24
+ }
25
+ export namespace ruleCustomFile {
26
+ let folderPath_3: string;
27
+ export { folderPath_3 as folderPath };
28
+ let fileName_3: string;
29
+ export { fileName_3 as fileName };
30
+ let coverFile_3: boolean;
31
+ export { coverFile_3 as coverFile };
32
+ export { ruleCustomFileContent as fileContent };
33
+ }
34
+ export namespace ruleFile {
35
+ let folderPath_4: string;
36
+ export { folderPath_4 as folderPath };
37
+ let fileName_4: string;
38
+ export { fileName_4 as fileName };
39
+ let coverFile_4: boolean;
40
+ export { coverFile_4 as coverFile };
41
+ export { ruleFileContent as fileContent };
42
+ }
43
+ export namespace configFile {
44
+ let folderPath_5: string;
45
+ export { folderPath_5 as folderPath };
46
+ let fileName_5: string;
47
+ export { fileName_5 as fileName };
48
+ let coverFile_5: boolean;
49
+ export { coverFile_5 as coverFile };
50
+ export { configFileContent as fileContent };
51
+ }
52
+ export namespace extendEmbedFile {
53
+ let folderPath_6: string;
54
+ export { folderPath_6 as folderPath };
55
+ let fileName_6: string;
56
+ export { fileName_6 as fileName };
57
+ let coverFile_6: boolean;
58
+ export { coverFile_6 as coverFile };
59
+ export { extendEmbedFileContent as fileContent };
60
+ }
61
+ export namespace extendCustomFile {
62
+ let folderPath_7: string;
63
+ export { folderPath_7 as folderPath };
64
+ let fileName_7: string;
65
+ export { fileName_7 as fileName };
66
+ let coverFile_7: boolean;
67
+ export { coverFile_7 as coverFile };
68
+ export { extendCustomFileContent as fileContent };
69
+ }
70
+ export namespace extendFile {
71
+ let folderPath_8: string;
72
+ export { folderPath_8 as folderPath };
73
+ let fileName_8: string;
74
+ export { fileName_8 as fileName };
75
+ let coverFile_8: boolean;
76
+ export { coverFile_8 as coverFile };
77
+ export { extendFileContent as fileContent };
78
+ }
79
+ export namespace pluginEmbedFile {
80
+ let folderPath_9: string;
81
+ export { folderPath_9 as folderPath };
82
+ let fileName_9: string;
83
+ export { fileName_9 as fileName };
84
+ let coverFile_9: boolean;
85
+ export { coverFile_9 as coverFile };
86
+ export { pluginEmbedFileContent as fileContent };
87
+ }
88
+ export namespace pluginCustomFile {
89
+ let folderPath_10: string;
90
+ export { folderPath_10 as folderPath };
91
+ let fileName_10: string;
92
+ export { fileName_10 as fileName };
93
+ let coverFile_10: boolean;
94
+ export { coverFile_10 as coverFile };
95
+ export { pluginCustomFileContent as fileContent };
96
+ }
97
+ export namespace pluginFile {
98
+ let folderPath_11: string;
99
+ export { folderPath_11 as folderPath };
100
+ let fileName_11: string;
101
+ export { fileName_11 as fileName };
102
+ let coverFile_11: boolean;
103
+ export { coverFile_11 as coverFile };
104
+ export { pluginFileContent as fileContent };
105
+ }
106
+ export namespace parserEmbedFile {
107
+ let folderPath_12: string;
108
+ export { folderPath_12 as folderPath };
109
+ let fileName_12: string;
110
+ export { fileName_12 as fileName };
111
+ let coverFile_12: boolean;
112
+ export { coverFile_12 as coverFile };
113
+ export { parserEmbedFileContent as fileContent };
114
+ }
115
+ export namespace parserCustomFile {
116
+ let folderPath_13: string;
117
+ export { folderPath_13 as folderPath };
118
+ let fileName_13: string;
119
+ export { fileName_13 as fileName };
120
+ let coverFile_13: boolean;
121
+ export { coverFile_13 as coverFile };
122
+ export { parserCustomFileContent as fileContent };
123
+ }
124
+ export namespace parserFile {
125
+ let folderPath_14: string;
126
+ export { folderPath_14 as folderPath };
127
+ let fileName_14: string;
128
+ export { fileName_14 as fileName };
129
+ let coverFile_14: boolean;
130
+ export { coverFile_14 as coverFile };
131
+ export { parserFileContent as fileContent };
132
+ }
133
+ export namespace settingEmbedFile {
134
+ let folderPath_15: string;
135
+ export { folderPath_15 as folderPath };
136
+ let fileName_15: string;
137
+ export { fileName_15 as fileName };
138
+ let coverFile_15: boolean;
139
+ export { coverFile_15 as coverFile };
140
+ export { settingEmbedFileContent as fileContent };
141
+ }
142
+ export namespace settingCustomFile {
143
+ let folderPath_16: string;
144
+ export { folderPath_16 as folderPath };
145
+ let fileName_16: string;
146
+ export { fileName_16 as fileName };
147
+ let coverFile_16: boolean;
148
+ export { coverFile_16 as coverFile };
149
+ export { settingCustomFileContent as fileContent };
150
+ }
151
+ export namespace settingFile {
152
+ let folderPath_17: string;
153
+ export { folderPath_17 as folderPath };
154
+ let fileName_17: string;
155
+ export { fileName_17 as fileName };
156
+ let coverFile_17: boolean;
157
+ export { coverFile_17 as coverFile };
158
+ export { settingFileContent as fileContent };
159
+ }
160
+ declare const ignoreFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst content = `#\n**/public\n**/lib\n**/es\n**/docs\n**/coverage\n**/.history\n**/.vs\n**/.swc\n**/docs\n\n*.d.ts\n*.log\n*.zip\n*.txt\n*.7z\n*.min.js\nrollup.config-*.cjs\n\n.eslintrc.js\n.prettierrc.js\n.stylelintrc.js\n.lintstagedrc\n`;\n\nmodule.exports = {\n content,\n};\n";
161
+ 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/eslint/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/eslint/config');\n\nmodule.exports = generalConfig;\n`;\n\nmodule.exports = {\n mainContent,\n packageContent,\n};";
162
+ declare const ruleEmbedFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst coreRules = {\n camelias: 0,\n 'no-bitwise': 0,\n 'linebreak-style': 0,\n 'generator-star-spacing': 0,\n 'operator-linebreak': 0,\n 'object-curly-newline': 0,\n 'no-use-before-define': 0,\n 'no-nested-ternary': 0,\n 'no-spaced-func': 2,\n 'no-this-before-super': 0,\n 'no-var': 1,\n 'sort-imports': 0,\n 'jsx-quotes': ['error', 'prefer-double'],\n};\n\nconst reactRules = {\n 'react/sort-comp': 0,\n 'react/jsx-uses-react': 2,\n 'react/react-in-jsx-scope': 'off',\n 'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],\n 'react/jsx-wrap-multilines': 0,\n 'react/prop-types': 0,\n 'react/forbid-prop-types': 0,\n 'react/jsx-one-expression-per-line': 0,\n 'react/jsx-props-no-spreading': 0,\n};\n\nconst jsxRules = {\n 'jsx-a11y/no-noninteractive-element-interactions': 0,\n 'jsx-a11y/click-events-have-key-events': 0,\n 'jsx-a11y/no-static-element-interactions': 0,\n 'jsx-a11y/anchor-is-valid': 0,\n};\n\nconst typescriptRules = {\n '@typescript-eslint/no-this-alias': ['off'],\n '@typescript-eslint/no-unused-vars': 0,\n '@typescript-eslint/no-invalid-this': 0,\n};\n\nconst unicornRules = {\n 'unicorn/filename-case': [\n 'error',\n {\n cases: {\n kebabCase: true,\n camelCase: true,\n pascalCase: true,\n snakeCase: true,\n },\n },\n ],\n 'unicorn/no-null': 0,\n 'unicorn/no-this-assignment': 0,\n};\n\nconst compatRules = {\n 'compat/compat': 0,\n};\n\nconst importRules = {\n 'import/export': 'error',\n 'import/first': 'error',\n 'import/named': 'error',\n 'import/newline-after-import': 'error',\n 'import/no-absolute-path': 'error',\n // 开启将会极大增加检测执行时间\n 'import/no-cycle': 0,\n 'import/no-deprecated': 'error',\n 'import/no-duplicates': 'error',\n 'import/no-unresolved': 'error',\n 'import/no-useless-path-segments': 'error',\n 'import/no-unused-modules': 'error',\n 'import/order': 0,\n};\n\nconst simpleImportSortRules = {\n 'simple-import-sort/imports': [\n 'error',\n {\n groups: [\n [\n '^(?!taro-fast-)(?!antd-management-fast-)(?!easy-soft-)[a-zA-Z0-9]',\n '^@(?!/)',\n ],\n ['^(?!@/)(?!easy-soft-)(?!.)'],\n ['^easy-soft-'],\n ['^(?!@/)(?!antd-management-fast-)(?!.)'],\n ['^antd-management-fast-'],\n ['^(?!@/)(?!taro-fast-)(?!.)'],\n ['^taro-fast-'],\n ['^((@/).*|$)'],\n ['^\\\\u0000'],\n ['^\\\\.\\\\.(?!/?$)', '^\\\\.\\\\./?$'],\n ['^\\\\./(?=.*/)(?!/?$)', '^\\\\.(?!/?$)', '^\\\\./?$'],\n ['^.+\\\\.s?less$', '^.+\\\\.s?scss$', '^.+\\\\.s?css$'],\n ],\n },\n ],\n 'simple-import-sort/exports': 'error',\n};\n\nmodule.exports = {\n rules: {\n ...coreRules,\n ...reactRules,\n ...jsxRules,\n ...typescriptRules,\n ...unicornRules,\n ...compatRules,\n ...importRules,\n ...simpleImportSortRules,\n },\n};\n";
163
+ declare const ruleCustomFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst customRules = {};\n\nmodule.exports = {\n rules: {\n ...customRules,\n },\n};\n";
164
+ declare const ruleFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst { rules: embedRules } = require('./embed');\nconst { rules: customRules } = require('./custom');\n\nmodule.exports = {\n rules: {\n ...embedRules,\n ...customRules,\n },\n};\n";
165
+ declare const configFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst { rules } = require('./items/rules');\nconst { parserJsOptions, parserTsOptions } = require('./items/parser');\nconst { pluginCollection } = require('./items/plugins');\nconst { extendCollection } = require('./items/extends');\nconst { settings } = require('./items/settings');\n\nmodule.exports = {\n generalConfig: {\n extends: [\n ...extendCollection,\n ],\n env: {\n es6: true,\n browser: true,\n commonjs: true,\n jest: true,\n worker: true,\n shelljs: true,\n node: true,\n },\n plugins: [...pluginCollection],\n parser: '@babel/eslint-parser',\n parserOptions: parserJsOptions,\n overrides: [\n {\n files: ['*.ts', '*.tsx'],\n parser: '@typescript-eslint/parser',\n parserOptions: parserTsOptions,\n },\n ],\n rules: rules,\n settings: settings,\n },\n};\n";
166
+ declare const extendEmbedFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst extendCollection = [\n 'eslint:recommended',\n 'plugin:react/recommended',\n 'plugin:unicorn/recommended',\n 'plugin:promise/recommended',\n 'prettier',\n];\n\nmodule.exports = {\n extendCollection: [...extendCollection],\n};\n";
167
+ declare const extendCustomFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst extendCollection = [];\n\nmodule.exports = {\n extendCollection: [...extendCollection],\n};\n";
168
+ declare const extendFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst { extendCollection: extendEmbedPlugins } = require('./embed');\nconst { extendCollection: extendCustomPlugins } = require('./custom');\n\nmodule.exports = {\n extendCollection: [...extendEmbedPlugins, ...extendCustomPlugins],\n};\n";
169
+ declare const pluginEmbedFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst plugins = [\n 'unicorn',\n 'simple-import-sort',\n 'import',\n 'prettier',\n];\n\nmodule.exports = {\n pluginCollection: [...plugins],\n};\n";
170
+ declare const pluginCustomFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst plugins = [];\n\nmodule.exports = {\n pluginCollection: [...plugins],\n};\n";
171
+ declare const pluginFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst { pluginCollection: embedPlugins } = require('./embed');\nconst { pluginCollection: customPlugins } = require('./custom');\n\nmodule.exports = {\n pluginCollection: [...embedPlugins, ...customPlugins],\n};\n";
172
+ declare const parserEmbedFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst parserJsOptions = {\n requireConfigFile: false,\n babelOptions: {\n presets: [\n [\n '@babel/preset-react',\n {\n runtime: 'automatic',\n },\n ],\n '@babel/preset-env',\n ],\n plugins: [\n ['@babel/plugin-proposal-decorators', { legacy: true }],\n ['@babel/plugin-transform-class-properties', { loose: true }],\n ],\n },\n};\n\nconst parserTsOptions = {\n ecmaFeatures: {\n jsx: true,\n },\n};\n\nmodule.exports = {\n parserJsOptions: { ...parserJsOptions },\n parserTsOptions: { ...parserTsOptions },\n};\n";
173
+ declare const parserCustomFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst parserJsOptions = {};\n\nconst parserTsOptions = {};\n\nmodule.exports = {\n parserJsOptions: { ...parserJsOptions },\n parserTsOptions: { ...parserTsOptions },\n};\n";
174
+ declare const parserFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst {\n parserJsOptions: embedParserJsOptions,\n parserTsOptions: embedParserTsOptions,\n} = require('./embed');\nconst {\n parserJsOptions: customParserJsOptions,\n parserTsOptions: customParserTsOptions,\n} = require('./custom');\n\nmodule.exports = {\n parserJsOptions: { ...embedParserJsOptions, ...customParserJsOptions },\n parserTsOptions: { ...embedParserTsOptions, ...customParserTsOptions },\n};\n";
175
+ declare const settingEmbedFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst items = {\n 'import/parsers': {\n '@typescript-eslint/parser': ['.ts', '.tsx'],\n },\n 'import/resolver': {\n node: {\n extensions: ['.js', '.jsx', '.ts', '.tsx'],\n moduleDirectory: ['src', 'node_modules'],\n },\n typescript: {\n // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unIst`\n alwaysTryTypes: true,\n\n // use an array of glob patterns\n directory: ['./tsconfig.json', './packages/*/tsconfig.json'],\n },\n },\n};\n\nmodule.exports = {\n settings: {\n ...items,\n },\n};\n";
176
+ declare const settingCustomFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst items = {};\n\nmodule.exports = {\n settings: {\n ...items,\n },\n};\n";
177
+ declare const settingFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst { settings: embedSettings } = require('./embed');\nconst { settings: customSettings } = require('./custom');\n\nmodule.exports = {\n settings: {\n ...embedSettings,\n ...customSettings,\n },\n};\n";
178
+ export {};
@@ -1,18 +1,18 @@
1
- export namespace attributeFile {
2
- export const folderPath: string;
3
- export const fileName: string;
4
- export const coverFile: boolean;
5
- export { attributeFileContent as fileContent };
6
- }
7
- export namespace ignoreFile {
8
- const folderPath_1: string;
9
- export { folderPath_1 as folderPath };
10
- const fileName_1: string;
11
- export { fileName_1 as fileName };
12
- const coverFile_1: boolean;
13
- export { coverFile_1 as coverFile };
14
- export { ignoreFileContent as fileContent };
15
- }
16
- declare const attributeFileContent: string;
17
- declare const ignoreFileContent: string;
18
- export {};
1
+ export namespace attributeFile {
2
+ export let folderPath: string;
3
+ export let fileName: string;
4
+ export let coverFile: boolean;
5
+ export { attributeFileContent as fileContent };
6
+ }
7
+ export namespace ignoreFile {
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 { ignoreFileContent as fileContent };
15
+ }
16
+ declare const attributeFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst content = `*.js eol=lf\n*.jsx eol=lf\n*.json eol=lf\n*.css eol=lf\n*.less eol=lf\n*.scss eol=lf\n`;\n\nmodule.exports = {\n content,\n};\n";
17
+ declare const ignoreFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst content = `# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.\n\n# ignore dependencies dir\n**/node_modules\n\n# ignore distribute dir\n**/dist\n**/es\n\n# ignore temporary dir\n**/.umi\n**/.umi-production\n\n# ignore config dir\n**/.idea\n**/.history\n**/.swc\n**/.vs\n\n# ignore jest dir\n**/coverage\n\n# ignore general file\n*.log\n*.d.ts\n*.bak\n\n# ignore special file\nrollup.config-*.cjs\nyarn.lock\npackage-lock.json\npnpm-lock.yaml\n.firebase\n.eslintcache\n`;\n\nmodule.exports = {\n content,\n};\n";
18
+ export {};
@@ -1,17 +1,17 @@
1
- export const configFileContent: string;
2
- export namespace configFile {
3
- export const folderPath: string;
4
- export const fileName: string;
5
- export const coverFile: boolean;
6
- export { configFileContent as fileContent };
7
- }
8
- export const simpleTestFileContent: string;
9
- export namespace simpleTestFile {
10
- const folderPath_1: string;
11
- export { folderPath_1 as folderPath };
12
- const fileName_1: string;
13
- export { fileName_1 as fileName };
14
- const coverFile_1: boolean;
15
- export { coverFile_1 as coverFile };
16
- export { simpleTestFileContent as fileContent };
17
- }
1
+ export const configFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst content = `/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nmodule.exports = {\n collectCoverage: true,\n verbose: true,\n};\n`;\n\nmodule.exports = {\n content,\n};\n";
2
+ export namespace configFile {
3
+ export let folderPath: string;
4
+ export let fileName: string;
5
+ export let coverFile: boolean;
6
+ export { configFileContent as fileContent };
7
+ }
8
+ export const simpleTestFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst content = `describe('group test description', () => {\n test('simple test will be true', () => {\n expect(true).toBe(true);\n });\n});\n`;\n\nmodule.exports = {\n content,\n};\n";
9
+ export namespace simpleTestFile {
10
+ let folderPath_1: string;
11
+ export { folderPath_1 as folderPath };
12
+ let fileName_1: string;
13
+ export { fileName_1 as fileName };
14
+ let coverFile_1: boolean;
15
+ export { coverFile_1 as coverFile };
16
+ export { simpleTestFileContent as fileContent };
17
+ }
@@ -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 = `{\n \"*.{md,json}\": [\"npx prettier --cache --write\"],\n \"*.{js,jsx}\": [\"npx eslint --ext .js,.jsx\", \"npx prettier --cache --write\"],\n \"*.{ts,tsx}\": [\n \"npx eslint --ext .ts,.tsx\",\n \"npx prettier --cache --parser=typescript --write\"\n ],\n \"*.{css,less,scss}\": [\n \"stylelint --allow-empty-input\",\n \"npx prettier --cache --write\"\n ]\n}\n`;\n\nmodule.exports = {\n content,\n};\n";
8
+ export {};
@@ -1,37 +1,37 @@
1
- export namespace globalChildPackageFile {
2
- export const folderPath: string;
3
- export const fileName: string;
4
- export const coverFile: boolean;
5
- export { globalChildPackageFileContent as fileContent };
6
- }
7
- export namespace globalMainPackageFile {
8
- const folderPath_1: string;
9
- export { folderPath_1 as folderPath };
10
- const fileName_1: string;
11
- export { fileName_1 as fileName };
12
- const coverFile_1: boolean;
13
- export { coverFile_1 as coverFile };
14
- export const fileContent: string;
15
- }
16
- export namespace customMainPackageFile {
17
- const folderPath_2: string;
18
- export { folderPath_2 as folderPath };
19
- const fileName_2: string;
20
- export { fileName_2 as fileName };
21
- const coverFile_2: boolean;
22
- export { coverFile_2 as coverFile };
23
- export { customMainPackageFileContent as fileContent };
24
- }
25
- export namespace customChildPackageFile {
26
- const folderPath_3: string;
27
- export { folderPath_3 as folderPath };
28
- const fileName_3: string;
29
- export { fileName_3 as fileName };
30
- const coverFile_3: boolean;
31
- export { coverFile_3 as coverFile };
32
- export { customChildPackageFileContent as fileContent };
33
- }
34
- declare const globalChildPackageFileContent: string;
35
- declare const customMainPackageFileContent: string;
36
- declare const customChildPackageFileContent: string;
37
- export {};
1
+ export namespace globalChildPackageFile {
2
+ export let folderPath: string;
3
+ export let fileName: string;
4
+ export let coverFile: boolean;
5
+ export { globalChildPackageFileContent as fileContent };
6
+ }
7
+ export namespace globalMainPackageFile {
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 let fileContent: string;
15
+ }
16
+ export namespace customMainPackageFile {
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 { customMainPackageFileContent as fileContent };
24
+ }
25
+ export namespace customChildPackageFile {
26
+ let folderPath_3: string;
27
+ export { folderPath_3 as folderPath };
28
+ let fileName_3: string;
29
+ export { fileName_3 as fileName };
30
+ let coverFile_3: boolean;
31
+ export { coverFile_3 as coverFile };
32
+ export { customChildPackageFileContent as fileContent };
33
+ }
34
+ declare const globalChildPackageFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst commitScript = {\n precommit: 'npm run z:lint:staged:quiet',\n};\n\nconst documentationScript = {\n 'prez:documentation:generate': 'npx rimraf ./docs && npm run z:documentation:lint',\n 'z:documentation:generate': 'npx documentation build src/** -f html --github -o docs',\n 'z:documentation:lint': 'npx documentation lint src/**',\n};\n\nconst lintScript = {\n 'z:lint:file:all': 'npm run z:lint:script:all && npm run z:lint:style:all',\n 'z:lint:file:all:fix': 'npm run z:lint:script:all:fix && npm run z:lint:style:all:fix',\n 'z:lint:file:change': 'npm run z:lint:script:change && npm run z:lint:style:all',\n 'z:lint:file:change:fix': 'npm run z:lint:script:change:fix && npm run z:lint:style:all:fix',\n 'z:lint:script:all': 'npx eslint --ext .js,.jsx,.ts,.tsx ./src',\n 'z:lint:script:all:fix': 'npx eslint --fix --ext .js,.jsx,.ts,.tsx ./src',\n 'postz:lint:script:all:fix': 'npm run z:prettier:format:all',\n 'z:lint:script:change': 'npx eslint --cache --ext .js,.jsx,.ts,.tsx ./src',\n 'z:lint:script:change:fix': 'npx eslint --fix --cache --ext .js,.jsx,.ts,.tsx ./src',\n 'postz:lint:script:change:fix': 'npm run z:prettier:format:change',\n 'z:lint:staged': 'npx lint-staged',\n 'z:lint:staged:quiet': 'npx lint-staged --quiet',\n 'z:lint:style:all': 'npx stylelint --allow-empty-input \"./src/**/*.{css,scss,less}\"',\n 'z:lint:style:all:fix': 'npx stylelint --allow-empty-input --fix \"./src/**/*.{css,scss,less}\"',\n 'postz:lint:style:all:fix': 'npm run z:prettier:format:all',\n 'z:lint:style:change': 'npx stylelint --allow-empty-input --cache \"./src/**/*.{css,scss,less}\"',\n 'z:lint:style:change:fix': 'npx stylelint --allow-empty-input --cache --fix \"./src/**/*.{css,scss,less}\"',\n 'postz:lint:style:change:fix': 'npm run z:prettier:format:change',\n};\n\nconst prettierScript = {\n 'z:prettier:format:all': 'npx prettier --write .',\n 'z:prettier:format:change': 'npx prettier --cache --write .',\n 'z:prettier:package.json': 'npx prettier --write ./package.json',\n};\n\nconst tscScript = {\n 'z:tsc:build': 'echo show tsc version and create declaration file && tsc -v && tsc -p ./tsconfig.types.json && echo declaration file generate complete',\n};\n\nconst jestScript = {\n 'z:test': 'cross-env NODE_ENV=test jest',\n};\n\nmodule.exports = {\n ...commitScript,\n ...documentationScript,\n ...lintScript,\n ...prettierScript,\n ...tscScript,\n ...jestScript,\n};\n";
35
+ declare const customMainPackageFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst scripts = {};\n\nmodule.exports = {\n ...scripts,\n};\n";
36
+ declare const customChildPackageFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst scripts = {};\n\nmodule.exports = {\n ...scripts,\n};\n";
37
+ export {};
@@ -1,28 +1,28 @@
1
- export namespace ignoreFile {
2
- export const folderPath: string;
3
- export const fileName: string;
4
- export const coverFile: boolean;
5
- export { ignoreFileContent as fileContent };
6
- }
7
- export namespace contentFile {
8
- const folderPath_1: string;
9
- export { folderPath_1 as folderPath };
10
- const fileName_1: string;
11
- export { fileName_1 as fileName };
12
- const coverFile_1: boolean;
13
- export { coverFile_1 as coverFile };
14
- export { contentFileContent as fileContent };
15
- }
16
- export namespace configFile {
17
- const folderPath_2: string;
18
- export { folderPath_2 as folderPath };
19
- const fileName_2: string;
20
- export { fileName_2 as fileName };
21
- const coverFile_2: boolean;
22
- export { coverFile_2 as coverFile };
23
- export { configFileContent as fileContent };
24
- }
25
- declare const ignoreFileContent: string;
26
- declare const contentFileContent: string;
27
- declare const configFileContent: string;
28
- export {};
1
+ export namespace ignoreFile {
2
+ export let folderPath: string;
3
+ export let fileName: string;
4
+ export let coverFile: boolean;
5
+ export { ignoreFileContent as fileContent };
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 ignoreFileContent: "/* eslint-disable no-undef */\n/* eslint-disable unicorn/prefer-module */\n/* eslint-disable no-useless-escape */\n\nconst content = `# ignore dir\n**/node_modules/**\n**/templates/**\n**/lib/**\n**/dist/**\n**/es/**\n**/docs/**\n**/coverage/**\n**/.umi/**\n**/.umi-production/**\n**/.idea/**\n**/.ga/**\n**/.history/**\n**/.husky/**\n**/.vs/**\n\n# ignore file\n*.png\n*.jpg\n*.jpeg\n*.rar\n*.zip\n*.7z\n*.ico\n*.gif\n*.toml\n*.lock\n*.tar.gz\n*.log\n*.txt\n*.text\n*.svg\n*.min.js\n\n# ignore special\n.eslintignore\n.stylelintignore\n.gitattributes\n.browserslistrc\n.dockerignore\n.gitignore\n.prettierignore\n.eslintcache\n.npmrc\n.editorconfig\n.czrc\n.ga\nrollup.config-*.cjs\npnpm-lock.yaml\nCNAME\nLICENSE\n`;\n\nmodule.exports = {\n content,\n};\n";
26
+ 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/prettier/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/prettier/config\");\n\nmodule.exports = generalConfig;\n`;\n\nmodule.exports = {\n mainContent,\n packageContent,\n};\n";
27
+ 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 printWidth: 80,\n singleQuote: true,\n trailingComma: 'all',\n proseWrap: 'never',\n semi: true,\n overrides: [\n {\n files: '.prettierrc',\n options: {\n parser: 'json',\n },\n },\n ],\n plugins: [\n // 'prettier-plugin-organize-imports',\n 'prettier-plugin-packagejson',\n ],\n },\n};\n";
28
+ export {};