@tileflow/dev 0.1.0-alpha.35 → 0.1.0-alpha.37

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.
@@ -45,7 +45,7 @@ Baedeker, Cívica, 1777, Siegfried, Soundings, and Blueprint declare only
45
45
  `[soundingsIcons]`, and `[blueprintIcons]`, respectively. No official root composes another map's assets even though all
46
46
  use the semantic compiler ABI. Baedeker's directory contains eight original travel-atlas patterns;
47
47
  its browser-derived Mapterhorn contours use runtime terrain tiles and are not part of the icon
48
- package. Soundings owns eleven original nautical symbols and
48
+ package. Soundings owns twenty-seven original nautical symbols and
49
49
  patterns. Blueprint owns four technical blueprint patterns and one schematic POI node; its
50
50
  unbundled Mapterhorn contours remain runtime terrain, and its text uses the canonical Noto Sans
51
51
  glyph provider. An application map may inherit a root's exact array, replace it, clear it with `[]`,
@@ -3,7 +3,7 @@
3
3
  Open the local preview and select **Layers**. The panel inspects the current map without changing its
4
4
  authored style. **By module** groups physical layers using compiler contributions; shared layers retain
5
5
  every owner. **Draw order** lists the renderer's public layer sequence, latest draw calls first.
6
- Custom runtime layers are included even though they are absent from Style JSON. DevTools overlays
6
+ Custom runtime layers are included even though they are absent from Style JSON. Inspector overlays
7
7
  are excluded. Unknown ownership is labeled **Unattributed**, rather than guessed from an ID.
8
8
 
9
9
  Press **I** or the element-picker icon and click an element on the map. Its layer becomes selected in
@@ -1,13 +1,13 @@
1
- # Map DevTools and compiler inspection
1
+ # Inspector and compiler inspection
2
2
 
3
3
  Start with the [@tileflow/dev guide](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/README.md) for installation and a complete first example.
4
4
 
5
- The CLI opens Map DevTools through `tileflow preview`. It uses one map and one watched artifact
6
- session by default. A developer-tools panel groups Map, Layers, Tiles, Assets, Debug and Diagnostics. Camera controls
5
+ The CLI opens Inspector through `tileflow preview`. It uses one map and one watched artifact
6
+ session by default. The panel groups Map, Layers, Tiles, Assets, Debug and Diagnostics. Camera controls
7
7
  occupy a separate row below the navigation. Use the three-dot menu to dock left, right or below
8
8
  the map and choose System, Light or Dark appearance. Drag the divider to resize it; focused dividers
9
9
  also support arrow keys. Dock position and dimensions persist locally. Layer observations and highlights stay local to the preview. The map fills the remaining
10
- workspace without brand headers or map-status badges. Closing the panel leaves a small **DevTools**
10
+ workspace without brand headers or map-status badges. Closing the panel leaves a small **Inspector**
11
11
  button to reopen it; capture and comparison controls are absent from the interface.
12
12
 
13
13
  Add `--against-map ...` or `--against-config ...` for synchronized comparison. Custom local servers
@@ -34,7 +34,7 @@ const fetch = createTileflowComparisonRequestHandler({
34
34
  });
35
35
  ```
36
36
 
37
- Set `fitViewport: true` on each dev handler embedded in a resizable Map DevTools pane. Scene previews
37
+ Set `fitViewport: true` on each dev handler embedded in a resizable Inspector pane. Scene previews
38
38
  then fit their pane while captures retain the scene's declared frame. Standalone dev handlers keep
39
39
  the fixed scene viewport by default.
40
40
 
@@ -1,6 +1,6 @@
1
1
  # Map design diagnostics
2
2
 
3
- Open **Diagnostics** in Map DevTools to investigate a map's rules, visual resources and current-view
3
+ Open **Diagnostics** in Inspector to investigate a map's rules, visual resources and current-view
4
4
  composition. The list groups findings under **Readability**, **Style**, **Assets** and **Performance**.
5
5
  **Problem** means a confirmed configuration or resource failure. **Review** means an observed
6
6
  situation may be intentional. Counts refer to grouped findings, not quality scores.
@@ -45,6 +45,7 @@ Selecting `renderer: 'native'` applies `native-lowering-v1` after shared semanti
45
45
  before final native validation. It never edits the authored map, the official map definitions or
46
46
  the shared compiler. Web output is not lowered.
47
47
 
48
+ A browser `sky` is removed, because Native draws no sky, and the entry records `sky: 'removed'`.
48
49
  A fixed `projection: {type: 'globe'}` is explicitly normalized to Native's implicit Mercator. This
49
50
  is a renderer-specific projection change, not equivalent globe rendering. An explicit fixed
50
51
  Mercator declaration is also omitted. Adaptive/expression projections and unknown projection
@@ -150,7 +151,8 @@ engines, `validation: 'static-artifacts'` and the canonical `build-manifest.json
150
151
  schema version is 2 and its `preparationVersion` is `native-lowering-v1`.
151
152
 
152
153
  The `transformations` array is sorted uniquely by map/theme. Each entry records input and lowered
153
- style SHA-256 values, input/output layer counts and projection normalization. `layers` lists the
154
+ style SHA-256 values, input/output layer counts, projection normalization and, when present, sky
155
+ removal. `layers` lists the
154
156
  input ordinal, output start/count and affected properties of each partitioned line layer;
155
157
  `symbolOverlap` lists the input ordinal and replaced properties of each symbol layer whose overlap
156
158
  modes became `*-allow-overlap` values. Ordinals refer to the complete style layer arrays, including
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tileflow/dev",
3
- "version": "0.1.0-alpha.35",
3
+ "version": "0.1.0-alpha.37",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Node development utilities for Tileflow configs and builds.",
6
6
  "type": "module",
@@ -84,7 +84,7 @@
84
84
  "dependencies": {
85
85
  "@mapbox/vector-tile": "3.0.0",
86
86
  "@maplibre/maplibre-gl-style-spec": "26.4.4",
87
- "@tileflow/core": ">=0.1.0-alpha.38 <0.1.0-beta.0",
87
+ "@tileflow/core": ">=0.1.0-alpha.40 <0.1.0-beta.0",
88
88
  "chokidar": "4.0.3",
89
89
  "fontkit": "2.0.4",
90
90
  "jiti": "^2.7.0",
@@ -96,13 +96,13 @@
96
96
  "three": "0.185.1"
97
97
  },
98
98
  "devDependencies": {
99
- "@tileflow/maps": "0.1.0-alpha.12"
99
+ "@tileflow/maps": "0.1.0-alpha.14"
100
100
  },
101
101
  "optionalDependencies": {
102
102
  "sharp": "0.35.5"
103
103
  },
104
104
  "scripts": {
105
- "build": "tsup src/artifacts.ts src/config.ts src/fonts.ts src/icons.ts src/inspect.ts src/preview.ts src/server.ts src/tilesets.ts src/validation.ts --format esm --dts --clean --platform node --external sharp && tsup --config tsup.devtools.config.ts",
105
+ "build": "tsup src/artifacts.ts src/config.ts src/fonts.ts src/icons.ts src/inspect.ts src/preview.ts src/server.ts src/tilesets.ts src/validation.ts --format esm --dts --clean --platform node --external sharp && tsup --config tsup.inspector.config.ts",
106
106
  "test": "tsx --test test/*.test.ts",
107
107
  "typecheck": "tsc -p tsconfig.json --noEmit",
108
108
  "lint": "tsc -p tsconfig.json --noEmit",