@icon-magic/build
Advanced tools
Comparing version 2.2.10-beta.0 to 2.3.0-beta.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.applyBuildPluginsOnVariants = exports.saveAssetAsFlavor = exports.build = void 0; | ||
const config_reader_1 = require("@icon-magic/config-reader"); | ||
@@ -167,3 +168,3 @@ const icon_models_1 = require("@icon-magic/icon-models"); | ||
// if the plugin has a function, return the plugin | ||
if (plugin.fn) | ||
if (typeof plugin.fn === 'function') | ||
return plugin; | ||
@@ -195,2 +196,2 @@ // import the plugin from ./plugins | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw2REFBMkQ7QUFDM0QseURBWWlDO0FBQ2pDLCtDQUE0QztBQUM1QywrQ0FBMkM7QUFDM0MsK0JBQStCO0FBQy9CLDZCQUE2QjtBQUU3QixNQUFNLEtBQUssR0FBRyxjQUFLLEVBQUUsQ0FBQztBQUN0QixNQUFNLE1BQU0sR0FBRyxJQUFJLGVBQU0sQ0FBQyx3QkFBd0IsQ0FBQyxDQUFDO0FBRXBEOzs7Ozs7Ozs7Ozs7R0FZRztBQUNJLEtBQUssVUFBVSxLQUFLLENBQ3pCLFVBQTBCLEVBQzFCLE9BQU8sR0FBRyxJQUFJO0lBRWQsTUFBTSxDQUFDLEtBQUssQ0FBQyxzQkFBc0IsQ0FBQyxDQUFDO0lBQ3JDLEtBQUssQ0FBQyxLQUFLLEVBQUUsQ0FBQztJQUNkLG1EQUFtRDtJQUNuRCxNQUFNLE9BQU8sR0FBRyxJQUFJLHFCQUFPLENBQUMsVUFBVSxDQUFDLENBQUM7SUFDeEMsTUFBTSxhQUFhLEdBQVksSUFBSSxxQkFBTyxFQUFFLENBQUM7SUFFN0MsS0FBSyxNQ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2lucy8ke3BsdWdpbi5uYW1lfWApO1xuICAgICAgICAgIC8vIG92ZXJyaWRlIHRoZSBwbHVnaW4ncyBkYXRhIHdpdGggdGhlIG1pc3NpbmcgZm5cbiAgICAgICAgICBwbHVnaW4uZm4gPSBwbHVnaW5Gcm9tRmlsZVtgJHtrZWJhYlRvQ2FtZWwocGx1Z2luLm5hbWUpfWBdLmZuO1xuICAgICAgICAgIHJldHVybiBwbHVnaW47XG4gICAgICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgICAgICB0aHJvdyBlO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfSlcbiAgKTtcbn1cblxuLyoqXG4gKiBDb252ZXJ0IGEgc3RyaW5nIGZyb20ga2ViYWItY2FzZSB0byBjYW1lbENhc2VcbiAqIEBwYXJhbSBzIHN0cmluZyBpbiBrZWJhYi1jYXNlIHRvIGNvbnZlcnQgdG8gY2FtZWxDYXNlXG4gKiBAcmV0dXJucyBzdHJpbmcgd2l0aCBpbiBjYW1lbENhc2VcbiAqL1xuZnVuY3Rpb24ga2ViYWJUb0NhbWVsKHM6IHN0cmluZyk6IHN0cmluZyB7XG4gIHJldHVybiBzLnJlcGxhY2UoLyhcXC1cXHcpL2csIG0gPT4ge1xuICAgIHJldHVybiBtWzFdLnRvVXBwZXJDYXNlKCk7XG4gIH0pO1xufVxuIl19 |
@@ -26,7 +26,7 @@ { | ||
{ | ||
"name": "filled", | ||
"path": "./build/filled.svg", | ||
"name": "filled-on-dark", | ||
"path": "./build/filled-on-dark.svg", | ||
"buildSourceHash": "095461259d3f590f720705024335072e", | ||
"imageset": "filled", | ||
"colorScheme": "light", | ||
"colorScheme": "dark", | ||
"types": {} | ||
@@ -41,7 +41,7 @@ }, | ||
{ | ||
"name": "filled-on-dark", | ||
"path": "./build/filled-on-dark.svg", | ||
"name": "filled", | ||
"path": "./build/filled.svg", | ||
"buildSourceHash": "095461259d3f590f720705024335072e", | ||
"imageset": "filled", | ||
"colorScheme": "dark", | ||
"colorScheme": "light", | ||
"types": {} | ||
@@ -48,0 +48,0 @@ } |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.idealIcon = exports.flavors = exports.variants = exports.build = exports.generate = exports.lastBuildPluginUpdated = void 0; | ||
const icon_models_1 = require("@icon-magic/icon-models"); | ||
@@ -126,2 +127,2 @@ const path = require("path"); | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlYWwtaWNvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Rlc3QvaGVscGVycy9pZGVhbC1pY29uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEseURBVWlDO0FBQ2pDLDZCQUE2QjtBQUU3QixtQ0FBK0M7QUFFL0MsTUFBTSxRQUFRLEdBQUcsSUFBSSxDQUFDLE9BQU8sQ0FBQyxTQUFTLEVBQUUsSUFBSSxFQUFFLElBQUksRUFBRSxJQUFJLEVBQUUsTUFBTSxFQUFFLFVBQVUsQ0FBQyxDQUFDO0FBRS9FLE1BQU0sU0FBUyxHQUFrQjtJQUMvQixHQUFHLEVBQUU7UUFDSCxJQUFJLEVBQUUsY0FBYztRQUNwQixJQUFJLEVBQUUsZ0JBQWdCO0tBQ3ZCO0lBQ0QsR0FBRyxFQUFFO1FBQ0gsSUFBSSxFQUFFLGNBQWM7UUFDcEIsSUFBSSxFQUFFLGdCQUFnQjtLQUN2QjtJQUNELElBQUksRUFBRTtRQUNKLElBQUksRUFBRSxlQUFlO1FBQ3JCLElBQUksRUFBRSxpQkFBaUI7S0FDeEI7Q0FDRixDQUFDO0FBRUYsTUFBTSxZQUFZLEdBQWtCO0lBQ2xDO1FBQ0UsSUFBSSxFQUFFLElBQUk7UUFDVixFQUFFLEVBQUUsS0FBSyxFQUFFLEtBQVksRUFBRSxJQUFVLEVBQUUsTUFBZSxFQUFrQixFQUFFO1lBQ3RFLE9BQU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
exports.getNameFromPropCombo = void 0; | ||
function getNameFromPropCombo(flavorName, params) { | ||
@@ -9,2 +10,2 @@ return params && params.propCombo | ||
exports.getNameFromPropCombo = getNameFromPropCombo; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi90ZXN0L2hlbHBlcnMvdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxTQUFnQixvQkFBb0IsQ0FDbEMsVUFBa0IsRUFDbEIsTUFBK0I7SUFFL0IsT0FBTyxNQUFNLElBQUksTUFBTSxDQUFDLFNBQVM7UUFDL0IsQ0FBQyxDQUFDLEdBQUcsVUFBVSxJQUFJLE1BQU0sQ0FBQyxNQUFNLENBQUMsTUFBTSxDQUFDLFNBQVMsQ0FBQyxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRTtRQUM5RCxDQUFDLENBQUMsVUFBVSxDQUFDO0FBQ2pCLENBQUM7QUFQRCxvREFPQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBmdW5jdGlvbiBnZXROYW1lRnJvbVByb3BDb21ibyhcbiAgZmxhdm9yTmFtZTogc3RyaW5nLFxuICBwYXJhbXM/OiB7IHByb3BDb21ibz86IG9iamVjdCB9XG4pIHtcbiAgcmV0dXJuIHBhcmFtcyAmJiBwYXJhbXMucHJvcENvbWJvXG4gICAgPyBgJHtmbGF2b3JOYW1lfS0ke09iamVjdC52YWx1ZXMocGFyYW1zLnByb3BDb21ibykuam9pbigneCcpfWBcbiAgICA6IGZsYXZvck5hbWU7XG59XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi90ZXN0L2hlbHBlcnMvdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsU0FBZ0Isb0JBQW9CLENBQ2xDLFVBQWtCLEVBQ2xCLE1BQStCO0lBRS9CLE9BQU8sTUFBTSxJQUFJLE1BQU0sQ0FBQyxTQUFTO1FBQy9CLENBQUMsQ0FBQyxHQUFHLFVBQVUsSUFBSSxNQUFNLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FBQyxTQUFTLENBQUMsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQUU7UUFDOUQsQ0FBQyxDQUFDLFVBQVUsQ0FBQztBQUNqQixDQUFDO0FBUEQsb0RBT0MiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gZ2V0TmFtZUZyb21Qcm9wQ29tYm8oXG4gIGZsYXZvck5hbWU6IHN0cmluZyxcbiAgcGFyYW1zPzogeyBwcm9wQ29tYm8/OiBvYmplY3QgfVxuKSB7XG4gIHJldHVybiBwYXJhbXMgJiYgcGFyYW1zLnByb3BDb21ib1xuICAgID8gYCR7Zmxhdm9yTmFtZX0tJHtPYmplY3QudmFsdWVzKHBhcmFtcy5wcm9wQ29tYm8pLmpvaW4oJ3gnKX1gXG4gICAgOiBmbGF2b3JOYW1lO1xufVxuIl19 |
{ | ||
"name": "@icon-magic/build", | ||
"version": "2.2.10-beta.0", | ||
"version": "2.3.0-beta.0", | ||
"description": "Icon magic blueprint package.", | ||
@@ -22,7 +22,7 @@ "main": "dist/src/index.js", | ||
"dependencies": { | ||
"@icon-magic/config-reader": "^2.2.9-beta.0", | ||
"@icon-magic/icon-models": "^2.2.9-beta.0", | ||
"@icon-magic/logger": "^2.2.9-beta.0", | ||
"@icon-magic/config-reader": "^2.3.0-beta.0", | ||
"@icon-magic/icon-models": "^2.3.0-beta.0", | ||
"@icon-magic/logger": "^2.3.0-beta.0", | ||
"@icon-magic/timing": "^2.0.1-beta.0" | ||
} | ||
} |
@@ -233,3 +233,3 @@ import { loadConfigFile } from '@icon-magic/config-reader'; | ||
// if the plugin has a function, return the plugin | ||
if (plugin.fn) return plugin; | ||
if (typeof plugin.fn === 'function') return plugin; | ||
// import the plugin from ./plugins | ||
@@ -236,0 +236,0 @@ else { |
Sorry, the diff of this file is not supported yet
1294590
1198
+ Added@colors/colors@1.6.0(transitive)
+ Added@dabh/diagnostics@2.0.3(transitive)
+ Added@icon-magic/config-reader@2.3.0-beta.0(transitive)
+ Added@icon-magic/icon-models@2.3.0-beta.0(transitive)
+ Added@icon-magic/logger@2.3.0-beta.0(transitive)
+ Added@types/triple-beam@1.3.5(transitive)
+ Addedasync@3.2.6(transitive)
+ Addedcolor@3.2.1(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedcolor-string@1.9.1(transitive)
+ Addedcolorspace@1.1.4(transitive)
+ Addedenabled@2.0.0(transitive)
+ Addedfecha@4.2.3(transitive)
+ Addedfn.name@1.1.0(transitive)
+ Addedis-arrayish@0.3.2(transitive)
+ Addedis-stream@2.0.1(transitive)
+ Addedkuler@2.0.0(transitive)
+ Addedlogform@2.7.0(transitive)
+ Addedms@2.1.3(transitive)
+ Addedone-time@1.0.0(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsafe-stable-stringify@2.5.0(transitive)
+ Addedsimple-swizzle@0.2.2(transitive)
+ Addedstack-trace@0.0.10(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedtext-hex@1.0.0(transitive)
+ Addedtriple-beam@1.4.1(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedwinston@3.17.0(transitive)
+ Addedwinston-transport@4.9.0(transitive)
- Removed@icon-magic/config-reader@2.2.9-beta.0(transitive)
- Removed@icon-magic/icon-models@2.2.9-beta.0(transitive)