Skip to content

Commit

Permalink
Merge pull request #31 from josefaidt/v3-again
Browse files Browse the repository at this point in the history
v3  astro
  • Loading branch information
josefaidt authored Jan 1, 2024
2 parents e97cd1f + 34aefd5 commit 019e5d0
Show file tree
Hide file tree
Showing 141 changed files with 7,188 additions and 7,124 deletions.
15 changes: 0 additions & 15 deletions .eslintrc.cjs

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/deploy-to-vercel.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/issue-publish.yml

This file was deleted.

22 changes: 11 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
.DS_Store
node_modules
*.log
# build output
dist/
# generated types
.astro/

.env
# dependencies
node_modules/

/.svelte
/.svelte-kit
/build
.vercel
.vercel_build_output
packages/**/build
packages/**/lib
# no logs
pnpm-debug.log*

# no dotenv files
.env*
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.9.0
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

11 changes: 0 additions & 11 deletions .prettierrc

This file was deleted.

6 changes: 0 additions & 6 deletions .vercelignore

This file was deleted.

3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"recommendations": ["svelte.svelte-vscode"]
"recommendations": ["astro-build.astro-vscode", "unifiedjs.vscode-mdx"],
"unwantedRecommendations": []
}
11 changes: 11 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -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: 3 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"conventionalCommits.scopes": ["app"]
"files.associations": {
"*.css": "tailwindcss"
}
}
8 changes: 0 additions & 8 deletions app.config.js

This file was deleted.

26 changes: 26 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import mdx from "@astrojs/mdx"
import sitemap from "@astrojs/sitemap"
import tailwind from "@astrojs/tailwind"
import icon from "astro-icon"
import { defineConfig } from "astro/config"
import rouge2 from "./rouge2-modded.json"

// https://astro.build/config
export default defineConfig({
site: "https://josef.dev",
integrations: [
icon(),
mdx(),
sitemap(),
tailwind({
applyBaseStyles: false,
}),
],
markdown: {
gfm: true,
shikiConfig: {
theme: rouge2,
wrap: true,
},
},
})
14 changes: 0 additions & 14 deletions jsconfig.json

This file was deleted.

80 changes: 30 additions & 50 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,61 +1,41 @@
{
"name": "josef.dev",
"version": "3.0.0",
"private": true,
"version": "2.0.0",
"license": "MIT",
"type": "module",
"scripts": {
"prebuild": "pnpm run build --filter ./packages --parallel",
"dev": "svelte-kit dev",
"build": "svelte-kit build",
"preview": "svelte-kit preview",
"lint": "eslint src",
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ."
"astro": "astro",
"build": "astro build",
"check": "astro check",
"dev": "astro dev",
"preview": "astro preview",
"start": "astro dev"
},
"dependencies": {
"@jlengstorf/get-share-image": "^0.8.0",
"@urql/core": "^2.5.0",
"graphql": "^16.5.0",
"marked": "^4.0.17",
"node-fetch": "^3.2.6"
"prettier": {
"plugins": [
"prettier-plugin-packagejson",
"prettier-plugin-tailwindcss"
],
"semi": false
},
"devDependencies": {
"@josef/graphql": "workspace:*",
"@sveltejs/adapter-vercel": "next",
"@sveltejs/kit": "next",
"autoprefixer": "^10.4.7",
"dayjs": "^1.11.3",
"dotenv": "^16.0.1",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte3": "^4.0.0",
"highlight.js": "^11.5.1",
"highlightjs-graphql": "^1.0.2",
"husky": "^8.0.1",
"js-yaml": "^4.1.0",
"lint-staged": "^13.0.2",
"postcss": "^8.4.14",
"postcss-import": "^14.1.0",
"prettier": "^2.7.1",
"prettier-plugin-svelte": "^2.7.0",
"@astrojs/check": "^0.3.4",
"@astrojs/mdx": "^2.0.3",
"@astrojs/rss": "^4.0.1",
"@astrojs/sitemap": "^3.0.4",
"@astrojs/tailwind": "^5.1.0",
"@iconify-json/gg": "^1.1.9",
"@iconify-json/simple-icons": "^1.1.86",
"astro": "^4.0.8",
"astro-icon": "1.0.1",
"mdast-util-to-string": "^4.0.0",
"prettier": "^3.1.1",
"prettier-plugin-packagejson": "^2.4.8",
"prettier-plugin-tailwindcss": "^0.5.10",
"reading-time": "^1.5.0",
"slugify": "^1.6.5",
"svelte": "^3.48.0",
"svelte-check": "^2.7.2",
"svelte-preprocess": "^4.10.7",
"svelte-themer": "0.5.5",
"vercel": "^25.1.0",
"vite": "^2.9.12"
"tailwindcss": "^3.4.0",
"typescript": "^5.3.3",
"wrangler": "^3.22.1"
},
"lint-staged": {
"*.{js,svelte}": [
"eslint --fix",
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
"packageManager": "[email protected]+sha256.9e5f62ce5f2b7d4ceb3c2848f41cf0b33032c24d683c7088b53f62b1885fb246"
}
1 change: 0 additions & 1 deletion packages/graphql/.gitignore

This file was deleted.

38 changes: 0 additions & 38 deletions packages/graphql/package.json

This file was deleted.

47 changes: 0 additions & 47 deletions packages/graphql/scripts/build.js

This file was deleted.

Loading

0 comments on commit 019e5d0

Please sign in to comment.