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 lines
415 B

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