@modern-js/plugin-server-build 0.0.0-bundle-deps-2021101244657 → 0.0.0-canary-20220121065829

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,38 @@
1
1
  # @modern-js/plugin-server-build
2
2
 
3
- ## 0.0.0-bundle-deps-2021101244657
3
+ ## 0.0.0-canary-20220121065829
4
+
5
+ ### Minor Changes
6
+
7
+ - cfe11628: Make Modern.js self bootstraping
4
8
 
5
9
  ### Patch Changes
6
10
 
7
- - test
8
- - Updated dependencies [undefined]
9
- - @modern-js/core@0.0.0-bundle-deps-2021101244657
10
- - @modern-js/server-utils@0.0.0-bundle-deps-2021101244657
11
- - @modern-js/babel-compiler@0.0.0-bundle-deps-2021101244657
12
- - @modern-js/utils@0.0.0-bundle-deps-2021101244657
11
+ - Updated dependencies [2da09c69]
12
+ - Updated dependencies [fc71e36f]
13
+ - Updated dependencies [146dcd85]
14
+ - Updated dependencies [c3d46ee4]
15
+ - Updated dependencies [cfe11628]
16
+ - Updated dependencies [146dcd85]
17
+ - Updated dependencies [146dcd85]
18
+ - @modern-js/utils@0.0.0-canary-20220121065829
19
+ - @modern-js/core@0.0.0-canary-20220121065829
20
+ - @modern-js/server-utils@0.0.0-canary-20220121065829
21
+ - @modern-js/babel-compiler@0.0.0-canary-20220121065829
22
+
23
+ ## 1.1.1
24
+
25
+ ### Patch Changes
26
+
27
+ - 0fa83663: support more .env files
28
+ - Updated dependencies [6f7fe574]
29
+ - Updated dependencies [b011e0c5]
30
+ - Updated dependencies [0fa83663]
31
+ - Updated dependencies [f594fbc8]
32
+ - @modern-js/core@1.1.2
33
+ - @modern-js/server-utils@1.1.1
34
+ - @modern-js/babel-compiler@1.1.2
35
+ - @modern-js/utils@1.1.2
13
36
 
14
37
  ## 1.1.0
15
38
 
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-2021101244657",
14
+ "version": "0.0.0-canary-20220121065829",
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-2021101244657",
32
- "@modern-js/server-utils": "0.0.0-bundle-deps-2021101244657",
33
- "@modern-js/utils": "0.0.0-bundle-deps-2021101244657",
32
+ "@modern-js/babel-compiler": "^0.0.0-canary-20220121065829",
33
+ "@modern-js/server-utils": "^0.0.0-canary-20220121065829",
34
+ "@modern-js/utils": "^0.0.0-canary-20220121065829",
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-2021101244657",
39
+ "@modern-js/plugin-analyze": "^0.0.0-canary-20220121065829",
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-2021101244657",
45
- "@modern-js/plugin-testing": "^0.0.0-bundle-deps-2021101244657",
46
- "@modern-js/module-tools": "^0.0.0-bundle-deps-2021101244657"
45
+ "@modern-js/core": "^0.0.0-canary-20220121065829",
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-2021101244657"
51
+ "@modern-js/core": "^0.0.0-canary-20220121065829"
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"]