@modern-js/monorepo-generator 1.4.1 → 2.0.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,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.4.1",
14
+ "version": "2.0.2",
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.4.1",
24
- "@modern-js/changeset-generator": "1.3.1",
25
- "@modern-js/plugin-i18n": "1.2.4",
26
- "@modern-js/codesmith": "^1.0.8",
27
- "@modern-js/codesmith-api-app": "^1.0.8",
28
- "@modern-js/codesmith-tools": "^1.1.0",
23
+ "@modern-js/base-generator": "1.4.3",
24
+ "@modern-js/changeset-generator": "1.3.2",
25
+ "@modern-js/plugin-i18n": "1.2.6",
26
+ "@modern-js/codesmith": "^1.0.10",
27
+ "@modern-js/codesmith-api-app": "^1.0.10",
28
+ "@modern-js/codesmith-tools": "^1.1.2",
29
29
  "@modern-js/codesmith-api-json": "^1.0.7",
30
- "@modern-js/generator-common": "1.4.9",
31
- "@modern-js/generator-utils": "1.2.3",
30
+ "@modern-js/generator-common": "1.4.11",
31
+ "@modern-js/generator-utils": "1.2.5",
32
32
  "@scripts/build": "0.0.0",
33
- "@types/jest": "^26",
33
+ "@types/jest": "^27",
34
34
  "@types/node": "^14",
35
35
  "typescript": "^4",
36
36
  "jest": "^27",
@@ -48,11 +48,46 @@
48
48
  "access": "public"
49
49
  },
50
50
  "types": "./src/index.ts",
51
+ "wireit": {
52
+ "build": {
53
+ "command": "modern build",
54
+ "files": [
55
+ "src/**/*",
56
+ "tsconfig.json",
57
+ "package.json"
58
+ ],
59
+ "output": [
60
+ "dist/**/*",
61
+ "!dist/node/main.js"
62
+ ]
63
+ },
64
+ "build:csmith": {
65
+ "command": "csmith-tools build",
66
+ "files": [
67
+ "src/**/*",
68
+ "tsconfig.json",
69
+ "package.json"
70
+ ],
71
+ "output": [
72
+ "dist/node/main.js"
73
+ ]
74
+ },
75
+ "test": {
76
+ "command": "jest --passWithNoTests",
77
+ "files": [
78
+ "src/**/*",
79
+ "tsconfig.json",
80
+ "package.json",
81
+ "tests/**/*"
82
+ ],
83
+ "output": []
84
+ }
85
+ },
51
86
  "scripts": {
52
87
  "new": "modern new",
53
- "build": "modern build",
54
- "build:csmith": "csmith-tools build",
55
- "test": "jest --passWithNoTests"
88
+ "build": "wireit",
89
+ "build:csmith": "wireit",
90
+ "test": "wireit"
56
91
  },
57
92
  "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"
58
93
  }
@@ -18,17 +18,9 @@
18
18
  "Procfile*": "shellscript",
19
19
  "README": "markdown"
20
20
  },
21
- "files.exclude": {
22
- "**/*/adapters/**/index.ts": true,
23
- "**/*/adapters/**/index.js": true
24
- },
25
21
  "search.useIgnoreFiles": true,
26
22
  "search.exclude": {
27
- "**/build": true,
28
- "**/output": true,
29
23
  "**/dist": true,
30
- "**/yarn.lock": true,
31
- "**/package-lock.json": true,
32
24
  "**/*.log": true,
33
25
  "**/*.pid": true,
34
26
  "**/.git": true,
@@ -93,10 +85,6 @@
93
85
  "eslint.lintTask.enable": true,
94
86
  "javascript.validate.enable": false,
95
87
  "typescript.validate.enable": true,
96
- "flow.enabled": false,
97
- //
98
- "htmlhint.enable": true,
99
- //
100
88
  "stylelint.enable": false,
101
89
  "css.validate": false,
102
90
  "scss.validate": false,
@@ -129,7 +117,6 @@
129
117
  "editor.codeActionsOnSave": {
130
118
  "source.fixAll.eslint": true
131
119
  },
132
- "editor.codeActionsOnSaveTimeout": 5000,
133
120
  "javascript.format.enable": false,
134
121
  "typescript.format.enable": false,
135
122
  //
@@ -149,7 +136,6 @@
149
136
  "editor.formatOnSave": true
150
137
  },
151
138
  "emmet.triggerExpansionOnTab": true,
152
- "typescript.tsdk": "node_modules/typescript/lib",
153
- "deno.enable": false
139
+ "typescript.tsdk": "node_modules/typescript/lib"
154
140
  }
155
141
  }
@@ -44,9 +44,9 @@
44
44
  "@modern-js/monorepo-tools": "^1.2.0",
45
45
  "@modern-js/plugin-jarvis": "^1.1.1",
46
46
  "@modern-js/tsconfig":"^1.0.0",
47
- "del-cli": "^4.0.1",
48
47
  "lint-staged": "^11.2.6",
49
- "prettier": "^2.6.2"
48
+ "prettier": "^2.6.2",
49
+ "husky": "4.3.8"
50
50
  },
51
51
  "publishConfig": {
52
52
  "access": "public",