@visulima/package 3.2.0 → 3.2.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
@@ -1,3 +1,26 @@
1
+ ## @visulima/package [3.2.2](https://github.com/visulima/visulima/compare/@visulima/package@3.2.1...@visulima/package@3.2.2) (2024-12-31)
2
+
3
+
4
+ ### Dependencies
5
+
6
+ * **@visulima/fs:** upgraded to 2.3.3
7
+ * **@visulima/path:** upgraded to 1.2.0
8
+
9
+ ## @visulima/package [3.2.1](https://github.com/visulima/visulima/compare/@visulima/package@3.2.0...@visulima/package@3.2.1) (2024-12-27)
10
+
11
+ ### Bug Fixes
12
+
13
+ * **fs:** added missing yaml to dependencies ([210b995](https://github.com/visulima/visulima/commit/210b99503da7a30ceb3aa01019ae7d3f8bed6807))
14
+
15
+ ### Miscellaneous Chores
16
+
17
+ * updated dev dependencies ([9de2eab](https://github.com/visulima/visulima/commit/9de2eab91e95c8b9289d12f863a5167218770650))
18
+
19
+
20
+ ### Dependencies
21
+
22
+ * **@visulima/fs:** upgraded to 2.3.2
23
+
1
24
  ## @visulima/package [3.2.0](https://github.com/visulima/visulima/compare/@visulima/package@3.1.6...@visulima/package@3.2.0) (2024-12-16)
2
25
 
3
26
  ### Features
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { PackageNotFoundError } from './error.cjs';
2
2
  export { RootMonorepo, Strategy, findMonorepoRoot, findMonorepoRootSync } from './monorepo.cjs';
3
3
  export { findPackageRoot, findPackageRootSync } from './package.cjs';
4
- export { d as NormalizedPackageJson, N as NormalizedReadResult, P as PackageJson, f as findPackageJson, a as findPackageJsonSync, g as getPackageJsonProperty, h as hasPackageJsonAnyDependency, b as hasPackageJsonProperty, p as parsePackageJson, w as writePackageJson, c as writePackageJsonSync } from './packem_shared/package-json-CT7xU1f_.cjs';
4
+ export { d as NormalizedPackageJson, N as NormalizedReadResult, P as PackageJson, f as findPackageJson, a as findPackageJsonSync, g as getPackageJsonProperty, h as hasPackageJsonAnyDependency, b as hasPackageJsonProperty, p as parsePackageJson, w as writePackageJson, c as writePackageJsonSync } from './packem_shared/package-json-CpSz2EtJ.cjs';
5
5
  export { PackageManager, PackageManagerResult, findLockFile, findLockFileSync, findPackageManager, findPackageManagerSync, generateMissingPackagesInstallMessage, getPackageManagerVersion, identifyInitiatingPackageManager } from './package-manager.cjs';
6
6
  import '@visulima/fs';
7
7
  import 'normalize-package-data';
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { PackageNotFoundError } from './error.mjs';
2
2
  export { RootMonorepo, Strategy, findMonorepoRoot, findMonorepoRootSync } from './monorepo.mjs';
3
3
  export { findPackageRoot, findPackageRootSync } from './package.mjs';
4
- export { d as NormalizedPackageJson, N as NormalizedReadResult, P as PackageJson, f as findPackageJson, a as findPackageJsonSync, g as getPackageJsonProperty, h as hasPackageJsonAnyDependency, b as hasPackageJsonProperty, p as parsePackageJson, w as writePackageJson, c as writePackageJsonSync } from './packem_shared/package-json-CT7xU1f_.mjs';
4
+ export { d as NormalizedPackageJson, N as NormalizedReadResult, P as PackageJson, f as findPackageJson, a as findPackageJsonSync, g as getPackageJsonProperty, h as hasPackageJsonAnyDependency, b as hasPackageJsonProperty, p as parsePackageJson, w as writePackageJson, c as writePackageJsonSync } from './packem_shared/package-json-CpSz2EtJ.mjs';
5
5
  export { PackageManager, PackageManagerResult, findLockFile, findLockFileSync, findPackageManager, findPackageManagerSync, generateMissingPackagesInstallMessage, getPackageManagerVersion, identifyInitiatingPackageManager } from './package-manager.mjs';
6
6
  import '@visulima/fs';
7
7
  import 'normalize-package-data';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { PackageNotFoundError } from './error.js';
2
2
  export { RootMonorepo, Strategy, findMonorepoRoot, findMonorepoRootSync } from './monorepo.js';
3
3
  export { findPackageRoot, findPackageRootSync } from './package.js';
4
- export { d as NormalizedPackageJson, N as NormalizedReadResult, P as PackageJson, f as findPackageJson, a as findPackageJsonSync, g as getPackageJsonProperty, h as hasPackageJsonAnyDependency, b as hasPackageJsonProperty, p as parsePackageJson, w as writePackageJson, c as writePackageJsonSync } from './packem_shared/package-json-CT7xU1f_.d.mjs';
4
+ export { d as NormalizedPackageJson, N as NormalizedReadResult, P as PackageJson, f as findPackageJson, a as findPackageJsonSync, g as getPackageJsonProperty, h as hasPackageJsonAnyDependency, b as hasPackageJsonProperty, p as parsePackageJson, w as writePackageJson, c as writePackageJsonSync } from './packem_shared/package-json-CpSz2EtJ.d.mjs';
5
5
  export { PackageManager, PackageManagerResult, findLockFile, findLockFileSync, findPackageManager, findPackageManagerSync, generateMissingPackagesInstallMessage, getPackageManagerVersion, identifyInitiatingPackageManager } from './package-manager.js';
6
6
  import '@visulima/fs';
7
7
  import 'normalize-package-data';
@@ -1,3 +1,3 @@
1
- export { N as NormalizedReadResult, f as findPackageJson, a as findPackageJsonSync, g as getPackageJsonProperty, h as hasPackageJsonAnyDependency, b as hasPackageJsonProperty, p as parsePackageJson, w as writePackageJson, c as writePackageJsonSync } from './packem_shared/package-json-CT7xU1f_.cjs';
1
+ export { N as NormalizedReadResult, f as findPackageJson, a as findPackageJsonSync, g as getPackageJsonProperty, h as hasPackageJsonAnyDependency, b as hasPackageJsonProperty, p as parsePackageJson, w as writePackageJson, c as writePackageJsonSync } from './packem_shared/package-json-CpSz2EtJ.cjs';
2
2
  import '@visulima/fs';
3
3
  import 'normalize-package-data';
@@ -1,3 +1,3 @@
1
- export { N as NormalizedReadResult, f as findPackageJson, a as findPackageJsonSync, g as getPackageJsonProperty, h as hasPackageJsonAnyDependency, b as hasPackageJsonProperty, p as parsePackageJson, w as writePackageJson, c as writePackageJsonSync } from './packem_shared/package-json-CT7xU1f_.mjs';
1
+ export { N as NormalizedReadResult, f as findPackageJson, a as findPackageJsonSync, g as getPackageJsonProperty, h as hasPackageJsonAnyDependency, b as hasPackageJsonProperty, p as parsePackageJson, w as writePackageJson, c as writePackageJsonSync } from './packem_shared/package-json-CpSz2EtJ.mjs';
2
2
  import '@visulima/fs';
3
3
  import 'normalize-package-data';
@@ -1,3 +1,3 @@
1
- export { N as NormalizedReadResult, f as findPackageJson, a as findPackageJsonSync, g as getPackageJsonProperty, h as hasPackageJsonAnyDependency, b as hasPackageJsonProperty, p as parsePackageJson, w as writePackageJson, c as writePackageJsonSync } from './packem_shared/package-json-CT7xU1f_.d.mjs';
1
+ export { N as NormalizedReadResult, f as findPackageJson, a as findPackageJsonSync, g as getPackageJsonProperty, h as hasPackageJsonAnyDependency, b as hasPackageJsonProperty, p as parsePackageJson, w as writePackageJson, c as writePackageJsonSync } from './packem_shared/package-json-CpSz2EtJ.d.mjs';
2
2
  import '@visulima/fs';
3
3
  import 'normalize-package-data';
@@ -111,8 +111,8 @@ type Includes<Value extends readonly any[], Item> =
111
111
  @category Utilities
112
112
  */
113
113
  type IsEqual<A, B> =
114
- (<G>() => G extends A ? 1 : 2) extends
115
- (<G>() => G extends B ? 1 : 2)
114
+ (<G>() => G extends A & G | G ? 1 : 2) extends
115
+ (<G>() => G extends B & G | G ? 1 : 2)
116
116
  ? true
117
117
  : false;
118
118
 
@@ -111,8 +111,8 @@ type Includes<Value extends readonly any[], Item> =
111
111
  @category Utilities
112
112
  */
113
113
  type IsEqual<A, B> =
114
- (<G>() => G extends A ? 1 : 2) extends
115
- (<G>() => G extends B ? 1 : 2)
114
+ (<G>() => G extends A & G | G ? 1 : 2) extends
115
+ (<G>() => G extends B & G | G ? 1 : 2)
116
116
  ? true
117
117
  : false;
118
118
 
@@ -111,8 +111,8 @@ type Includes<Value extends readonly any[], Item> =
111
111
  @category Utilities
112
112
  */
113
113
  type IsEqual<A, B> =
114
- (<G>() => G extends A ? 1 : 2) extends
115
- (<G>() => G extends B ? 1 : 2)
114
+ (<G>() => G extends A & G | G ? 1 : 2) extends
115
+ (<G>() => G extends B & G | G ? 1 : 2)
116
116
  ? true
117
117
  : false;
118
118
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/package",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "description": "One Package to rule them all, finds your root-dir, monorepo, or package manager.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -145,18 +145,18 @@
145
145
  "LICENSE.md"
146
146
  ],
147
147
  "dependencies": {
148
- "@visulima/fs": "2.3.1",
149
- "@visulima/path": "1.1.2",
148
+ "@visulima/fs": "2.3.3",
149
+ "@visulima/path": "1.2.0",
150
150
  "normalize-package-data": "^7.0.0"
151
151
  },
152
152
  "devDependencies": {
153
153
  "@anolilab/eslint-config": "^15.0.3",
154
154
  "@anolilab/prettier-config": "^5.0.14",
155
- "@anolilab/semantic-release-pnpm": "^1.1.5",
156
- "@anolilab/semantic-release-preset": "^9.0.2",
157
- "@arethetypeswrong/cli": "^0.17.1",
155
+ "@anolilab/semantic-release-pnpm": "^1.1.6",
156
+ "@anolilab/semantic-release-preset": "^9.0.3",
157
+ "@arethetypeswrong/cli": "^0.17.2",
158
158
  "@babel/core": "^7.26.0",
159
- "@pnpm/exe": "^9.15.0",
159
+ "@pnpm/exe": "^9.15.1",
160
160
  "@rushstack/eslint-plugin-security": "^0.8.3",
161
161
  "@total-typescript/ts-reset": "^0.6.1",
162
162
  "@types/node": "18.19.15",
@@ -177,12 +177,12 @@
177
177
  "eslint-plugin-vitest": "^0.4.1",
178
178
  "eslint-plugin-vitest-globals": "^1.5.0",
179
179
  "execa": "^9.5.2",
180
- "npm": "^10.9.2",
180
+ "npm": "^11.0.0",
181
181
  "prettier": "^3.4.2",
182
182
  "rimraf": "5.0.9",
183
183
  "semantic-release": "24.0.0",
184
184
  "tempy": "^3.1.0",
185
- "type-fest": "^4.30.0",
185
+ "type-fest": "^4.31.0",
186
186
  "typescript": "5.4.5",
187
187
  "vitest": "^2.1.8",
188
188
  "yarn": "^1.22.22"