@pob/root 24.2.1 → 24.3.0
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.
|
@@ -43,8 +43,26 @@ export default async function installVscodeTasks({ pkg }) {
|
|
|
43
43
|
const existingConfig = readJSON5(".vscode/tasks.json");
|
|
44
44
|
const existingTasks = existingConfig?.tasks || [];
|
|
45
45
|
|
|
46
|
-
// filter all npm tasks, we will recreate them right after
|
|
47
|
-
const tasks = existingTasks.filter(
|
|
46
|
+
// filter all npm tasks (and groups we create), we will recreate them right after
|
|
47
|
+
const tasks = existingTasks.filter(
|
|
48
|
+
(task) => task.type !== "npm" && task.label !== "lint",
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
// add git tasks
|
|
52
|
+
|
|
53
|
+
// Git main
|
|
54
|
+
if (tasks.every((task) => task.label !== "git: main")) {
|
|
55
|
+
tasks.unshift({
|
|
56
|
+
label: "git: main",
|
|
57
|
+
type: "shell",
|
|
58
|
+
command: "git main",
|
|
59
|
+
group: { kind: "none" },
|
|
60
|
+
// eslint-disable-next-line no-template-curly-in-string
|
|
61
|
+
options: { cwd: "${workspaceFolder}" },
|
|
62
|
+
presentation: { close: true, panel: "dedicated" },
|
|
63
|
+
problemMatcher: [],
|
|
64
|
+
});
|
|
65
|
+
}
|
|
48
66
|
|
|
49
67
|
if (pkg.scripts) {
|
|
50
68
|
const scriptNames = Object.keys(pkg.scripts);
|
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pob/root",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.3.0",
|
|
4
4
|
"description": "root package",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://github.com/christophehurpeau/pob",
|
|
7
|
+
"bugs": {
|
|
8
|
+
"url": "https://github.com/christophehurpeau/pob/issues"
|
|
9
|
+
},
|
|
7
10
|
"license": "ISC",
|
|
8
11
|
"author": "Christophe Hurpeau <christophe@hurpeau.com> (https://christophe.hurpeau.com)",
|
|
9
12
|
"repository": {
|
|
@@ -55,17 +58,17 @@
|
|
|
55
58
|
},
|
|
56
59
|
"dependencies": {
|
|
57
60
|
"@commitlint/format": "21.0.1",
|
|
58
|
-
"@commitlint/lint": "21.0.
|
|
61
|
+
"@commitlint/lint": "21.0.2",
|
|
59
62
|
"@commitlint/types": "21.0.1",
|
|
60
63
|
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
61
64
|
"conventional-changelog-writer": "^8.2.0",
|
|
62
65
|
"conventional-commits-parser": "^6.2.1",
|
|
63
66
|
"json5": "^2.2.3",
|
|
64
|
-
"lint-staged": "17.0.
|
|
67
|
+
"lint-staged": "17.0.7",
|
|
65
68
|
"oxfmt": "0.51.0",
|
|
66
69
|
"semver": "^7.7.3",
|
|
67
|
-
"@pob/version": "4.1.
|
|
68
|
-
"pob-dependencies": "24.1.
|
|
70
|
+
"@pob/version": "4.1.1",
|
|
71
|
+
"pob-dependencies": "24.1.1"
|
|
69
72
|
},
|
|
70
73
|
"engines": {
|
|
71
74
|
"node": ">=22.18.0"
|