Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
6507779
chore: migrate from yarn to pnpm
jmfrancois Sep 4, 2026
25250e3
chore: add changesets for yarn->pnpm migration
jmfrancois Sep 4, 2026
e9bf12f
chore: drop @talend/scripts-yarn-workspace package
jmfrancois Sep 4, 2026
3686919
chore: drop @talend/scripts-publish-local package
jmfrancois Sep 4, 2026
2e68fb7
Merge branch 'master' into chore/migrate-yarn-to-pnpm
jmfrancois Sep 4, 2026
6c9e4c3
chore: update lock file
jmfrancois Sep 4, 2026
a5c738f
fix(ci): restore NPM_TOKEN PAT for GitHub Packages auth
jmfrancois Sep 7, 2026
4d24f0b
Merge branch 'master' into chore/migrate-yarn-to-pnpm
jmfrancois Sep 9, 2026
5ccd3b6
chore: pnpm i update lock file
jmfrancois Sep 9, 2026
32df3f7
chore: dedupe
jmfrancois Sep 9, 2026
a1fa4a4
fix: import
jmfrancois Sep 9, 2026
2a71e68
chore: try to fix CI
jmfrancois Sep 9, 2026
6ed25f1
Merge branch 'master' into chore/migrate-yarn-to-pnpm
jmfrancois Sep 17, 2026
bce4a1b
chore: update lock file
jmfrancois Sep 17, 2026
f267368
Merge branch 'master' into chore/migrate-yarn-to-pnpm
jmfrancois Sep 17, 2026
278e53e
chore: update lock file
jmfrancois Sep 17, 2026
4a0295e
fix(react-a11y): update typescript config and add missing types
jmfrancois Sep 18, 2026
416dbde
fix: add missing dev deps
jmfrancois Sep 18, 2026
d27d73c
fix: add missing devDeps for testing
jmfrancois Sep 18, 2026
f0c4235
fix: vitest config
jmfrancois Sep 18, 2026
c8a3ed0
fix: tests
jmfrancois Sep 18, 2026
f5473d7
fix(containers): add missing devdeps
jmfrancois Sep 18, 2026
fdf7b40
Merge branch 'master' into chore/migrate-yarn-to-pnpm
jmfrancois Sep 18, 2026
84412aa
fix: test config
jmfrancois Sep 18, 2026
702be5a
chore: review
jmfrancois Sep 18, 2026
3601343
Merge branch 'master' into chore/migrate-yarn-to-pnpm
jmfrancois Sep 18, 2026
8d0614e
chore: move to workspace range syntax
jmfrancois Sep 18, 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
5 changes: 5 additions & 0 deletions .changeset/quiet-goats-pnpm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/scripts-core': minor
---

Declare `@talend/scripts-config-prettier` and `@talend/scripts-config-stylelint` as real dependencies instead of phantom deps that only resolved because yarn's flat hoist happened to expose them (pnpm's isolated linker doesn't hoist, so they'd otherwise be missing). Also drop the `extends` command's jest-config-file generation, which relied on `@talend/scripts-config-jest` and is no longer relevant now that jest is being phased out.
5 changes: 5 additions & 0 deletions .changeset/six-otters-migrate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/react-components': patch
---

