You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 rivejä
415 B

  1. /* eslint-disable @typescript-eslint/no-var-requires */
  2. const fs = require('fs');
  3. // Update the icons contribution point in package.json
  4. const package = require('../package.json');
  5. package.contributes.icons = require('../icons-contribution.json').icons;
  6. const packageJSON = `${JSON.stringify(package, undefined, '\t')}\n`;
  7. fs.writeFileSync('./package.json', packageJSON);
  8. fs.rmSync('./icons-contribution.json');