Implement a basic astro integration for @websnacksjs/i18n

This commit is contained in:
M. George Hansen 2025-08-15 14:12:49 +12:00
parent 16a428e396
commit baa002ad2f
Signed by: mgeorgehansen
SSH key fingerprint: SHA256:JlIGiQLPyQ2RHTH3a2oVlb20Xkh9Glr8DUF4YTXHJxM
8 changed files with 459 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{
"name": "@websnacksjs/i18n-astro",
"version": "0.1.0",
"description": "Astro integration for @websnacksjs/i18n",
"keywords": [
"websnacks",
"i18n",
"translation",
"internationalization",
"i18n",
"astro"
],
"author": "M. George Hansen <mgeorge@technopolitica.com>",
"license": "Apache-2.0",
"type": "module",
"exports": {
".": "./dist/index.js"
},
"files": [
"dist/",
"src/"
],
"scripts": {
"build": "tsc --build"
},
"engines": {
"node": ">=22"
},
"engineStrict": true,
"peerDependencies": {
"astro": "^5"
},
"dependencies": {
"@websnacksjs/i18n": "0.1.0",
"ts-poet": "^6.12.0"
},
"devDependencies": {
"vite": "^6"
}
}