Switch internal `build:lib:tsc` script invocation from `yarn run tsc` to `pnpm run tsc` and drop the now-unused `resolutions.minimist` field (pnpm doesn't read `resolutions`; the override is handled at the workspace root instead).
5 changes: 5 additions & 0 deletions .changeset/warm-llamas-hoist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/http': patch
---

Remove the orphaned `jest` config block from `package.json` (dead config left over after tests moved off this in-package jest setup).
20 changes: 10 additions & 10 deletions .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: 'Setup nodejs'
author: 'Talend'
inputs:
NPM_TOKEN:
description: 'Token used for GitHub Packages auth (GITHUB_TOKEN, since @talend/locales-* packages are public)'
description: 'PAT used for GitHub Packages auth (GITHUB_TOKEN cannot read private cross-repo packages like @talend/daikon-tql-client)'
required: true

runs:
Expand All @@ -29,22 +29,22 @@ runs:
echo "//npm.pkg.github.com/:_authToken=${{ inputs.NPM_TOKEN }}" >> ~/.npmrc
fi

- name: Install yarn
- name: Install pnpm
shell: bash
run: npm i -g yarn
run: npm i -g pnpm

- name: Get yarn cache directory path
id: yarn-cache-dir-path
- name: Get pnpm store directory path
id: pnpm-cache-dir-path
shell: bash
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
run: echo "dir=$(pnpm store path)" >> $GITHUB_OUTPUT

- uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
id: pnpm-cache # use this to check for `cache-hit` (`steps.pnpm-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
path: ${{ steps.pnpm-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-yarn-
${{ runner.os }}-pnpm-

- name: Cache for Turbo
uses: rharkor/caching-for-turbo@0abc2381e688c4d2832f0665a68a01c6e82f0d6c #v2.3.11
18 changes: 9 additions & 9 deletions .github/workflows/changeset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Use Node.js
uses: ./.github/actions/setup-node
with:
NPM_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: has changeset file
id: changesetfiles
Expand All @@ -50,29 +50,29 @@ jobs:
- name: Install and Build
if: steps.changesetfiles.outputs.count == 1
run: |
yarn --frozen-lockfile
yarn build
pnpm install --frozen-lockfile
pnpm build
env:
NODE_AUTH_TOKEN: ${{ github.token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Install but do not build
if: steps.changesetfiles.outputs.count > 1
run: yarn --ignore-scripts --frozen-lockfile
run: pnpm install --ignore-scripts --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{ github.token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d #v1.9.0
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: yarn release
publish: pnpm release
commit: "chore: prepare release"
title: "chore: prepare release"
env:
GITHUB_TOKEN: ${{ secrets.CHANGESET_GITHUB_TOKEN }}
NPM_TOKEN: ${{ github.token }}
NODE_AUTH_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

update-cdn-content:
needs: release
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@ jobs:
- name: Use Node.js
uses: ./.github/actions/setup-node
with:
NPM_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Install
working-directory: ./
env:
NODE_AUTH_TOKEN: ${{ github.token }}
run: yarn install --frozen-lockfile
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm install --frozen-lockfile

- name: Build
run: yarn build
run: pnpm build

- name: Build Demo
run: yarn storybook:build
run: pnpm storybook:build

- name: Checkout demo branch
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7.0.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Use Node.js
uses: ./.github/actions/setup-node
with:
NPM_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Download icons
run: npx @talend/figma-icons-downloader
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pr-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ jobs:
- name: Use Node.js
uses: ./.github/actions/setup-node
with:
NPM_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Install
working-directory: ./
env:
NODE_AUTH_TOKEN: ${{ github.token }}
run: yarn install --frozen-lockfile
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm install --frozen-lockfile

- name: Build
run: yarn build
run: pnpm build

- name: Build Demo
run: yarn storybook:build
run: pnpm storybook:build

- name: Checkout demo branch
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7.0.1
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
branch: gh-pages

- name: Find Comment
uses: peter-evans/find-comment@v4
uses: peter-evans/find-comment@b30e6a3c0ed37e7c023ccd3f1db5c6c0b0c23aad #v4.0.0
id: fc
with:
issue-number: ${{ github.event.number }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,22 @@ jobs:
- name: Use Node.js
uses: ./.github/actions/setup-node
with:
NPM_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Install
run: yarn install --frozen-lockfile --ignore-scripts
run: pnpm install --frozen-lockfile --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ github.token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Build
run: yarn build
run: pnpm build

- name: eslint + stylelint
continue-on-error: true
id: eslint
run: |
yarn eslint:run --concurrency=1
yarn stylelint:run --concurrency=1
pnpm eslint:run --concurrency=1
pnpm stylelint:run --concurrency=1

- name: Merge lint
uses: ./.github/actions/lint-merge-report
Expand All @@ -58,5 +58,5 @@ jobs:
- name: Annotate Code Linting Results
uses: ataylorme/eslint-annotate-action@5a8d8ab89a57679e90c32750e0f382e9d8570750 #v4.0.0
with:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
report-json: ./eslint-report.json
10 changes: 5 additions & 5 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ jobs:
- name: Use Node.js
uses: ./.github/actions/setup-node
with:
NPM_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Install
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{ github.token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Build
run: yarn build
run: pnpm build

- name: Test
run: |
yarn vitest:cov --concurrency=1
pnpm vitest:cov --concurrency=1

- name: Jest Coverage Comment
uses: MishaKav/jest-coverage-comment@642ef024cc554a34b7082cea12c7bf63575ae151 #1.0.36
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,37 +17,37 @@ jobs:
version: ${{ steps.version.outputs.version }}
steps:
- name: checkout repository
uses: actions/checkout@v7.0.1
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7.0.1
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Use Node.js
uses: ./.github/actions/setup-node
with:
NPM_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

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

- name: Build
run: yarn build
run: pnpm build

- name: Pre-release talend/ui
id: version
run: |
# FIXME: trigger changeset change without commit
# generate a random small version
POST_VERSION_RANDOM=$(node -e "console.log(Math.floor(Math.random() * 10000))")
yarn changeset pre enter next-${POST_VERSION_RANDOM}
yarn changeset version
pnpm changeset pre enter next-${POST_VERSION_RANDOM}
pnpm changeset version
# echo diff to see version changes and save it to reuse it after
{
echo "VERSION_DIFF<<EOF"
git diff | grep -E 'next|name'
echo "EOF"
} >> $GITHUB_OUTPUT
yarn changeset publish --no-git-checks
pnpm changeset publish --no-git-checks

- name: Comment on the PR with the package version
uses: actions-ecosystem/action-create-comment@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/visual-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:
- name: Use Node.js
uses: ./.github/actions/setup-node
with:
NPM_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Install dependencies
run: |
yarn --frozen-lock
yarn build
pnpm install --frozen-lockfile
pnpm build

- name: Publish PR to DS Chromatic
if: github.ref != 'refs/heads/master'
Expand Down
52 changes: 0 additions & 52 deletions .github/workflows/yarn-deduplicate.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
nodejs 24.14.0
yarn 1.22.22
pnpm 11.24.0
Loading
Loading