Skip to content

Commit

Permalink
update to astro 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vkbansal committed Aug 31, 2023
1 parent f502507 commit 9df5e32
Show file tree
Hide file tree
Showing 10 changed files with 1,539 additions and 1,051 deletions.
2 changes: 1 addition & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const SSL_CERT = CERTS_DIR_EXISTS

// https://astro.build/config
export default defineConfig({
outDir: 'public',
outDir: 'dist',
markdown: {
syntaxHighlight: 'shiki',
shikiConfig: {
Expand Down
9 changes: 2 additions & 7 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
[build]
publish = "public"
publish = "dist"
command = "pnpm run build"

[build.environment]
NPM_FLAGS="--version"
NODE_VERSION="16"

# [functions]
# directory = "src/_netlify/functions"
# external_node_modules = ["mongodb"]
NODE_VERSION="20"

[[redirects]]
from = "/sqlite-wasm-demo/*"
Expand Down
27 changes: 14 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,26 @@
"build": "NODE_ENV=production astro build"
},
"dependencies": {
"@types/node": "^20.2.3",
"astro": "^2.5.5",
"@types/node": "^20.5.7",
"astro": "^3.0.3",
"change-case": "^4.1.2",
"dayjs": "^1.11.7",
"html-entities": "^2.3.3",
"dayjs": "^1.11.9",
"html-entities": "^2.4.0",
"normalize.css": "^8.0.1",
"reading-time": "^1.5.0",
"sass": "^1.62.1",
"typescript": "^5.0.4"
"sass": "^1.66.1",
"typescript": "^5.2.2"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.7",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-astro": "^0.27.0",
"@astrojs/check": "^0.2.0",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-astro": "^0.29.0",
"husky": "^8.0.3",
"prettier": "^2.8.8",
"prettier-plugin-astro": "^0.9.0",
"prettier": "^3.0.3",
"prettier-plugin-astro": "^0.12.0",
"rehype-attr": "^2.1.4",
"rehype-external-links": "^2.1.0"
}
Expand Down
Loading

0 comments on commit 9df5e32

Please sign in to comment.