mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-09 17:49:02 -04:00
12 command test suites had near-identical ~50-field DEFAULT_OPTS objects copy-pasted between them. Extract the common fields into a single shared package so each suite only declares its overrides.
44 lines
1.0 KiB
JSON
44 lines
1.0 KiB
JSON
{
|
|
"name": "@pnpm/testing.command-defaults",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "Shared DEFAULT_OPTS for pnpm command handler tests",
|
|
"keywords": [
|
|
"pnpm",
|
|
"pnpm11",
|
|
"testing"
|
|
],
|
|
"license": "MIT",
|
|
"funding": "https://opencollective.com/pnpm",
|
|
"repository": "https://github.com/pnpm/pnpm/tree/main/testing/command-defaults",
|
|
"homepage": "https://github.com/pnpm/pnpm/tree/main/testing/command-defaults#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/pnpm/pnpm/issues"
|
|
},
|
|
"type": "module",
|
|
"main": "lib/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"exports": {
|
|
".": "./lib/index.js"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"!*.map"
|
|
],
|
|
"scripts": {
|
|
"prepublishOnly": "pn compile",
|
|
"lint": "eslint \"src/**/*.ts\"",
|
|
"test": "pn compile",
|
|
"compile": "tsgo --build && pn lint --fix"
|
|
},
|
|
"dependencies": {
|
|
"@pnpm/registry-mock": "catalog:"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.13"
|
|
},
|
|
"devDependencies": {
|
|
"@pnpm/testing.command-defaults": "workspace:*"
|
|
}
|
|
}
|