diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..795b82b --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,35 @@ +name: Publish + +on: + release: + types: [created] + +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v2 + with: + persist-credentials: false + - uses: actions/setup-node@v1 + with: + node-version: 14 + registry-url: https://registry.npmjs.org/ + - name: Cache node modules + uses: actions/cache@v2 + env: + cache-name: cache-node-modules + with: + path: | + ~/.npm + **/node_modules + key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} + - run: npm i + - run: npm run test + - run: npm run build + - run: npm publish --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index d3378c0..3031abb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [1.4.0](https://github.com/nrccus/eslint-config/compare/1.3.2...1.4.0) (2023-09-15) + + +### Changes + +* Update downstream packages ([1106598](https://github.com/nrccus/eslint-config/commit/1106598811f590c59fd8433183b647c57069e675)) +* Merge pull request #27 from nrccua/updatedependencies_202307 ([3d50967](https://github.com/nrccus/eslint-config/commit/3d509673d74260d72a72446651a9a6f3518f44af)), closes [#27](https://github.com/nrccus/eslint-config/issues/27) +* [DA-3]: 1.3.2 ([82c1ee5](https://github.com/nrccus/eslint-config/commit/82c1ee568283c81c0e35823059fe510e20aaa761)) + ### [1.3.2](https://github.com/nrccus/eslint-config/compare/1.2.5...1.3.2) (2023-07-20) diff --git a/package.json b/package.json index 8386673..61cad31 100644 --- a/package.json +++ b/package.json @@ -10,21 +10,21 @@ ], "dependencies": { "@actinc/eslint-config": "^4.0.0", - "@commitlint/cli": "^17.6.7", - "@commitlint/config-conventional": "^17.6.7", - "@testing-library/jest-dom": "^5.17.0", + "@commitlint/cli": "^17.7.1", + "@commitlint/config-conventional": "^17.7.0", + "@testing-library/jest-dom": "^6.1.3", "@testing-library/react": "^14.0.0", - "@typescript-eslint/eslint-plugin": "^6.1.0", - "@typescript-eslint/parser": "^6.1.0", - "@typescript-eslint/typescript-estree": "^6.1.0", - "babel-jest": "^29.6.1", - "eslint": "^8.45.0", + "@typescript-eslint/eslint-plugin": "^6.7.0", + "@typescript-eslint/parser": "^6.7.0", + "@typescript-eslint/typescript-estree": "^6.7.0", + "babel-jest": "^29.7.0", + "eslint": "^8.49.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-base": "^15.0.0", - "eslint-config-prettier": "^8.8.0", + "eslint-config-prettier": "^9.0.0", "eslint-plugin-disable": "^2.0.3", "eslint-plugin-filenames": "^1.3.2", - "eslint-plugin-import": "^2.27.5", + "eslint-plugin-import": "^2.28.1", "eslint-plugin-jest": "^27.2.3", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-lodash": "^7.4.0", @@ -32,20 +32,20 @@ "eslint-plugin-no-loops": "^0.3.0", "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-promise": "^6.1.1", - "eslint-plugin-react": "^7.32.2", + "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-security": "^1.7.1", - "markdownlint-cli": "^0.35.0", - "prettier": "^3.0.0", + "markdownlint-cli": "^0.36.0", + "prettier": "^3.0.3", "ts-node": "^10.9.1", - "typescript": "^5.1.6" + "typescript": "^5.2.2" }, "description": "Encoura's preferred configs for TypeScript, Prettier, ESLint, CommitLint, and MarkdownLint.", "devDependencies": { - "concurrently": "8.2.0", + "concurrently": "8.2.1", "husky": "8.0.3", - "jest": "29.6.1", - "lint-staged": "13.2.3", + "jest": "29.7.0", + "lint-staged": "14.0.1", "np": "8.0.4", "standard-version": "9.5.0" }, @@ -95,5 +95,5 @@ "update:version:major": "standard-version --release-as major", "update:version:minor": "standard-version --release-as minor" }, - "version": "1.3.2" + "version": "1.4.0" }