@visulima/package 1.10.3 → 2.0.0
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 +16 -0
- package/README.md +3 -27
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1199 -3
- package/dist/index.d.mts +1199 -3
- package/dist/index.d.ts +1199 -3
- package/dist/index.mjs +1 -1
- package/dist/package-json.d.cts +2 -21
- package/dist/package-json.d.mts +2 -21
- package/dist/package-json.d.ts +2 -21
- package/dist/shared/package.CEeDTVje.d.cts +786 -0
- package/dist/shared/package.CEeDTVje.d.mts +786 -0
- package/dist/shared/package.CEeDTVje.d.ts +786 -0
- package/package.json +3 -20
- package/dist/shared/package.CsOwsdKK.mjs +0 -1
- package/dist/shared/package.IUWQuIXW.cjs +0 -1
- package/dist/shared/package.SZmjOQBM.d.cts +0 -2076
- package/dist/shared/package.SZmjOQBM.d.mts +0 -2076
- package/dist/shared/package.SZmjOQBM.d.ts +0 -2076
- package/dist/tsconfig/index.cjs +0 -1
- package/dist/tsconfig/index.d.cts +0 -34
- package/dist/tsconfig/index.d.mts +0 -34
- package/dist/tsconfig/index.d.ts +0 -34
- package/dist/tsconfig/index.mjs +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as
|
|
1
|
+
import{u as e}from"./shared/package.DvbNGF15.mjs";import{findCacheDirectory as r,findCacheDirectorySync as c}from"./find-cache-dir.mjs";import{findMonorepoRoot as f,findMonorepoRootSync as t}from"./monorepo.mjs";import{findPackageRoot as d,findPackageRootSync as k}from"./package.mjs";import{findPackageJson as y,findPackageJsonSync as p,parsePackageJson as s,writePackageJson as S,writePackageJsonSync as m}from"./package-json.mjs";import{findLockFile as M,findLockFileSync as J,findPackageManager as R,findPackageManagerSync as F,getPackageManagerVersion as h,identifyInitiatingPackageManager as l}from"./package-manager.mjs";export{e as PackageNotFoundError,r as findCacheDirectory,c as findCacheDirectorySync,M as findLockFile,J as findLockFileSync,f as findMonorepoRoot,t as findMonorepoRootSync,y as findPackageJson,p as findPackageJsonSync,R as findPackageManager,F as findPackageManagerSync,d as findPackageRoot,k as findPackageRootSync,h as getPackageManagerVersion,l as identifyInitiatingPackageManager,s as parsePackageJson,S as writePackageJson,m as writePackageJsonSync};
|
package/dist/package-json.d.cts
CHANGED
|
@@ -1,22 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
1
|
+
export { N as NormalizedReadResult, f as findPackageJson, a as findPackageJsonSync, p as parsePackageJson, w as writePackageJson, b as writePackageJsonSync } from './shared/package.CEeDTVje.cjs';
|
|
2
|
+
import '@visulima/fs';
|
|
3
3
|
import 'normalize-package-data';
|
|
4
|
-
|
|
5
|
-
type ReadOptions = {
|
|
6
|
-
cache?: Cache<NormalizedReadResult> | boolean;
|
|
7
|
-
};
|
|
8
|
-
type NormalizedReadResult = {
|
|
9
|
-
packageJson: NormalizedPackageJson;
|
|
10
|
-
path: string;
|
|
11
|
-
};
|
|
12
|
-
declare const findPackageJson: (cwd?: URL | string, options?: ReadOptions) => Promise<NormalizedReadResult>;
|
|
13
|
-
declare const findPackageJsonSync: (cwd?: URL | string, options?: ReadOptions) => NormalizedReadResult;
|
|
14
|
-
declare const writePackageJson: <T = PackageJson>(data: T, options?: WriteJsonOptions & {
|
|
15
|
-
cwd?: URL | string;
|
|
16
|
-
}) => Promise<void>;
|
|
17
|
-
declare const writePackageJsonSync: <T = PackageJson>(data: T, options?: WriteJsonOptions & {
|
|
18
|
-
cwd?: URL | string;
|
|
19
|
-
}) => void;
|
|
20
|
-
declare const parsePackageJson: (packageFile: JsonObject | string) => NormalizedPackageJson;
|
|
21
|
-
|
|
22
|
-
export { type NormalizedReadResult, findPackageJson, findPackageJsonSync, parsePackageJson, writePackageJson, writePackageJsonSync };
|
package/dist/package-json.d.mts
CHANGED
|
@@ -1,22 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
1
|
+
export { N as NormalizedReadResult, f as findPackageJson, a as findPackageJsonSync, p as parsePackageJson, w as writePackageJson, b as writePackageJsonSync } from './shared/package.CEeDTVje.mjs';
|
|
2
|
+
import '@visulima/fs';
|
|
3
3
|
import 'normalize-package-data';
|
|
4
|
-
|
|
5
|
-
type ReadOptions = {
|
|
6
|
-
cache?: Cache<NormalizedReadResult> | boolean;
|
|
7
|
-
};
|
|
8
|
-
type NormalizedReadResult = {
|
|
9
|
-
packageJson: NormalizedPackageJson;
|
|
10
|
-
path: string;
|
|
11
|
-
};
|
|
12
|
-
declare const findPackageJson: (cwd?: URL | string, options?: ReadOptions) => Promise<NormalizedReadResult>;
|
|
13
|
-
declare const findPackageJsonSync: (cwd?: URL | string, options?: ReadOptions) => NormalizedReadResult;
|
|
14
|
-
declare const writePackageJson: <T = PackageJson>(data: T, options?: WriteJsonOptions & {
|
|
15
|
-
cwd?: URL | string;
|
|
16
|
-
}) => Promise<void>;
|
|
17
|
-
declare const writePackageJsonSync: <T = PackageJson>(data: T, options?: WriteJsonOptions & {
|
|
18
|
-
cwd?: URL | string;
|
|
19
|
-
}) => void;
|
|
20
|
-
declare const parsePackageJson: (packageFile: JsonObject | string) => NormalizedPackageJson;
|
|
21
|
-
|
|
22
|
-
export { type NormalizedReadResult, findPackageJson, findPackageJsonSync, parsePackageJson, writePackageJson, writePackageJsonSync };
|
package/dist/package-json.d.ts
CHANGED
|
@@ -1,22 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
1
|
+
export { N as NormalizedReadResult, f as findPackageJson, a as findPackageJsonSync, p as parsePackageJson, w as writePackageJson, b as writePackageJsonSync } from './shared/package.CEeDTVje.js';
|
|
2
|
+
import '@visulima/fs';
|
|
3
3
|
import 'normalize-package-data';
|
|
4
|
-
|
|
5
|
-
type ReadOptions = {
|
|
6
|
-
cache?: Cache<NormalizedReadResult> | boolean;
|
|
7
|
-
};
|
|
8
|
-
type NormalizedReadResult = {
|
|
9
|
-
packageJson: NormalizedPackageJson;
|
|
10
|
-
path: string;
|
|
11
|
-
};
|
|
12
|
-
declare const findPackageJson: (cwd?: URL | string, options?: ReadOptions) => Promise<NormalizedReadResult>;
|
|
13
|
-
declare const findPackageJsonSync: (cwd?: URL | string, options?: ReadOptions) => NormalizedReadResult;
|
|
14
|
-
declare const writePackageJson: <T = PackageJson>(data: T, options?: WriteJsonOptions & {
|
|
15
|
-
cwd?: URL | string;
|
|
16
|
-
}) => Promise<void>;
|
|
17
|
-
declare const writePackageJsonSync: <T = PackageJson>(data: T, options?: WriteJsonOptions & {
|
|
18
|
-
cwd?: URL | string;
|
|
19
|
-
}) => void;
|
|
20
|
-
declare const parsePackageJson: (packageFile: JsonObject | string) => NormalizedPackageJson;
|
|
21
|
-
|
|
22
|
-
export { type NormalizedReadResult, findPackageJson, findPackageJsonSync, parsePackageJson, writePackageJson, writePackageJsonSync };
|