@yarn-tool/workspaces-project 1.0.67 → 1.0.68

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,17 @@
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
+ ## [1.0.68](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/workspaces-project@1.0.67...@yarn-tool/workspaces-project@1.0.68) (2022-03-14)
7
+
8
+
9
+ ### 🔖 Miscellaneous
10
+
11
+ * . ([7e31733](https://github.com/bluelovers/ws-yarn-workspaces/commit/7e31733febde1a879ded2feba01ff679874c4b4b))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [1.0.67](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/workspaces-project@1.0.65...@yarn-tool/workspaces-project@1.0.67) (2022-02-27)
7
18
 
8
19
 
package/index.js CHANGED
@@ -21,10 +21,10 @@ class WorkspacesProject {
21
21
  root,
22
22
  rootPath,
23
23
  }, options)) {
24
- case 1 /* root */:
24
+ case 1 /* EnumCheckPaths.root */:
25
25
  this._project = new project_1.Project(root);
26
26
  break;
27
- case -1 /* failed */:
27
+ case -1 /* EnumCheckPaths.failed */:
28
28
  throw new Error(`lerna root is not match yarn workspaces root.\ncwd: ${cwd}\nyarn: ${root}\nlerna: ${rootPath}`);
29
29
  break;
30
30
  }
@@ -70,7 +70,7 @@ class WorkspacesProject {
70
70
  catch (e) {
71
71
  }
72
72
  if (!(ws === null || ws === void 0 ? void 0 : ws.length)) {
73
- ws = ["packages/*" /* workspace */];
73
+ ws = ["packages/*" /* EnumWorkspacesProject.workspace */];
74
74
  }
75
75
  this._setInternal('workspaces', ws);
76
76
  }
