Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
## 1.6.4-6 (2025-12-22)

This was a version bump only, there were no code changes.

## 1.6.4-5 (2025-12-22)

This was a version bump only, there were no code changes.

## 1.6.4-4 (2025-12-22)

This was a version bump only, there were no code changes.

## 1.6.4-3 (2025-12-22)

This was a version bump only, there were no code changes.

## 1.6.4-2 (2025-12-22)

This was a version bump only, there were no code changes.

## 1.6.4-1 (2025-12-22)

This was a version bump only, there were no code changes.

## 1.6.4-0 (2025-12-22)

This was a version bump only, there were no code changes.

## [1.6.3] (2025-11-01)

## @mapcomponents/react-maplibre
Expand Down
2 changes: 1 addition & 1 deletion packages/create-mapcomponents-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-mapcomponents-app",
"version": "1.6.3",
"version": "1.6.4-6",
"files": [
"index.js"
],
Expand Down
2 changes: 1 addition & 1 deletion packages/deck-gl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mapcomponents/deck-gl",
"version": "1.6.3",
"version": "1.6.4-6",
"description": "",
"main": "src/index.ts",
"module": "dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/ra-geospatial/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mapcomponents/ra-geospatial",
"version": "1.6.3",
"version": "1.6.4-6",
"main": "src/index.ts",
"types": "src/index.d.ts",
"module": "dist/index.js",
Expand Down
10 changes: 8 additions & 2 deletions packages/react-maplibre/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mapcomponents/react-maplibre",
"version": "1.6.3",
"version": "1.6.4-6",
"main": "dist/index.cjs.js",
"license": "MIT",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -43,7 +43,6 @@
"csv2geojson": "^5.1.2",
"d3": "^7.9.0",
"jspdf": "^3.0.2",
"maplibre-gl": "5.6.0",
"osm2geojson-lite": "^1.1.2",
"pako": "^2.1.0",
"react-color": "^2.19.3",
Expand All @@ -54,10 +53,17 @@
"three": "^0.179.1",
"topojson-client": "^3.1.0",
"uuid": "^11.1.0",
"maplibre-gl": "5.6.0",
"wms-capabilities": "^0.6.0"
},
"peerDependencies": {
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
"@testing-library/react": "^16.3.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"@types/chai": "^5.2.2",
"@types/elasticlunr": "^0.9.9",
"@types/enzyme": "^3.10.19",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('MlGlobeButton', () => {

it('shows MapIcon as start state and toggles between MapIcon and PublicIcon', () => {
mount(<CatalogueDemo />);
cy.window()
cy.window({ timeout: 10000 })
.should((win) => expect((win as any)._map).to.exist)
.then((win) => {
const map = (win as any)._map;
Expand All @@ -46,7 +46,7 @@ describe('MlGlobeButton', () => {

it('changes the projection on the map instance attached to window', () => {
mount(<CatalogueDemo />);
cy.window()
cy.window({ timeout: 10000 })
.should((win) => expect((win as any)._map).to.exist)
.then((win) => {
const map = (win as any)._map;
Expand All @@ -59,19 +59,19 @@ describe('MlGlobeButton', () => {
});
});

cy.window().should((win) => {
cy.window({ timeout: 10000 }).should((win) => {
const map = (win as any)._map;
expect(map.getProjection()).to.equal(undefined);
});

cy.get('button').click();
cy.window().should((win) => {
cy.window({ timeout: 10000 }).should((win) => {
const map = (win as any)._map;
expect(map.getProjection()?.type).to.eq('globe');
});

cy.get('button').click();
cy.window().should((win) => {
cy.window({ timeout: 10000 }).should((win) => {
const map = (win as any)._map;
expect(map.getProjection()?.type).to.eq('mercator');
});
Expand Down
10 changes: 6 additions & 4 deletions packages/react-maplibre/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import dts from 'vite-plugin-dts';
import * as path from 'path';
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
import { nxCopyAssetsPlugin } from '@nx/vite/plugins/nx-copy-assets.plugin';
/*import * as fs from 'node:fs';
import * as fs from 'node:fs';

const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8'));*/
const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8'));

export default defineConfig(() => ({
root: __dirname,
Expand Down Expand Up @@ -52,8 +52,10 @@ export default defineConfig(() => ({
'react-dom',
'd3',
'sql.js',
/* ...Object.keys(pkg.dependencies),
...Object.keys(pkg.devDependencies),*/
'maplibre-gl/dist/maplibre-gl.css',
'maplibre-gl',
//...Object.keys(pkg.dependencies),
...Object.keys(pkg.devDependencies),
],
input: [path.join(__dirname, 'src/index.ts')],
},
Expand Down
Loading
Loading