@modern-js/plugin-server-build 0.0.0-bundle-deps-202110123508 → 0.0.0-canary-20220118120919

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/CHANGELOG.md CHANGED
@@ -1,15 +1,37 @@
1
1
  # @modern-js/plugin-server-build
2
2
 
3
- ## 0.0.0-bundle-deps-202110123508
3
+ ## 0.0.0-canary-20220118120919
4
+
5
+ ### Minor Changes
6
+
7
+ - cfe11628: Make Modern.js self bootstraping
4
8
 
5
9
  ### Patch Changes
6
10
 
7
- - test node_modules size
8
- - Updated dependencies [undefined]
9
- - @modern-js/core@0.0.0-bundle-deps-202110123508
10
- - @modern-js/server-utils@0.0.0-bundle-deps-202110123508
11
- - @modern-js/utils@0.0.0-bundle-deps-202110123508
12
- - @modern-js/babel-compiler@0.0.0-bundle-deps-202110123508
11
+ - Updated dependencies [fc71e36f]
12
+ - Updated dependencies [146dcd85]
13
+ - Updated dependencies [c3d46ee4]
14
+ - Updated dependencies [cfe11628]
15
+ - Updated dependencies [146dcd85]
16
+ - Updated dependencies [146dcd85]
17
+ - @modern-js/core@0.0.0-canary-20220118120919
18
+ - @modern-js/server-utils@0.0.0-canary-20220118120919
19
+ - @modern-js/utils@0.0.0-canary-20220118120919
20
+ - @modern-js/babel-compiler@0.0.0-canary-20220118120919
21
+
22
+ ## 1.1.1
23
+
24
+ ### Patch Changes
25
+
26
+ - 0fa83663: support more .env files
27
+ - Updated dependencies [6f7fe574]
28
+ - Updated dependencies [b011e0c5]
29
+ - Updated dependencies [0fa83663]
30
+ - Updated dependencies [f594fbc8]
31
+ - @modern-js/core@1.1.2
32
+ - @modern-js/server-utils@1.1.1
33
+ - @modern-js/babel-compiler@1.1.2
34
+ - @modern-js/utils@1.1.2
13
35
 
14
36
  ## 1.1.0
15
37
 
package/jest.config.js ADDED
@@ -0,0 +1,8 @@
1
+ const sharedConfig = require('@scripts/jest-config');
2
+
3
+ /** @type {import('@jest/types').Config.InitialOptions} */
4
+ module.exports = {
5
+ // eslint-disable-next-line node/no-unsupported-features/es-syntax
6
+ ...sharedConfig,
7
+ rootDir: __dirname,
8
+ };
package/modern.config.js CHANGED
@@ -1,10 +1,2 @@
1
1
  /** @type {import('@modern-js/module-tools').UserConfig} */
2
- module.exports = {
3
- testing: {
4
- jest: {
5
- collectCoverage: true,
6
- collectCoverageFrom: ['src/**/*.ts'],
7
- coveragePathIgnorePatterns: ['/node_modules/'],
8
- },
9
- },
10
- };
2
+ module.exports = {};
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "0.0.0-bundle-deps-202110123508",
14
+ "version": "0.0.0-canary-20220118120919",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -20,6 +20,7 @@
20
20
  "exports": {
21
21
  ".": {
22
22
  "node": {
23
+ "jsnext:source": "./src/index.ts",
23
24
  "import": "./dist/js/modern/index.js",
24
25
  "require": "./dist/js/node/index.js"
25
26
  },
@@ -28,25 +29,26 @@
28
29
  },
29
30
  "dependencies": {
30
31
  "@babel/runtime": "^7",
31
- "@modern-js/babel-compiler": "^0.0.0-bundle-deps-202110123508",
32
- "@modern-js/server-utils": "^0.0.0-bundle-deps-202110123508",
33
- "@modern-js/utils": "^0.0.0-bundle-deps-202110123508",
32
+ "@modern-js/babel-compiler": "^0.0.0-canary-20220118120919",
33
+ "@modern-js/server-utils": "^0.0.0-canary-20220118120919",
34
+ "@modern-js/utils": "^0.0.0-canary-20220118120919",
34
35
  "globby": "^12.0.2",
35
36
  "json5": "^2.2.0"
36
37
  },
37
38
  "devDependencies": {
38
- "@modern-js/plugin-analyze": "^0.0.0-bundle-deps-202110123508",
39
+ "@modern-js/plugin-analyze": "^0.0.0-canary-20220118120919",
39
40
  "@types/babel__core": "^7.1.15",
40
41
  "@types/jest": "^26",
41
42
  "@types/node": "^14",
42
43
  "ts-jest": "^27.0.5",
43
44
  "typescript": "^4",
44
- "@modern-js/core": "^0.0.0-bundle-deps-202110123508",
45
- "@modern-js/plugin-testing": "^0.0.0-bundle-deps-202110123508",
46
- "@modern-js/module-tools": "^0.0.0-bundle-deps-202110123508"
45
+ "@modern-js/core": "^0.0.0-canary-20220118120919",
46
+ "@scripts/build": "0.0.0",
47
+ "jest": "^27",
48
+ "@scripts/jest-config": "0.0.0"
47
49
  },
48
50
  "peerDependencies": {
49
- "@modern-js/core": "^0.0.0-bundle-deps-202110123508"
51
+ "@modern-js/core": "^0.0.0-canary-20220118120919"
50
52
  },
51
53
  "sideEffects": false,
52
54
  "modernConfig": {
@@ -56,12 +58,14 @@
56
58
  },
57
59
  "publishConfig": {
58
60
  "registry": "https://registry.npmjs.org/",
59
- "access": "public"
61
+ "access": "public",
62
+ "types": "./dist/types/index.d.ts"
60
63
  },
61
64
  "scripts": {
62
65
  "new": "modern new",
63
66
  "build": "modern build",
64
67
  "dev": "modern build --watch",
65
- "test": "modern test --passWithNoTests"
66
- }
68
+ "test": "jest --passWithNoTests"
69
+ },
70
+ "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"
67
71
  }
@@ -0,0 +1,7 @@
1
+ import plugin from '../src';
2
+
3
+ describe('plugin-server-build', () => {
4
+ it('default', () => {
5
+ expect(plugin).toBeDefined();
6
+ });
7
+ });
package/tsconfig.json CHANGED
@@ -7,9 +7,7 @@
7
7
  "skipLibCheck": true,
8
8
  "esModuleInterop": true,
9
9
  "isolatedModules": true,
10
- "paths": {
11
- "@/*": ["./src/*"]
12
- },
10
+ "paths": {},
13
11
  "types": ["node", "jest"]
14
12
  },
15
13
  "include": ["src", "src/.ts"]