Skip to content

Commit

Permalink
fix: move fsevents to optionalDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fjc0k committed Jul 19, 2021
1 parent 51e14c7 commit f1ab602
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/make-npm-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ async function main() {
'vscode-generate-index-standalone': './dist/cli.js',
},
files: ['dist'],
dependencies: {
fsevents: `^${require('fsevents/package.json').version}`,
optionalDependencies: {
fsevents: `~${require('fsevents/package.json').version}`,
} as any,
} as typeof pkg,
} as typeof pkg & {
optionalDependencies?: Record<string, string>
},
{
spaces: 2,
},
Expand Down

0 comments on commit f1ab602

Please sign in to comment.