@mapcreator/mapcreator-gl 1.0.4 → 1.0.5

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": "@mapcreator/mapcreator-gl",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Mapcreator interactive maps library",
5
5
  "main": "dist/lib/lib.js",
6
6
  "type": "module",
@@ -16,7 +16,7 @@
16
16
  "lint:fix": "npx eslint 'src/**/*.ts' --fix",
17
17
  "prettier": "prettier --check \"./src/**/*.{ts,js,json,html,css,scss}\"",
18
18
  "prettier:write": "prettier --write \"./src/**/*.{ts,js,json,html,css,scss}\"",
19
- "updateBrowserRegexp": "echo \"export const browserRegex = $(browserslist-useragent-regexp --allowHigherVersions --ignoreMinor --ignorePatch);\" > .browserslist.exp.ts",
19
+ "updateBrowserRegexp": "sh .build/setupBrowserList.sh",
20
20
  "fixMaplibreImport": "sed -i.bak '/\"type\": \"module\"/g' node_modules/@mapcreator/maplibre-gl/package.json"
21
21
  },
22
22
  "author": "Mapcreator",
@@ -29,9 +29,10 @@
29
29
  "@babel/plugin-syntax-import-meta": "^7.10.4",
30
30
  "@babel/polyfill": "^7.12.1",
31
31
  "@babel/preset-env": "^7.22.4",
32
- "@mapcreator/eslint-config": "^3.1.0",
33
- "@mapcreator/helpers": "^1.6.0",
34
- "@mapcreator/maplibre-gl": "2.4.0-mc.4",
32
+ "@mapbox/mapbox-gl-rtl-text": "0.2.3",
33
+ "@mapcreator/eslint-config": "3.1.2",
34
+ "@mapcreator/helpers": "1.6.0",
35
+ "@mapcreator/maplibre-gl": "2.4.0-mc.6",
35
36
  "@sentry/browser": "^7.53.1",
36
37
  "@types/node": "^20.10.6",
37
38
  "@types/webpack": "^5.28.5",
@@ -51,6 +52,7 @@
51
52
  "d3-scale": "^4.0.2",
52
53
  "dotenv": "^16.0.3",
53
54
  "eslint": "^8.41.0",
55
+ "file-loader": "^6.2.0",
54
56
  "html-webpack-plugin": "^5.5.1",
55
57
  "http-server": "^14.1.1",
56
58
  "leaflet": "^1.9.4",
package/readme.md CHANGED
@@ -10,10 +10,10 @@ npm i --save mapcreator-gl
10
10
 
11
11
  ```javascript
12
12
  // Import library scripts
13
- import { init } from 'mapcreator-gl';
13
+ import { init } from '@mapcreator/mapcreator-gl';
14
14
 
15
15
  // Import library styles
16
- import 'mapcreator-gl/dist/lib/style.css';
16
+ import '@mapcreator/mapcreator-gl/dist/lib/style.css';
17
17
 
18
18
  // Initialize the map
19
19
  const map = await init({