@yarn-tool/detect-package-manager 1.0.9 → 1.0.10

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -3,6 +3,32 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.0.10](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/detect-package-manager@1.0.9...@yarn-tool/detect-package-manager@1.0.10) (2026-09-06)
7
+
8
+
9
+
10
+ ### 🚨 Tests
11
+
12
+ * **@yarn-tool/detect-package-manager:** 將測試驗證方式從 snapshot 改為內容比對 ([ee6f231](https://github.com/bluelovers/ws-yarn-workspaces/commit/ee6f2311f1caa4ffac16ca7c8069a4f31fb4ef09))
13
+ * **tests:** 新增與更新多個套件的單元測試快照 ([11628a4](https://github.com/bluelovers/ws-yarn-workspaces/commit/11628a47aa48be30829cf615a52d7b2b1b273d43))
14
+
15
+
16
+ ### 🛠 Build System
17
+
18
+ * update Static Files ([b2f5d72](https://github.com/bluelovers/ws-yarn-workspaces/commit/b2f5d7216773c53eb35f267ba34f8788543d46a1))
19
+
20
+
21
+ ### ♻️ Chores
22
+
23
+ * **workspace:** 將所有套件的指令從 yarn 改為 pnpm 並更新依賴版本 ([0505892](https://github.com/bluelovers/ws-yarn-workspaces/commit/0505892e5e7c356f8cf59495fefda1aa681499c6))
24
+
25
+
26
+ ### 🔖 Miscellaneous
27
+
28
+ * . ([b545589](https://github.com/bluelovers/ws-yarn-workspaces/commit/b54558925d67304019e2b4f9bb3c4671c429a96e))
29
+
30
+
31
+
6
32
  ## [1.0.9](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/detect-package-manager@1.0.8...@yarn-tool/detect-package-manager@1.0.9) (2026-04-26)
7
33
 
8
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yarn-tool/detect-package-manager",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Detect available package manager (yarn, npm, pnpm) using which command",
5
5
  "keywords": [
6
6
  "detect",
@@ -36,9 +36,9 @@
36
36
  "main": "index.js",
37
37
  "scripts": {
38
38
  "review": "node --run review:coverage",
39
- "review:coverage": "yarn run lint && yarn run coverage",
40
- "review:test": "yarn run lint && yarn run test",
41
- "coverage": "yarn run test -- --coverage",
39
+ "review:coverage": "pnpm run lint && pnpm run coverage",
40
+ "review:test": "pnpm run lint && pnpm run test",
41
+ "coverage": "pnpm run test -- --coverage",
42
42
  "lint": "node --run lint:eslint",
43
43
  "lint:eslint": "ynpx eslint --ext .ts,.tsx,.mts,.cts ./",
44
44
  "pretest": "echo pretest",
@@ -47,7 +47,7 @@
47
47
  "test:jest:coverage": "node --run test:jest -- --coverage",
48
48
  "test:jest:snapshot": "node --run test:jest -- -u",
49
49
  "test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
50
- "test:snapshot": "yarn run test -- -u",
50
+ "test:snapshot": "pnpm run test -u",
51
51
  "test:tsd": "ynpx tsd",
52
52
  "test:tsdx": "ynpx @bluelovers/tsdx test --passWithNoTests",
53
53
  "build:dts:bundle": "ynpx @bluelovers/dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle",
@@ -58,7 +58,7 @@
58
58
  "build:tsdx": "ynpx @bluelovers/tsdx build --target node --name index",
59
59
  "ci:install": "echo ci:install",
60
60
  "ci:build": "echo ci:build",
61
- "preversion": "echo preversion && yarn run test",
61
+ "preversion": "echo preversion && pnpm run test",
62
62
  "version": "echo version",
63
63
  "postversion": "echo postversion",
64
64
  "prepublish": "echo prepublish",
@@ -78,10 +78,10 @@
78
78
  "dependencies": {
79
79
  "@types/which": "^3.0.4",
80
80
  "tslib": ">=2.8.1",
81
- "which": "^6.0.1"
81
+ "which": "^7.0.0"
82
82
  },
83
83
  "publishConfig": {
84
84
  "access": "public"
85
85
  },
86
- "gitHead": "8c939a673ef0f088d4a3aa8a240ed6c28d390f98"
86
+ "gitHead": "008888d233d299e89673cbc45a2712ba9bf825c1"
87
87
  }