diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..4c44b7b3 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,24 @@ +version: 2 +updates: + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "daily" + labels: + - "node_modules" + groups: + eslint: + patterns: + - "eslint*" + esbuild: + patterns: + - "esbuild*" + stylelint: + patterns: + - "stylelint*" + xterm: + patterns: + - "xterm*" + patternfly: + patterns: + - "@patternfly*" diff --git a/.github/workflows/npm-update-pf.yml b/.github/workflows/npm-update-pf.yml deleted file mode 100644 index 68dc928b..00000000 --- a/.github/workflows/npm-update-pf.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: npm-update-pf -on: - schedule: - - cron: '0 2 * * 1' - # can be run manually on https://github.com/cockpit-project/cockpit-ostree/actions - workflow_dispatch: -jobs: - npm-update: - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - statuses: write - steps: - - name: Set up dependencies - run: | - sudo apt update - sudo apt install -y npm make - - - name: Set up configuration and secrets - run: | - printf '[user]\n\tname = Cockpit Project\n\temail=cockpituous@gmail.com\n' > ~/.gitconfig - echo '${{ secrets.GITHUB_TOKEN }}' > ~/.config/github-token - - - name: Clone repository - uses: actions/checkout@v3 - - - name: Run npm-update bot - run: | - make bots - bots/npm-update @patternfly diff --git a/.github/workflows/npm-update.yml b/.github/workflows/npm-update.yml deleted file mode 100644 index fb51e9d9..00000000 --- a/.github/workflows/npm-update.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: npm-update -on: - schedule: - - cron: '0 2 * * 2,4,6' - # can be run manually on https://github.com/cockpit-project/cockpit-ostree/actions - workflow_dispatch: -jobs: - npm-update: - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - statuses: write - steps: - - name: Set up dependencies - run: | - sudo apt update - sudo apt install -y npm make - - - name: Set up configuration and secrets - run: | - printf '[user]\n\tname = Cockpit Project\n\temail=cockpituous@gmail.com\n' > ~/.gitconfig - echo '${{ secrets.GITHUB_TOKEN }}' > ~/.config/github-token - - - name: Clone repository - uses: actions/checkout@v3 - - - name: Run npm-update bot - run: | - make bots - bots/npm-update ~@patternfly diff --git a/package.json b/package.json index f7f08afa..6abd5218 100644 --- a/package.json +++ b/package.json @@ -16,34 +16,34 @@ "stylelint:fix": "stylelint --fix src/*{.css,scss}" }, "devDependencies": { - "argparse": "^2.0.1", - "bootstrap-sass": "^3.4.1", - "chrome-remote-interface": "^0.32.1", - "esbuild": "^0.19.1", - "esbuild-plugin-copy": "^2.1.1", - "esbuild-plugin-replace": "^1.3.0", - "esbuild-sass-plugin": "^2.10.0", - "esbuild-wasm": "^0.19.1", - "eslint": "^8.13.0", - "eslint-config-standard": "^17.0.0-1", - "eslint-config-standard-jsx": "^11.0.0-1", - "eslint-config-standard-react": "^13.0.0", - "eslint-plugin-flowtype": "^8.0.3", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-promise": "^6.0.0", - "eslint-plugin-react": "^7.29.4", - "eslint-plugin-react-hooks": "^4.4.0", - "gettext-parser": "^7.0.1", - "htmlparser": "^1.7.7", - "jed": "^1.1.1", - "qunit": "^2.9.3", - "sass": "^1.61.0", - "sizzle": "^2.3.3", - "stylelint": "^15.10.1", - "stylelint-config-standard": "^34.0.0", - "stylelint-config-standard-scss": "^10.0.0", - "stylelint-formatter-pretty": "^3.2.0" + "argparse": "2.0.1", + "bootstrap-sass": "3.4.1", + "chrome-remote-interface": "0.32.1", + "esbuild": "0.19.1", + "esbuild-plugin-copy": "2.1.1", + "esbuild-plugin-replace": "1.3.0", + "esbuild-sass-plugin": "2.15.0", + "esbuild-wasm": "0.19.1", + "eslint": "8.13.0", + "eslint-config-standard": "17.0.0-1", + "eslint-config-standard-jsx": "11.0.0-1", + "eslint-config-standard-react": "13.0.0", + "eslint-plugin-flowtype": "8.0.3", + "eslint-plugin-import": "2.26.0", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-promise": "6.0.0", + "eslint-plugin-react": "7.29.4", + "eslint-plugin-react-hooks": "4.6.0", + "gettext-parser": "7.0.1", + "htmlparser": "1.7.7", + "jed": "1.1.1", + "qunit": "2.20.0", + "sass": "1.61.0", + "sizzle": "2.3.3", + "stylelint": "15.10.1", + "stylelint-config-standard": "34.0.0", + "stylelint-config-standard-scss": "10.0.0", + "stylelint-formatter-pretty": "3.2.0" }, "dependencies": { "@patternfly/patternfly": "5.0.4",