tileflow 0.1.0-alpha.3 → 0.1.0-alpha.4

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 +8 -10
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -7004,17 +7004,15 @@ program.command("validate").description("Validate a Tileflow config").option("-c
7004
7004
  phase: "hosted-validation"
7005
7005
  });
7006
7006
  }
7007
- const diagnostics = createTileflowStructuredDiagnostics2(
7008
- {
7009
- diagnostics: mapNames.flatMap(
7010
- (mapName) => auditTileflowMapThemeValues(project.maps[mapName]).filter(
7011
- ({ severity }) => severity === "warning"
7012
- )
7013
- )
7014
- },
7015
- process.cwd(),
7016
- { code: "VALIDATION_WARNING", phase: "theme-audit" }
7007
+ const themeWarnings = mapNames.flatMap(
7008
+ (mapName) => auditTileflowMapThemeValues(project.maps[mapName]).filter(
7009
+ ({ severity }) => severity === "warning"
7010
+ )
7017
7011
  );
7012
+ const diagnostics = themeWarnings.length === 0 ? [] : createTileflowStructuredDiagnostics2({ diagnostics: themeWarnings }, process.cwd(), {
7013
+ code: "VALIDATION_WARNING",
7014
+ phase: "theme-audit"
7015
+ });
7018
7016
  const checks = [
7019
7017
  "Config schema",
7020
7018
  "Icon asset closure",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tileflow",
3
- "version": "0.1.0-alpha.3",
3
+ "version": "0.1.0-alpha.4",
4
4
  "license": "Apache-2.0",
5
5
  "description": "CLI-only tools for Tileflow config, capture, visual testing, and deploy.",
6
6
  "type": "module",
@@ -35,12 +35,12 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@hono/node-server": "2.0.10",
38
- "@tileflow/capture": ">=0.1.0-alpha.21 <0.1.0-beta.0",
38
+ "@tileflow/capture": ">=0.1.0-alpha.22 <0.1.0-beta.0",
39
39
  "@tileflow/coordinates": ">=0.1.0-alpha.0 <0.1.0-beta.0",
40
- "@tileflow/coordinates-runtime": ">=0.1.0-alpha.0 <0.1.0-beta.0",
40
+ "@tileflow/coordinates-runtime": ">=0.1.0-alpha.1 <0.1.0-beta.0",
41
41
  "@tileflow/core": ">=0.1.0-alpha.24 <0.1.0-beta.0",
42
- "@tileflow/dev": ">=0.1.0-alpha.22 <0.1.0-beta.0",
43
- "@tileflow/maps": ">=0.1.0-alpha.2 <0.1.0-beta.0",
42
+ "@tileflow/dev": ">=0.1.0-alpha.23 <0.1.0-beta.0",
43
+ "@tileflow/maps": ">=0.1.0-alpha.3 <0.1.0-beta.0",
44
44
  "commander": "^15.0.0",
45
45
  "hono": "4.13.5",
46
46
  "picocolors": "^1.1.1",