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
23 changes: 3 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,28 +48,11 @@ jobs:
with:
node-version: '24'

- name: Enable Corepack / Yarn 4
run: |
corepack enable
corepack prepare yarn@4.10.3 --activate
yarn -v

- name: Cache Yarn 4 artifacts
id: yarn-cache
uses: actions/cache@v4
with:
path: |
.yarn/cache
.pnp.*
.yarn/install-state.gz
key: yarn-cache-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
yarn-cache-${{ runner.os }}-
- name: Enable Corepack
run: corepack enable yarn

- name: Install dependencies
run: |
yarn
yarn bootstrap
run: yarn install --immutable

- name: Build packages
run: yarn build
Expand Down
81 changes: 16 additions & 65 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,11 @@ jobs:
with:
node-version: '24'

- name: Enable Corepack / Yarn 4
run: |
corepack enable
corepack prepare yarn@4.10.3 --activate

- name: Cache Yarn 4 artifacts
uses: actions/cache@v4
with:
path: |
.yarn/cache
.pnp.*
.yarn/install-state.gz
key: yarn-cache-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
yarn-cache-${{ runner.os }}-
- name: Enable Corepack
run: corepack enable yarn

- name: Install dependencies
run: yarn
run: yarn install --immutable
env:
YARN_ENABLE_HARDENED_MODE: 0

Expand All @@ -62,24 +49,11 @@ jobs:
with:
node-version: '24'

- name: Enable Corepack / Yarn 4
run: |
corepack enable
corepack prepare yarn@4.10.3 --activate

- name: Cache Yarn 4 artifacts
uses: actions/cache@v4
with:
path: |
.yarn/cache
.pnp.*
.yarn/install-state.gz
key: yarn-cache-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
yarn-cache-${{ runner.os }}-
- name: Enable Corepack
run: corepack enable yarn

- name: Install dependencies
run: yarn
run: yarn install --immutable
env:
YARN_ENABLE_HARDENED_MODE: 0

Expand Down Expand Up @@ -234,30 +208,20 @@ jobs:
with:
node-version: '24'

- name: Enable Corepack / Yarn 4
run: |
corepack enable
corepack prepare yarn@4.10.3 --activate

- name: Cache Yarn 4 artifacts
uses: actions/cache@v4
with:
path: |
.yarn/cache
.pnp.*
.yarn/install-state.gz
key: yarn-cache-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
yarn-cache-${{ runner.os }}-
- name: Enable Corepack
run: corepack enable yarn

- name: Install dependencies
run: yarn
run: yarn install --immutable
env:
YARN_ENABLE_HARDENED_MODE: 0

- name: Build packages
run: yarn build

- name: Install Playwright Chromium
run: yarn playwright:install --with-deps

- name: Run headless browser tests
run: yarn test-headless

Expand All @@ -273,29 +237,16 @@ jobs:
with:
node-version: '24'

- name: Enable Corepack / Yarn 4
run: |
corepack enable
corepack prepare yarn@4.10.3 --activate

- name: Cache Yarn 4 artifacts
uses: actions/cache@v4
with:
path: |
.yarn/cache
.pnp.*
.yarn/install-state.gz
key: yarn-cache-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
yarn-cache-${{ runner.os }}-
- name: Enable Corepack
run: corepack enable yarn

- name: Install root workspace dependencies
run: yarn
run: yarn install --immutable
env:
YARN_ENABLE_HARDENED_MODE: 0

- name: Install website dependencies
run: cd website && yarn
run: cd website && yarn install --immutable
env:
YARN_ENABLE_HARDENED_MODE: 0

Expand Down
21 changes: 4 additions & 17 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,29 +30,16 @@ jobs:
with:
node-version: '24'

- name: Enable Corepack / Yarn 4
run: |
corepack enable
corepack prepare yarn@4.10.3 --activate

- name: Cache Yarn 4 artifacts
uses: actions/cache@v4
with:
path: |
.yarn/cache
.pnp.*
.yarn/install-state.gz
key: yarn-cache-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
yarn-cache-${{ runner.os }}-
- name: Enable Corepack
run: corepack enable yarn

- name: Install root workspace dependencies
run: yarn
run: yarn install --immutable
env:
YARN_ENABLE_HARDENED_MODE: 0

- name: Install website dependencies
run: cd website && yarn
run: cd website && yarn install --immutable
env:
YARN_ENABLE_HARDENED_MODE: 0

Expand Down
22 changes: 2 additions & 20 deletions .ocularrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,20 @@ import {dirname, join} from 'path';
import {fileURLToPath} from 'url';

const packageRoot = dirname(fileURLToPath(import.meta.url));
const devModules = join(packageRoot, 'dev-modules');
const testDir = join(packageRoot, 'test');
const panelsModule = join(packageRoot, 'modules/panels/src');

/** @type {OcularConfig} */
const config = {
babel: false,

lint: {
paths: ['modules', 'test'], // 'docs', 'examples'], module resolution errors
paths: ['modules', 'dev', 'docs', 'examples'],
extensions: ['js', 'ts', 'jsx', 'tsx']
},

typescript: {
project: 'tsconfig.json'
},

aliases: {
// DEV MODULES
'dev-modules': devModules,

// WORKSPACE MODULES
'@deck.gl-community/panels': panelsModule,

// TEST
test: testDir
},

coverage: {
test: 'browser'
'@deck.gl-community/panels': panelsModule
},

bundle: {
Expand All @@ -53,8 +37,6 @@ const config = {
},

entry: {
test: 'test/node.js',
'test-browser': 'index.html',
bench: 'test/bench/index.js',
'bench-browser': 'test/bench/index.html',
size: ['test/size/graph-layers.js']
Expand Down
106 changes: 0 additions & 106 deletions .yarn/patches/@vis.gl-dev-tools-npm-1.0.1-f38d363810.patch

This file was deleted.

2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ approvedGitRepositories:
enableScripts: true

nodeLinker: node-modules

npmMinimalAgeGate: 0
6 changes: 4 additions & 2 deletions biome.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
"extends": ["./dev-modules/devtools-extensions/biome/base.jsonc"],
"extends": ["@vis.gl/dev-tools/biome.jsonc"],
"files": {
"includes": [
"!**/*.min.js",
Expand Down Expand Up @@ -55,10 +55,12 @@
"suspicious": {
"noAssignInExpressions": "error",
"noAsyncPromiseExecutor": "error",
"noConsole": "off",
"noDebugger": "error",
"noDoubleEquals": "error",
"noGlobalIsNan": "error",
"noRedeclare": "error"
"noRedeclare": "error",
"noShadowRestrictedNames": "off"
}
}
}
Expand Down
Loading
Loading