@hubol/smooch 1.0.0-beta.7 → 1.0.0-beta.8
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/index.js +17 -2
- package/package.json +1 -1
- package/schema.json +3 -3
package/index.js
CHANGED
|
@@ -52882,6 +52882,15 @@ const excludableProperties = new Set(['name', 'message', 'stack']);
|
|
|
52882
52882
|
|
|
52883
52883
|
"use strict";
|
|
52884
52884
|
|
|
52885
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
52886
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
52887
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
52888
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
52889
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
52890
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
52891
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
52892
|
+
});
|
|
52893
|
+
};
|
|
52885
52894
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
52886
52895
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
52887
52896
|
};
|
|
@@ -52894,7 +52903,13 @@ const gwob_1 = __webpack_require__(8792);
|
|
|
52894
52903
|
function resolve(...paths) {
|
|
52895
52904
|
return (0, gwob_1.normalizeWindowsPathSeparator)(path_1.default.resolve(...paths));
|
|
52896
52905
|
}
|
|
52897
|
-
|
|
52906
|
+
const fsMkdir = util_1.default.promisify(fs_1.default.mkdir);
|
|
52907
|
+
const mkdir = (...args) => __awaiter(void 0, void 0, void 0, function* () {
|
|
52908
|
+
if (typeof args[0] === 'string' && !args[0].trim())
|
|
52909
|
+
return;
|
|
52910
|
+
yield fsMkdir(...args);
|
|
52911
|
+
});
|
|
52912
|
+
exports.Fs = Object.assign(Object.assign({ createWriteStream: fs_1.default.createWriteStream, readFile: util_1.default.promisify(fs_1.default.readFile), readFileSync: fs_1.default.readFileSync, writeFile: util_1.default.promisify(fs_1.default.writeFile), copyFile: util_1.default.promisify(fs_1.default.copyFile), mkdir, rm: util_1.default.promisify(fs_1.default.rm), exists: util_1.default.promisify(fs_1.default.exists), rename: util_1.default.promisify(fs_1.default.rename) }, path_1.default), { resolve });
|
|
52898
52913
|
|
|
52899
52914
|
|
|
52900
52915
|
/***/ }),
|
|
@@ -86065,7 +86080,7 @@ module.exports = JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"]
|
|
|
86065
86080
|
/***/ ((module) => {
|
|
86066
86081
|
|
|
86067
86082
|
"use strict";
|
|
86068
|
-
module.exports = JSON.parse('{"name":"@hubol/smooch","version":"1.0.0-beta.
|
|
86083
|
+
module.exports = JSON.parse('{"name":"@hubol/smooch","version":"1.0.0-beta.8","description":"Generate texture atlases, browser-compatible audio, and source code from directories","scripts":{"build":"npm run build:json-schema && npm run build:template-api-dts && npm run build:bundle && npm run build:distributable-package-json && npm run build:npm-readme && npm run build:npm-pack","build:json-schema":"ts-node ./tools/generate-config-schema.ts","build:template-api-dts":"npx tsup lib/template-api.ts --dts-only --dts-resolve","build:bundle":"webpack","build:distributable-package-json":"ts-node ./tools/generate-distributable-package-json.ts","build:npm-readme":"ts-node ./tools/generate-npm-readme.ts","build:npm-pack":"ts-node ./tools/pack.ts ../smooch.tgz","dev:build-and-test":"npm run build && npm run test","dev:start":"node --nolazy -r ts-node/register ./lib/main/dev.ts","dev:update-readme":"ts-node ./lib/main/dev.ts ../../tools/update-readme-md.ts","test":"ts-node --transpileOnly test/test.ts"},"bin":{"smooch":"index.js"},"author":"Hubol","license":"ISC","repository":{"type":"git","url":"https://github.com/hubol/smooch.git"},"devDependencies":{"@jimp/custom":"^0.22.10","@jimp/types":"^0.22.10","@types/archiver":"^5.3.2","@types/fluent-ffmpeg":"^2.1.21","@types/sharp":"^0.31.1","archiver":"^6.0.0","chalk":"^4.1.2","change-case":"^4.1.2","fluent-ffmpeg":"^2.1.2","glob":"^10.3.3","image-size":"^1.0.2","maxrects-packer":"^2.7.3","minimatch":"^9.0.3","superstruct":"^0.15.5","tree-kill":"^1.2.2","ts-loader":"^9.4.4","ts-node":"^10.9.1","tsup":"^7.2.0","typescript":"^5.0.4","typescript-json-schema":"^0.56.0","webpack":"^5.88.2","webpack-cli":"^5.1.4","webpack-shebang-plugin":"^1.1.8"}}');
|
|
86069
86084
|
|
|
86070
86085
|
/***/ })
|
|
86071
86086
|
|
package/package.json
CHANGED
package/schema.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"typeof__tag": {
|
|
14
14
|
"properties": {
|
|
15
|
-
"__@toStringTag@
|
|
15
|
+
"__@toStringTag@293": {
|
|
16
16
|
"type": "string"
|
|
17
17
|
},
|
|
18
18
|
"description": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"typeof__tag_1": {
|
|
25
25
|
"properties": {
|
|
26
|
-
"__@toStringTag@
|
|
26
|
+
"__@toStringTag@293": {
|
|
27
27
|
"type": "string"
|
|
28
28
|
},
|
|
29
29
|
"description": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"typeof__tag_2": {
|
|
36
36
|
"properties": {
|
|
37
|
-
"__@toStringTag@
|
|
37
|
+
"__@toStringTag@293": {
|
|
38
38
|
"type": "string"
|
|
39
39
|
},
|
|
40
40
|
"description": {
|