@modern-js/plugin-changeset 1.2.1 → 1.2.2

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,15 @@
1
1
  # @modern-js/plugin-changeset
2
2
 
3
+ ## 1.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 6668a1bf: feat: package manager options support npm
8
+ - Updated dependencies [deeaa602]
9
+ - Updated dependencies [54786e58]
10
+ - @modern-js/utils@1.3.2
11
+ - @modern-js/core@1.4.3
12
+
3
13
  ## 1.2.1
4
14
 
5
15
  ### Patch Changes
@@ -19,7 +19,7 @@ export async function release(options) {
19
19
  params.push(tag);
20
20
  }
21
21
 
22
- if (!isMonorepo || packageManager === 'yarn') {
22
+ if (!isMonorepo || packageManager === 'yarn' || packageManager === 'npm') {
23
23
  await execaWithStreamLog(process.execPath, [CHANGESET_PATH, ...params]);
24
24
  return;
25
25
  }
@@ -32,7 +32,7 @@ async function release(options) {
32
32
  params.push(tag);
33
33
  }
34
34
 
35
- if (!isMonorepo || packageManager === 'yarn') {
35
+ if (!isMonorepo || packageManager === 'yarn' || packageManager === 'npm') {
36
36
  await (0, _utils2.execaWithStreamLog)(process.execPath, [_utils2.CHANGESET_PATH, ...params]);
37
37
  return;
38
38
  }
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.2.1",
14
+ "version": "1.2.2",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -37,11 +37,11 @@
37
37
  "@changesets/git": "^1.1.2",
38
38
  "@modern-js/i18n-cli-language-detector": "^1.2.1",
39
39
  "@modern-js/plugin-i18n": "^1.2.1",
40
- "@modern-js/utils": "^1.2.2",
40
+ "@modern-js/utils": "^1.3.2",
41
41
  "execa": "^5.1.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@modern-js/core": "^1.3.2",
44
+ "@modern-js/core": "^1.4.3",
45
45
  "@scripts/build": "0.0.0",
46
46
  "@types/jest": "^26",
47
47
  "@types/node": "^14",
@@ -50,7 +50,7 @@
50
50
  "@scripts/jest-config": "0.0.0"
51
51
  },
52
52
  "peerDependencies": {
53
- "@modern-js/core": "^1.3.2"
53
+ "@modern-js/core": "^1.4.3"
54
54
  },
55
55
  "sideEffects": false,
56
56
  "modernConfig": {
@@ -60,8 +60,7 @@
60
60
  },
61
61
  "publishConfig": {
62
62
  "registry": "https://registry.npmjs.org/",
63
- "access": "public",
64
- "types": "./dist/types/index.d.ts"
63
+ "access": "public"
65
64
  },
66
65
  "scripts": {
67
66
  "new": "modern new",
@@ -0,0 +1,13 @@
1
+ {
2
+ "extends": "@modern-js/tsconfig/base",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "jsx": "preserve",
6
+ "baseUrl": "./",
7
+ "outDir": "./out",
8
+ "emitDeclarationOnly": true,
9
+ "isolatedModules": true,
10
+ "paths": {},
11
+ "types": ["node", "jest"]
12
+ }
13
+ }