@pob/root 28.5.0 → 28.6.1
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.
|
@@ -5,13 +5,6 @@ import fs from "node:fs";
|
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { whichPmRuns } from "../lib/which-pm-runs.js";
|
|
7
7
|
|
|
8
|
-
if (!process.env.INIT_CWD) {
|
|
9
|
-
console.error(
|
|
10
|
-
"Missing process.env.INIT_CWD. Did you use postinstall script ?",
|
|
11
|
-
);
|
|
12
|
-
process.exit(1);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
8
|
// PROJECT_CWD (yarn classic) is always the monorepo root, regardless of
|
|
16
9
|
// invocation directory, so honor it explicitly. Without it, npm/pnpm/bun
|
|
17
10
|
// already set cwd to this script's own package (the root) before running
|
|
@@ -47,7 +47,9 @@ export const getPackageManagerCommands = (pm, isYarnBerry) => {
|
|
|
47
47
|
lockfile: "bun.lock",
|
|
48
48
|
pmRun: "bun run",
|
|
49
49
|
pmExec: "bun run",
|
|
50
|
-
|
|
50
|
+
// npx sets npm_config_user_agent to npm, and bun install keeps it for
|
|
51
|
+
// lifecycle scripts: pob-root-postinstall would then detect npm.
|
|
52
|
+
pmDlx: "bunx",
|
|
51
53
|
ciPreStep: `name: Install bun
|
|
52
54
|
uses: oven-sh/setup-bun@v2`,
|
|
53
55
|
installOnCICommand: "bun i --frozen-lockfile",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pob/root",
|
|
3
|
-
"version": "28.
|
|
3
|
+
"version": "28.6.1",
|
|
4
4
|
"description": "root package",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://github.com/christophehurpeau/pob",
|
|
@@ -66,21 +66,21 @@
|
|
|
66
66
|
"@commitlint/format": "21.2.3",
|
|
67
67
|
"@commitlint/lint": "21.2.4",
|
|
68
68
|
"@commitlint/types": "21.2.3",
|
|
69
|
-
"@pob/version": "8.
|
|
69
|
+
"@pob/version": "8.4.0",
|
|
70
70
|
"conventional-changelog-conventionalcommits": "^10.0.0",
|
|
71
71
|
"conventional-changelog-writer": "^9.0.0",
|
|
72
72
|
"conventional-commits-parser": "^7.0.0",
|
|
73
73
|
"json5": "^2.2.3",
|
|
74
74
|
"lint-staged": "17.6.0",
|
|
75
|
-
"oxfmt": "0.
|
|
76
|
-
"oxlint": "1.
|
|
75
|
+
"oxfmt": "0.75.0",
|
|
76
|
+
"oxlint": "1.90.0",
|
|
77
77
|
"oxlint-tsgolint": "7.0.2005",
|
|
78
78
|
"picomatch": "^4.0.7",
|
|
79
|
-
"pob-dependencies": "28.
|
|
79
|
+
"pob-dependencies": "28.6.0",
|
|
80
80
|
"semver": "^7.7.3"
|
|
81
81
|
},
|
|
82
82
|
"engines": {
|
|
83
|
-
"node": "
|
|
83
|
+
"node": "^22.18.0 || >=24.14.1"
|
|
84
84
|
},
|
|
85
85
|
"pob": {},
|
|
86
86
|
"scripts": {
|