Remove wrapper package.json

Reference: https://github.com/hashicorp/setup-terraform/issues/290

The `wrapper` directory contains the JavaScript wrapper for the Terraform binary. It currently contains a `package.json` and lock file, however this code is not packaged and released separately. Having the separate package makes it unnecessarily difficult to ensure the subdirectory is built correctly and dependencies are up to date.

This change removes the `wrapper` package files and consolidates the test, lint, and build logic into the main `package.json`.
This commit is contained in:
Brian Flad 2023-02-09 10:02:35 -05:00
parent 1d777b53ee
commit 5ea11153d0
No known key found for this signature in database
GPG key ID: AC40A9A6632E4888
8 changed files with 88 additions and 12546 deletions

9526
wrapper/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,29 +0,0 @@
{
"name": "terraform.js",
"version": "0.0.1",
"description": "JavaScript wrapper for terraform binary",
"license": "MPL-2.0",
"publisher": "hashicorp",
"main": "terraform.js",
"scripts": {
"test": "semistandard --env jest && jest --coverage",
"lint": "semistandard --env jest --fix",
"build": "ncc build terraform.js --out dist"
},
"author": "",
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/exec": "^1.1.0",
"@actions/io": "^1.1.1"
},
"devDependencies": {
"@vercel/ncc": "^0.36.1",
"jest": "^29.4.1",
"semistandard": "^16.0.1"
},
"semistandard": {
"ignore": [
"dist/**"
]
}
}