Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !12046

Move tailwindcss to optional peer dependencies

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Administrator requested to merge github/fork/MartijnHols/fix/12044-dont-install-tailwindcss into main 3 years ago
  • Overview 3
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: MartijnHols

Fixes #12044

Installing tailwindcss comes with a bunch of junk most people don't need, and at least prettier-plugin-tailwindcss but possibly more subdependecies are unlicensed which makes usage troublesome.

Compare
  • version 1
    763745b8
    2 years ago

  • main (HEAD)

and
  • latest version
    763745b8
    1 commit, 2 years ago

  • version 1
    763745b8
    1 commit, 2 years ago

1 file
+ 4
- 1

    Preferences

    File browser
    Compare changes
packages/react-scripts/package.json
+ 4
- 1
  • View file @ a5877820

  • Edit in single-file editor

  • Open in Web IDE


@@ -69,7 +69,6 @@
"semver": "^7.3.5",
"source-map-loader": "^3.0.0",
"style-loader": "^3.3.1",
"tailwindcss": "^3.0.2",
"terser-webpack-plugin": "^5.2.5",
"webpack": "^5.64.4",
"webpack-dev-server": "^4.6.0",
@@ -85,9 +84,13 @@
},
"peerDependencies": {
"react": ">= 16",
"tailwindcss": "^3.0.2",
"typescript": "^3.2.1 || ^4"
},
"peerDependenciesMeta": {
"tailwindcss": {
"optional": true
},
"typescript": {
"optional": true
}
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
1
CLA Signed
1
CLA Signed
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
1
1 participant
Administrator
Reference: facebook/create-react-app!12046
Source branch: github/fork/MartijnHols/fix/12044-dont-install-tailwindcss

Menu

Explore Projects Groups Snippets