Skip to content

Commit e5766da

Browse files
committed
chore(docs): migrate gatsby to astro.js
1 parent 199d600 commit e5766da

File tree

1,694 files changed

+1139
-55102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,694 files changed

+1139
-55102
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,6 @@ out
8484
.nuxt
8585
dist
8686

87-
# Gatsby files
88-
.cache/
89-
www/public/
9087
# Comment in the public line in if your project uses Gatsby and not Next.js
9188
# https://nextjs.org/blog/next-9-1#public-directory-support
9289
# public

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,15 @@
3030
"test": "bun run test:lint && bun run test:build",
3131
"test:build": "bun run build",
3232
"test:lint": "eslint .",
33+
"docs:dev": "cd www && bun run dev",
34+
"docs:build": "cd www && bun run build",
35+
"docs:preview": "cd www && bun run preview",
3336
"prepare-deploy": "cd www && bun install && bun run clean && cp ../README.md README.md && cp ../LICENSE.md LICENSE.md",
3437
"predeploy:default": "bun run prepare-deploy && cd www && bun run build",
3538
"predeploy:prefix": "bun run prepare-deploy && cd www && bun run build:prefix",
3639
"deploy": "bun run build && bun run deploy:gh",
37-
"deploy:gh": "bun run build && bun run predeploy:prefix && gh-pages -d www/public",
38-
"deploy:netlify": "bun run build && bun run predeploy:default && netlify deploy --prod --dir=www/public"
40+
"deploy:gh": "bun run build && bun run predeploy:prefix && gh-pages -d www/dist",
41+
"deploy:netlify": "bun run build && bun run predeploy:default && netlify deploy --prod --dir=www/dist"
3942
},
4043
"peerDependencies": {
4144
"react": "^16.8.0 || ^17.0.2 || ^18.0.0 || ^19.0.0"

www/.babelrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

www/.gitignore

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
1+
# build output
2+
dist/
3+
# generated types
4+
.astro/
5+
6+
# dependencies
17
node_modules/
2-
.cache/
3-
public
4-
5-
# yarn v3 with zero installs
6-
.yarn/*
7-
!.yarn/cache
8-
!.yarn/patches
9-
!.yarn/plugins
10-
!.yarn/releases
11-
!.yarn/sdks
12-
!.yarn/versions
8+
9+
# logs
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
pnpm-debug.log*
14+
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store

www/.pnp.cjs

Lines changed: 0 additions & 34645 deletions
This file was deleted.

0 commit comments

Comments
 (0)