From e9abfe4c7935a4321d46d304b9b9962cfc96def4 Mon Sep 17 00:00:00 2001 From: mrjvs Date: Fri, 26 Apr 2024 21:46:12 +0200 Subject: [PATCH] Fix create-guider --- apps/create-guider/entry.js | 3 +++ apps/create-guider/package.json | 11 ++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 apps/create-guider/entry.js diff --git a/apps/create-guider/entry.js b/apps/create-guider/entry.js new file mode 100644 index 0000000..ad84ca5 --- /dev/null +++ b/apps/create-guider/entry.js @@ -0,0 +1,3 @@ +#!/usr/bin/env node + +import './dist/index.js'; diff --git a/apps/create-guider/package.json b/apps/create-guider/package.json index bfa412a..7132e6a 100644 --- a/apps/create-guider/package.json +++ b/apps/create-guider/package.json @@ -1,8 +1,8 @@ { "name": "@neato/create-guider", - "version": "0.0.1", + "version": "0.0.2", "description": "Beautiful documentation sites, without all the hassle", - "main": "./dist/index.js", + "main": "./entry.js", "type": "module", "homepage": "https://neatojs.com/docs/guider", "repository": "https://github.com/mrjvs/neatojs", @@ -21,11 +21,12 @@ "license": "MIT", "files": [ "dist/**", - "templates/**" + "templates/**", + "entry.js" ], - "exports": "./dist/index.js", + "exports": "./entry.js", "bin": { - "@neato/create-guider": "./dist/index.js" + "@neato/create-guider": "./entry.js" }, "eslintConfig": { "extends": [