@biffo/cli 0.399.0 → 0.400.0

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 (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5843,10 +5843,10 @@ async function runDataImport(name, options, deps) {
5843
5843
  if (sqlFiles.length === 0) {
5844
5844
  throw new Error(`No .sql files found at ${sourceDir}.`);
5845
5845
  }
5846
- const unsortable = sqlFiles.filter((f) => !/^\d/.test(f));
5847
- if (unsortable.length > 0) {
5846
+ const unnumbered = sqlFiles.filter((f) => !/^\d/.test(f));
5847
+ if (unnumbered.length > 0) {
5848
5848
  log.warn(
5849
- `${unsortable.length} file(s) don't start with a digit (e.g. '000_', '001_') \u2014 apply order is alphabetical by filename, so files without a numeric prefix may not sort as intended: ${unsortable.join(", ")}`
5849
+ `${String(unnumbered.length)} file(s) don't start with a digit. Unnumbered modules are valid: they are applied after the numbered files, in the order they merged (derived at build, so no number is needed): ${unnumbered.join(", ")}`
5850
5850
  );
5851
5851
  }
5852
5852
  if (options.dryRun) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biffo/cli",
3
- "version": "0.399.0",
3
+ "version": "0.400.0",
4
4
  "description": "Biffo project scaffolding CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",