@modern-js/base-generator 1.3.0 → 1.3.3

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,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.3.0",
14
+ "version": "1.3.3",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./src/index.ts",
17
17
  "main": "./dist/js/node/main.js",
@@ -22,9 +22,9 @@
22
22
  "devDependencies": {
23
23
  "@babel/runtime": "^7",
24
24
  "@modern-js/codesmith": "^1.0.8",
25
- "@modern-js/codesmith-api-app": "^1.0.7",
26
- "@modern-js/generator-common": "^1.3.0",
27
- "@modern-js/codesmith-tools": "^1.0.8",
25
+ "@modern-js/codesmith-api-app": "^1.0.8",
26
+ "@modern-js/generator-common": "^1.4.4",
27
+ "@modern-js/codesmith-tools": "^1.0.9",
28
28
  "@types/jest": "^26",
29
29
  "@types/node": "^14",
30
30
  "typescript": "^4",
@@ -0,0 +1,5 @@
1
+ {
2
+ "singleQuote": true,
3
+ "trailingComma": "all",
4
+ "arrowParens": "avoid"
5
+ }
@@ -6,11 +6,10 @@
6
6
  "cpylua.language-postcss",
7
7
  "EditorConfig.editorconfig",
8
8
  "dbaeumer.vscode-eslint",
9
+ "esbenp.prettier-vscode",
9
10
  "drKnoxy.eslint-disable-snippets",
10
11
  "mkaufman.htmlhint",
11
12
  "streetsidesoftware.code-spell-checker",
12
- "msjsdiag.debugger-for-chrome",
13
- "ms-vscode.node-debug2",
14
13
  "codezombiech.gitignore",
15
14
  "aaron-bond.better-comments",
16
15
  "ziyasal.vscode-open-in-github",
@@ -54,19 +54,19 @@
54
54
  //
55
55
  "cSpell.diagnosticLevel": "Hint",
56
56
  "[javascript]": {
57
- "editor.defaultFormatter": "dbaeumer.vscode-eslint"
57
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
58
58
  },
59
59
  "[javascriptreact]": {
60
- "editor.defaultFormatter": "dbaeumer.vscode-eslint"
60
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
61
61
  },
62
62
  "[typescript]": {
63
- "editor.defaultFormatter": "dbaeumer.vscode-eslint"
63
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
64
64
  },
65
65
  "[typescriptreact]": {
66
- "editor.defaultFormatter": "dbaeumer.vscode-eslint"
66
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
67
67
  },
68
68
  "[vue]": {
69
- "editor.defaultFormatter": "dbaeumer.vscode-eslint"
69
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
70
70
  },
71
71
  "eslint.alwaysShowStatus": true,
72
72
  // "eslint.nodePath": "./node_modules",
@@ -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