Version bump

Bumped the second digit instead of the third to indicate a not backwards 
compatible change: removing the icon named Adobe Lightroom.
This commit is contained in:
Eric Cornelissen 2019-06-30 11:55:57 +01:00
parent 4b3cf01485
commit 01b84bc2c2
3 changed files with 2 additions and 16 deletions

2
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "simple-icons",
"version": "1.9.28",
"version": "1.10.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View file

@ -1,6 +1,6 @@
{
"name": "simple-icons",
"version": "1.9.28",
"version": "1.10.0",
"description": "SVG icons for popular brands https://simpleicons.org",
"homepage": "https://www.simpleicons.org",
"keywords": [

View file

@ -28,19 +28,5 @@ data.icons.forEach(icon => {
);
});
/* Backwards compatibility */
// https://github.com/simple-icons/simple-icons/pull/1365
const adobeLightroom = icons["Adobe Lightroom Classic"];
adobeLightroom.title = "Adobe Lightroom";
icons["Adobe Lightroom"] = adobeLightroom;
fs.writeFileSync(
`${iconsDir}/adobelightroom.svg`,
adobeLightroom.svg
);
fs.writeFileSync(
`${iconsDir}/adobelightroom.js`,
`module.exports=${JSON.stringify(adobeLightroom)};`
);
// write our generic index.js
fs.writeFileSync(indexFile, `module.exports=${JSON.stringify(icons)};`);