File tree 12 files changed +83
-44
lines changed
12 files changed +83
-44
lines changed Original file line number Diff line number Diff line change @@ -19,20 +19,20 @@ jobs:
19
19
runs-on : ubuntu-latest
20
20
strategy :
21
21
matrix :
22
- deno-version : [1 .x]
22
+ deno-version : [2 .x]
23
23
24
24
steps :
25
25
- name : ⬇️ Checkout repo
26
- uses : actions/checkout@v3
26
+ uses : actions/checkout@v4
27
27
28
28
- name : 🦕 Setup Deno
29
- uses : denoland/setup-deno@v1
29
+ uses : denoland/setup-deno@v2
30
30
with :
31
31
deno-version : ${{ matrix.deno-version }}
32
32
33
33
- name : ⚡ Run Tests
34
+ working-directory : packages/port-data
34
35
run : |
35
- cd packages/port-data
36
36
deno task test
37
37
env :
38
38
CI : true
@@ -41,14 +41,22 @@ jobs:
41
41
if : startsWith(github.ref, 'refs/tags/hyper-port-data@')
42
42
needs : [test]
43
43
runs-on : ubuntu-latest
44
+ permissions :
45
+ contents : read
46
+ id-token : write
44
47
steps :
45
48
- name : ⬇️ Checkout repo
46
- uses : actions/checkout@v3
49
+ uses : actions/checkout@v4
47
50
48
51
- name : 🦕 Setup Deno
49
- uses : denoland/setup-deno@v1
52
+ uses : denoland/setup-deno@v2
50
53
with :
51
- deno-version : v1.x
54
+ deno-version : v2.x
55
+
56
+ - name : ✨ Publish to JSR
57
+ working-directory : packages/port-data
58
+ run : |
59
+ deno publish --allow-slow-types
52
60
53
61
# - name: 🥚 Setup Eggs CLI
54
62
# run: |
Original file line number Diff line number Diff line change 2
2
<p align =" center " >The Cache Port for the <a href =" https://hyper.io/ " >hyper</a > service framework</p >
3
3
</p >
4
4
<p align =" center " >
5
+ <a href =" https://nest.land/package/hyper-port-cache " ><img src =" https://nest.land/badge.svg " alt =" Nest Badge " /></a >
5
6
<a href =" https://jsr.io/@hyper63/port-cache " ><img src =" https://jsr.io/badges/@hyper63/port-cache " alt =" " /></a >
6
7
<a href =" https://github.com/hyper63/hyper63/actions/workflows/port-cache.yml " ><img src =" https://github.com/hyper63/hyper63/actions/workflows/port-cache.yml/badge.svg " alt =" Test " /></a >
7
8
</p >
Original file line number Diff line number Diff line change 3
3
</p >
4
4
<p align =" center " >
5
5
<a href =" https://nest.land/package/hyper-port-data " ><img src =" https://nest.land/badge.svg " alt =" Nest Badge " /></a >
6
+ <a href =" https://jsr.io/@hyper63/port-data " ><img src =" https://jsr.io/badges/@hyper63/port-data " alt =" " /></a >
6
7
<a href =" https://github.com/hyper63/hyper63/actions/workflows/port-data.yml " ><img src =" https://github.com/hyper63/hyper63/actions/workflows/port-data.yml/badge.svg " alt =" Test " /></a >
7
8
</p >
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " @hyper63/port-data" ,
3
+ "version" : " 2.3.0" ,
4
+ "exports" : " ./mod.ts" ,
5
+ "tasks" : {
6
+ "test" : " deno lint && deno fmt --check && deno test --no-check" ,
7
+ "cache" : " deno install --entrypoint mod.ts"
8
+ },
9
+ "imports" : {
10
+
11
+ "@std/assert" : " jsr:@std/assert@1"
12
+ },
13
+ "fmt" : {
14
+ "include" : [
15
+ " ./"
16
+ ],
17
+ "lineWidth" : 100 ,
18
+ "singleQuote" : true ,
19
+ "semiColons" : false
20
+ },
21
+ "lint" : {
22
+ "rules" : {
23
+ "exclude" : [
24
+ " no-slow-types"
25
+ ]
26
+ }
27
+ },
28
+ "publish" : {
29
+ "include" : [
30
+ " *"
31
+ ],
32
+ "exclude" : [
33
+ " **/*.test.ts"
34
+ ]
35
+ }
36
+ }
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
"$schema" :
" https://x.nest.land/[email protected] /src/schema.json" ,
3
3
"name" : " hyper-port-data" ,
4
4
"entry" : " ./mod.ts" ,
5
- "description" : " Hyper service framework port for Data adapters " ,
5
+ "description" : " Port for the Data Service in the hyper Service Framework " ,
6
6
"homepage" : " https://github.com/hyper63/hyper" ,
7
7
"repo" : " https://github.com/hyper63/hyper" ,
8
8
"version" : " 2.3.0" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
// deno-lint-ignore-file no-unused-vars ban-ts-comment
2
- import { assert , assertRejects } from './dev_deps.ts '
2
+ import { assert , assertRejects } from '@std/assert '
3
3
4
4
import { data , type DataPort } from './mod.ts'
5
5
Original file line number Diff line number Diff line change 1
- import { z , ZodRawShape } from './deps.ts '
1
+ import { z , type ZodRawShape } from 'zod '
2
2
3
3
/**
4
4
* The hyper response schema. MOST adapter methods return this shape.
You can’t perform that action at this time.
0 commit comments