From 5657182a67f5d6e5c85e1f8aa7658bbb12fd471a Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Sun, 16 Jul 2023 12:10:40 +0200 Subject: [PATCH] chore: finalize package for publishing --- index.ts | 5 +++++ package.json | 10 +++++++++- src/{components => }/Resumable.astro | 0 3 files changed, 14 insertions(+), 1 deletion(-) rename src/{components => }/Resumable.astro (100%) diff --git a/index.ts b/index.ts index e69de29..cc0b985 100644 --- a/index.ts +++ b/index.ts @@ -0,0 +1,5 @@ +// eslint-disable-next-line @typescript-eslint/ban-ts-comment +// @ts-ignore +import Resumable from './src/Resumable.astro'; +export default Resumable; +export * from './src/resume'; diff --git a/package.json b/package.json index 474c5d5..734d8e4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,15 @@ { - "name": "resume", + "name": "@ayco/astro-resume", "type": "module", "version": "0.0.1", + "exports": { + ".": "./index.ts" + }, + "files": [ + "src/Resumable.astro", + "src/resume.ts", + "index.ts" + ], "scripts": { "dev": "astro dev", "start": "astro dev", diff --git a/src/components/Resumable.astro b/src/Resumable.astro similarity index 100% rename from src/components/Resumable.astro rename to src/Resumable.astro