Skip to content

Commit

Permalink
feature: swapped to astro for that SSG goodness
Browse files Browse the repository at this point in the history
  • Loading branch information
OscarWoHA committed Jun 27, 2022
1 parent 2be55be commit 97a1839
Show file tree
Hide file tree
Showing 16 changed files with 12,490 additions and 5,333 deletions.
31 changes: 14 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# build output
dist/
.output/

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
node_modules/

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


# environment variables
.env
.env.production

# macOS-specific files
.DS_Store
7 changes: 5 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnPaste": true,
"editor.formatOnSave": true
}
"editor.formatOnSave": true,
"[astro]": {
"editor.defaultFormatter": "astro-build.astro-vscode"
}
}
9 changes: 9 additions & 0 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { defineConfig } from "astro/config";
import react from "@astrojs/react";

import tailwind from "@astrojs/tailwind";

// https://astro.build/config
export default defineConfig({
integrations: [react(), tailwind({})],
});
17,397 changes: 12,328 additions & 5,069 deletions package-lock.json

Large diffs are not rendered by default.

53 changes: 14 additions & 39 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,25 @@
{
"name": "sodd-driven-development",
"version": "0.1.0",
"name": "@hireless/sodd-driven-development",
"description": "A Hireless.io SSG website",
"version": "0.2.0",
"private": true,
"license": "UNLICENSED",
"dependencies": {
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.4.0",
"@types/node": "^16.11.24",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"astro": "^1.0.0-beta.56",
"react-feather": "^2.0.9",
"react-scripts": "5.0.0",
"sass": "^1.49.7",
"typescript": "^4.5.5"
"react-scripts": "^5.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview"
},
"devDependencies": {
"autoprefixer": "^10.4.2",
"postcss": "^8.4.6",
"tailwindcss": "^3.0.22"
"@astrojs/react": "^0.2.0",
"@astrojs/tailwind": "^0.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.5.5"
}
}
6 changes: 0 additions & 6 deletions postcss.config.js

This file was deleted.

61 changes: 0 additions & 61 deletions public/index.html

This file was deleted.

2 changes: 2 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Allow: /
95 changes: 0 additions & 95 deletions src/App.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions src/index.tsx

This file was deleted.

Loading

0 comments on commit 97a1839

Please sign in to comment.