feat: Chore: add imports for user Customizations (#7)

* Create draft PR for #6
[skip ci]

* Update package.json and pnpm-lock.yaml

---------

Co-authored-by: create-issue-branch[bot] <53036503+create-issue-branch[bot]@users.noreply.github.com>
Co-authored-by: Adam Matthiesen <amatthiesen@outlook.com>
This commit is contained in:
create-issue-branch[bot] 2024-03-11 08:14:00 -07:00 committed by GitHub
parent 1fa679f11a
commit d86777fdae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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" "src"
], ],
"exports": { "exports": {
".": "./src/index.ts" ".": "./src/index.ts",
"./api": "./src/hn-gql/index.ts",
"./components/*": "./src/components/*"
}, },
"scripts": {}, "scripts": {},
"type": "module", "type": "module",
@ -42,13 +44,13 @@
}, },
"dependencies": { "dependencies": {
"@tailwindcss/vite": "4.0.0-alpha.7", "@tailwindcss/vite": "4.0.0-alpha.7",
"astro-font": "0.0.77", "astro-font": "^0.0.77",
"astro-integration-kit": "^0.5.1", "astro-integration-kit": "^0.5.1",
"astro-remote": "^0.3.2", "astro-remote": "^0.3.2",
"astro-seo": "^0.8.3", "astro-seo": "^0.8.3",
"graphql": "^16.8.1", "graphql": "^16.8.1",
"graphql-request": "^6.1.0", "graphql-request": "^6.1.0",
"picocolors": "1.0.0", "picocolors": "^1.0.0",
"tailwindcss": "4.0.0-alpha.7", "tailwindcss": "4.0.0-alpha.7",
"ultrahtml": "^1.5.3" "ultrahtml": "^1.5.3"
} }

View File

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