@modern-js/plugin-server-build 0.0.0-canary-20220425114412 → 0.0.0-canary-20220511090154

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.
File without changes
@@ -0,0 +1 @@
1
+ {"cacheable":true,"platform":"linux","arch":"x64","nodeVersion":"v14.19.1","command":"modern build","clean":true,"files":{"package.json":"861b97220e2141b732a7665e8d7ee6a33ebaa511f8f0ce030825d3ea1e13cd2c","src/index.ts":"10191392b3981ffccfba5a04702a14a4f78a4103cad0de81f353e2f743288fdb","tsconfig.json":"590e753370648a434b6ffb9de76591269ac02909aa71e2661012c0778b8aff19"},"output":["dist/**/*.js"],"dependencies":{}}
@@ -0,0 +1,9 @@
1
+ Compiling in progress...
2
+ Run `tsc` log:
3
+ [TSC Compiler]: Successfully
4
+
5
+
6
+ Run babel compiler code log:
7
+ [Babel Compiler]: Successfully
8
+
9
+
package/CHANGELOG.md CHANGED
@@ -1,15 +1,45 @@
1
1
  # @modern-js/plugin-server-build
2
2
 
3
- ## 0.0.0-canary-20220425114412
3
+ ## 0.0.0-canary-20220511090154
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - 895fa0ff6: chore: using "workspace:\*" in devDependencies
8
- - Updated dependencies [2d155c4c7]
9
- - Updated dependencies [0b26b93b9]
10
- - Updated dependencies [895fa0ff6]
11
- - @modern-js/utils@0.0.0-canary-20220425114412
12
- - @modern-js/server-utils@0.0.0-canary-20220425114412
7
+ - d32f35134: chore: add modern/jest/eslint/ts config files to .npmignore
8
+ - Updated dependencies [d32f35134]
9
+ - Updated dependencies [6ae4a34ae]
10
+ - @modern-js/server-utils@0.0.0-canary-20220511090154
11
+ - @modern-js/babel-compiler@0.0.0-canary-20220511090154
12
+ - @modern-js/utils@0.0.0-canary-20220511090154
13
+
14
+ ## 1.2.7
15
+
16
+ ### Patch Changes
17
+
18
+ - 69a728375: fix: remove exports.jsnext:source after publish
19
+ - Updated dependencies [cd7346b0d]
20
+ - Updated dependencies [0e0537005]
21
+ - Updated dependencies [69a728375]
22
+ - @modern-js/utils@1.7.2
23
+ - @modern-js/server-utils@1.2.5
24
+ - @modern-js/babel-compiler@1.2.4
25
+
26
+ ## 1.2.6
27
+
28
+ ### Patch Changes
29
+
30
+ - 895fa0ff: chore: using "workspace:\*" in devDependencies
31
+ - Updated dependencies [2d155c4c]
32
+ - Updated dependencies [123e432d]
33
+ - Updated dependencies [e5a9b26d]
34
+ - Updated dependencies [0b26b93b]
35
+ - Updated dependencies [123e432d]
36
+ - Updated dependencies [f9f66ef9]
37
+ - Updated dependencies [592edabc]
38
+ - Updated dependencies [895fa0ff]
39
+ - Updated dependencies [3578913e]
40
+ - Updated dependencies [1c3beab3]
41
+ - @modern-js/utils@1.6.0
42
+ - @modern-js/server-utils@1.2.4
13
43
 
14
44
  ## 1.2.5
15
45
 
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "0.0.0-canary-20220425114412",
14
+ "version": "0.0.0-canary-20220511090154",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -29,18 +29,18 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@babel/runtime": "^7",
32
- "@modern-js/babel-compiler": "^1.2.3",
33
- "@modern-js/server-utils": "^0.0.0-canary-20220425114412",
34
- "@modern-js/utils": "^0.0.0-canary-20220425114412"
32
+ "@modern-js/babel-compiler": "^0.0.0-canary-20220511090154",
33
+ "@modern-js/server-utils": "^0.0.0-canary-20220511090154",
34
+ "@modern-js/utils": "^0.0.0-canary-20220511090154"
35
35
  },
36
36
  "devDependencies": {
37
- "@modern-js/plugin-analyze": "0.0.0-canary-20220425114412",
37
+ "@modern-js/plugin-analyze": "0.0.0-canary-20220511090154",
38
38
  "@types/babel__core": "^7.1.15",
39
39
  "@types/jest": "^26",
40
40
  "@types/node": "^14",
41
41
  "ts-jest": "^27.0.5",
42
42
  "typescript": "^4",
43
- "@modern-js/core": "0.0.0-canary-20220425114412",
43
+ "@modern-js/core": "0.0.0-canary-20220511090154",
44
44
  "@scripts/build": "0.0.0",
45
45
  "jest": "^27",
46
46
  "@scripts/jest-config": "0.0.0"
@@ -50,11 +50,33 @@
50
50
  "registry": "https://registry.npmjs.org/",
51
51
  "access": "public"
52
52
  },
53
+ "wireit": {
54
+ "build": {
55
+ "command": "modern build",
56
+ "files": [
57
+ "src/**/*.ts",
58
+ "tsconfig.json",
59
+ "package.json"
60
+ ],
61
+ "output": [
62
+ "dist/**/*.js"
63
+ ]
64
+ },
65
+ "test": {
66
+ "command": "jest --passWithNoTests",
67
+ "files": [
68
+ "src/**/*.ts",
69
+ "tsconfig.json",
70
+ "package.json"
71
+ ],
72
+ "output": []
73
+ }
74
+ },
53
75
  "scripts": {
54
76
  "new": "modern new",
55
- "build": "modern build",
77
+ "build": "wireit",
56
78
  "dev": "modern build --watch",
57
- "test": "jest --passWithNoTests"
79
+ "test": "wireit"
58
80
  },
59
81
  "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"
60
82
  }
package/.eslintrc.js DELETED
@@ -1,8 +0,0 @@
1
- module.exports = {
2
- root: true,
3
- extends: ['@modern-js'],
4
- parserOptions: {
5
- tsconfigRootDir: __dirname,
6
- project: ['./tsconfig.json'],
7
- },
8
- };
package/jest.config.js DELETED
@@ -1,7 +0,0 @@
1
- const sharedConfig = require('@scripts/jest-config');
2
-
3
- /** @type {import('@jest/types').Config.InitialOptions} */
4
- module.exports = {
5
- ...sharedConfig,
6
- rootDir: __dirname,
7
- };
package/modern.config.js DELETED
@@ -1,6 +0,0 @@
1
- /** @type {import('@modern-js/module-tools').UserConfig} */
2
- module.exports = {
3
- output: {
4
- packageMode: 'node-js',
5
- },
6
- };
package/tsconfig.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "extends": "@modern-js/tsconfig/base",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "jsx": "preserve",
6
- "baseUrl": ".",
7
- "skipLibCheck": true,
8
- "esModuleInterop": true,
9
- "isolatedModules": true,
10
- "paths": {},
11
- "types": ["node", "jest"]
12
- },
13
- "include": ["src"]
14
- }