@yarn-tool/workspaces-project 3.0.1 → 3.0.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 +15 -0
- package/index.d.ts +3 -3
- 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,21 @@
|
|
|
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.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)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### 🛠 Build System
|
|
11
|
+
|
|
12
|
+
* update typescript ([ffa656a](https://github.com/bluelovers/ws-yarn-workspaces/commit/ffa656aefe53966db445d52234eb0efe4651e3dd))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### 📌 Dependencies
|
|
16
|
+
|
|
17
|
+
* update deps ([f731d88](https://github.com/bluelovers/ws-yarn-workspaces/commit/f731d88db6e63d180e2db2e493beb42e84eb8e16))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
6
21
|
## [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
22
|
|
|
8
23
|
|
package/index.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare class WorkspacesProject {
|
|
|
44
44
|
conventionalCommits?: boolean;
|
|
45
45
|
changelogPreset?: string;
|
|
46
46
|
exact?: boolean;
|
|
47
|
-
createRelease?: "
|
|
47
|
+
createRelease?: "gitlab" | "github";
|
|
48
48
|
noPrivate?: boolean;
|
|
49
49
|
}> & Pick<{
|
|
50
50
|
concurrency?: number;
|
|
@@ -53,7 +53,7 @@ export declare class WorkspacesProject {
|
|
|
53
53
|
conventionalCommits?: boolean;
|
|
54
54
|
changelogPreset?: string;
|
|
55
55
|
exact?: boolean;
|
|
56
|
-
createRelease?: "
|
|
56
|
+
createRelease?: "gitlab" | "github";
|
|
57
57
|
noPrivate?: boolean;
|
|
58
58
|
} | {
|
|
59
59
|
[k: string]: unknown;
|
|
@@ -70,7 +70,7 @@ export declare class WorkspacesProject {
|
|
|
70
70
|
conventionalCommits?: boolean;
|
|
71
71
|
changelogPreset?: string;
|
|
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;
|
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.2",
|
|
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.2",
|
|
40
|
+
"find-yarn-workspace-root2": "^1.2.50",
|
|
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": "089606f66f3c5501a8f3fdfc42e5a85b57f4d0e9"
|
|
53
53
|
}
|