published package

This commit is contained in:
2023-03-08 17:00:08 +01:00
parent 4353b726e2
commit 177b588e12
3 changed files with 3 additions and 9 deletions

View File

@@ -12,7 +12,7 @@
"dependencies": { "dependencies": {
"@astrojs/mdx": "^0.17.2", "@astrojs/mdx": "^0.17.2",
"astro": "^2.0.16", "astro": "^2.0.16",
"garlic-astro": "file:../../../garlic-astro", "garlic-astro": "^0.0.1",
"jsdom": "^21.1.0" "jsdom": "^21.1.0"
} }
} }

View File

@@ -2,6 +2,8 @@
"name": "garlic-astro", "name": "garlic-astro",
"version": "0.0.1", "version": "0.0.1",
"type": "module", "type": "module",
"author": "Daniel Alves Rosel",
"homepage": "https://github.com/velocitatem/garlic/tree/main",
"exports": { "exports": {
".": "./index.ts" ".": "./index.ts"
}, },

View File

@@ -1,8 +0,0 @@
---
// Write your component code in this file!
export interface Props {
prefix?: string;
}
---
<div>{Astro.props.prefix} My special component</div>