feat: Chore: add imports for user Customizations #7

Merged
create-issue-branch[bot] merged 2 commits from issue-6-Chore_add_imports_for_user_Cust into main 2024-03-11 15:14:00 +00:00
3 changed files with 12 additions and 5 deletions

View File

@ -0,0 +1,5 @@
---
"@matthiesenxyz/astro-hashnode": patch
---
adds exports for HashnodeAPI, as well as components so users can import the pre-built components for their own layout

View File

@ -30,7 +30,9 @@
"src"
],
"exports": {
".": "./src/index.ts"
".": "./src/index.ts",
"./api": "./src/hn-gql/index.ts",
"./components/*": "./src/components/*"
},
"scripts": {},
"type": "module",
@ -42,13 +44,13 @@
},
"dependencies": {
"@tailwindcss/vite": "4.0.0-alpha.7",
"astro-font": "0.0.77",
"astro-font": "^0.0.77",
"astro-integration-kit": "^0.5.1",
"astro-remote": "^0.3.2",
"astro-seo": "^0.8.3",
"graphql": "^16.8.1",
"graphql-request": "^6.1.0",
"picocolors": "1.0.0",
"picocolors": "^1.0.0",
"tailwindcss": "4.0.0-alpha.7",
"ultrahtml": "^1.5.3"
}

View File

@ -24,7 +24,7 @@ importers:
specifier: '>=4.4.1'
version: 4.4.15(@types/node@20.11.25)(typescript@5.4.2)
astro-font:
specifier: 0.0.77
specifier: ^0.0.77
version: 0.0.77
astro-integration-kit:
specifier: ^0.5.1
@ -42,7 +42,7 @@ importers:
specifier: ^6.1.0
version: 6.1.0(graphql@16.8.1)
picocolors:
specifier: 1.0.0
specifier: ^1.0.0
version: 1.0.0
tailwindcss:
specifier: 4.0.0-alpha.7