-
Notifications
You must be signed in to change notification settings - Fork 52
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
chore: restructure into a monorepo using pnpm #2140
base: develop
Are you sure you want to change the base?
Conversation
f370b6f
to
f29ec8d
Compare
|
@@ -0,0 +1,69 @@ | |||
.eslintrc.cjs |
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.
- Move eslint to the top level along with these files
- What about linting for fe-lib
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.
Will be doing it with your guidance :)
@@ -0,0 +1,62 @@ | |||
{ |
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.
- clean up tsconfig
- add the tsconfig at the root by extending the one from dashboard
- Check for alias at the root level
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.
Can't clean up tsconfig since it is coupled with vite. Any ways we use tsconfig only to check typings and never use any of the compiled code directly.
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.
Let's common out the tsconfig and extend each of the package
packages/devtron-fe-common-lib/src/Shared/Components/Button/Button.component.tsx
Show resolved
Hide resolved
packages/devtron-fe-common-lib/src/Shared/Components/SelectPicker/SelectPicker.component.tsx
Outdated
Show resolved
Hide resolved
@@ -153,22 +152,26 @@ if (!window || !window._env_) { | |||
SYSTEM_CONTROLLER_LISTING_TIMEOUT: 60000 * 5, | |||
FEATURE_STEP_WISE_LOGS_ENABLE: true, | |||
FEATURE_IMAGE_PROMOTION_ENABLE: false, | |||
FEATURE_CD_MANDATORY_PLUGINS_ENABLE: true, |
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.
custom env is breaking
COPY --from=builder /app/./env.sh . | ||
COPY --from=builder /app/.env . | ||
COPY --from=builder /app/apps/web/./env.sh . | ||
COPY --from=builder /app/apps/web/.env . | ||
COPY --from=builder /app/health.html . | ||
|
||
RUN chown -R devtron:devtron /usr/share/nginx/html |
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.
Cases to be tested:
- Local: OSS / Ent
- OSS / Ent Deployed
- EA OSS / ENT Deployed
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.
- Dashboard CI
- Remove the deprecated action yamls
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.
- Removed the deprecated action yamls
- Dashboard CI
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
storybook-static | ||
storybook-static/ | ||
|
||
pnpm-lock.yaml |
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.
lock file should be removed
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.
Add fe-lib script in dummy repo
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.
Update readme
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.
Fix the OSS build
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.
eslint ignore
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.
HMR not working for scss
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.
ent to OSS and OSS to ent switch back
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.
issue with importComponentFromFELIb in case of direct redirection
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: