From a97e1359e51d22ee6a85ce1bf3c1007d9aa1df43 Mon Sep 17 00:00:00 2001 From: Kai Volland Date: Fri, 13 Sep 2024 10:25:49 +0200 Subject: [PATCH] fix: readd shebang --- package.json | 9 +++++---- src/index.ts | 2 ++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index ffe1deb..4497567 100644 --- a/package.json +++ b/package.json @@ -3,12 +3,12 @@ "version": "4.0.0", "description": "", "type": "module", - "main": "dist/src/index.js", + "main": "src/index.js", "files": [ "dist" ], "bin": { - "geostyler-cli": "dist/src/index.js" + "geostyler-cli": "src/index.js" }, "scripts": { "build": "bun run build-clean && bun run build-only", @@ -43,8 +43,9 @@ }, "homepage": "https://github.com/geostyler/geostyler-cli#readme", "engines": { - "node": ">=18.0.0", - "npm": ">=6.0.0" + "bun": ">=1.0.0", + "node": ">=20.0.0", + "npm": ">=10.0.0" }, "devDependencies": { "@commitlint/cli": "^19.5.0", diff --git a/src/index.ts b/src/index.ts index 1bca052..ff0c715 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,5 @@ +#!/usr/bin/env node + import SLDParser from 'geostyler-sld-parser'; import QGISParser from 'geostyler-qgis-parser'; import MapfileParser from 'geostyler-mapfile-parser';