@tileflow/vite 0.1.0-alpha.16 → 0.1.0-alpha.17

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/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { Plugin } from 'vite';
2
2
 
3
3
  type TileflowVitePluginOptions = {
4
+ apiBaseUrl?: string;
4
5
  base?: string;
5
6
  config?: string;
6
7
  emitBuildArtifacts?: boolean;
7
- tileBaseUrl?: string;
8
8
  };
9
9
  declare function tileflow(options?: TileflowVitePluginOptions): Plugin;
10
10
 
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ function tileflow(options = {}) {
31
31
  config: configPath,
32
32
  cwd: root,
33
33
  styleBaseUrl: basePath,
34
- tileBaseUrl: options.tileBaseUrl,
34
+ apiBaseUrl: options.apiBaseUrl,
35
35
  watch: false
36
36
  });
37
37
  const handlerPromise = sessionPromise.then((session) => {
@@ -49,7 +49,7 @@ function tileflow(options = {}) {
49
49
  server.config.logger.error(`[tileflow] ${message}`);
50
50
  },
51
51
  session,
52
- tileBaseUrl: options.tileBaseUrl
52
+ apiBaseUrl: options.apiBaseUrl
53
53
  });
54
54
  });
55
55
  const refreshWatchedIconPaths = async () => {
@@ -109,7 +109,7 @@ function tileflow(options = {}) {
109
109
  config: configPath,
110
110
  cwd: config.root,
111
111
  styleBaseUrl: joinTileflowPublicUrl(config.base, basePath),
112
- tileBaseUrl: options.tileBaseUrl
112
+ apiBaseUrl: options.apiBaseUrl
113
113
  });
114
114
  const assetBase = getTileflowAssetBasePath(basePath);
115
115
  this.emitFile({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tileflow/vite",
3
- "version": "0.1.0-alpha.16",
3
+ "version": "0.1.0-alpha.17",
4
4
  "description": "Vite plugin for Tileflow map style development and static artifacts.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -36,7 +36,7 @@
36
36
  "access": "public"
37
37
  },
38
38
  "dependencies": {
39
- "@tileflow/dev": "0.1.0-alpha.16"
39
+ "@tileflow/dev": ">=0.1.0-alpha.18 <0.1.0-beta.0"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "vite": ">=5"