@modern-js/plugin-changeset 1.2.5 → 1.2.8

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,5 +1,37 @@
1
1
  # @modern-js/plugin-changeset
2
2
 
3
+ ## 1.2.8
4
+
5
+ ### Patch Changes
6
+
7
+ - a1198d509: feat: bump babel 7.18.0
8
+ - Updated dependencies [a1198d509]
9
+ - @modern-js/i18n-cli-language-detector@1.2.4
10
+ - @modern-js/plugin-i18n@1.2.7
11
+
12
+ ## 1.2.7
13
+
14
+ ### Patch Changes
15
+
16
+ - d32f35134: chore: add modern/jest/eslint/ts config files to .npmignore
17
+ - Updated dependencies [d32f35134]
18
+ - Updated dependencies [6ae4a34ae]
19
+ - Updated dependencies [b80229c79]
20
+ - Updated dependencies [948cc4436]
21
+ - @modern-js/i18n-cli-language-detector@1.2.3
22
+ - @modern-js/plugin-i18n@1.2.6
23
+ - @modern-js/utils@1.7.3
24
+
25
+ ## 1.2.6
26
+
27
+ ### Patch Changes
28
+
29
+ - 69a728375: fix: remove exports.jsnext:source after publish
30
+ - Updated dependencies [cd7346b0d]
31
+ - Updated dependencies [69a728375]
32
+ - @modern-js/utils@1.7.2
33
+ - @modern-js/plugin-i18n@1.2.5
34
+
3
35
  ## 1.2.5
4
36
 
5
37
  ### Patch Changes
@@ -1,2 +1,3 @@
1
+ import { execa } from '@modern-js/utils';
1
2
  export declare const CHANGESET_PATH: string;
2
- export declare function execaWithStreamLog(command: string, args: string[]): import("@modern-js/utils/compiled/execa").ExecaChildProcess<string>;
3
+ export declare function execaWithStreamLog(command: string, args: string[]): execa.ExecaChildProcess<string>;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.2.5",
14
+ "version": "1.2.8",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -32,18 +32,18 @@
32
32
  }
33
33
  },
34
34
  "dependencies": {
35
- "@babel/runtime": "^7",
35
+ "@babel/runtime": "^7.18.0",
36
36
  "@changesets/cli": "2.16.0",
37
37
  "@changesets/git": "^1.1.2",
38
- "@modern-js/i18n-cli-language-detector": "^1.2.2",
39
- "@modern-js/plugin-i18n": "^1.2.4",
40
- "@modern-js/utils": "^1.5.0",
38
+ "@modern-js/i18n-cli-language-detector": "^1.2.4",
39
+ "@modern-js/plugin-i18n": "^1.2.7",
40
+ "@modern-js/utils": "^1.7.6",
41
41
  "execa": "^5.1.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@modern-js/core": "1.8.0",
44
+ "@modern-js/core": "1.11.2",
45
45
  "@scripts/build": "0.0.0",
46
- "@types/jest": "^26",
46
+ "@types/jest": "^27",
47
47
  "@types/node": "^14",
48
48
  "typescript": "^4",
49
49
  "jest": "^27",
@@ -54,11 +54,34 @@
54
54
  "registry": "https://registry.npmjs.org/",
55
55
  "access": "public"
56
56
  },
57
+ "wireit": {
58
+ "build": {
59
+ "command": "modern build",
60
+ "files": [
61
+ "src/**/*",
62
+ "tsconfig.json",
63
+ "package.json"
64
+ ],
65
+ "output": [
66
+ "dist/**/*"
67
+ ]
68
+ },
69
+ "test": {
70
+ "command": "jest --passWithNoTests",
71
+ "files": [
72
+ "src/**/*",
73
+ "tsconfig.json",
74
+ "package.json",
75
+ "tests/**/*"
76
+ ],
77
+ "output": []
78
+ }
79
+ },
57
80
  "scripts": {
58
81
  "new": "modern new",
59
82
  "dev": "modern build --watch",
60
- "build": "modern build",
61
- "test": "jest --passWithNoTests"
83
+ "build": "wireit",
84
+ "test": "wireit"
62
85
  },
63
86
  "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"
64
87
  }
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,11 +0,0 @@
1
- {
2
- "extends": "@modern-js/tsconfig/base",
3
- "compilerOptions": {
4
- "declaration": false,
5
- "jsx": "preserve",
6
- "baseUrl": "./",
7
- "isolatedModules": true,
8
- "paths": {}
9
- },
10
- "include": ["src"]
11
- }