@hubol/smooch 1.0.0-beta.10 → 1.0.0-beta.12

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.
Files changed (3) hide show
  1. package/README.md +3 -1
  2. package/index.js +4 -4
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -51,4 +51,6 @@ List these commands!
51
51
  - Supports configurable templates
52
52
  - Keeps a cache for faster start-up
53
53
  - Build tool agnostic
54
- - Config file with schema
54
+ - Config file with schema
55
+
56
+ <!-- To publish, use e.g. `npm version 1.0.0-beta.11` -->
package/index.js CHANGED
@@ -52554,7 +52554,7 @@ function convertAudio(rawOptions, work) {
52554
52554
  ? filesToConvertResult.files
52555
52555
  : yield gwob_1.Gwob.files(options.glob);
52556
52556
  const uniqueFiles = [...new Set(filesToConvert)];
52557
- logger.log(`Found ${filesToConvert.length} file(s) to convert to formats: ${chalk_1.default.white((0, describe_list_1.describeList)(options.convert.map(x => x.format)))}`);
52557
+ logger.log(`Found ${uniqueFiles.length} file(s) to convert to formats: ${chalk_1.default.white((0, describe_list_1.describeList)(options.convert.map(x => x.format)))}`);
52558
52558
  yield Promise.all([
52559
52559
  ...options.convert.map(({ directory }) => fs_1.Fs.mkdir(directory, { recursive: true })),
52560
52560
  ...options.convert
@@ -52571,7 +52571,7 @@ function convertAudio(rawOptions, work) {
52571
52571
  yield fs_1.Fs.mkdir(fs_1.Fs.dirname(dstFile), { recursive: true });
52572
52572
  yield audio_file_converter_1.AudioFileConverter.convert(path_1.Path.File.create(srcFile), dstFile);
52573
52573
  }))));
52574
- logger.log(`Done converting ${filesToConvert.length} file(s).`);
52574
+ logger.log(`Done converting ${uniqueFiles.length} file(s).`);
52575
52575
  const [files, zipFiles] = yield Promise.all([
52576
52576
  getTemplateContextFilesFromDirectories(options),
52577
52577
  createZipFiles(options.convert.filter(isZipConvertOption)),
@@ -52668,7 +52668,7 @@ var FilesToConvert;
52668
52668
  for (const w of work) {
52669
52669
  if (w.type === 'AcceptedNascent')
52670
52670
  return { type: 'all' };
52671
- files.push(...w.assetMatches.map(x => x.path));
52671
+ files.push(...w.assetMatches.filter(x => x.type !== 'delete').map(x => x.path));
52672
52672
  }
52673
52673
  return {
52674
52674
  type: 'some',
@@ -86084,7 +86084,7 @@ module.exports = JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"]
86084
86084
  /***/ ((module) => {
86085
86085
 
86086
86086
  "use strict";
86087
- module.exports = JSON.parse('{"name":"@hubol/smooch","version":"1.0.0-beta.10","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"}}');
86087
+ module.exports = JSON.parse('{"name":"@hubol/smooch","version":"1.0.0-beta.12","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"}}');
86088
86088
 
86089
86089
  /***/ })
86090
86090
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubol/smooch",
3
- "version": "1.0.0-beta.10",
3
+ "version": "1.0.0-beta.12",
4
4
  "description": "Generate texture atlases, browser-compatible audio, and source code from directories",
5
5
  "bin": {
6
6
  "smooch": "index.js"