-
Notifications
You must be signed in to change notification settings - Fork 168
chore: workspace migration (workflows) #1993
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
9579d32
to
3d45324
Compare
ea5b04f
to
f44d0e1
Compare
3d45324
to
f8e63b3
Compare
f44d0e1
to
1080910
Compare
3b77400
to
147c82f
Compare
147c82f
to
7ccef56
Compare
39e830e
to
0cbd534
Compare
7b88f86
to
dbde4ae
Compare
553e041
to
975e3d2
Compare
975e3d2
to
474c6c8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This PR implements a monorepo workspace structure by creating a reusable setup action and migrating all workflows to use it, along with reorganizing ESLint configurations into package-specific files.
- Created
.github/actions/setup
action to standardize Node.js setup, pnpm installation, and dependency caching across workflows - Migrated all workflow files to use
packages/browser
working directory, reflecting new workspace structure - Reorganized ESLint configurations by moving package-specific rules to their respective directories
- Added
eslint-rules
as a workspace package with proper CommonJS configuration - Updated TypeScript version checks to run against multiple Node.js versions (18, 20, 22, 23) and TypeScript versions (4.7.2, 5.5.4, latest)
16 file(s) reviewed, 13 comment(s)
Edit PR Review Bot Settings | Greptile
- run: pnpm tsc -b | ||
working-directory: packages/browser |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: Consider adding --noEmit flag to tsc command since this is just for type checking
packages/browser/.eslintrc.js
Outdated
parserOptions: { | ||
project: null, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logic: Setting project to null disables TypeScript type checking. Consider using a specific tsconfig for Playwright tests instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is that true?
do we want to turn that off?
packages/browser/.eslintrc.js
Outdated
rules: { | ||
'no-console': 'off', | ||
'@typescript-eslint/no-require-imports': 'off', | ||
'no-undef': 'off', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: Disabling no-undef in playground could lead to runtime errors. Consider using a more specific override
dbde4ae
to
cf8655d
Compare
76a63c5
to
704b8a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same... hard to test but looks reasonable
i think a few greptile comments are correct-ish
but we can always resolve that at the top-level
bf08543
to
d20c05d
Compare
# Ceci est le premier message de validation : fix linting # Ceci est le message de validation numéro 2 : update code owners # Ceci est le message de validation numéro 5 : update pnpm lockfile # Ceci est le message de validation numéro 6 : create setup action # Ceci est le message de validation numéro 7 : migrate bundled-size # Ceci est le message de validation numéro 8 : migrate escheck # Ceci est le message de validation numéro 9 : checkout before calling custom action # Ceci est le message de validation numéro 10 : migrate esbuild and bundled-size # Ceci est le message de validation numéro 11 : migrate library checks
fix testcafe
ffe2ac4
to
6c0fdce
Compare
Migration PR: #1991
Requires sub-PR: #1995
Changes
- [x] unit test
- [x] playwright
- [x] functional test
- [x] lint