@tegami/dart 1.1.3 → 1.2.1
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.js +2 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { glob } from "tinyglobby";
|
|
|
5
5
|
import { x } from "tinyexec";
|
|
6
6
|
import { parseDocument } from "yaml";
|
|
7
7
|
import { WorkspacePackage } from "tegami";
|
|
8
|
-
import { execFailure, isCI, joinPath } from "tegami/utils";
|
|
8
|
+
import { execFailure, fetchFailure, isCI, joinPath } from "tegami/utils";
|
|
9
9
|
//#region ../../node_modules/.pnpm/typia@12.1.1_@types+node@26.0.1_typescript@6.0.3/node_modules/typia/lib/TypeGuardError.mjs
|
|
10
10
|
/**
|
|
11
11
|
* Error thrown when type assertion fails.
|
|
@@ -623,7 +623,7 @@ async function isPackagePublished(name, version, hostedUrl) {
|
|
|
623
623
|
"User-Agent": "tegami-dart"
|
|
624
624
|
} });
|
|
625
625
|
if (response.status === 404) return false;
|
|
626
|
-
if (!response.ok)
|
|
626
|
+
if (!response.ok) throw await fetchFailure(`Unable to validate ${name}@${version} on ${hostedUrl}`, response);
|
|
627
627
|
return assertHostedPackage(await response.json()).versions?.some((entry) => entry.version === version) ?? false;
|
|
628
628
|
}
|
|
629
629
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tegami/dart",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Dart pub workspace support and pub.dev publishing for Tegami",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Fuma Nama",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"typescript": "6.0.3",
|
|
33
33
|
"typia": "^12.1.1",
|
|
34
34
|
"@repo/typescript-config": "0.0.0",
|
|
35
|
-
"tegami": "1.1
|
|
35
|
+
"tegami": "1.2.1"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"tegami": "1.1
|
|
38
|
+
"tegami": "1.2.1"
|
|
39
39
|
},
|
|
40
40
|
"inlinedDependencies": {
|
|
41
41
|
"typia": "12.1.1"
|