@monorepolint/utils 0.5.0-beta.7 → 0.5.0-beta.9
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/.turbo/turbo-clean.log +4 -0
- package/.turbo/turbo-compile-typescript.log +4 -0
- package/.turbo/turbo-lint.log +15 -0
- package/.turbo/turbo-test.log +26 -0
- package/.turbo/turbo-transpile-typescript.log +14 -0
- package/CHANGELOG.md +6 -8
- package/build/js/index.js +894 -0
- package/build/js/index.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -0
- package/build/types/AggregateTiming.d.ts +15 -0
- package/build/types/AggregateTiming.d.ts.map +1 -0
- package/build/types/CachingHost.d.ts +39 -0
- package/build/types/CachingHost.d.ts.map +1 -0
- package/build/types/Host.d.ts +38 -0
- package/build/types/Host.d.ts.map +1 -0
- package/build/types/PackageJson.d.ts +20 -0
- package/build/types/PackageJson.d.ts.map +1 -0
- package/build/types/SimpleHost.d.ts +35 -0
- package/build/types/SimpleHost.d.ts.map +1 -0
- package/build/types/Table.d.ts +53 -0
- package/build/types/Table.d.ts.map +1 -0
- package/build/types/Timing.d.ts +9 -0
- package/build/types/Timing.d.ts.map +1 -0
- package/build/types/__tests__/CachingHost.spec.d.ts +2 -0
- package/build/types/__tests__/CachingHost.spec.d.ts.map +1 -0
- package/build/types/findWorkspaceDir.d.ts +10 -0
- package/build/types/findWorkspaceDir.d.ts.map +1 -0
- package/build/types/getPackageNameToDir.d.ts +14 -0
- package/build/types/getPackageNameToDir.d.ts.map +1 -0
- package/build/types/getWorkspacePackageDirs.d.ts +9 -0
- package/build/types/getWorkspacePackageDirs.d.ts.map +1 -0
- package/build/types/index.d.ts +20 -0
- package/build/types/index.d.ts.map +1 -0
- package/build/types/matchesAnyGlob.d.ts +17 -0
- package/build/types/matchesAnyGlob.d.ts.map +1 -0
- package/build/types/mutateJson.d.ts +9 -0
- package/build/types/mutateJson.d.ts.map +1 -0
- package/build/types/nanosecondsToSanity.d.ts +8 -0
- package/build/types/nanosecondsToSanity.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getWorkspacePackageDirs.d.ts","sourceRoot":"","sources":["../../src/getWorkspacePackageDirs.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAkBjC,wBAAsB,uBAAuB,CAC3C,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,UAAU,GAAG,QAAQ,CAAC,EACvC,YAAY,EAAE,MAAM,EACpB,YAAY,GAAE,OAAe,qBAqC9B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2019 Palantir Technologies, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the MIT license. See LICENSE file in the project root for details.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export { getWorkspacePackageDirs } from "./getWorkspacePackageDirs.js";
|
|
8
|
+
export { mutateJson } from "./mutateJson.js";
|
|
9
|
+
export { PackageJson } from "./PackageJson.js";
|
|
10
|
+
export { findWorkspaceDir } from "./findWorkspaceDir.js";
|
|
11
|
+
export { getPackageNameToDir } from "./getPackageNameToDir.js";
|
|
12
|
+
export { Host } from "./Host.js";
|
|
13
|
+
export { SimpleHost } from "./SimpleHost.js";
|
|
14
|
+
export { CachingHost } from "./CachingHost.js";
|
|
15
|
+
export { matchesAnyGlob } from "./matchesAnyGlob.js";
|
|
16
|
+
export { nanosecondsToSanity } from "./nanosecondsToSanity.js";
|
|
17
|
+
export { AggregateTiming } from "./AggregateTiming.js";
|
|
18
|
+
export { Timing } from "./Timing.js";
|
|
19
|
+
export { Table } from "./Table.js";
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2022 Palantir Technologies, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the MIT license. See LICENSE file in the project root for details.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
interface MatchesAnyGlob {
|
|
8
|
+
(needle: string, haystack: readonly string[]): boolean | undefined;
|
|
9
|
+
printStats?: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const matchesAnyGlob: MatchesAnyGlob;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Don't use this directly. We manually inline it above
|
|
14
|
+
*/
|
|
15
|
+
export declare function needleInPattern(needle: string, pattern: string): boolean;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=matchesAnyGlob.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"matchesAnyGlob.d.ts","sourceRoot":"","sources":["../../src/matchesAnyGlob.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAgCH,UAAU,cAAc;IACtB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,GAAG,SAAS,CAAC;IACnE,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AACD,eAAO,MAAM,cAAc,EAAE,cAiD5B,CAAC;AAsBF;;GAEG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,WA8B9D"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2019 Palantir Technologies, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the MIT license. See LICENSE file in the project root for details.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
import { Host } from "./Host.js";
|
|
8
|
+
export declare function mutateJson<T extends object>(path: string, host: Host, mutator: (f: T) => T): void;
|
|
9
|
+
//# sourceMappingURL=mutateJson.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mutateJson.d.ts","sourceRoot":"","sources":["../../src/mutateJson.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,wBAAgB,UAAU,CAAC,CAAC,SAAS,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,QAI1F"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2022 Palantir Technologies, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the MIT license. See LICENSE file in the project root for details.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export declare function nanosecondsToSanity(n: bigint, precision?: number): string;
|
|
8
|
+
//# sourceMappingURL=nanosecondsToSanity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nanosecondsToSanity.d.ts","sourceRoot":"","sources":["../../src/nanosecondsToSanity.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,MAAM,EAAE,SAAS,GAAE,MAAU,UAEnE"}
|