From 8825516cb22cef34b430f91e2b7205b5c13279d5 Mon Sep 17 00:00:00 2001 From: Lars Reimann Date: Fri, 27 Oct 2023 17:57:35 +0200 Subject: [PATCH] chore: minor changes --- .github/workflows/release.yml | 1 + package-lock.json | 3 +-- packages/safe-ds-cli/esbuild.mjs | 1 - packages/safe-ds-cli/package.json | 10 ++++------ 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7d869c719..da4f9cff8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,4 +41,5 @@ jobs: run: npx semantic-release env: GITHUB_TOKEN: ${{ secrets.PAT || secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} VSCE_PAT: ${{ secrets.VSCE_PAT }} diff --git a/package-lock.json b/package-lock.json index 085ee27da..d59c38f94 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12645,8 +12645,7 @@ "chalk": "^5.3.0", "commander": "^11.1.0", "esbuild": "^0.19.5", - "langium": "^2.0.2", - "safe-ds": "^0.2.0" + "langium": "^2.0.2" }, "bin": { "safe-ds": "bin/cli" diff --git a/packages/safe-ds-cli/esbuild.mjs b/packages/safe-ds-cli/esbuild.mjs index dbb3cba65..a03bc5479 100644 --- a/packages/safe-ds-cli/esbuild.mjs +++ b/packages/safe-ds-cli/esbuild.mjs @@ -39,7 +39,6 @@ const ctx = await esbuild.context({ '.js': '.cjs', }, loader: { '.ts': 'ts' }, - external: ['vscode'], platform: 'node', sourcemap: !minify, minify, diff --git a/packages/safe-ds-cli/package.json b/packages/safe-ds-cli/package.json index 01743b1a0..c3d33260d 100644 --- a/packages/safe-ds-cli/package.json +++ b/packages/safe-ds-cli/package.json @@ -1,6 +1,6 @@ { "name": "@safe-ds/cli", - "version": "0.2.0", + "version": "0.2.2", "description": "A command line interface for the Safe-DS DSL.", "author": { "name": "Lars Reimann", @@ -25,7 +25,7 @@ }, "type": "module", "bin": { - "safe-ds": "./bin/cli" + "safe-ds": "./bin/cli.js" }, "exports": null, "files": [ @@ -36,15 +36,13 @@ "clean": "shx rm -rf dist lib tsconfig.tsbuildinfo", "build": "tsc -b tsconfig.json && node esbuild.mjs", "build:clean": "npm run clean && npm run build", - "watch": "concurrently -n tsc,esbuild -c blue,yellow \"tsc -b tsconfig.json --watch\" \"node esbuild.mjs --watch\"", - "start": "node ./bin/cli" + "watch": "concurrently -n tsc,esbuild -c blue,yellow \"tsc -b tsconfig.json --watch\" \"node esbuild.mjs --watch\"" }, "dependencies": { "chalk": "^5.3.0", "commander": "^11.1.0", "esbuild": "^0.19.5", - "langium": "^2.0.2", - "safe-ds": "^0.2.0" + "langium": "^2.0.2" }, "engines": { "node": ">=18.0.0"