@modern-js/mwa-generator 1.3.5 → 1.4.0

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.5",
14
+ "version": "1.4.0",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "main": "./dist/js/node/main.js",
17
17
  "files": [
@@ -20,17 +20,17 @@
20
20
  ],
21
21
  "devDependencies": {
22
22
  "@babel/runtime": "^7",
23
- "@modern-js/base-generator": "^1.3.2",
23
+ "@modern-js/base-generator": "^1.4.0",
24
24
  "@modern-js/codesmith": "^1.0.8",
25
25
  "@modern-js/codesmith-api-app": "^1.0.8",
26
26
  "@modern-js/codesmith-api-json": "^1.0.7",
27
- "@modern-js/codesmith-tools": "^1.0.9",
28
- "@modern-js/entry-generator": "^1.3.2",
29
- "@modern-js/electron-generator": "^1.2.2",
30
- "@modern-js/dependence-generator": "^1.2.3",
31
- "@modern-js/generator-common": "^1.4.3",
32
- "@modern-js/generator-utils": "^1.2.1",
33
- "@modern-js/plugin-i18n": "^1.2.1",
27
+ "@modern-js/codesmith-tools": "^1.1.0",
28
+ "@modern-js/entry-generator": "^1.4.0",
29
+ "@modern-js/electron-generator": "^1.3.0",
30
+ "@modern-js/dependence-generator": "^1.3.0",
31
+ "@modern-js/generator-common": "^1.4.9",
32
+ "@modern-js/generator-utils": "^1.2.2",
33
+ "@modern-js/plugin-i18n": "^1.2.4",
34
34
  "@types/jest": "^26",
35
35
  "@types/node": "^14",
36
36
  "typescript": "^4",
@@ -13,11 +13,6 @@
13
13
  "engines": {
14
14
  "node": ">=14.17.6"
15
15
  },
16
- "eslintConfig": {
17
- "extends": [
18
- "@modern-js"
19
- ]
20
- },
21
16
  "husky": {
22
17
  "hooks": {
23
18
  "pre-commit": "lint-staged"
@@ -25,12 +20,10 @@
25
20
  },
26
21
  "lint-staged": {
27
22
  "*.{ts,tsx}": [
28
- "node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet",
29
- "git add"
23
+ "node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
30
24
  ],
31
25
  "*.{js,jsx,mjs,mjsx,cjs,cjsx}": [
32
- "node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet",
33
- "git add"
26
+ "node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
34
27
  ]
35
28
  },
36
29
  "eslintIgnore": [
@@ -40,13 +33,15 @@
40
33
  {{/unless}}
41
34
  "dependencies": {
42
35
  "@modern-js/runtime": "^1.0.0",
43
- "@modern-js/core": "^1.0.0",
44
36
  "react": "^17.0.1",
45
37
  "react-dom": "^17.0.1"
46
38
  },
47
39
  "devDependencies": {
48
40
  "@modern-js/app-tools": "^1.0.0",
49
41
  "@modern-js/plugin-jarvis": "^1.0.0",
50
- "del-cli": "^4.0.1"
42
+ "@modern-js/tsconfig":"^1.0.0",
43
+ "del-cli": "^4.0.1",
44
+ "lint-staged": "^11.2.6",
45
+ "prettier": "^2.6.2"
51
46
  }
52
47
  }
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ root: true,
3
+ extends: ['@modern-js'],
4
+ };
@@ -0,0 +1,5 @@
1
+ // eslint-disable-next-line import/no-commonjs
2
+ module.exports = {
3
+ root: true,
4
+ extends: ['@modern-js-app'],
5
+ };
@@ -0,0 +1,8 @@
1
+ module.exports = {
2
+ root: true,
3
+ extends: ['@modern-js'],
4
+ parserOptions: {
5
+ tsconfigRootDir: __dirname,
6
+ project: ['./tsconfig.json'],
7
+ },
8
+ };
@@ -0,0 +1,9 @@
1
+ // eslint-disable-next-line import/no-commonjs
2
+ module.exports = {
3
+ root: true,
4
+ extends: ['@modern-js-app'],
5
+ parserOptions: {
6
+ tsconfigRootDir: __dirname,
7
+ project: ['../tsconfig.json'],
8
+ },
9
+ };
@@ -1,3 +0,0 @@
1
- {
2
- "extends": ["@modern-js-app"]
3
- }
@@ -1,14 +0,0 @@
1
- public-hoist-pattern[]=@modern-js/eslint-config
2
- public-hoist-pattern[]=@modern-js-app/eslint-config
3
- public-hoist-pattern[]=@babel/eslint-plugin
4
- public-hoist-pattern[]=@modern-js/tsconfig
5
- public-hoist-pattern[]=@typescript-eslint/eslint-plugin
6
- public-hoist-pattern[]=@commitlint/cli
7
- public-hoist-pattern[]=lint-staged
8
- public-hoist-pattern[]=eslint
9
- public-hoist-pattern[]=prettier
10
- public-hoist-pattern[]=@babel/eslint-parser
11
- public-hoist-pattern[]=eslint-plugin-*
12
- public-hoist-pattern[]=*eslint*
13
- public-hoist-pattern[]=ts-transform-paths
14
- public-hoist-pattern[]=tailwindcss