-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
☕ Support JSR #64
☕ Support JSR #64
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: jsr | ||
|
||
env: | ||
DENO_VERSION: 1.x | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
permissions: | ||
contents: read | ||
id-token: write | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: denoland/setup-deno@v1 | ||
with: | ||
deno-version: ${{ env.DENO_VERSION }} | ||
- name: Publish | ||
run: | | ||
deno run -A jsr:@david/[email protected] | ||
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -1,4 +1,7 @@ | ||||||||||||||
{ | ||||||||||||||
"name": "@core/unknownutil", | ||||||||||||||
"version": "0.0.0", | ||||||||||||||
"exports": "./mod.ts", | ||||||||||||||
Comment on lines
+2
to
+4
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The package version specified as "0.0.0" seems incorrect based on the PR objectives, which mention integrating - "version": "0.0.0",
+ "version": "3.16.3", Committable suggestion
Suggested change
|
||||||||||||||
"lock": false, | ||||||||||||||
"imports": { | ||||||||||||||
"https://deno.land/x/unknownutil@$MODULE_VERSION/": "./" | ||||||||||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ import { | |
} from "https://deno.land/[email protected]/testing/snapshot.ts"; | ||
import { assertType } from "https://deno.land/[email protected]/testing/types.ts"; | ||
import { type Equal, stringify } from "./_testutil.ts"; | ||
import { type Predicate, type PredicateType } from "./type.ts"; | ||
import type { Predicate, PredicateType } from "./type.ts"; | ||
import { isBoolean, isNumber, isString } from "./core.ts"; | ||
import { isObjectOf } from "./factory.ts"; | ||
import is, { isAllOf, isOneOf } from "./_deprecated.ts"; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ import { | |
} from "https://deno.land/[email protected]/testing/snapshot.ts"; | ||
import { assertType } from "https://deno.land/[email protected]/testing/types.ts"; | ||
import { type Equal, stringify } from "./_testutil.ts"; | ||
import { type Predicate } from "./type.ts"; | ||
import type { Predicate } from "./type.ts"; | ||
import { | ||
isArray, | ||
isAsyncFunction, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ import { | |
assertStrictEquals, | ||
} from "https://deno.land/[email protected]/assert/mod.ts"; | ||
import { stringify } from "./_testutil.ts"; | ||
import { type Predicate } from "./type.ts"; | ||
import type { Predicate } from "./type.ts"; | ||
import is, { | ||
isAny, | ||
isArray, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ import { | |
} from "https://deno.land/[email protected]/testing/snapshot.ts"; | ||
import { assertType } from "https://deno.land/[email protected]/testing/types.ts"; | ||
import { type Equal, stringify } from "./_testutil.ts"; | ||
import { type Predicate } from "./type.ts"; | ||
import type { Predicate } from "./type.ts"; | ||
import { isOptionalOf } from "./annotation.ts"; | ||
import { | ||
isArray, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ import { | |
} from "https://deno.land/[email protected]/testing/snapshot.ts"; | ||
import { assertType } from "https://deno.land/[email protected]/testing/types.ts"; | ||
import { type Equal, stringify } from "./_testutil.ts"; | ||
import { type Predicate, type PredicateType } from "./type.ts"; | ||
import type { Predicate, PredicateType } from "./type.ts"; | ||
import { isOptionalOf } from "./annotation.ts"; | ||
import { isBoolean, isNumber, isString, isUndefined } from "./core.ts"; | ||
import { isObjectOf } from "./factory.ts"; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider pinning the version of the
jsr:@david/publish-on-tag
action to ensure consistent behavior across runs.Committable suggestion