chore(create-mcfly, config): add exports

This commit is contained in:
Ayo Ayco 2025-02-28 22:01:40 +01:00
parent 280e2f6150
commit 55dc34dbf0
2 changed files with 6 additions and 4 deletions

View file

@ -8,7 +8,9 @@
".": { ".": {
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"default": "./dist/index.js" "default": "./dist/index.js"
} },
"./define-mcfly-config": "./dist/define-mcfly-config.js",
"./nitro-config": "./dist/nitro-config.js"
}, },
"scripts": { "scripts": {
"build": "tsc --build tsconfig.json", "build": "tsc --build tsconfig.json",

View file

@ -1,12 +1,12 @@
{ {
"name": "create-mcfly", "name": "create-mcfly",
"version": "0.4.3", "version": "0.4.5",
"description": "Create a new McFly app", "description": "Create a new McFly app",
"type": "module", "type": "module",
"bin": { "bin": {
"create-mcfly": "./index.js" "create-mcfly": "./dist/index.js"
}, },
"main": "index.js", "main": "./dist/index.js",
"exports": { "exports": {
".": { ".": {
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",