@kepler.gl/processors 3.3.0-alpha.1 → 3.3.0-alpha.10

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/types.d.ts CHANGED
@@ -4,6 +4,13 @@ export type FileCacheItem = {
4
4
  id?: string;
5
5
  label: string;
6
6
  format: string;
7
+ type?: string;
8
+ };
9
+ metadata?: {
10
+ source?: string;
11
+ format?: string;
12
+ sourceFormat?: string;
13
+ [key: string]: unknown;
7
14
  };
8
15
  };
9
16
  export type ValidKeplerGlMap = {
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@kepler.gl/processors",
3
3
  "author": "Shan He <shan@uber.com>",
4
- "version": "3.3.0-alpha.1",
4
+ "version": "3.3.0-alpha.10",
5
5
  "description": "kepler.gl constants used by kepler.gl components, actions and reducers",
6
6
  "license": "MIT",
7
- "main": "dist/index.js",
7
+ "main": "dist/cjs/index.js",
8
8
  "types": "dist/index.d.ts",
9
9
  "keywords": [
10
10
  "babel",
@@ -19,24 +19,22 @@
19
19
  "url": "https://github.com/keplergl/kepler.gl.git"
20
20
  },
21
21
  "scripts": {
22
- "build": "rm -fr dist && babel src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
23
- "build:umd": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./webpack/umd.js --progress --env.prod",
22
+ "build": "rm -fr dist && babel src --out-dir dist/cjs --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts' && BABEL_ENV=esm babel src --out-dir dist/esm --source-maps inline --extensions '.ts,.tsx,.js,.jsx' --ignore '**/*.d.ts'",
24
23
  "build:types": "tsc --project ./tsconfig.production.json",
25
24
  "prepublishOnly": "babel-node ../../scripts/license-header/bin --license ../../FILE-HEADER && yarn build && yarn build:types",
26
- "stab": "mkdir -p dist && touch dist/index.js"
25
+ "stab": "mkdir -p dist/cjs dist/esm && touch dist/cjs/index.js dist/esm/index.js"
27
26
  },
28
27
  "files": [
29
- "dist",
30
- "umd"
28
+ "dist"
31
29
  ],
32
30
  "dependencies": {
33
- "@deck.gl-community/editable-layers": "9.2.8",
34
- "@kepler.gl/common-utils": "3.3.0-alpha.1",
35
- "@kepler.gl/constants": "3.3.0-alpha.1",
36
- "@kepler.gl/schemas": "3.3.0-alpha.1",
37
- "@kepler.gl/table": "3.3.0-alpha.1",
38
- "@kepler.gl/types": "3.3.0-alpha.1",
39
- "@kepler.gl/utils": "3.3.0-alpha.1",
31
+ "@deck.gl-community/editable-layers": "9.3.8",
32
+ "@kepler.gl/common-utils": "3.3.0-alpha.10",
33
+ "@kepler.gl/constants": "3.3.0-alpha.10",
34
+ "@kepler.gl/schemas": "3.3.0-alpha.10",
35
+ "@kepler.gl/table": "3.3.0-alpha.10",
36
+ "@kepler.gl/types": "3.3.0-alpha.10",
37
+ "@kepler.gl/utils": "3.3.0-alpha.10",
40
38
  "@loaders.gl/arrow": "^4.4.1",
41
39
  "@loaders.gl/core": "^4.4.1",
42
40
  "@loaders.gl/csv": "^4.4.1",
@@ -47,7 +45,7 @@
47
45
  "@loaders.gl/schema": "^4.4.1",
48
46
  "@loaders.gl/wkt": "^4.4.1",
49
47
  "@mapbox/geojson-normalize": "0.0.1",
50
- "@turf/helpers": "^6.1.4",
48
+ "@turf/helpers": "^7.2.0",
51
49
  "apache-arrow": ">=15.0.0",
52
50
  "d3-dsv": "^2.0.0",
53
51
  "type-analyzer": "0.4.0"
@@ -69,5 +67,14 @@
69
67
  "node": "20.19.3",
70
68
  "yarn": "4.4.0"
71
69
  },
72
- "packageManager": "yarn@4.4.0"
70
+ "packageManager": "yarn@4.4.0",
71
+ "module": "dist/esm/index.js",
72
+ "exports": {
73
+ ".": {
74
+ "types": "./dist/index.d.ts",
75
+ "import": "./dist/esm/index.js",
76
+ "require": "./dist/cjs/index.js",
77
+ "default": "./dist/cjs/index.js"
78
+ }
79
+ }
73
80
  }