@modern-js/base-generator 1.2.4 → 1.3.2
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
CHANGED
|
@@ -11,8 +11,9 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.2
|
|
14
|
+
"version": "1.3.2",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
|
+
"types": "./src/index.ts",
|
|
16
17
|
"main": "./dist/js/node/main.js",
|
|
17
18
|
"files": [
|
|
18
19
|
"/templates",
|
|
@@ -21,14 +22,15 @@
|
|
|
21
22
|
"devDependencies": {
|
|
22
23
|
"@babel/runtime": "^7",
|
|
23
24
|
"@modern-js/codesmith": "^1.0.8",
|
|
24
|
-
"@modern-js/codesmith-api-app": "^1.0.
|
|
25
|
-
"@modern-js/generator-common": "^1.
|
|
26
|
-
"@modern-js/codesmith-tools": "^1.0.
|
|
25
|
+
"@modern-js/codesmith-api-app": "^1.0.8",
|
|
26
|
+
"@modern-js/generator-common": "^1.4.3",
|
|
27
|
+
"@modern-js/codesmith-tools": "^1.0.9",
|
|
27
28
|
"@types/jest": "^26",
|
|
28
29
|
"@types/node": "^14",
|
|
29
30
|
"typescript": "^4",
|
|
30
|
-
"@
|
|
31
|
-
"
|
|
31
|
+
"@scripts/build": "0.0.0",
|
|
32
|
+
"jest": "^27",
|
|
33
|
+
"@scripts/jest-config": "0.0.0"
|
|
32
34
|
},
|
|
33
35
|
"sideEffects": false,
|
|
34
36
|
"modernConfig": {
|
|
@@ -45,7 +47,7 @@
|
|
|
45
47
|
"new": "modern new",
|
|
46
48
|
"build": "modern build",
|
|
47
49
|
"build:csmith": "csmith-tools build",
|
|
48
|
-
"test": "
|
|
50
|
+
"test": "jest --passWithNoTests"
|
|
49
51
|
},
|
|
50
52
|
"readme": "\n<p align=\"center\">\n <a href=\"https://modernjs.dev\" target=\"blank\"><img src=\"https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png\" width=\"300\" alt=\"Modern.js Logo\" /></a>\n</p>\n<p align=\"center\">\n现代 Web 工程体系\n <br/>\n <a href=\"https://modernjs.dev\" target=\"blank\">\n modernjs.dev\n </a>\n</p>\n<p align=\"center\">\n The meta-framework suite designed from scratch for frontend-focused modern web development\n</p>\n\n# Introduction\n\n> The doc site ([modernjs.dev](https://modernjs.dev)) and articles are only available in Chinese for now, we are planning to add English versions soon.\n\n- [Modern.js: Hello, World!](https://zhuanlan.zhihu.com/p/426707646)\n\n## Getting Started\n\n- [Quick Start](https://modernjs.dev/docs/start)\n- [Guides](https://modernjs.dev/docs/guides)\n- [API References](https://modernjs.dev/docs/apis)\n\n## Contributing\n\n- [Contributing Guide](https://github.com/modern-js-dev/modern.js/blob/main/CONTRIBUTING.md)\n"
|
|
51
53
|
}
|
|
@@ -114,13 +114,6 @@
|
|
|
114
114
|
"editor.formatOnPaste": true,
|
|
115
115
|
"editor.formatOnSave": true
|
|
116
116
|
},
|
|
117
|
-
"prettier.trailingComma": "all",
|
|
118
|
-
"prettier.printWidth": 80,
|
|
119
|
-
"prettier.semi": true,
|
|
120
|
-
"prettier.arrowParens": "avoid",
|
|
121
|
-
"prettier.bracketSpacing": true,
|
|
122
|
-
"prettier.jsxBracketSameLine": true,
|
|
123
|
-
//
|
|
124
117
|
"editor.codeActionsOnSave": {
|
|
125
118
|
"source.fixAll.eslint": true
|
|
126
119
|
},
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# EditorConfig is awesome: http://EditorConfig.org
|
|
2
|
-
|
|
3
|
-
root = true
|
|
4
|
-
|
|
5
|
-
[*]
|
|
6
|
-
charset = utf-8
|
|
7
|
-
end_of_line = lf
|
|
8
|
-
indent_style = space
|
|
9
|
-
insert_final_newline = true
|
|
10
|
-
|
|
11
|
-
[*.{js,jsx,ts,tsx,mjs,mjsx,cjs,cjsx,sh,rb}]
|
|
12
|
-
indent_size = 2
|
|
13
|
-
max_line_length = 80
|
|
14
|
-
trim_trailing_whitespace = true
|
|
15
|
-
|
|
16
|
-
[*.py]
|
|
17
|
-
indent_size = 4
|
|
18
|
-
max_line_length = 80
|
|
19
|
-
trim_trailing_whitespace = true
|
|
20
|
-
|
|
21
|
-
[*.{css,scss,less,html,hbs,ejs,json,code-workspace,yml,yaml,gql}]
|
|
22
|
-
indent_size = 2
|
|
23
|
-
trim_trailing_whitespace = true
|