@modern-js/builder 1.21.5 → 2.0.0-beta.1
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/README.md +8 -11
- package/package.json +4 -17
package/README.md
CHANGED
|
@@ -3,27 +3,24 @@
|
|
|
3
3
|
<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>
|
|
4
4
|
</p>
|
|
5
5
|
<p align="center">
|
|
6
|
-
|
|
6
|
+
Modern.js Builder
|
|
7
7
|
<br/>
|
|
8
|
-
<a href="https://modernjs.dev" target="blank">
|
|
9
|
-
modernjs.dev
|
|
8
|
+
<a href="https://modernjs.dev/builder" target="blank">
|
|
9
|
+
modernjs.dev/builder
|
|
10
10
|
</a>
|
|
11
11
|
</p>
|
|
12
12
|
<p align="center">
|
|
13
|
-
|
|
13
|
+
A Universal Build Engine for Modern Web Development
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
|
-
#
|
|
16
|
+
# @modern-js/builder
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
- [Modern.js: Hello, World!](https://zhuanlan.zhihu.com/p/426707646)
|
|
18
|
+
This is the core package of Modern.js Builder.
|
|
21
19
|
|
|
22
20
|
## Getting Started
|
|
23
21
|
|
|
24
|
-
- [
|
|
25
|
-
- [
|
|
26
|
-
- [API References](https://modernjs.dev/docs/apis)
|
|
22
|
+
- [Introduction](https://modernjs.dev/builder/en/guide/introduction.html)
|
|
23
|
+
- [API References](https://modernjs.dev/builder/en/api/)
|
|
27
24
|
|
|
28
25
|
## Contributing
|
|
29
26
|
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": ">=14.0.0"
|
|
16
16
|
},
|
|
17
|
-
"version": "
|
|
17
|
+
"version": "2.0.0-beta.1",
|
|
18
18
|
"jsnext:source": "./src/index.ts",
|
|
19
19
|
"types": "./dist/index.d.ts",
|
|
20
20
|
"main": "./dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@modern-js/builder-shared": "
|
|
30
|
+
"@modern-js/builder-shared": "2.0.0-beta.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@babel/core": "7.18.0",
|
|
@@ -35,28 +35,15 @@
|
|
|
35
35
|
"@types/babel__preset-env": "^7.9.2",
|
|
36
36
|
"@types/node": "^14",
|
|
37
37
|
"typescript": "^4",
|
|
38
|
-
"@scripts/vitest-config": "
|
|
38
|
+
"@scripts/vitest-config": "2.0.0-beta.1"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"registry": "https://registry.npmjs.org/",
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"wireit": {
|
|
45
|
-
"build": {
|
|
46
|
-
"command": "tsc",
|
|
47
|
-
"files": [
|
|
48
|
-
"src/**/*",
|
|
49
|
-
"tsconfig.json",
|
|
50
|
-
"package.json"
|
|
51
|
-
],
|
|
52
|
-
"output": [
|
|
53
|
-
"dist/**/*"
|
|
54
|
-
]
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
44
|
"scripts": {
|
|
58
45
|
"new": "modern new",
|
|
59
|
-
"build": "
|
|
46
|
+
"build": "tsc",
|
|
60
47
|
"dev": "tsc --watch",
|
|
61
48
|
"test": "vitest run",
|
|
62
49
|
"test:watch": "vitest dev --no-coverage",
|