-
Notifications
You must be signed in to change notification settings - Fork 12
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
base: master
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,24 @@ | |||
{ | |||
"name": "stylus-config-cozy-app", | |||
"version": "0.0.0", |
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.
0.0.1 peut-être ?
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.
c'est incrémenté automatiquement par lerna il me semble. En tout cas je me suis basé sur cette PR: #2628
"dependencies": { | ||
}, | ||
"peerDependencies": { | ||
} |
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.
No need to add stylint
in peerDeps ?
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.
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
274e4a9
to
68e30c8
Compare
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 installingstylus-config-cozy-app
module