diff --git a/package-lock.json b/package-lock.json index 79200ee..f05dbac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,6 +18,7 @@ "prettier": "^3.0.0", "ts-jest": "^29.1.1", "ts-node": "^10.9.1", + "type-fest": "^4.10.2", "typescript": "^5.1.6" } }, @@ -3573,6 +3574,18 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/globals/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/globalthis": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", @@ -6187,12 +6200,12 @@ } }, "node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "version": "4.10.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.10.2.tgz", + "integrity": "sha512-anpAG63wSpdEbLwOqH8L84urkL6PiVIov3EMmgIhhThevh9aiMQov+6Btx0wldNcvm4wV+e2/Rt1QdDwKHFbHw==", "dev": true, "engines": { - "node": ">=10" + "node": ">=16" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" diff --git a/src/index.ts b/src/index.ts index a25914e..31fbd87 100644 --- a/src/index.ts +++ b/src/index.ts @@ -8,4 +8,4 @@ export { EmojiAlias, EmojiUnicode, assertSupportedEmoji -} from './lib/markdown'; +} from './lib/markdown/index'; diff --git a/tsconfig.json b/tsconfig.json index 1ff982a..cbba144 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,14 +17,29 @@ "moduleResolution": "node", "sourceMap": true, "declaration": true, - "lib": ["ES2022"], + "removeComments": false, + "lib": [ + "ES2022" + ], "outDir": "./dist", "baseUrl": ".", "paths": { - "@launchpad/*": ["src/*"] + "@launchpad/*": [ + "src/*" + ] } }, - "typeRoots": ["node_modules/@types", "types"], - "include": ["types/**/*", "src/**/*"], - "exclude": ["node_modules/**/*", "**/__tests__/**/*", "action.js"] -} + "typeRoots": [ + "node_modules/@types", + "types" + ], + "include": [ + "types/**/*", + "src/**/*" + ], + "exclude": [ + "node_modules/**/*", + "**/__tests__/**/*", + "action.js" + ] +} \ No newline at end of file