@hubol/smooch 1.0.0-beta.7 → 1.0.0-beta.9
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 +18 -2
- package/package.json +1 -1
- package/schema.json +3 -3
package/index.js
CHANGED
|
@@ -52479,6 +52479,7 @@ class AudioFileConverter {
|
|
|
52479
52479
|
.on('end', resolve)
|
|
52480
52480
|
.on('error', reject)
|
|
52481
52481
|
.input(srcFile)
|
|
52482
|
+
.addOption('-bitexact')
|
|
52482
52483
|
.save(dstFile);
|
|
52483
52484
|
})
|
|
52484
52485
|
.then(() => logger.log(`Done after ${(0, print_ms_1.printMs)(now_1.Now.ms - start)}: ${chalk_1.default.green(dstFile)}`));
|
|
@@ -52882,6 +52883,15 @@ const excludableProperties = new Set(['name', 'message', 'stack']);
|
|
|
52882
52883
|
|
|
52883
52884
|
"use strict";
|
|
52884
52885
|
|
|
52886
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
52887
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
52888
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
52889
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
52890
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
52891
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
52892
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
52893
|
+
});
|
|
52894
|
+
};
|
|
52885
52895
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
52886
52896
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
52887
52897
|
};
|
|
@@ -52894,7 +52904,13 @@ const gwob_1 = __webpack_require__(8792);
|
|
|
52894
52904
|
function resolve(...paths) {
|
|
52895
52905
|
return (0, gwob_1.normalizeWindowsPathSeparator)(path_1.default.resolve(...paths));
|
|
52896
52906
|
}
|
|
52897
|
-
|
|
52907
|
+
const fsMkdir = util_1.default.promisify(fs_1.default.mkdir);
|
|
52908
|
+
const mkdir = (...args) => __awaiter(void 0, void 0, void 0, function* () {
|
|
52909
|
+
if (typeof args[0] === 'string' && !args[0].trim())
|
|
52910
|
+
return;
|
|
52911
|
+
yield fsMkdir(...args);
|
|
52912
|
+
});
|
|
52913
|
+
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
52914
|
|
|
52899
52915
|
|
|
52900
52916
|
/***/ }),
|
|
@@ -86065,7 +86081,7 @@ module.exports = JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"]
|
|
|
86065
86081
|
/***/ ((module) => {
|
|
86066
86082
|
|
|
86067
86083
|
"use strict";
|
|
86068
|
-
module.exports = JSON.parse('{"name":"@hubol/smooch","version":"1.0.0-beta.
|
|
86084
|
+
module.exports = JSON.parse('{"name":"@hubol/smooch","version":"1.0.0-beta.9","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
86085
|
|
|
86070
86086
|
/***/ })
|
|
86071
86087
|
|
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": {
|