Skip to content

Commit

Permalink
Merge pull request #218 from jacobwgillespie/astro
Browse files Browse the repository at this point in the history
Use Astro
  • Loading branch information
jacobwgillespie committed May 8, 2024
2 parents 8a16cd0 + 6b83a0f commit 4a0ddc3
Show file tree
Hide file tree
Showing 44 changed files with 4,676 additions and 7,445 deletions.
9 changes: 0 additions & 9 deletions .eslintignore

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Expand Up @@ -7,15 +7,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3.0.0
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
version: 7.x.x
- uses: actions/setup-node@v4.0.1
with:
node-version: '16'
node-version: '20'
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm fmt:check
- run: pnpm lint
- run: pnpm type-check
- run: pnpm build
54 changes: 0 additions & 54 deletions .github/workflows/dependabot.yml

This file was deleted.

29 changes: 22 additions & 7 deletions .gitignore
@@ -1,10 +1,25 @@
node_modules
# build output
dist/
# generated types
.astro/

/.cache
/.mf
/functions/\[\[path\]\].js
/functions/\[\[path\]\].js.map
/public/build
# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*


# environment variables
.dev.vars
.env
.env.production

# macOS-specific files
.DS_Store

/app/styles/app.css
# jetbrains setting folder
.idea/
27 changes: 0 additions & 27 deletions .prettierrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion .vscode/extensions.json
@@ -1,3 +1,3 @@
{
"recommendations": ["esbenp.prettier-vscode"]
"recommendations": ["astro-build.astro-vscode", "esbenp.prettier-vscode"]
}
11 changes: 11 additions & 0 deletions .vscode/launch.json
@@ -0,0 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
8 changes: 6 additions & 2 deletions .vscode/settings.json
@@ -1,8 +1,12 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"prettier.prettierPath": "node_modules/prettier/index.js",
"prettier.prettierPath": "node_modules/prettier/index.cjs",
"typescript.enablePromptUseWorkspaceTsdk": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"prettier.documentSelectors": ["**/*.astro"],
"[astro]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Jacob Gillespie <jacobwgillespie@gmail.com>
Copyright (c) 2024 Jacob Gillespie <jacobwgillespie@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -22,7 +22,7 @@ The purpose is two-fold. Firstly, _Saved for Later_ is useful to me as a destina

### How

_Saved for Later_ is powered by [Remix](https://remix.run/) and [Cloudflare Pages](https://pages.cloudflare.com/).
_Saved for Later_ is powered by [Astro](https://astro.build/) and [Cloudflare Pages](https://pages.cloudflare.com/).

Feed items are scraped directly from the Feedbin API and saved into a Cloudflare KV key, with a 15 minute expiration. Then every 5 minutes, a background cron job fetches the latest items and updates the key. In effect, this should mean that a visitor to the site should view the latest data, at most 5 minutes old.

Expand Down
4 changes: 0 additions & 4 deletions app/entry.client.tsx

This file was deleted.

19 changes: 0 additions & 19 deletions app/entry.server.tsx

This file was deleted.

29 changes: 0 additions & 29 deletions app/root.tsx

This file was deleted.

10 changes: 0 additions & 10 deletions app/routes/atom.ts

This file was deleted.

126 changes: 0 additions & 126 deletions app/routes/index.tsx

This file was deleted.

0 comments on commit 4a0ddc3

Please sign in to comment.