mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
Set up Paraglide for localization
This commit is contained in:
parent
7bf946deb2
commit
1928366081
13 changed files with 12385 additions and 16 deletions
10
package.json
10
package.json
|
|
@ -5,11 +5,13 @@
|
|||
"scripts": {
|
||||
"dev": "concurrently \"npm:gql:watch\" \"npm:astro:dev\"",
|
||||
"astro:dev": "astro dev",
|
||||
"build": "astro check && npm run gql:compile && astro build",
|
||||
"build": "npm run paraglide:compile && astro check && npm run gql:compile && astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro",
|
||||
"gql:compile": "graphql-codegen",
|
||||
"gql:watch": "graphql-codegen -w"
|
||||
"gql:watch": "graphql-codegen -w",
|
||||
"paraglide:compile": "paraglide-js compile --project ./project.inlang --outdir ./src\\paraglide",
|
||||
"postinstall": "npm run paraglide:compile"
|
||||
},
|
||||
"dependencies": {
|
||||
"@apollo/client": "^3.11.4",
|
||||
|
|
@ -22,6 +24,7 @@
|
|||
"@graphql-tools/load-files": "^7.0.0",
|
||||
"@graphql-tools/resolvers-composition": "^7.0.1",
|
||||
"@graphql-tools/schema": "^10.0.4",
|
||||
"@inlang/paraglide-astro": "^0.2.2",
|
||||
"astro": "^4.13.1",
|
||||
"auth-astro": "^4.1.2",
|
||||
"bcrypt": "^5.1.1",
|
||||
|
|
@ -32,6 +35,7 @@
|
|||
"tailwindcss": "^3.4.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@inlang/paraglide-js": "1.11.2",
|
||||
"@parcel/watcher": "^2.4.1",
|
||||
"@types/bcrypt": "^5.0.2",
|
||||
"@types/lodash": "^4.17.7",
|
||||
|
|
@ -45,4 +49,4 @@
|
|||
"prettier-plugin-astro": "^0.14.1",
|
||||
"typescript": "^5.5.4"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue