We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
oxlint-tsgolint
1 parent 5887053 commit 02c779fCopy full SHA for 02c779f
npm/oxlint/scripts/generate-packages.mjs
@@ -94,7 +94,17 @@ function writeManifest() {
94
95
manifestData.version = rootManifest.version;
96
manifestData.optionalDependencies = Object.fromEntries(nativePackages);
97
- manifestData.optionalDependencies['oxlint-tsgolint'] = '>=0.0.1';
+
98
+ // Do not automatically install 'oxlint-tsgolint'.
99
+ // https://docs.npmjs.com/cli/v11/configuring-npm/package-json#peerdependenciesmeta
100
+ manifestData.peerDependencies = {
101
+ 'oxlint-tsgolint': '>=0.0.4',
102
+ };
103
+ manifestData.peerDependenciesMeta = {
104
+ 'oxlint-tsgolint': {
105
+ 'optional': true,
106
+ },
107
108
109
console.log(`Update manifest ${manifestPath}`);
110
const content = JSON.stringify(manifestData);
0 commit comments