Skip to content

Commit a039363

Browse files
committed
use astro to build the pag
1 parent ea7e294 commit a039363

Some content is hidden

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

58 files changed

+4637
-10835
lines changed

.astro/content-assets.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default new Map();

.astro/content-modules.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default new Map();

.astro/data-store.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[["Map",1,2],"meta::meta",["Map",3,4,5,6],"astro-version","5.3.0","astro-config-digest","{\"root\":{},\"srcDir\":{},\"publicDir\":{},\"outDir\":{},\"cacheDir\":{},\"compressHTML\":true,\"base\":\"/\",\"trailingSlash\":\"ignore\",\"output\":\"static\",\"scopedStyleStrategy\":\"attribute\",\"build\":{\"format\":\"directory\",\"client\":{},\"server\":{},\"assets\":\"_astro\",\"serverEntry\":\"entry.mjs\",\"redirects\":true,\"inlineStylesheets\":\"auto\",\"concurrency\":1},\"server\":{\"open\":false,\"host\":false,\"port\":4321,\"streaming\":true},\"redirects\":{},\"image\":{\"endpoint\":{\"route\":\"/_image\"},\"service\":{\"entrypoint\":\"astro/assets/services/sharp\",\"config\":{}},\"domains\":[],\"remotePatterns\":[]},\"devToolbar\":{\"enabled\":true},\"markdown\":{\"syntaxHighlight\":\"shiki\",\"shikiConfig\":{\"langs\":[],\"langAlias\":{},\"theme\":\"github-dark\",\"themes\":{},\"wrap\":false,\"transformers\":[]},\"remarkPlugins\":[],\"rehypePlugins\":[],\"remarkRehype\":{},\"gfm\":true,\"smartypants\":true},\"security\":{\"checkOrigin\":true},\"env\":{\"schema\":{},\"validateSecrets\":false},\"experimental\":{\"clientPrerender\":false,\"contentIntellisense\":false,\"responsiveImages\":false,\"serializeConfig\":false},\"legacy\":{\"collections\":false}}"]

.astro/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"_variables": {
3+
"lastUpdateCheck": 1740190382923
4+
}
5+
}

.astro/types.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/// <reference types="astro/client" />

astro.config.mjs

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// @ts-check
2+
import { defineConfig } from 'astro/config';
3+
4+
import react from '@astrojs/react';
5+
6+
import tailwindcss from '@tailwindcss/vite';
7+
8+
// https://astro.build/config
9+
export default defineConfig({
10+
integrations: [react()],
11+
12+
vite: {
13+
plugins: [tailwindcss()]
14+
}
15+
});

package.json

+19-34
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,23 @@
11
{
2-
"name": "first-contributions",
3-
"version": "0.1.0",
4-
"private": true,
5-
"homepage": "https://firstcontributions.github.io/",
6-
"devDependencies": {
7-
"enzyme": "^3.0.0",
8-
"gh-pages": "^5.0.0",
9-
"react-scripts": "^5.0.1",
10-
"react-test-renderer": "^15.0.0",
11-
"sw-precache": "^5.2.0"
12-
},
13-
"dependencies": {
14-
"lodash": "^4.17.19",
15-
"react": "^17.0.2",
16-
"react-dom": "^17.0.2",
17-
"react-select": "^1.0.0-rc.10"
18-
},
2+
"name": "first-website",
3+
"type": "module",
4+
"version": "0.0.1",
195
"scripts": {
20-
"start": "react-scripts start",
21-
"build": "react-scripts build",
22-
"test": "react-scripts test --env=jsdom",
23-
"eject": "react-scripts eject",
24-
"deploy": "npm run build&&gh-pages -b master -d build"
6+
"dev": "astro dev",
7+
"build": "astro build",
8+
"preview": "astro preview",
9+
"astro": "astro"
2510
},
26-
"browserslist": {
27-
"production": [
28-
">0.2%",
29-
"not dead",
30-
"not op_mini all"
31-
],
32-
"development": [
33-
"last 1 chrome version",
34-
"last 1 firefox version",
35-
"last 1 safari version"
36-
]
11+
"dependencies": {
12+
"@astrojs/react": "^4.2.0",
13+
"@tailwindcss/vite": "^4.0.8",
14+
"@types/react": "^19.0.10",
15+
"@types/react-dom": "^19.0.4",
16+
"astro": "^5.3.0",
17+
"lodash": "^4.17.21",
18+
"react": "^19.0.0",
19+
"react-dom": "^19.0.0",
20+
"react-select": "^5.10.0",
21+
"tailwindcss": "^4.0.8"
3722
}
38-
}
23+
}

0 commit comments

Comments
 (0)