@@ -80,8 +80,8 @@ class WorkspacesProject {
80
80
  if (this._hasInternal('defaultWorkspace')) {
81
81
  return this._getInternal('defaultWorkspace');
82
82
  }
83
- if (this.workspaces.includes("packages/*" /* workspace */)) {
84
- return "packages/*" /* workspace */;
83
+ if (this.workspaces.includes("packages/*" /* EnumWorkspacesProject.workspace */)) {
84
+ return "packages/*" /* EnumWorkspacesProject.workspace */;
85
85
  }
86
86
  return this.workspaces[0];
87
87
  }
@@ -92,11 +92,11 @@ class WorkspacesProject {
92
92
  tslib_1.__classPrivateFieldGet(this, _WorkspacesProject_internal, "f").defaultWorkspace = value;
93
93
  }
94
94
  isIndependent() {
95
- return this.version === "independent" /* independent */;
95
+ return this.version === "independent" /* EnumWorkspacesProject.independent */;
96
96
  }
97
97
  get version() {
98
98
  var _a;
99
- return (_a = this._project.config.version) !== null && _a !== void 0 ? _a : "independent" /* independent */;
99
+ return (_a = this._project.config.version) !== null && _a !== void 0 ? _a : "independent" /* EnumWorkspacesProject.independent */;
100
100
  }
101
101
  set version(val) {
102
102
  this._project.config.version = val;
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;AAAA,4CAAyD;AACzD,mCAA4C;AAE5C,kFAA+D;AAC/D,qCAAwD;AAGxD,mCAA+B;AAC/B,kFAA+C;AAC/C,uCAA0C;AAE1C,MAAa,iBAAiB;IAY7B,YAAY,GAAY,EAAE,OAEzB;QAJD,sCAAwC,EAAS,EAAC;QAMjD,GAAG,GAAG,IAAA,gBAAO,EAAC,GAAG,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;QAEpC,IAAI,IAAI,GAAG,IAAA,cAAiB,EAAC,GAAG,CAAC,CAAC;QAElC,IAAI,CAAC,QAAQ,GAAG,IAAI,iBAAY,CAAC,GAAG,CAAC,CAAA;QACrC,IAAI,QAAQ,GAAW,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAE9C,QAAQ,IAAA,iBAAU,EAAC;YAClB,IAAI;YACJ,QAAQ;SACR,EAAE,OAAO,CAAC,EACX;YACC;gBACC,IAAI,CAAC,QAAQ,GA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C;;AAED,kBAAe,iBAAiB,CAAA","sourcesContent":["import { Project as LernaProject } from '@lerna/project';\nimport { resolve, normalize } from 'upath2';\nimport { IWorkspacesProjectInternal, EnumWorkspacesProject, IPackedManifest } from './lib/types';\nimport findWorkspaceRoot from 'find-yarn-workspace-root2/core';\nimport { checkPaths, EnumCheckPaths } from './lib/util';\nimport type { ILernaJson, IReleaseType } from '@ts-type/package-dts/lerna-json';\nimport type { IChangelogPreset } from '@yarn-tool/changelog';\nimport { merge } from 'lodash';\nimport sortObjectKeys from 'sort-object-keys2';\nimport { pathExistsSync } from 'fs-extra';\n\nexport class WorkspacesProject\n{\n\n\t/**\n\t * @see https://github.com/lerna/lerna/tree/master/core/project\n\t */\n\tprotected _project: LernaProject & {\n\t\tconfig: ILernaJson,\n\t};\n\n\t#internal: IWorkspacesProjectInternal = {} as any;\n\n\tconstructor(cwd?: string, options?: {\n\t\tskipStrictCheck?: boolean\n\t})\n\t{\n\t\tcwd = resolve(cwd || process.cwd());\n\n\t\tlet root = findWorkspaceRoot(cwd);\n\n\t\tthis._project = new LernaProject(cwd)\n\t\tlet rootPath: string = this._project.rootPath;\n\n\t\tswitch (checkPaths({\n\t\t\troot,\n\t\t\trootPath,\n\t\t}, options))\n\t\t{\n\t\t\tcase EnumCheckPaths.root:\n\t\t\t\tthis._project = new LernaProject(root);\n\t\t\t\tbreak;\n\t\t\tcase EnumCheckPaths.failed:\n\t\t\t\tthrow new Error(`lerna root is not match yarn workspaces root.\\ncwd: ${cwd}\\nyarn: ${root}\\nlerna: ${rootPath}`);\n\t\t\t\tbreak;\n\t\t}\n\n\t\tif (root?.length)\n\t\t{\n\t\t\tif (typeof this.config.npmClient === 'undefined' && this.config.useWorkspaces !== false)\n\t\t\t{\n\t\t\t\tthis.npmClient = 'yarn';\n\t\t\t\tthis.config.useWorkspaces = true;\n\t\t\t}\n\t\t}\n\n\t\tthis._project.rootPath = normalize(this._project.rootPath);\n\n\t\tthis._project.rootConfigLocation = normalize(this._project.rootConfigLocation);\n\t}\n\n\tprotected _hasInternal<K extends keyof IWorkspacesProjectInternal>(field: K)\n\t{\n\t\treturn field in this.#internal\n\t}\n\n\tprotected _getInternal<K extends keyof IWorkspacesProjectInternal>(field: K)\n\t{\n\t\treturn this.#internal[field]\n\t}\n\n\tprotected _setInternal<K extends keyof IWorkspacesProjectInternal>(field: K, value: IWorkspacesProjectInternal[K])\n\t{\n\t\treturn this.#internal[field] = value\n\t}\n\n\tget rootPath(): string\n\t{\n\t\treturn this._project.rootPath\n\t}\n\n\tget lernaConfigLocation(): string\n\t{\n\t\treturn this._project.rootConfigLocation\n\t}\n\n\tget npmClient(): string\n\t{\n\t\treturn this._project.config.npmClient\n\t}\n\n\tset npmClient(value: string)\n\t{\n\t\tthis._project.config.npmClient = value\n\t}\n\n\tget workspaces(): string[]\n\t{\n\t\tlet ws: string[];\n\n\t\tif (this._hasInternal('workspaces'))\n\t\t{\n\t\t\tws = this._getInternal('workspaces')\n\t\t}\n\t\telse\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tws = this._project.packageConfigs;\n\t\t\t}\n\t\t\tcatch (e)\n\t\t\t{\n\n\t\t\t}\n\n\t\t\tif (!ws?.length)\n\t\t\t{\n\t\t\t\tws = [EnumWorkspacesProject.workspace]\n\t\t\t}\n\n\t\t\tthis._setInternal('workspaces', ws)\n\t\t}\n\n\t\treturn ws;\n\t}\n\n\tget defaultWorkspace(): string\n\t{\n\t\tif (this._hasInternal('defaultWorkspace'))\n\t\t{\n\t\t\treturn this._getInternal('defaultWorkspace')\n\t\t}\n\n\t\tif (this.workspaces.includes(EnumWorkspacesProject.workspace))\n\t\t{\n\t\t\treturn EnumWorkspacesProject.workspace\n\t\t}\n\n\t\treturn this.workspaces[0]\n\t}\n\n\tset defaultWorkspace(value: string)\n\t{\n\t\tif (!this.workspaces.includes(value))\n\t\t{\n\t\t\tthrow new RangeError(`${value} not exists in ${this.workspaces}`)\n\t\t}\n\n\t\tthis.#internal.defaultWorkspace = value;\n\t}\n\n\tisIndependent()\n\t{\n\t\treturn this.version === EnumWorkspacesProject.independent;\n\t}\n\n\tget version(): string | EnumWorkspacesProject.independent\n\t{\n\t\treturn this._project.config.version ?? EnumWorkspacesProject.independent;\n\t}\n\n\tset version(val: string | EnumWorkspacesProject.independent)\n\t{\n\t\tthis._project.config.version = val;\n\t}\n\n\t/**\n\t * @see https://github.com/lerna/lerna/tree/master/core/package\n\t */\n\tget manifest(): IPackedManifest\n\t{\n\t\treturn this._project.manifest\n\t}\n\n\tget config(): ILernaJson\n\t{\n\t\tlet ws = this.workspaces;\n\n\t\tif ('workspaces' in this._project.config)\n\t\t{\n\t\t\tthis._project.config.workspaces = ws\n\t\t}\n\t\telse if ('packages' in this._project.config || 1)\n\t\t{\n\t\t\tthis._project.config.packages = ws\n\t\t}\n\n\t\tthis._project.config.version = this.version;\n\n\t\tlet w = this.defaultWorkspace;\n\n\t\tif (ws[0] !== w)\n\t\t{\n\t\t\tlet i = ws.indexOf(w)\n\n\t\t\tif (i !== -1)\n\t\t\t{\n\t\t\t\tws.splice(i, 1);\n\t\t\t\tws.unshift(w)\n\t\t\t}\n\n\t\t}\n\n\t\treturn this._project.config\n\t}\n\n\tget bump(): IReleaseType\n\t{\n\t\tconst command = this._project.config.command\n\n\t\treturn command?.publish?.bump ?? command?.version?.bump\n\t}\n\n\tget changelogPreset(): IChangelogPreset\n\t{\n\t\tconst command = this._project.config.command\n\n\t\treturn command?.version?.changelogPreset ?? command?.publish?.changelogPreset\n\t}\n\n\tget releaseConfig()\n\t{\n\t\tconst command = this._project.config.command\n\n\t\tthis.#internal.releaseConfig = merge(this.#internal.releaseConfig, command?.version, command?.publish, {\n\t\t\tchangelogPreset: this.changelogPreset,\n\t\t\tbump: this.bump,\n\t\t\tconventionalGraduate: command?.publish?.conventionalGraduate ?? command?.version?.conventionalGraduate,\n\t\t});\n\n\t\tthis.#internal.releaseConfig = sortObjectKeys(this.#internal.releaseConfig) as any\n\n\t\treturn this.#internal.releaseConfig\n\t}\n\n\texistsLernaConfigFile()\n\t{\n\t\treturn pathExistsSync(this.lernaConfigLocation)\n\t}\n\n}\n\nexport default WorkspacesProject\n\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;AAAA,4CAAyD;AACzD,mCAA4C;AAE5C,kFAA+D;AAC/D,qCAAwD;AAGxD,mCAA+B;AAC/B,kFAA+C;AAC/C,uCAA0C;AAE1C,MAAa,iBAAiB;IAY7B,YAAY,GAAY,EAAE,OAEzB;QAJD,sCAAwC,EAAS,EAAC;QAMjD,GAAG,GAAG,IAAA,gBAAO,EAAC,GAAG,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;QAEpC,IAAI,IAAI,GAAG,IAAA,cAAiB,EAAC,GAAG,CAAC,CAAC;QAElC,IAAI,CAAC,QAAQ,GAAG,IAAI,iBAAY,CAAC,GAAG,CAAC,CAAA;QACrC,IAAI,QAAQ,GAAW,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAE9C,QAAQ,IAAA,iBAAU,EAAC;YAClB,IAAI;YACJ,QAAQ;SACR,EAAE,OAAO,CAAC,EACX;YACC;gBACC,IAAI,CAAC,QAAQ,GAAG,IAAI,iBAAY,CAAC,IAAI,CAAC,CAAC;gBACvC,MAAM;YACP;gBACC,MAAM,IAAI,KAAK,CAAC,uDAAuD,GAAG,WAAW,IAAI,YAAY,QAAQ,EAAE,CAAC,CAAC;gBACjH,MAAM;SACP;QAED,IAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAChB;YACC,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,SAAS,KAAK,WAAW,IAAI,IAAI,CAAC,MAAM,CAAC,aAAa,KAAK,KAAK,EACvF;gBACC,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC;gBACxB,IAAI,CAAC,MAAM,CAAC,aAAa,GAAG,IAAI,CAAC;aACjC;SACD;QAED,IAAI,CAAC,QAA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CAAC,MAAM,CAAC,OAAO,CAAA;QAE5C,+BAAA,IAAI,mCAAU,CAAC,aAAa,GAAG,IAAA,cAAK,EAAC,+BAAA,IAAI,mCAAU,CAAC,aAAa,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,EAAE;YACtG,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,oBAAoB,EAAE,MAAA,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,0CAAE,oBAAoB,mCAAI,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,0CAAE,oBAAoB;SACtG,CAAC,CAAC;QAEH,+BAAA,IAAI,mCAAU,CAAC,aAAa,GAAG,IAAA,2BAAc,EAAC,+BAAA,IAAI,mCAAU,CAAC,aAAa,CAAQ,CAAA;QAElF,OAAO,+BAAA,IAAI,mCAAU,CAAC,aAAa,CAAA;IACpC,CAAC;IAED,qBAAqB;QAEpB,OAAO,IAAA,yBAAc,EAAC,IAAI,CAAC,mBAAmB,CAAC,CAAA;IAChD,CAAC;CAED;AArOD,8CAqOC;;AAED,kBAAe,iBAAiB,CAAA","sourcesContent":["import { Project as LernaProject } from '@lerna/project';\nimport { resolve, normalize } from 'upath2';\nimport { IWorkspacesProjectInternal, EnumWorkspacesProject, IPackedManifest } from './lib/types';\nimport findWorkspaceRoot from 'find-yarn-workspace-root2/core';\nimport { checkPaths, EnumCheckPaths } from './lib/util';\nimport type { ILernaJson, IReleaseType } from '@ts-type/package-dts/lerna-json';\nimport type { IChangelogPreset } from '@yarn-tool/changelog';\nimport { merge } from 'lodash';\nimport sortObjectKeys from 'sort-object-keys2';\nimport { pathExistsSync } from 'fs-extra';\n\nexport class WorkspacesProject\n{\n\n\t/**\n\t * @see https://github.com/lerna/lerna/tree/master/core/project\n\t */\n\tprotected _project: LernaProject & {\n\t\tconfig: ILernaJson,\n\t};\n\n\t#internal: IWorkspacesProjectInternal = {} as any;\n\n\tconstructor(cwd?: string, options?: {\n\t\tskipStrictCheck?: boolean\n\t})\n\t{\n\t\tcwd = resolve(cwd || process.cwd());\n\n\t\tlet root = findWorkspaceRoot(cwd);\n\n\t\tthis._project = new LernaProject(cwd)\n\t\tlet rootPath: string = this._project.rootPath;\n\n\t\tswitch (checkPaths({\n\t\t\troot,\n\t\t\trootPath,\n\t\t}, options))\n\t\t{\n\t\t\tcase EnumCheckPaths.root:\n\t\t\t\tthis._project = new LernaProject(root);\n\t\t\t\tbreak;\n\t\t\tcase EnumCheckPaths.failed:\n\t\t\t\tthrow new Error(`lerna root is not match yarn workspaces root.\\ncwd: ${cwd}\\nyarn: ${root}\\nlerna: ${rootPath}`);\n\t\t\t\tbreak;\n\t\t}\n\n\t\tif (root?.length)\n\t\t{\n\t\t\tif (typeof this.config.npmClient === 'undefined' && this.config.useWorkspaces !== false)\n\t\t\t{\n\t\t\t\tthis.npmClient = 'yarn';\n\t\t\t\tthis.config.useWorkspaces = true;\n\t\t\t}\n\t\t}\n\n\t\tthis._project.rootPath = normalize(this._project.rootPath);\n\n\t\tthis._project.rootConfigLocation = normalize(this._project.rootConfigLocation);\n\t}\n\n\tprotected _hasInternal<K extends keyof IWorkspacesProjectInternal>(field: K)\n\t{\n\t\treturn field in this.#internal\n\t}\n\n\tprotected _getInternal<K extends keyof IWorkspacesProjectInternal>(field: K)\n\t{\n\t\treturn this.#internal[field]\n\t}\n\n\tprotected _setInternal<K extends keyof IWorkspacesProjectInternal>(field: K, value: IWorkspacesProjectInternal[K])\n\t{\n\t\treturn this.#internal[field] = value\n\t}\n\n\tget rootPath(): string\n\t{\n\t\treturn this._project.rootPath\n\t}\n\n\tget lernaConfigLocation(): string\n\t{\n\t\treturn this._project.rootConfigLocation\n\t}\n\n\tget npmClient(): string\n\t{\n\t\treturn this._project.config.npmClient\n\t}\n\n\tset npmClient(value: string)\n\t{\n\t\tthis._project.config.npmClient = value\n\t}\n\n\tget workspaces(): string[]\n\t{\n\t\tlet ws: string[];\n\n\t\tif (this._hasInternal('workspaces'))\n\t\t{\n\t\t\tws = this._getInternal('workspaces')\n\t\t}\n\t\telse\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tws = this._project.packageConfigs;\n\t\t\t}\n\t\t\tcatch (e)\n\t\t\t{\n\n\t\t\t}\n\n\t\t\tif (!ws?.length)\n\t\t\t{\n\t\t\t\tws = [EnumWorkspacesProject.workspace]\n\t\t\t}\n\n\t\t\tthis._setInternal('workspaces', ws)\n\t\t}\n\n\t\treturn ws;\n\t}\n\n\tget defaultWorkspace(): string\n\t{\n\t\tif (this._hasInternal('defaultWorkspace'))\n\t\t{\n\t\t\treturn this._getInternal('defaultWorkspace')\n\t\t}\n\n\t\tif (this.workspaces.includes(EnumWorkspacesProject.workspace))\n\t\t{\n\t\t\treturn EnumWorkspacesProject.workspace\n\t\t}\n\n\t\treturn this.workspaces[0]\n\t}\n\n\tset defaultWorkspace(value: string)\n\t{\n\t\tif (!this.workspaces.includes(value))\n\t\t{\n\t\t\tthrow new RangeError(`${value} not exists in ${this.workspaces}`)\n\t\t}\n\n\t\tthis.#internal.defaultWorkspace = value;\n\t}\n\n\tisIndependent()\n\t{\n\t\treturn this.version === EnumWorkspacesProject.independent;\n\t}\n\n\tget version(): string | EnumWorkspacesProject.independent\n\t{\n\t\treturn this._project.config.version ?? EnumWorkspacesProject.independent;\n\t}\n\n\tset version(val: string | EnumWorkspacesProject.independent)\n\t{\n\t\tthis._project.config.version = val;\n\t}\n\n\t/**\n\t * @see https://github.com/lerna/lerna/tree/master/core/package\n\t */\n\tget manifest(): IPackedManifest\n\t{\n\t\treturn this._project.manifest\n\t}\n\n\tget config(): ILernaJson\n\t{\n\t\tlet ws = this.workspaces;\n\n\t\tif ('workspaces' in this._project.config)\n\t\t{\n\t\t\tthis._project.config.workspaces = ws\n\t\t}\n\t\telse if ('packages' in this._project.config || 1)\n\t\t{\n\t\t\tthis._project.config.packages = ws\n\t\t}\n\n\t\tthis._project.config.version = this.version;\n\n\t\tlet w = this.defaultWorkspace;\n\n\t\tif (ws[0] !== w)\n\t\t{\n\t\t\tlet i = ws.indexOf(w)\n\n\t\t\tif (i !== -1)\n\t\t\t{\n\t\t\t\tws.splice(i, 1);\n\t\t\t\tws.unshift(w)\n\t\t\t}\n\n\t\t}\n\n\t\treturn this._project.config\n\t}\n\n\tget bump(): IReleaseType\n\t{\n\t\tconst command = this._project.config.command\n\n\t\treturn command?.publish?.bump ?? command?.version?.bump\n\t}\n\n\tget changelogPreset(): IChangelogPreset\n\t{\n\t\tconst command = this._project.config.command\n\n\t\treturn command?.version?.changelogPreset ?? command?.publish?.changelogPreset\n\t}\n\n\tget releaseConfig()\n\t{\n\t\tconst command = this._project.config.command\n\n\t\tthis.#internal.releaseConfig = merge(this.#internal.releaseConfig, command?.version, command?.publish, {\n\t\t\tchangelogPreset: this.changelogPreset,\n\t\t\tbump: this.bump,\n\t\t\tconventionalGraduate: command?.publish?.conventionalGraduate ?? command?.version?.conventionalGraduate,\n\t\t});\n\n\t\tthis.#internal.releaseConfig = sortObjectKeys(this.#internal.releaseConfig) as any\n\n\t\treturn this.#internal.releaseConfig\n\t}\n\n\texistsLernaConfigFile()\n\t{\n\t\treturn pathExistsSync(this.lernaConfigLocation)\n\t}\n\n}\n\nexport default WorkspacesProject\n\n"]}
package/lib/util.js CHANGED
@@ -16,18 +16,18 @@ function checkPaths(input, options) {
16
16
  rootPath = (0, path_dir_normalize_1.default)(rootPath);
17
17
  if (root !== rootPath) {
18
18
  if (rootPath.indexOf(root) === 0) {
19
- return 1 /* root */;
19
+ return 1 /* EnumCheckPaths.root */;
20
20
  }
21
21
  else if (!(options === null || options === void 0 ? void 0 : options.skipStrictCheck)) {
22
- return -1 /* failed */;
22
+ return -1 /* EnumCheckPaths.failed */;
23
23
  }
24
24
  }
25
- return 0 /* rootPath */;
25
+ return 0 /* EnumCheckPaths.rootPath */;
26
26
  }
27
27
  else if (rootPath === null || rootPath === void 0 ? void 0 : rootPath.length) {
28
- return 0 /* rootPath */;
28
+ return 0 /* EnumCheckPaths.rootPath */;
29
29
  }
30
- return -1 /* failed */;
30
+ return -1 /* EnumCheckPaths.failed */;
31
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,GAAd,sBAAc,KAAd,sBAAc,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;QACC,IAAI,GAAG,IAAA,4BAAgB,EAAC,IAAI,CAAC,CAAA;QAC7B,QAAQ,GAAG,IAAA,4BAAgB,EAAC,QAAQ,CAAC,CAAA;QAErC,IAAI,IAAI,KAAK,QAAQ,EACrB;YACC,IAAI,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAChC;gBACC,oBAA0B;aAC1B;iBACI,IAAI,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,eAAe,CAAA,EAClC;gBACC,uBAA4B;aAC5B;SACD;QAED,wBAA8B;KAC9B;SACI,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,EACzB;QACC,wBAA8B;KAC9B;IAED,uBAA4B;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":";;;;AAAA,oFAAkD;AAElD,IAAkB,cAKjB;AALD,WAAkB,cAAc;IAE/B,mDAAQ,CAAA;IACR,2DAAY,CAAA;IACZ,wDAAW,CAAA;AACZ,CAAC,EALiB,cAAc,GAAd,sBAAc,KAAd,sBAAc,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;QACC,IAAI,GAAG,IAAA,4BAAgB,EAAC,IAAI,CAAC,CAAA;QAC7B,QAAQ,GAAG,IAAA,4BAAgB,EAAC,QAAQ,CAAC,CAAA;QAErC,IAAI,IAAI,KAAK,QAAQ,EACrB;YACC,IAAI,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAChC;gBACC,mCAA0B;aAC1B;iBACI,IAAI,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,eAAe,CAAA,EAClC;gBACC,sCAA4B;aAC5B;SACD;QAED,uCAA8B;KAC9B;SACI,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,EACzB;QACC,uCAA8B;KAC9B;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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yarn-tool/workspaces-project",
3
- "version": "1.0.67",
3
+ "version": "1.0.68",
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": {
@@ -27,20 +27,20 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@lerna/project": "^4.0.0",
30
- "@ts-type/package-dts": "^1.0.59",
30
+ "@ts-type/package-dts": "^1.0.60",
31
31
  "@types/npm-package-arg": "*",
32
- "@yarn-tool/changelog": "^1.0.68",
32
+ "@yarn-tool/changelog": "^1.0.69",
33
33
  "find-yarn-workspace-root2": "^1.2.36",
34
34
  "fs-extra": "^10.0.1",
35
35
  "lodash": "^4.17.21",
36
36
  "path-dir-normalize": "^1.0.23",
37
37
  "sort-object-keys2": "^2.0.3",
38
- "ts-type": "^2.1.5",
38
+ "ts-type": "^2.1.6",
39
39
  "tslib": "^2.3.1",
40
40
  "upath2": "^3.1.12"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "e0d4ffd979ed2d9530cfb67d46e6dbd772fe2b73"
45
+ "gitHead": "7b783c898c714abcf51de68292d5528732ca8ec3"
46
46
  }