Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
199b13d
Update Storybook configuration and TypeScript settings (deck-gl)
May 7, 2026
eb0d10f
Update Storybook configuration and TypeScript settings (deck-gl)
May 7, 2026
a39ae18
Update Storybook configuration and TypeScript settings (storybook-com…
May 7, 2026
1196668
Update Storybook configuration and TypeScript settings (ra-geospatial)
May 7, 2026
cbdbeec
Update Storybook configuration and TypeScript settings (react-maplibre)
May 7, 2026
fdefff0
Update Storybook configuration and TypeScript settings (three)
May 7, 2026
422d3b9
Update Storybook refs for development and production environments
May 7, 2026
2030306
Merge branch 'main' into update-dependencies
May 8, 2026
21c47f5
Remove unused dependencies from package.json
May 8, 2026
bf82c24
Remove custom panel registration from Storybook manager
May 8, 2026
36e8713
Update rest of dependencies
May 11, 2026
a55da5b
fix ra-geospatial
May 11, 2026
ea23b48
fix three storybook and tsconfig
May 11, 2026
b6df6e8
fix react-maplibre
May 11, 2026
58987af
prettier fix
May 11, 2026
95fcc84
fix lint autodetection bug
May 12, 2026
26a73c8
fix eslint warnings in storybook and transition functions
May 12, 2026
10baaca
add eslint configuration and suppress warnings in storybook stories
May 12, 2026
b3aace6
fix: adjust indentation for eslint directive in transitionFunctions.js
May 12, 2026
852afdf
chore: update Storybook dependencies and remove deprecated packages
May 12, 2026
098d01c
fix: enhance Cypress configuration to handle WebGL errors and improve…
May 12, 2026
16fb86b
chore: update node version test configuration for improved parallel e…
May 12, 2026
900548f
chore: update node version test configuration for improved parallel e…
May 12, 2026
531e6d9
chore: add .npmrc file to configure strict dependency builds
May 12, 2026
be53dd7
revert: undo non-cypress config changes
May 12, 2026
83ef782
chore: add .npmrc file to configure strict dependency builds
May 12, 2026
a7f2095
fix MlGlobeButton.cy.tsx
May 12, 2026
34a5b36
chore: update node version test configuration and pnpm workspace depe…
May 12, 2026
76eb0a9
chore: remove unnecessary dependencies from pnpm workspace configuration
May 12, 2026
9078036
chore: remove unnecessary dependencies from pnpm workspace configuration
May 12, 2026
1538f09
chore: remove unnecessary dependencies from pnpm workspace configuration
May 12, 2026
a22731a
chore: update .npmrc to include only-built-dependencies
May 12, 2026
779ed72
chore: update .npmrc to include only-built-dependencies
May 12, 2026
2dc160a
chore: update vite.config.ts to use dynamic import for react plugin
May 12, 2026
ca9d16c
fix formate
May 12, 2026
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
18 changes: 11 additions & 7 deletions .github/workflows/node-version-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,33 @@ on:
pull_request:
branches:
- main

env:
NX_DAEMON: false

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-versions: [20.x,22.x]
node-version: [20.x, 22.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install pnpm
run: npm install -g pnpm
run: npm install -g pnpm@10.33.3

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run component tests
run: npx nx run-many -t test:noninteractive --all --skip-nx-cache

- name: Build all projects
run: npx nx run-many -t build --all --exclude storybook-composition docs
run: npx nx run-many -t build --all --exclude=storybook-composition,docs
7 changes: 7 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
strict-dep-builds=false
only-built-dependencies[]=cypress
only-built-dependencies[]=@swc/core
only-built-dependencies[]=core-js
only-built-dependencies[]=esbuild
only-built-dependencies[]=nx
only-built-dependencies[]=unrs-resolver
12 changes: 1 addition & 11 deletions apps/developer-manual/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,12 @@
"dependencies": {
"@docusaurus/core": "^3.10.1",
"@docusaurus/preset-classic": "^3.10.1",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@mdx-js/react": "^3.1.1",
"@mui/icons-material": "^9.0.1",
"@mui/material": "^9.0.1",
"clsx": "^2.1.1",
"mobx": "^6.15.2",
"mobx-react": "^9.2.1",
"prism-react-renderer": "^2.4.1",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"react-redux": "^9.2.0",
"redux": "^5.0.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.10.1"
"react-dom": "^19.2.6"
},
"browserslist": {
"production": [
Expand Down
52 changes: 27 additions & 25 deletions apps/developer-manual/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
/// <reference types='vitest' />
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
import { nxCopyAssetsPlugin } from '@nx/vite/plugins/nx-copy-assets.plugin';

export default defineConfig(() => ({
root: __dirname,
cacheDir: '../../node_modules/.vite/apps/developer-manual',
server: {
port: 4200,
host: 'localhost',
},
preview: {
port: 4200,
host: 'localhost',
},
plugins: [react(), nxViteTsPaths(), nxCopyAssetsPlugin(['*.md'])],
// Uncomment this if you are using workers.
// worker: {
// plugins: [ nxViteTsPaths() ],
// },
build: {
outDir: '../../dist/apps/developer-manual',
emptyOutDir: true,
reportCompressedSize: true,
commonjsOptions: {
transformMixedEsModules: true,
export default defineConfig(async () => {
const react = (await import('@vitejs/plugin-react')).default;
return {
root: __dirname,
cacheDir: '../../node_modules/.vite/apps/developer-manual',
server: {
port: 4200,
host: 'localhost',
},
},
}));
preview: {
port: 4200,
host: 'localhost',
},
plugins: [react(), nxViteTsPaths(), nxCopyAssetsPlugin(['*.md'])],
// Uncomment this if you are using workers.
// worker: {
// plugins: [ nxViteTsPaths() ],
// },
build: {
outDir: '../../dist/apps/developer-manual',
emptyOutDir: true,
reportCompressedSize: true,
commonjsOptions: {
transformMixedEsModules: true,
},
},
};
});
12 changes: 1 addition & 11 deletions apps/storybook-composition/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
import { dirname, join } from 'node:path';
import type { StorybookConfig } from '@storybook/react-vite';


function getAbsolutePath(value: string): string {
return dirname(require.resolve(join(value, 'package.json')));
}

const config: StorybookConfig = {
stories: ['../src/**/*.@(mdx|stories.@(js|jsx|ts|tsx))'],
addons: [],
framework: {
name: getAbsolutePath('@storybook/react-vite'),
name: "@storybook/react-vite",
options: {
builder: {
viteConfigPath: 'vite.config.ts',
Expand Down Expand Up @@ -61,7 +55,3 @@ const config: StorybookConfig = {
};

export default config;

// To customize your Vite configuration you can use the viteFinal field.
// Check https://storybook.js.org/docs/react/builders/vite#configuration
// and https://nx.dev/recipes/storybook/custom-builder-configs
4 changes: 2 additions & 2 deletions apps/storybook-composition/.storybook/manager.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { addons } from "@storybook/addons";
import { addons } from "storybook/manager-api";
import wheregroupTheme from "./wheregroupTheme";

addons.setConfig({
theme: wheregroupTheme,
theme: wheregroupTheme,
});
47 changes: 26 additions & 21 deletions apps/storybook-composition/.storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,27 +1,32 @@
import './style.css';

export const parameters = {
docs: {
inlineStories: false,
const preview = {
parameters: {
layout: 'fullscreen',
docs: {
story: {
iframeHeight: 500,
},
},
actions: { argTypesRegex: '^on[A-Z].*' },
},
actions: { argTypesRegex: '^on[A-Z].*' },

};

export const globalTypes = {
theme: {
name: 'Theme',
title: 'Theme',
description: 'Theme for your components',
defaultValue: 'light',
toolbar: {
icon: 'paintbrush',
dynamicTitle: true,
items: [
{ value: 'light', left: '☀️', title: 'Light mode' },
{ value: 'dark', left: '🌙', title: 'Dark mode' },
],
globalTypes: {
theme: {
name: 'Theme',
title: 'Theme',
description: 'Theme for your components',
defaultValue: 'light',
toolbar: {
icon: 'paintbrush',
dynamicTitle: true,
items: [
{ value: 'light', left: '☀️', title: 'Light mode' },
{ value: 'dark', left: '🌙', title: 'Dark mode' },
],
},
},
},
tags: ['autodocs'],
};
export const tags = ['autodocs'];

export default preview;
26 changes: 9 additions & 17 deletions apps/storybook-composition/.storybook/style.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
.docs-story > div:first-child{
z-index:0;
.sb-story {
min-height: 500px;
position: relative;
}

.docs-story > div > div:first-child, .innerZoomElementWrapper, .innerZoomElementWrapper > div:first-child, .innerZoomElementWrapper > div:first-child > div:first-child{

position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}

.docs-story > div > div:first-child{
height: initial;
}

.innerZoomElementWrapper > div > div > div:first-child{
height: 100% !important;
.sb-story > div {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
3 changes: 3 additions & 0 deletions apps/storybook-composition/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"references": [
{
"path": "./tsconfig.app.json"
},
{
"path": "./tsconfig.storybook.json"
}
],
"extends": "../../tsconfig.base.json"
Expand Down
8 changes: 8 additions & 0 deletions apps/storybook-composition/tsconfig.storybook.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"composite": false,
"noEmit": true
},
"include": [".storybook/**/*"]
}
52 changes: 27 additions & 25 deletions apps/storybook-composition/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
/// <reference types='vitest' />
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
import { nxCopyAssetsPlugin } from '@nx/vite/plugins/nx-copy-assets.plugin';

export default defineConfig(() => ({
root: __dirname,
cacheDir: '../../node_modules/.vite/apps/storybook-composition',
server: {
port: 4200,
host: 'localhost',
},
preview: {
port: 4200,
host: 'localhost',
},
plugins: [react(), nxViteTsPaths(), nxCopyAssetsPlugin(['*.md'])],
// Uncomment this if you are using workers.
// worker: {
// plugins: [ nxViteTsPaths() ],
// },
build: {
outDir: '../../dist/apps/storybook-composition',
emptyOutDir: true,
reportCompressedSize: true,
commonjsOptions: {
transformMixedEsModules: true,
export default defineConfig(async () => {
const react = (await import('@vitejs/plugin-react')).default;
return {
root: __dirname,
cacheDir: '../../node_modules/.vite/apps/storybook-composition',
server: {
port: 4200,
host: 'localhost',
},
},
}));
preview: {
port: 4200,
host: 'localhost',
},
plugins: [react(), nxViteTsPaths(), nxCopyAssetsPlugin(['*.md'])],
// Uncomment this if you are using workers.
// worker: {
// plugins: [ nxViteTsPaths() ],
// },
build: {
outDir: '../../dist/apps/storybook-composition',
emptyOutDir: true,
reportCompressedSize: true,
commonjsOptions: {
transformMixedEsModules: true,
},
},
};
});
22 changes: 12 additions & 10 deletions apps/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,23 @@
"preview": "vite preview"
},
"dependencies": {
"@mapcomponents/react-maplibre": "^1.8.10",
"react": "^19.2.4",
"react-dom": "^19.2.4"
"@mapcomponents/react-maplibre": "workspace:*"
},
"peerDependencies": {
"react": "^19.2.6",
"react-dom": "^19.2.6"
},
"devDependencies": {
"@eslint/js": "^9.34.0",
"@eslint/js": "^10.0.1",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.2.0",
"eslint": "^9.34.0",
"eslint-plugin-react-hooks": "^7.0.1",
"@vitejs/plugin-react": "^6.0.1",
"eslint": "^10.3.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.2",
"globals": "^16.2.0",
"globals": "^17.6.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.33.0",
"vite": "^7.1.4"
"typescript-eslint": "^8.59.2",
"vite": "^8.0.11"
}
}
7 changes: 6 additions & 1 deletion apps/template/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,10 @@
"src/**/*.spec.jsx",
"src/**/*.test.jsx"
],
"include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"]
"include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"],
"references": [
{
"path": "../../packages/react-maplibre/tsconfig.lib.json"
}
]
}
Loading
Loading