Skip to content

Commit

Permalink
migrated to Deno
Browse files Browse the repository at this point in the history
  • Loading branch information
KishiTheMechanic committed Oct 11, 2024
1 parent 1cac54f commit 7652b57
Show file tree
Hide file tree
Showing 24 changed files with 4,978 additions and 7,161 deletions.
5 changes: 1 addition & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"extends": [
"next/core-web-vitals",
"prettier"
],
"extends": ["next/core-web-vitals", "prettier"],
"plugins": []
}
16 changes: 6 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,17 @@ jobs:
with:
fetch-depth: 2

- uses: pnpm/action-setup@v3
- name: Setup Deno
uses: denoland/setup-deno@v2
with:
version: 9

- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
deno-version: v2.x

- name: Install dependencies
run: pnpm install
run: deno install

- name: Deploy to Cloudflare
run: pnpm run deploy
run: deno tasks deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ build
.next
.vercel
.wrangler
web-build
web-build
9 changes: 4 additions & 5 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"semi": false,
"singleQuote": true,
"plugins": [
"prettier-plugin-tailwindcss"
],
"plugins": ["prettier-plugin-tailwindcss"],
"pluginSearchDirs": false,
"printWidth": 80
}
"printWidth": 80,
"trailingComma": "none"
}
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Demo: https://skeeter.dev/

## Features

- Edge-Native
- Static Site Generation
- i18n Native
- Next.js App Router
Expand All @@ -39,14 +40,12 @@ Demo: https://skeeter.dev/

## Built with

- [Deno](https://deno.com/)
- [Next.js](https://nextjs.org/)
- [Cloudflare Pages](https://pages.cloudflare.com/)
- [Wrangler](https://developers.cloudflare.com/workers/wrangler/)
- [TypeScript](https://www.typescriptlang.org/)
- [Tailwind CSS](https://tailwindcss.com/)
- [ESLint](https://eslint.org/)
- [Prettier](https://prettier.io/)
- [pnpm](https://pnpm.io/)
- [next-intl](https://next-intl-docs.vercel.app/)
- [React Compiler](https://react.dev/learn/react-compiler)
- [shadcn/ui](https://ui.shadcn.com/)
Expand All @@ -57,8 +56,8 @@ Demo: https://skeeter.dev/
First, run the development server:

```bash
pnpm i
pnpm dev
deno i
deno task dev
```

Open [http://localhost:4242](http://localhost:4242) with your browser to see the result.
Expand All @@ -73,7 +72,7 @@ You can add the high-quality UI components from [shadcn/ui](https://ui.shadcn.co

```bash
// shortcut method for shadcn/ui
pnpm add:ui button
deno task add:ui button
```

You can also use [v0](https://v0.dev/) which is a UI generator with shadcn/ui from simple text prompts and images.
Expand All @@ -90,12 +89,12 @@ You can also use [v0](https://v0.dev/) which is a UI generator with shadcn/ui fr

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/elsoul/skeet-v3-next-ssg-rc This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
Bug reports and pull requests are welcome on GitHub at https://github.com/elsoul/skeet This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

## License

The package is available as open source under the terms of the [Apache-2.0 License](https://www.apache.org/licenses/LICENSE-2.0).

## Code of Conduct

Everyone interacting in the Skeet project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/elsoul/skeet-v3-next-ssg-rc/blob/master/CODE_OF_CONDUCT.md).
Everyone interacting in the Skeet project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/elsoul/skeet/blob/master/CODE_OF_CONDUCT.md).
2 changes: 1 addition & 1 deletion components.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
"components": "@/components",
"utils": "@/lib/utils"
}
}
}
Loading

0 comments on commit 7652b57

Please sign in to comment.