Update instances list, fix script bug

pull/422/head
Lim Chee Aun 2024-02-15 17:53:35 +08:00
rodzic daabd85273
commit 2f0d04eca4
3 zmienionych plików z 544 dodań i 509 usunięć

Wyświetl plik

@ -104,7 +104,7 @@ Prerequisites: Node.js 18+
- `npm run build` - Build for production
- `npm run preview` - Preview the production build
- `npm run fetch-instances` - Fetch instances list from [instances.social](https://instances.social/), save it to `src/data/instances.json`
- requires `.env.dev` file with `INSTANCES_SOCIAL_SECRET_TOKEN` variable set
- requires `.env.local` file with `INSTANCES_SOCIAL_SECRET_TOKEN` variable set
- `npm run sourcemap` - Run `source-map-explorer` on the production build
## Tech stack

Wyświetl plik

@ -6,7 +6,7 @@
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"fetch-instances": "env $(cat .env.dev | grep -v \"#\" | xargs) node scripts/fetch-instances-list.js",
"fetch-instances": "env $(cat .env.local | grep -v \"#\" | xargs) node scripts/fetch-instances-list.js",
"sourcemap": "npx source-map-explorer dist/assets/*.js"
},
"dependencies": {

Plik diff jest za duży Load Diff