From 64eaa90686903a7be69301fe42807da22b431444 Mon Sep 17 00:00:00 2001 From: Christof Marti Date: Tue, 18 Feb 2025 17:48:28 +0100 Subject: [PATCH] Cleanup 'common' dependency --- github-action/package-lock.json | 20 -------------------- github-action/package.json | 1 - github-action/src/exec.ts | 2 +- 3 files changed, 1 insertion(+), 22 deletions(-) diff --git a/github-action/package-lock.json b/github-action/package-lock.json index e653ee247..984f54ddc 100644 --- a/github-action/package-lock.json +++ b/github-action/package-lock.json @@ -11,7 +11,6 @@ "dependencies": { "@actions/core": "^1.11.1", "@actions/exec": "^1.1.1", - "devcontainer-build-run-common": "file:../common", "jsonc-parser": "^3.3.1", "truncate-utf8-bytes": "^1.0.2" }, @@ -33,21 +32,6 @@ "typescript": "^5.7.3" } }, - "../common": { - "name": "devcontainer-build-run-common", - "version": "0.0.0", - "dependencies": { - "jsonc-parser": "^3.3.1" - }, - "devDependencies": { - "@types/jest": "^29.5.14", - "@types/node": "^22.13.1", - "jest": "^29.7.0", - "jest-circus": "^29.7.0", - "ts-jest": "^29.2.5", - "typescript": "^5.7.3" - } - }, "node_modules/@actions/core": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.11.1.tgz", @@ -2589,10 +2573,6 @@ "node": ">=8" } }, - "node_modules/devcontainer-build-run-common": { - "resolved": "../common", - "link": true - }, "node_modules/diff-sequences": { "version": "29.6.3", "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", diff --git a/github-action/package.json b/github-action/package.json index dc349755e..f946b3c64 100644 --- a/github-action/package.json +++ b/github-action/package.json @@ -29,7 +29,6 @@ "dependencies": { "@actions/core": "^1.11.1", "@actions/exec": "^1.1.1", - "devcontainer-build-run-common": "file:../common", "jsonc-parser": "^3.3.1", "truncate-utf8-bytes": "^1.0.2" }, diff --git a/github-action/src/exec.ts b/github-action/src/exec.ts index 560a3e87f..8aa305c50 100644 --- a/github-action/src/exec.ts +++ b/github-action/src/exec.ts @@ -1,5 +1,5 @@ import * as actions_exec from '@actions/exec'; -import {ExecOptions, ExecResult} from 'devcontainer-build-run-common/src/exec'; +import {ExecOptions, ExecResult} from '../../common/src/exec'; export async function exec( command: string,