@tegami/dart 1.2.4 → 1.2.5
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/dist/index.d.ts +1 -5
- package/dist/index.js +3 -3
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Document } from "yaml";
|
|
2
2
|
import { BumpType, TegamiPlugin, WorkspacePackage } from "tegami";
|
|
3
|
-
|
|
4
3
|
//#region src/schema.d.ts
|
|
5
4
|
type DartDependency = string | {
|
|
6
5
|
version?: string;
|
|
@@ -62,10 +61,7 @@ interface DartPluginOptions {
|
|
|
62
61
|
*/
|
|
63
62
|
bumpDep?: (opts: DependentRef) => BumpType | false;
|
|
64
63
|
}
|
|
65
|
-
declare function dart({
|
|
66
|
-
updateLockFile,
|
|
67
|
-
bumpDep: getBumpDepType
|
|
68
|
-
}?: DartPluginOptions): TegamiPlugin;
|
|
64
|
+
declare function dart({ updateLockFile, bumpDep: getBumpDepType }?: DartPluginOptions): TegamiPlugin;
|
|
69
65
|
declare function updateConstraintRange(range: string, version: string): string;
|
|
70
66
|
declare function isPackagePublished(name: string, version: string, hostedUrl: string): Promise<boolean>;
|
|
71
67
|
//#endregion
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { x } from "tinyexec";
|
|
|
6
6
|
import { parseDocument } from "yaml";
|
|
7
7
|
import { WorkspacePackage } from "tegami";
|
|
8
8
|
import { execFailure, fetchFailure, isCI, joinPath } from "tegami/utils";
|
|
9
|
-
//#region ../../node_modules/.pnpm/typia@12.1.1_@types+node@26.1.
|
|
9
|
+
//#region ../../node_modules/.pnpm/typia@12.1.1_@types+node@26.1.1_typescript@6.0.3/node_modules/typia/lib/TypeGuardError.mjs
|
|
10
10
|
/**
|
|
11
11
|
* Error thrown when type assertion fails.
|
|
12
12
|
*
|
|
@@ -89,14 +89,14 @@ var TypeGuardError = class extends Error {
|
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
91
|
//#endregion
|
|
92
|
-
//#region ../../node_modules/.pnpm/typia@12.1.1_@types+node@26.1.
|
|
92
|
+
//#region ../../node_modules/.pnpm/typia@12.1.1_@types+node@26.1.1_typescript@6.0.3/node_modules/typia/lib/internal/_assertGuard.mjs
|
|
93
93
|
const _assertGuard = (exceptionable, props, factory) => {
|
|
94
94
|
if (exceptionable === true) if (factory) throw factory(props);
|
|
95
95
|
else throw new TypeGuardError(props);
|
|
96
96
|
return false;
|
|
97
97
|
};
|
|
98
98
|
//#endregion
|
|
99
|
-
//#region ../../node_modules/.pnpm/typia@12.1.1_@types+node@26.1.
|
|
99
|
+
//#region ../../node_modules/.pnpm/typia@12.1.1_@types+node@26.1.1_typescript@6.0.3/node_modules/typia/lib/internal/_accessExpressionAsString.mjs
|
|
100
100
|
const _accessExpressionAsString = (str) => variable(str) ? `.${str}` : `[${JSON.stringify(str)}]`;
|
|
101
101
|
const variable = (str) => reserved(str) === false && /^[a-zA-Z_$][a-zA-Z_$0-9]*$/g.test(str);
|
|
102
102
|
const reserved = (str) => RESERVED.has(str);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tegami/dart",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "Dart pub workspace support and pub.dev publishing for Tegami",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Fuma Nama",
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"yaml": "^2.9.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@types/node": "^26.1.
|
|
29
|
+
"@types/node": "^26.1.1",
|
|
30
30
|
"@types/semver": "^7.7.1",
|
|
31
|
-
"tsdown": "^0.22.
|
|
31
|
+
"tsdown": "^0.22.4",
|
|
32
32
|
"typescript": "6.0.3",
|
|
33
33
|
"typia": "^12.1.1",
|
|
34
|
-
"
|
|
35
|
-
"
|
|
34
|
+
"@repo/typescript-config": "0.0.0",
|
|
35
|
+
"tegami": "1.2.5"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"tegami": "1.2.
|
|
38
|
+
"tegami": "^1.2.0"
|
|
39
39
|
},
|
|
40
40
|
"inlinedDependencies": {
|
|
41
41
|
"typia": "12.1.1"
|