@yarn-tool/workspaces-project 3.0.0 → 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 CHANGED
@@ -3,6 +3,36 @@
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
+
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)
22
+
23
+
24
+
25
+ ### 📌 Dependencies
26
+
27
+ * update deps ([d48c90a](https://github.com/bluelovers/ws-yarn-workspaces/commit/d48c90a1f35e626fb9a4dcbb7bad5c5e1164dce1))
28
+
29
+
30
+ ### 🔖 Miscellaneous
31
+
32
+ * . ([483dfb5](https://github.com/bluelovers/ws-yarn-workspaces/commit/483dfb5d07210e6313ba2b54e7723c5f49e35437))
33
+
34
+
35
+
6
36
  # [3.0.0](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/workspaces-project@2.0.22...@yarn-tool/workspaces-project@3.0.0) (2023-10-10)
7
37
 
8
38
 
package/lib/util.js CHANGED
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.checkPaths = exports.EnumCheckPaths = void 0;
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":";;;;AAAA,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;AAlCD,gCAkCC","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"]}
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.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.0",
40
- "find-yarn-workspace-root2": "^1.2.49",
41
- "fs-extra": "^11.1.1",
39
+ "@yarn-tool/changelog": "^3.0.2",
40
+ "find-yarn-workspace-root2": "^1.2.50",
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.5",
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": "2b9ea5ea131c1852988b3270d38d594ad3e70559"
52
+ "gitHead": "089606f66f3c5501a8f3fdfc42e5a85b57f4d0e9"
53
53
  }