pnpm by default refuses to run install scripts, some packages require these and others are use install scripts as a way to provide messages. Instead of a pnpm warning this commit ensures that the package that is detected with an install script must be either listed in ignoredBuiltDependencies or onlyBuiltDependencies. Running pnpm install will fail until a package has been categorized As part of this commit the packages that were previously listed as warnings have been categorized under ignoredBuiltDependencies since their install scripts are not required for the functionality of the package
57 lines
1.6 KiB
JSON
57 lines
1.6 KiB
JSON
{
|
|
"name": "boundary-desktop",
|
|
"productName": "Boundary",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "Electron UI for client for Boundary.",
|
|
"license": "BUSL-1.1",
|
|
"author": "HashiCorp",
|
|
"main": "src/index.js",
|
|
"scripts": {
|
|
"build:cli": "node -e \"require('./config/cli.js').setup()\"",
|
|
"build:config": "node -e \"require('./config/desktop.js').setup()\"",
|
|
"build:all": "pnpm build:cli && pnpm build:config",
|
|
"start": "electron-forge start",
|
|
"package": "electron-forge package",
|
|
"make": "pnpm build:all && electron-forge make",
|
|
"publish": "electron-forge publish",
|
|
"lint": "echo \"No linting configured\""
|
|
},
|
|
"keywords": [],
|
|
"config": {
|
|
"forge": "config/forge.config.js"
|
|
},
|
|
"dependencies": {
|
|
"electron-devtools-installer": "^3.2.0",
|
|
"electron-is-dev": "^2.0.0",
|
|
"electron-log": "^5.1.2",
|
|
"electron-store": "^8.2.0",
|
|
"node-html-parser": "^5.3.3",
|
|
"node-pty": "^1.1.0-beta33",
|
|
"semver": "^7.5.3",
|
|
"shell-env": "^3.0.1",
|
|
"shell-quote": "^1.7.3",
|
|
"tree-kill": "^1.2.2",
|
|
"which": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@electron-forge/cli": "^7.7.0",
|
|
"@electron-forge/maker-deb": "^7.7.0",
|
|
"@electron-forge/maker-dmg": "^7.7.0",
|
|
"@electron-forge/maker-squirrel": "^7.7.0",
|
|
"@electron-forge/maker-zip": "^7.7.0",
|
|
"electron": "35.1.2",
|
|
"unzipper": "^0.11.5"
|
|
},
|
|
"pnpm": {
|
|
"ignoredBuiltDependencies": [],
|
|
"onlyBuiltDependencies": [
|
|
"electron",
|
|
"electron-winstaller",
|
|
"fs-xattr",
|
|
"node-pty",
|
|
"macos-alias"
|
|
]
|
|
}
|
|
}
|