@yarn-tool/workspaces-project 3.0.1 → 3.0.3
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 +25 -0
- package/index.d.ts +20 -20
- package/lib/util.js +2 -2
- package/lib/util.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,31 @@
|
|
|
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
|
+
## [3.0.3](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/workspaces-project@3.0.2...@yarn-tool/workspaces-project@3.0.3) (2025-09-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### 🛠 Build System
|
|
11
|
+
|
|
12
|
+
* update build ([29d39a7](https://github.com/bluelovers/ws-yarn-workspaces/commit/29d39a7b06544a59a7624dfd4d2d33ed08c1b379))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [3.0.2](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/workspaces-project@3.0.1...@yarn-tool/workspaces-project@3.0.2) (2024-05-03)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### 🛠 Build System
|
|
21
|
+
|
|
22
|
+
* update typescript ([ffa656a](https://github.com/bluelovers/ws-yarn-workspaces/commit/ffa656aefe53966db445d52234eb0efe4651e3dd))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### 📌 Dependencies
|
|
26
|
+
|
|
27
|
+
* update deps ([f731d88](https://github.com/bluelovers/ws-yarn-workspaces/commit/f731d88db6e63d180e2db2e493beb42e84eb8e16))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
6
31
|
## [3.0.1](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/workspaces-project@3.0.0...@yarn-tool/workspaces-project@3.0.1) (2024-02-28)
|
|
7
32
|
|
|
8
33
|
|
package/index.d.ts
CHANGED
|
@@ -40,20 +40,20 @@ export declare class WorkspacesProject {
|
|
|
40
40
|
}, {
|
|
41
41
|
concurrency?: number;
|
|
42
42
|
bump?: IReleaseType;
|
|
43
|
-
allowBranch?:
|
|
43
|
+
allowBranch?: import("@ts-type/package-dts/lib/types").IBranch[];
|
|
44
44
|
conventionalCommits?: boolean;
|
|
45
|
-
changelogPreset?: string;
|
|
45
|
+
changelogPreset?: string | "@bluelovers/conventional-changelog-bluelovers";
|
|
46
46
|
exact?: boolean;
|
|
47
|
-
createRelease?: "
|
|
47
|
+
createRelease?: "gitlab" | "github";
|
|
48
48
|
noPrivate?: boolean;
|
|
49
49
|
}> & Pick<{
|
|
50
50
|
concurrency?: number;
|
|
51
51
|
bump?: IReleaseType;
|
|
52
|
-
allowBranch?:
|
|
52
|
+
allowBranch?: import("@ts-type/package-dts/lib/types").IBranch[];
|
|
53
53
|
conventionalCommits?: boolean;
|
|
54
|
-
changelogPreset?: string;
|
|
54
|
+
changelogPreset?: string | "@bluelovers/conventional-changelog-bluelovers";
|
|
55
55
|
exact?: boolean;
|
|
56
|
-
createRelease?: "
|
|
56
|
+
createRelease?: "gitlab" | "github";
|
|
57
57
|
noPrivate?: boolean;
|
|
58
58
|
} | {
|
|
59
59
|
[k: string]: unknown;
|
|
@@ -66,11 +66,11 @@ export declare class WorkspacesProject {
|
|
|
66
66
|
}, {
|
|
67
67
|
concurrency?: number;
|
|
68
68
|
bump?: IReleaseType;
|
|
69
|
-
allowBranch?:
|
|
69
|
+
allowBranch?: import("@ts-type/package-dts/lib/types").IBranch[];
|
|
70
70
|
conventionalCommits?: boolean;
|
|
71
|
-
changelogPreset?: string;
|
|
71
|
+
changelogPreset?: string | "@bluelovers/conventional-changelog-bluelovers";
|
|
72
72
|
exact?: boolean;
|
|
73
|
-
createRelease?: "
|
|
73
|
+
createRelease?: "gitlab" | "github";
|
|
74
74
|
noPrivate?: boolean;
|
|
75
75
|
}>> & import("ts-type").ITSPickBothDiff<{
|
|
76
76
|
[k: string]: unknown;
|
|
@@ -81,18 +81,18 @@ export declare class WorkspacesProject {
|
|
|
81
81
|
bump?: IReleaseType;
|
|
82
82
|
conventionalCommits?: boolean;
|
|
83
83
|
conventionalGraduate?: boolean;
|
|
84
|
-
distTag?:
|
|
85
|
-
npmClient?:
|
|
86
|
-
allowBranch?:
|
|
84
|
+
distTag?: import("@yarn-tool/ncu").IPackageJsonTag;
|
|
85
|
+
npmClient?: import("@ts-type/package-dts/lerna-json").INpmClient;
|
|
86
|
+
allowBranch?: import("@ts-type/package-dts/lib/types").IBranch[];
|
|
87
87
|
noPrivate?: boolean;
|
|
88
88
|
}> & Pick<{
|
|
89
89
|
concurrency?: number;
|
|
90
90
|
bump?: IReleaseType;
|
|
91
91
|
conventionalCommits?: boolean;
|
|
92
92
|
conventionalGraduate?: boolean;
|
|
93
|
-
distTag?:
|
|
94
|
-
npmClient?:
|
|
95
|
-
allowBranch?:
|
|
93
|
+
distTag?: import("@yarn-tool/ncu").IPackageJsonTag;
|
|
94
|
+
npmClient?: import("@ts-type/package-dts/lerna-json").INpmClient;
|
|
95
|
+
allowBranch?: import("@ts-type/package-dts/lib/types").IBranch[];
|
|
96
96
|
noPrivate?: boolean;
|
|
97
97
|
} | {
|
|
98
98
|
[k: string]: unknown;
|
|
@@ -107,13 +107,13 @@ export declare class WorkspacesProject {
|
|
|
107
107
|
bump?: IReleaseType;
|
|
108
108
|
conventionalCommits?: boolean;
|
|
109
109
|
conventionalGraduate?: boolean;
|
|
110
|
-
distTag?:
|
|
111
|
-
npmClient?:
|
|
112
|
-
allowBranch?:
|
|
110
|
+
distTag?: import("@yarn-tool/ncu").IPackageJsonTag;
|
|
111
|
+
npmClient?: import("@ts-type/package-dts/lerna-json").INpmClient;
|
|
112
|
+
allowBranch?: import("@ts-type/package-dts/lib/types").IBranch[];
|
|
113
113
|
noPrivate?: boolean;
|
|
114
114
|
}>>, {
|
|
115
|
-
changelogPreset:
|
|
116
|
-
conventionalGraduate:
|
|
115
|
+
changelogPreset: import("@ts-type/package-dts/lerna-json").ILernaJsonCommand["version"]["changelogPreset"];
|
|
116
|
+
conventionalGraduate: import("@ts-type/package-dts/lerna-json").ILernaJsonCommand["publish"]["conventionalGraduate"];
|
|
117
117
|
bump: IReleaseType;
|
|
118
118
|
}>;
|
|
119
119
|
existsLernaConfigFile(): boolean;
|
package/lib/util.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.EnumCheckPaths = void 0;
|
|
4
|
+
exports.checkPaths = checkPaths;
|
|
4
5
|
const tslib_1 = require("tslib");
|
|
5
6
|
const path_dir_normalize_1 = tslib_1.__importDefault(require("path-dir-normalize"));
|
|
6
7
|
var EnumCheckPaths;
|
|
@@ -29,5 +30,4 @@ function checkPaths(input, options) {
|
|
|
29
30
|
}
|
|
30
31
|
return -1 /* EnumCheckPaths.failed */;
|
|
31
32
|
}
|
|
32
|
-
exports.checkPaths = checkPaths;
|
|
33
33
|
//# sourceMappingURL=util.js.map
|
package/lib/util.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.js","sourceRoot":"","sources":["util.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"util.js","sourceRoot":"","sources":["util.ts"],"names":[],"mappings":";;;AASA,gCAkCC;;AA3CD,oFAAkD;AAElD,IAAkB,cAKjB;AALD,WAAkB,cAAc;IAE/B,mDAAQ,CAAA;IACR,2DAAY,CAAA;IACZ,wDAAW,CAAA;AACZ,CAAC,EALiB,cAAc,8BAAd,cAAc,QAK/B;AAED,SAAgB,UAAU,CAAC,KAG1B,EAAE,OAEF;IAEA,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAA;IAE9B,IAAI,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,MAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,CAAA,EACpC,CAAC;QACA,IAAI,GAAG,IAAA,4BAAgB,EAAC,IAAI,CAAC,CAAA;QAC7B,QAAQ,GAAG,IAAA,4BAAgB,EAAC,QAAQ,CAAC,CAAA;QAErC,IAAI,IAAI,KAAK,QAAQ,EACrB,CAAC;YACA,IAAI,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAChC,CAAC;gBACA,mCAA0B;YAC3B,CAAC;iBACI,IAAI,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,eAAe,CAAA,EAClC,CAAC;gBACA,sCAA4B;YAC7B,CAAC;QACF,CAAC;QAED,uCAA8B;IAC/B,CAAC;SACI,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,EACzB,CAAC;QACA,uCAA8B;IAC/B,CAAC;IAED,sCAA4B;AAC7B,CAAC","sourcesContent":["import pathDirNormalize from 'path-dir-normalize';\n\nexport const enum EnumCheckPaths\n{\n\troot = 1,\n\trootPath = 0,\n\tfailed = -1\n}\n\nexport function checkPaths(input: {\n\troot,\n\trootPath,\n}, options?: {\n\tskipStrictCheck?: boolean\n}): EnumCheckPaths\n{\n\tlet { root, rootPath } = input\n\n\tif (root?.length && rootPath?.length)\n\t{\n\t\troot = pathDirNormalize(root)\n\t\trootPath = pathDirNormalize(rootPath)\n\n\t\tif (root !== rootPath)\n\t\t{\n\t\t\tif (rootPath.indexOf(root) === 0)\n\t\t\t{\n\t\t\t\treturn EnumCheckPaths.root\n\t\t\t}\n\t\t\telse if (!options?.skipStrictCheck)\n\t\t\t{\n\t\t\t\treturn EnumCheckPaths.failed\n\t\t\t}\n\t\t}\n\n\t\treturn EnumCheckPaths.rootPath\n\t}\n\telse if (rootPath?.length)\n\t{\n\t\treturn EnumCheckPaths.rootPath\n\t}\n\n\treturn EnumCheckPaths.failed\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yarn-tool/workspaces-project",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "mixin yarn/lerna workspaces",
|
|
5
5
|
"homepage": "https://github.com/bluelovers/ws-yarn-workspaces/tree/master/packages/@yarn-tool/workspaces-project#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"@lerna/project": "^6.4.1",
|
|
37
37
|
"@ts-type/package-dts": "^2.0.8",
|
|
38
38
|
"@types/npm-package-arg": "*",
|
|
39
|
-
"@yarn-tool/changelog": "^3.0.
|
|
40
|
-
"find-yarn-workspace-root2": "^1.2.
|
|
39
|
+
"@yarn-tool/changelog": "^3.0.3",
|
|
40
|
+
"find-yarn-workspace-root2": "^1.2.51",
|
|
41
41
|
"fs-extra": "^11.2.0",
|
|
42
42
|
"lodash": "^4.17.21",
|
|
43
43
|
"path-dir-normalize": "^1.0.29",
|
|
44
|
-
"sort-object-keys2": "^3.0.
|
|
44
|
+
"sort-object-keys2": "^3.0.7",
|
|
45
45
|
"ts-type": "^3.0.1",
|
|
46
46
|
"tslib": ">=2",
|
|
47
47
|
"upath2": "^3.1.19"
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "ca7f14bdac1827ed8e8fe5fd0932ee56a44669dc"
|
|
53
53
|
}
|