feat: update package metadata and add peer dependencies

This commit is contained in:
aspizu
2025-03-10 03:45:01 +05:30
parent 74d877c774
commit 1656bbef4a
3 changed files with 28 additions and 3 deletions
+2
View File
@@ -0,0 +1,2 @@
/dist/
/node_modules/
+4
View File
@@ -10,8 +10,12 @@
"@types/node": "^22.13.10", "@types/node": "^22.13.10",
"astro": "^5.4.2", "astro": "^5.4.2",
"prettier": "^3.5.3", "prettier": "^3.5.3",
"typescript": "^5.8.2",
"vite": "^6.2.1", "vite": "^6.2.1",
}, },
"peerDependencies": {
"astro": ">= 3.0.0",
},
}, },
}, },
"packages": { "packages": {
+22 -3
View File
@@ -1,9 +1,14 @@
{ {
"name": "astro-gemtext", "name": "astro-gemtext",
"version": "0.1.0", "homepage": "https://github.com/aspizu/astro-gemtext",
"version": "0.2.0",
"type": "module", "type": "module",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/aspizu/astro-gemtext.git"
},
"scripts": { "scripts": {
"fmt": "bunx --bun prettier --write .", "fmt": "bunx --bun prettier --write .",
"compile": "tsc --outDir dist" "compile": "tsc --outDir dist"
@@ -11,9 +16,19 @@
"files": [ "files": [
"dist" "dist"
], ],
"author": "", "keywords": [
"astro",
"renderer",
"astro-component",
"withastro"
],
"author": {
"name": "Priyanshu Dangare",
"email": "aspizu@protonmail.com",
"url": "https://github.com/aspizu"
},
"license": "MIT", "license": "MIT",
"description": "", "description": "gemtext integration for Astro.",
"dependencies": { "dependencies": {
"gemtext": "^0.2.2" "gemtext": "^0.2.2"
}, },
@@ -21,6 +36,10 @@
"@types/node": "^22.13.10", "@types/node": "^22.13.10",
"astro": "^5.4.2", "astro": "^5.4.2",
"prettier": "^3.5.3", "prettier": "^3.5.3",
"typescript": "^5.8.2",
"vite": "^6.2.1" "vite": "^6.2.1"
},
"peerDependencies": {
"astro": ">= 3.0.0"
} }
} }