create-yarn-workspaces 2.0.11 → 2.0.14

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,35 @@
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
+ ## [2.0.14](https://github.com/bluelovers/ws-yarn-workspaces/compare/create-yarn-workspaces@2.0.13...create-yarn-workspaces@2.0.14) (2022-08-28)
7
+
8
+ **Note:** Version bump only for package create-yarn-workspaces
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.0.13](https://github.com/bluelovers/ws-yarn-workspaces/compare/create-yarn-workspaces@2.0.12...create-yarn-workspaces@2.0.13) (2022-08-26)
15
+
16
+
17
+
18
+ ### 🔖 Miscellaneous
19
+
20
+ * . ([157d5dc](https://github.com/bluelovers/ws-yarn-workspaces/commit/157d5dc8959261d9326f6e633987182898ae9670))
21
+ * . ([dafc19c](https://github.com/bluelovers/ws-yarn-workspaces/commit/dafc19c43afb42c904b6e7dcc49d93567897c092))
22
+
23
+
24
+
25
+ ## [2.0.12](https://github.com/bluelovers/ws-yarn-workspaces/compare/create-yarn-workspaces@2.0.11...create-yarn-workspaces@2.0.12) (2022-08-25)
26
+
27
+
28
+
29
+ ### 📌 Dependencies
30
+
31
+ * update deps ([836ee56](https://github.com/bluelovers/ws-yarn-workspaces/commit/836ee56d294d3b6c85ad1f8b209660c779480a80))
32
+
33
+
34
+
6
35
  ## [2.0.11](https://github.com/bluelovers/ws-yarn-workspaces/compare/create-yarn-workspaces@2.0.10...create-yarn-workspaces@2.0.11) (2022-08-19)
7
36
 
8
37
 
package/lib/util.d.ts CHANGED
@@ -1 +1,4 @@
1
+ /**
2
+ * @deprecated
3
+ */
1
4
  export declare function isSamePath(p1: string, p2: string): boolean;
package/lib/util.js CHANGED
@@ -1,14 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isSamePath = void 0;
4
- const tslib_1 = require("tslib");
5
4
  const path_1 = require("path");
6
- const path_is_same_1 = tslib_1.__importDefault(require("path-is-same"));
5
+ const path_is_same_1 = require("path-is-same");
6
+ /**
7
+ * @deprecated
8
+ */
7
9
  function isSamePath(p1, p2) {
8
10
  if (!p1 || !p2) {
9
11
  return false;
10
12
  }
11
- else if ((0, path_is_same_1.default)(p1, p2)) {
13
+ else if ((0, path_is_same_1.pathIsSame)(p1, p2)) {
12
14
  return true;
13
15
  }
14
16
  let s = (0, path_1.relative)(p1, p2);
package/lib/util.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"util.js","sourceRoot":"","sources":["util.ts"],"names":[],"mappings":";;;;AAAA,+BAAgC;AAChC,wEAAsC;AAEtC,SAAgB,UAAU,CAAC,EAAU,EAAE,EAAU;IAEhD,IAAI,CAAC,EAAE,IAAI,CAAC,EAAE,EACd;QACC,OAAO,KAAK,CAAC;KACb;SACI,IAAI,IAAA,sBAAU,EAAC,EAAE,EAAE,EAAE,CAAC,EAC3B;QACC,OAAO,IAAI,CAAC;KACZ;IAED,IAAI,CAAC,GAAG,IAAA,eAAQ,EAAC,EAAE,EAAE,EAAE,CAAC,CAAC;IACzB,OAAO,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;AAChC,CAAC;AAbD,gCAaC","sourcesContent":["import { relative } from \"path\";\nimport pathIsSame from 'path-is-same';\n\nexport function isSamePath(p1: string, p2: string)\n{\n\tif (!p1 || !p2)\n\t{\n\t\treturn false;\n\t}\n\telse if (pathIsSame(p1, p2))\n\t{\n\t\treturn true;\n\t}\n\n\tlet s = relative(p1, p2);\n\treturn (s === '.' || s === '');\n}\n\n"]}
1
+ {"version":3,"file":"util.js","sourceRoot":"","sources":["util.ts"],"names":[],"mappings":";;;AAAA,+BAAgC;AAChC,+CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,EAAU,EAAE,EAAU;IAEhD,IAAI,CAAC,EAAE,IAAI,CAAC,EAAE,EACd;QACC,OAAO,KAAK,CAAC;KACb;SACI,IAAI,IAAA,yBAAU,EAAC,EAAE,EAAE,EAAE,CAAC,EAC3B;QACC,OAAO,IAAI,CAAC;KACZ;IAED,IAAI,CAAC,GAAG,IAAA,eAAQ,EAAC,EAAE,EAAE,EAAE,CAAC,CAAC;IACzB,OAAO,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;AAChC,CAAC;AAbD,gCAaC","sourcesContent":["import { relative } from \"path\";\nimport { pathIsSame } from 'path-is-same';\n\n/**\n * @deprecated\n */\nexport function isSamePath(p1: string, p2: string)\n{\n\tif (!p1 || !p2)\n\t{\n\t\treturn false;\n\t}\n\telse if (pathIsSame(p1, p2))\n\t{\n\t\treturn true;\n\t}\n\n\tlet s = relative(p1, p2);\n\treturn (s === '.' || s === '');\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-yarn-workspaces",
3
- "version": "2.0.11",
3
+ "version": "2.0.14",
4
4
  "description": "yarn create yarn-workspaces npx create-yarn-workspaces",
5
5
  "keywords": [
6
6
  "cli",
@@ -36,6 +36,9 @@
36
36
  "lint": "npx eslint **/*.ts",
37
37
  "test": "echo test",
38
38
  "test_": "node ./bin/yarn-ws-init --debug --ignoreExistsPackage --ignoreParentWorkspaces ./test/temp",
39
+ "test:jest": "jest --passWithNoTests",
40
+ "test:jest:snapshot": "yarn run test:jest -- -u",
41
+ "test:snapshot": "yarn run test -- -u",
39
42
  "npm:publish": "npm publish",
40
43
  "preversion": "yarn run test",
41
44
  "prepublishOnly": "echo prepublishOnly",
@@ -48,19 +51,19 @@
48
51
  "resolutions": {},
49
52
  "dependencies": {
50
53
  "@ts-type/package-dts": "^2.0.5",
51
- "@yarn-tool/find-root": "^2.0.4",
52
- "@yarn-tool/pkg-entry-util": "^2.0.10",
53
- "@yarn-tool/static-file": "^2.0.4",
54
- "debug-color2": "^1.3.1",
55
- "find-yarn-workspace-root2": "^1.2.41",
54
+ "@yarn-tool/find-root": "^2.0.5",
55
+ "@yarn-tool/pkg-entry-util": "^2.0.14",
56
+ "@yarn-tool/static-file": "^2.0.7",
57
+ "debug-color2": "^1.3.2",
58
+ "find-yarn-workspace-root2": "^1.2.42",
56
59
  "fs-extra": "^10.1.0",
57
60
  "path-is-same": "^1.0.19",
58
61
  "pkg-dir": "<6 >=5",
59
62
  "sort-package-json": "^1.57.0",
60
- "sort-package-json3": "^2.0.3",
63
+ "sort-package-json3": "^2.0.5",
61
64
  "tslib": "^2",
62
65
  "upath2": "^3.1.15",
63
66
  "yargs": "^17.5.1"
64
67
  },
65
- "gitHead": "04b0e35bd37a6cbe152fd6564f0ec2439625270a"
68
+ "gitHead": "e7aec5c1c202bac1026b9117bcb8ee18b9188916"
66
69
  }