@vltpkg/workspaces 1.0.1 → 1.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -546,7 +546,7 @@ export class Workspace {
546
546
  this.path = path;
547
547
  this.fullpath = fullpath;
548
548
  this.manifest = manifest;
549
- this.name = manifest.name ?? path;
549
+ this.name = manifest.name ?? basename(path);
550
550
  }
551
551
  get keys() {
552
552
  if (this.#keys) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vltpkg/workspaces",
3
3
  "description": "Utility for working with vlt workspaces",
4
- "version": "1.0.1",
4
+ "version": "1.0.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/vltpkg/vltpkg.git",
@@ -13,12 +13,12 @@
13
13
  "url": "http://vlt.sh"
14
14
  },
15
15
  "dependencies": {
16
- "@vltpkg/dep-id": "1.0.1",
17
- "@vltpkg/error-cause": "1.0.1",
18
- "@vltpkg/graph-run": "1.0.1",
19
- "@vltpkg/package-json": "1.0.1",
20
- "@vltpkg/types": "1.0.1",
21
- "@vltpkg/vlt-json": "1.0.1",
16
+ "@vltpkg/dep-id": "1.0.3",
17
+ "@vltpkg/error-cause": "1.0.3",
18
+ "@vltpkg/graph-run": "1.0.3",
19
+ "@vltpkg/package-json": "1.0.3",
20
+ "@vltpkg/types": "1.0.3",
21
+ "@vltpkg/vlt-json": "1.0.3",
22
22
  "glob": "^13.0.0",
23
23
  "minimatch": "^10.1.1",
24
24
  "path-scurry": "^2.0.1"