From 146bd664c1b1d6daa1ab6821948b7093deb33a91 Mon Sep 17 00:00:00 2001 From: per1234 Date: Mon, 10 May 2021 06:02:46 -0700 Subject: [PATCH] Remove version field from package.json The `version` field is only needed if the package is to be published. For this project, packge.json is only used to define dependencies. For this reason, having a `version` field is harmful because it increases the effort and complexity of making a release, and also is likely to get out of sync with the true version. --- package-lock.json | 3 +-- package.json | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 00acf2d7..a0401554 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,8 +1,7 @@ { "name": "setup-task", - "version": "0.0.0", - "lockfileVersion": 1, "requires": true, + "lockfileVersion": 1, "dependencies": { "@actions/core": { "version": "1.2.7", diff --git a/package.json b/package.json index 615e72d2..0dd47880 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,5 @@ { "name": "setup-task", - "version": "0.0.0", "private": true, "description": "Setup Task action", "main": "lib/main.js",