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

Upgrade all packages #31

Open
maxstue opened this issue May 7, 2023 · 4 comments
Open

Upgrade all packages #31

maxstue opened this issue May 7, 2023 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@maxstue
Copy link
Owner

maxstue commented May 7, 2023

All pacakges should be upgraded to the newest version

@maxstue maxstue added enhancement New feature or request help wanted Extra attention is needed labels May 7, 2023
@maxstue maxstue changed the title Upgradae all pacakges Upgrade all packages May 7, 2023
@MSeeligHEC
Copy link

These versions work for me:

{
  ...
  "dependencies": {
    "@vitejs/plugin-react": "^4.0.4",
    "electron-is-dev": "^2.0.0",
    "install-peers": "^1.0.4",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "vite": "^4.4.8"
  },
  "devDependencies": {
    "@types/node": "^20.4.7",
    "@types/react": "^18.2.18",
    "@types/react-dom": "^18.2.7",
    "@typescript-eslint/eslint-plugin": "6.2.1",
    "@typescript-eslint/parser": "6.2.1",
    "autoprefixer": "^10.4.4",
    "concurrently": "^8.2.0",
    "electron": "^25.4.0",
    "electron-builder": "^24.6.3",
    "eslint": "8.46.0",
    "eslint-config-airbnb": "19.0.4",
    "eslint-config-prettier": "8.10.0",
    "eslint-plugin-import": "^2.25.4",
    "eslint-plugin-jsx-a11y": "^6.5.1",
    "eslint-plugin-prettier": "5.0.0",
    "eslint-plugin-react": "^7.29.4",
    "postcss": "^8.4.12",
    "prettier": "3.0.1",
    "tailwindcss": "^3.0.23",
    "typescript": "^5.1.6"
  },
 ...
}

@maxstue
Copy link
Owner Author

maxstue commented Aug 10, 2023

If you want, you can do a PR and than I can merge your code 😉

@znwhite
Copy link

znwhite commented Oct 23, 2024

Even more recent one that works for me:

  "scripts": {
    "dev": "vite",
    "dev:electron": "npm run build:electron && electron .",
    "build": "npm run build:vite && npm run build:electron",
    "build:vite": "vite build",
    "build:electron": "tsc -p electron",
    "dist": "npm run build && electron-builder",
    "dist:win": "npm run build && electron-builder --win",
    "dist:mac": "npm run build && electron-builder --mac",
    "dist:linux": "npm run build && electron-builder --linux",
    "pack": "npm run build && electron-builder --dir",
    "clean": "rimraf dist main src/out",
    "type-check": "tsc",
    "lint": "eslint . --ext js,jsx,ts,tsx",
    "lint:fix": "eslint . --ext js,jsx,ts,tsx --fix"
  },
  "dependencies": {
    "@material-tailwind/react": "^2.1.10",
    "@shopify/cli": "^3.69.0",
    "@vitejs/plugin-react": "^4.3.3",
    "corepack": "^0.29.4",
    "electron-is-dev": "^2.0.0",
    "i18next": "^23.11.5",
    "npm": "^10.9.0",
    "Package": "^0.0.1",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "react-i18next": "^15.1.0",
    "vite": "^5.4.9",
    "vite-plugin-electron": "^0.28.8",
    "vite-plugin-electron-renderer": "^0.14.6"
  },
  "devDependencies": {
    "@types/node": "^20.4.7",
    "@types/react": "^18.2.18",
    "@types/react-dom": "^18.2.7",
    "@typescript-eslint/eslint-plugin": "6.2.1",
    "@typescript-eslint/parser": "6.2.1",
    "autoprefixer": "^10.4.4",
    "concurrently": "^8.2.0",
    "electron": "^33.0.2",
    "electron-builder": "^25.1.8",
    "eslint": "^8.57.1",
    "eslint-config-airbnb": "19.0.4",
    "eslint-config-prettier": "8.10.0",
    "eslint-plugin-import": "^2.25.4",
    "eslint-plugin-jsx-a11y": "^6.5.1",
    "eslint-plugin-prettier": "5.0.0",
    "eslint-plugin-react": "^7.29.4",
    "postcss": "^8.4.12",
    "prettier": "3.0.1",
    "tailwindcss": "^3.4.14",
    "typescript": "^5.6.3"
  },
  "build": {
    "asar": true,
    "files": [
      "dist-electron",
      "dist-vite"
    ],
    "directories": {
      "buildResources": "resources"
    }
  }

@maxstue
Copy link
Owner Author

maxstue commented Oct 24, 2024

@znwhite please do a PR and than the changes will be merged :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants