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

[#123] Move some dependencies to devDependencies #124

Merged
merged 3 commits into from
Sep 9, 2022

Conversation

rosle
Copy link
Contributor

@rosle rosle commented Sep 8, 2022

Close #123

What happened 👀

  • Move some dependencies to devDependencies

Insight 📝

N/A

Proof Of Work 📹

The app is running fine. And I also apply it onto my React IC application. After deploy, it is working fine 👍

Current package.json bootstrapped from the template

{
  "name": "test-app",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "axios": "0.21.1",
    "i18next": "21.6.14",
    "i18next-browser-languagedetector": "6.1.3",
    "i18next-http-backend": "1.4.0",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-i18next": "11.16.1",
    "react-router-dom": "6.3.0",
    "react-scripts": "5.0.1",
    "sass": "1.49.11",
    "web-vitals": "2.1.4"
  },
  ...
  "devDependencies": {
    "@cypress/code-coverage": "3.9.12",
    "@cypress/instrument-cra": "1.4.0",
    "@nimblehq/eslint-config-nimble-react": "1.1.0",
    "@nimblehq/stylelint-config-nimble": "1.0.2",
    "@testing-library/cypress": "8.0.2",
    "@testing-library/jest-dom": "5.16.4",
    "@testing-library/react": "13.1.1",
    "@testing-library/user-event": "14.1.1",
    "@types/jest": "27.4.1",
    "@types/node": "17.0.21",
    "@types/react": "17.0.40",
    "@types/react-dom": "17.0.13",
    "cypress": "9.5.2",
    "cypress-react-selector": "2.3.16",
    "danger": "10.9.0",
    "danger-plugin-istanbul-coverage": "1.6.2",
    "eslint": "8.11.0",
    "prettier": "2.6.0",
    "start-server-and-test": "1.14.0",
    "stylelint": "14.6.0",
    "typescript": "4.6.2"
  }
}

@rosle rosle self-assigned this Sep 8, 2022
@rosle rosle marked this pull request as ready for review September 8, 2022 09:42
@rosle rosle linked an issue Sep 8, 2022 that may be closed by this pull request
Comment on lines 59 to 61
"danger-plugin-code-coverage": "1.1.9",
"danger-plugin-istanbul-coverage": "1.6.2",
"danger-plugin-jest-codecov": "0.0.8",
Copy link
Contributor Author

@rosle rosle Sep 8, 2022

Choose a reason for hiding this comment

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

Seeing from our dangerfile, we're only using istanbul-coverage plugin. So I'll also remove other unused dependencies

// Our dangerfile
import { istanbulCoverage } from 'danger-plugin-istanbul-coverage';

schedule(
  istanbulCoverage({
  ...

@rosle rosle force-pushed the chore/123-manage-depedencies-group branch from e113b53 to 91fc424 Compare September 8, 2022 10:24
Copy link
Member

@malparty malparty left a comment

Choose a reason for hiding this comment

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

🧴🧼🛁🧹✨

@carryall carryall merged commit a9e875f into development Sep 9, 2022
@carryall carryall deleted the chore/123-manage-depedencies-group branch September 9, 2022 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move some dependencies to devDependencies
7 participants