Skip to content
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

feat: Add a shared Stylus configuration to build cozy application #2726

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ldoppea
Copy link
Member

@Ldoppea Ldoppea commented Feb 4, 2025

This configuration is copied from cozy-scripts

Because we are migrating our app bundler from create-cozy-app to Rsbuild, we will remove dependences to cozy-script from our app and so we will lose access to the embeded .stylintrc file

To prevent this we want to extract this .stylintrc file to its own config repository. Then Rsbuild project will be able to use it by installing stylus-config-cozy-app module

@@ -0,0 +1,24 @@
{
"name": "stylus-config-cozy-app",
"version": "0.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.0.1 peut-être ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c'est incrémenté automatiquement par lerna il me semble. En tout cas je me suis basé sur cette PR: #2628

"dependencies": {
},
"peerDependencies": {
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to add stylint in peerDeps ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just added it

This configuration is copied from cozy-scripts

Because we are migrating our app bundler from create-cozy-app to
Rsbuild, we will remove dependences to cozy-script from our app and so
we will lose access to the embeded .stylintrc file

To prevent this we want to extract this `.stylintrc` file to its own
config repository. Then Rsbuild project will be able to use it by
installing `stylus-config-cozy-app` module
@Ldoppea Ldoppea force-pushed the feat/stylus-config branch from 274e4a9 to 68e30c8 Compare February 4, 2025 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants