@intelligentgraphics/ig.gfx.packager 2.3.0 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +4 -6
- package/build/index.js.map +1 -1
- package/package.json +3 -3
- package/readme.md +8 -0
package/build/index.js
CHANGED
|
@@ -4417,9 +4417,7 @@ Packaging without a javascript file is only allowed when animation json files ar
|
|
|
4417
4417
|
if (animations.size > 0) {
|
|
4418
4418
|
const [scriptDomain, scriptSubdomain] = data.Scope.split(".");
|
|
4419
4419
|
const scope = `${scriptDomain}.${scriptSubdomain}`;
|
|
4420
|
-
|
|
4421
|
-
if (!library.includes(scope)) {
|
|
4422
|
-
library += `
|
|
4420
|
+
library += `
|
|
4423
4421
|
var ${scriptDomain};
|
|
4424
4422
|
(function (${scriptDomain}) {
|
|
4425
4423
|
var ${scriptSubdomain};
|
|
@@ -4427,7 +4425,6 @@ Packaging without a javascript file is only allowed when animation json files ar
|
|
|
4427
4425
|
})(${scriptSubdomain} = ${scriptDomain}.${scriptSubdomain} || (${scriptDomain}.${scriptSubdomain} = {}));
|
|
4428
4426
|
})(${scriptDomain} || (${scriptDomain} = {}));
|
|
4429
4427
|
`;
|
|
4430
|
-
}
|
|
4431
4428
|
|
|
4432
4429
|
for (const [name, data] of animations) {
|
|
4433
4430
|
library += `${scope}.${name} = ` + data + ";";
|
|
@@ -8345,7 +8342,7 @@ module.exports = require("util");
|
|
|
8345
8342
|
/***/ ((module) => {
|
|
8346
8343
|
|
|
8347
8344
|
"use strict";
|
|
8348
|
-
module.exports = JSON.parse('{"name":"@intelligentgraphics/ig.gfx.packager","version":"2.3.
|
|
8345
|
+
module.exports = JSON.parse('{"name":"@intelligentgraphics/ig.gfx.packager","version":"2.3.2","description":"IG.GFX.Packager 2.3.2 (2.3.2.100)","author":"Michael Beier <mb@intelligentgraphics.biz>","main":"build/index.js","private":false,"publishConfig":{"access":"public"},"engines":{"node":">=14.0.0"},"bin":{"packager":"./build/index.js"},"files":["build","locales","scripts"],"scripts":{"dist":"webpack","clean":"rimraf build *.tsbuildinfo","prepublishOnly":"yarn clean && yarn dist","test":"jest","_postinstall":"node scripts/postinstall.js","format":"prettier --write \\"**/*.{ts,tsx,json}\\""},"dependencies":{"ajv":"^8.6.2","axios":"^0.21.1","core-js":"^3.16.0","execa":"^5.1.1","fs-extra":"^10.0.0","glob":"^7.1.4","jszip":"^3.10.0","rimraf":"^3.0.2","source-map-support":"^0.5.19","terser":"^4.8.0","typedoc":"~0.23.2","typescript":"~4.7.4","update-notifier":"^5.1.0","v8-compile-cache":"^2.1.1","y18n":"^5.0.8","yargs":"^17.0.1"},"devDependencies":{"@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-proposal-object-rest-spread":"^7.18.9","@babel/preset-env":"^7.18.9","@intelligentgraphics/ig.tools.core":"^1.5.2","@intelligentgraphics/ig.utilities":"^1.6.6","@types/fs-extra":"^9.0.12","@types/glob":"^7.1.4","@types/node":"^16.4.11","@types/rimraf":"^3.0.1","@types/update-notifier":"^5.1.0","@types/yargs":"^17.0.2","babel-loader":"^8.1.0","ts-loader":"^9.2.5","ts-node":"^10.1.0","webpack":"^5.64.4","webpack-cli":"^4.7.2"}}');
|
|
8349
8346
|
|
|
8350
8347
|
/***/ })
|
|
8351
8348
|
|
|
@@ -8632,7 +8629,8 @@ yargs.command({
|
|
|
8632
8629
|
yargs.demandCommand().pkgConf("packager").showHelpOnFail(false).version().argv;
|
|
8633
8630
|
const notifier = (0, _updateNotifier.default)({
|
|
8634
8631
|
pkg: pjson,
|
|
8635
|
-
shouldNotifyInNpmScript: true
|
|
8632
|
+
shouldNotifyInNpmScript: true,
|
|
8633
|
+
updateCheckInterval: 1000 * 60
|
|
8636
8634
|
});
|
|
8637
8635
|
notifier.notify({
|
|
8638
8636
|
isGlobal: false,
|