Skip to content

Commit

Permalink
Add standard-schema/spec as devDep
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks committed Dec 10, 2024
1 parent 501dbc2 commit b3434ed
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno/lib/__tests__/standard-schema.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { util } from "../helpers/util.ts";

import * as z from "../index.ts";

import type { StandardSchemaV1 } from "../standard-schema.ts";
import type { StandardSchemaV1 } from "@standard-schema/spec";

test("assignability", () => {
const _s1: StandardSchemaV1 = z.string();
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@babel/preset-typescript": "^7.22.5",
"@jest/globals": "^29.4.3",
"@rollup/plugin-typescript": "^8.2.0",
"@standard-schema/spec": "^1.0.0-beta.4",
"@swc/core": "^1.3.66",
"@swc/jest": "^0.2.26",
"@types/benchmark": "^2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/standard-schema.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { util } from "../helpers/util";

import * as z from "../index";

import type { StandardSchemaV1 } from "../standard-schema";
import type { StandardSchemaV1 } from "@standard-schema/spec";

test("assignability", () => {
const _s1: StandardSchemaV1 = z.string();
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2881,6 +2881,11 @@
dependencies:
"@sinonjs/commons" "^3.0.0"

"@standard-schema/spec@^1.0.0-beta.4":
version "1.0.0-beta.4"
resolved "https://registry.yarnpkg.com/@standard-schema/spec/-/spec-1.0.0-beta.4.tgz#62f520109add3eb016004098363bfee0678dd1ec"
integrity sha512-d3IxtzLo7P1oZ8s8YNvxzBUXRXojSut8pbPrTYtzsc5sn4+53jVqbk66pQerSZbZSJZQux6LkclB/+8IDordHg==

"@swc/[email protected]":
version "1.4.8"
resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.4.8.tgz#2fb702e209310c2da2bc712b0757c011b583a60d"
Expand Down

0 comments on commit b3434ed

Please sign in to comment.