Skip to content

Commit ffd5ab9

Browse files
authored
Merge pull request #132 from nanoapi-io/chore/shadcn
start migrating to shadcn
2 parents af37485 + d498e3a commit ffd5ab9

File tree

93 files changed

+7979
-4720
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+7979
-4720
lines changed

.github/workflows/lint_test_build.yml

Lines changed: 0 additions & 57 deletions
This file was deleted.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Lint, tests and build
2+
3+
on:
4+
push:
5+
branches-ignore: ["main"]
6+
7+
jobs:
8+
lint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v3
13+
14+
- name: Set up Deno
15+
uses: denoland/setup-deno@v2
16+
with:
17+
deno-version: "2.x"
18+
19+
- name: Deno check
20+
run: deno check
21+
22+
- name: Deno lint
23+
run: deno lint
24+
25+
- name: Deno fmt (check)
26+
run: deno fmt --check
27+
28+
tests:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Checkout code
32+
uses: actions/checkout@v3
33+
34+
- name: Set up Node.js
35+
uses: denoland/setup-deno@v2
36+
with:
37+
deno-version: "2.x"
38+
39+
- name: Tests
40+
run: deno task test
41+
42+
compile:
43+
runs-on: ubuntu-latest
44+
steps:
45+
- name: Checkout code
46+
uses: actions/checkout@v3
47+
48+
- name: Set up Node.js
49+
uses: denoland/setup-deno@v2
50+
with:
51+
deno-version: "2.x"
52+
53+
- name: Compile
54+
run: deno task compile:all

deno.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77
"build:app": "deno task --config packages/app/deno.json build",
88
"compile:cli": "deno task --config packages/cli/deno.json compile",
99
"compile": "deno task --config packages/app/deno.json build && deno task --config packages/cli/deno.json compile",
10-
"compile:all": "deno task --config packages/app/deno.json build && deno task --config packages/cli/deno.json compile:linux && deno task --config packages/cli/deno.json compile:macos && deno task --config packages/cli/deno.json compile:windows",
11-
"test": "deno test",
12-
"lint": "deno lint",
13-
"fmt": "deno fmt"
10+
"compile:all": "deno task --config packages/app/deno.json build && deno task --config packages/cli/deno.json 'compile-*'",
11+
"test": "deno run -A npm:vitest",
12+
"lint": "deno fmt && deno check &&deno lint --fix"
13+
},
14+
"imports": {
15+
"vitest": "npm:vitest@^3.1.3"
1416
}
1517
}

0 commit comments

Comments
 (0)