@kispace-io/gs-lib 1.3.9 → 1.3.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kispace-io/gs-lib",
3
- "version": "1.3.9",
3
+ "version": "1.3.11",
4
4
  "type": "module",
5
5
  "license": "EPL-2.0",
6
6
  "repository": {
@@ -47,7 +47,7 @@
47
47
  "uuid": "^11.1.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@eclipse-lyra/core": "*",
50
+ "@eclipse-docks/core": "*",
51
51
  "esbuild": "^0.27.0"
52
52
  },
53
53
  "publishConfig": {
@@ -57,8 +57,8 @@
57
57
  "@types/node": "^24.9.2",
58
58
  "@types/proj4": "^2.5.6",
59
59
  "@types/uuid": "^10.0.0",
60
- "typescript": "~5.9.3",
61
- "vite": "^7.1.12",
60
+ "typescript": "^6.0.0",
61
+ "vite": "^8.0.0",
62
62
  "vite-plugin-dts": "^4.5.4"
63
63
  }
64
64
  }
@@ -160,7 +160,7 @@ export function processHtml(content: string, title: string, appJsFilename?: stri
160
160
  export async function bundleApp(
161
161
  entryPointPath: string,
162
162
  outputDir: string,
163
- gsLibPath: string,
163
+ _gsLibPath: string,
164
164
  fileSys: FileSystem,
165
165
  resolvePlugin: EsbuildPlugin,
166
166
  esbuildInstance: EsbuildInstance,
@@ -334,7 +334,7 @@ export function createFileSystemGsLibCopier(
334
334
  /**
335
335
  * Recursively copy a directory
336
336
  */
337
- async function copyDirectory(fs: FileSystem, src: string, dest: string): Promise<void> {
337
+ async function copyDirectory(fs: FileSystem, _src: string, dest: string): Promise<void> {
338
338
  // This is a simplified version - would need full directory traversal
339
339
  // For now, we'll handle specific known directories
340
340
  await fs.ensureDir(dest)
@@ -363,8 +363,8 @@ export function calculateTotalSteps(
363
363
  /**
364
364
  * Create a standard copyAssets function that works with FileSystem
365
365
  */
366
- export function createCopyAssetsFunction(fs: FileSystem): (fs: FileSystem, outputDir: string, progress?: ProgressCallback) => Promise<void> {
367
- return async (fileSys: FileSystem, outputDir: string, progress?: ProgressCallback) => {
366
+ export function createCopyAssetsFunction(_fs: FileSystem): (fs: FileSystem, outputDir: string, progress?: ProgressCallback) => Promise<void> {
367
+ return async (fileSys: FileSystem, outputDir: string, _progress?: ProgressCallback) => {
368
368
  if (await fileSys.exists('assets')) {
369
369
  await copyDirectory(fileSys, 'assets', `${outputDir}/assets`)
370
370
  }
package/src/gs-litns.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Re-export all Lit APIs from appspace's externals/lit module - single source of truth
2
- export * as lit from "@eclipse-lyra/core/externals/lit";
2
+ export * as lit from "@eclipse-docks/core/externals/lit";
package/src/gs-model.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { v4 as uuidv4 } from '@eclipse-lyra/core/externals/third-party'
1
+ import { v4 as uuidv4 } from '@eclipse-docks/core/externals/third-party'
2
2
 
3
3
  export const KEY_LABEL = "label";
4
4
  export const KEY_NAME = "name";
@@ -10,8 +10,8 @@ import {
10
10
  LayerSpecification,
11
11
  SourceSpecification
12
12
  } from 'maplibre-gl';
13
- import { v4 as uuidv4 } from '@eclipse-lyra/core/externals/third-party';
14
- import { subscribe, publish } from '@eclipse-lyra/core/core/events';
13
+ import { v4 as uuidv4 } from '@eclipse-docks/core/externals/third-party';
14
+ import { subscribe, publish } from '@eclipse-docks/core/core/events';
15
15
  import { GsMlControl, GsMlControlAdapter, GsMlOverlayAdapter } from './gs-ml-adapters';
16
16
 
17
17
  import {
@@ -1,5 +1,5 @@
1
1
  import { Map, Popup, IControl, LngLatLike } from 'maplibre-gl';
2
- import { render as litRender } from "@eclipse-lyra/core/externals/lit";
2
+ import { render as litRender } from "@eclipse-docks/core/externals/lit";
3
3
 
4
4
  /**
5
5
  * MapLibre Control adapter for user modules
@@ -52,8 +52,8 @@ import LayerGroup from "ol/layer/Group";
52
52
  import {Control} from "ol/control";
53
53
  import * as ol from "./gs-olns"
54
54
  import {lit} from "../gs-litns";
55
- import {v4 as uuidv4} from '@eclipse-lyra/core/externals/third-party'
56
- import {subscribe, publish, unsubscribe} from '@eclipse-lyra/core/core/events'
55
+ import {v4 as uuidv4} from '@eclipse-docks/core/externals/third-party'
56
+ import {subscribe, publish, unsubscribe} from '@eclipse-docks/core/core/events'
57
57
  import {GsControlAdapter, GsOverlayAdapter} from "./gs-ol-adapters";
58
58
  import {rtUtils} from "../index";
59
59
  import Layer from "ol/layer/Layer";
@@ -1,6 +1,6 @@
1
1
  import {Map} from "ol";
2
2
  import {GsOlControl, GsOlOverlay} from "./gs-gs2ol";
3
- import {render as litRender} from "@eclipse-lyra/core/externals/lit";
3
+ import {render as litRender} from "@eclipse-docks/core/externals/lit";
4
4
 
5
5
  export class GsOlAdapter<T extends GsOlControl | GsOlOverlay> {
6
6
  protected map: Map;
package/tsconfig.json CHANGED
@@ -2,7 +2,10 @@
2
2
  "compilerOptions": {
3
3
  "target": "ES2022",
4
4
  "module": "ESNext",
5
- "lib": ["ES2022", "DOM"],
5
+ "lib": [
6
+ "ES2022",
7
+ "DOM"
8
+ ],
6
9
  "moduleResolution": "bundler",
7
10
  "noEmit": true,
8
11
  "strict": true,
@@ -12,9 +15,13 @@
12
15
  "sourceMap": true,
13
16
  "experimentalDecorators": true,
14
17
  "useDefineForClassFields": false,
15
- "baseUrl": ".",
16
- "paths": {}
18
+ "paths": {},
19
+ "rootDir": "src",
20
+ "types": [
21
+ "node"
22
+ ]
17
23
  },
18
- "include": ["src/**/*"]
24
+ "include": [
25
+ "src/**/*"
26
+ ]
19
27
  }
20
-