mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-12-26 01:13:41 +02:00
ec75522f42
* add deprecation warnings for icons/* imports * do not log warnings during tests * update message Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com> * remove message formatting * add jsdoc deprecation tags * Update scripts/build/package.js Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com> * Update scripts/build/package.js Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com> * Update scripts/build/package.js Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com> * Update scripts/build/package.js Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com> * fix "use" for jsdoc Co-authored-by: Álvaro Mondéjar <mondejar1994@gmail.com>
13 lines
332 B
JavaScript
13 lines
332 B
JavaScript
const { icons } = require('../_data/simple-icons.json');
|
|
const { getIconSlug } = require('../scripts/utils.js');
|
|
const testIcon = require('./test-icon.js');
|
|
|
|
console.warn = () => {};
|
|
|
|
icons.forEach((icon) => {
|
|
const slug = getIconSlug(icon);
|
|
const subject = require(`../icons/${slug}.js`);
|
|
|
|
testIcon(icon, subject, slug);
|
|
});
|