-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to Deno, Tailwind v4, daisyUI v5 and other improvements
- Loading branch information
Showing
25 changed files
with
4,218 additions
and
8,749 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Deploy to Fleek | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
env: | ||
FLEEK_TOKEN: ${{ secrets.FLEEK_TOKEN }} | ||
FLEEK_PROJECT_ID: ${{ secrets.FLEEK_PROJECT_ID }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Runtime | ||
uses: denoland/setup-deno@v2 | ||
with: | ||
deno-version: v2.x | ||
|
||
- name: Install dependencies | ||
run: deno install | ||
|
||
- name: Build | ||
run: deno task build | ||
|
||
- name: Install Fleek CLI | ||
run: npm i -g @fleek-platform/cli | ||
|
||
- name: Build & deploy sites | ||
run: fleek sites deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
{ | ||
// "editor.formatOnSave": true, | ||
"editor.formatOnSaveMode": "modificationsIfAvailable", | ||
"[typescript]": { "editor.defaultFormatter": "denoland.vscode-deno" }, | ||
"deno.enable": true, | ||
"deno.lint": true, | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"yaml.schemas": { | ||
"https://json.schemastore.org/github-workflow.json": "file:///Users/kuchta/Projects/radixverse/.github/workflows/deploy.yml" | ||
}, | ||
"editor.formatOnSaveMode": "modificationsIfAvailable", | ||
"typescript.tsserver.experimental.enableProjectDiagnostics": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"name": "@kuchta/radixverse", | ||
"version": "0.0.4", | ||
"exports": "./src/utils.ts", | ||
"nodeModulesDir": "auto", | ||
"tasks": { | ||
"start": "deno run -A npm:vite --host", | ||
"preview": "deno run -A npm:vite preview", | ||
"check": "deno check --unstable-sloppy-imports src/**/*.ts src/**/*.tsx", | ||
"lint": "deno lint", | ||
"test": "deno test --unstable-sloppy-imports", | ||
"build": "deno run -A npm:vite build", | ||
"pre-commit": "deno task lint && deno task test && deno task build" | ||
}, | ||
"publish": { | ||
"include": [ | ||
"README.md", | ||
"deno.json", | ||
"package.json", | ||
"src/utils.ts" | ||
] | ||
}, | ||
"include": ["src/**/*.ts", "src/**/*.tsx"], | ||
"lint": { | ||
"include": ["src/"], | ||
"rules": { | ||
"tags": ["recommended"], | ||
"exclude": [ | ||
"no-cond-assign" | ||
] | ||
} | ||
}, | ||
"compilerOptions": { | ||
"jsx": "react-jsx", | ||
"lib": [ "ESNext", "DOM", "DOM.Iterable" ], | ||
"noFallthroughCasesInSwitch": true, | ||
"strict": true, | ||
"types": [ "node", "vite/client" ] | ||
} | ||
} |
Oops, something went wrong.