Skip to content

Commit

Permalink
Copy readme to root folder (#92)
Browse files Browse the repository at this point in the history
* Revert "Add readme to npm (#90)"

This reverts commit bd5ef96.

* Expose readme on publishing NPM package
  • Loading branch information
gmfvpereira authored Jan 31, 2023
1 parent b00c30b commit 882e057
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/eslint-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
registry-url: ${{ env.REGISTRY_URL }}
- run: yarn install --frozen-lockfile
working-directory: ${{ env.PROJECT_DIR }}
- run: yarn expose-readme
working-directory: ${{ env.PROJECT_DIR }}
- run: yarn publish
working-directory: ${{ env.PROJECT_DIR }}
env:
Expand Down
1 change: 0 additions & 1 deletion packages/eslint-config/README.md

This file was deleted.

3 changes: 2 additions & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"scripts": {
"lint": "eslint lib/*",
"prettier": "prettier -c --config ./lib/prettier.js .",
"prettier:write": "prettier --write --config ./lib/prettier.js ."
"prettier:write": "prettier --write --config ./lib/prettier.js .",
"expose-readme": "cp docs/README.md ."
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "5.47.0",
Expand Down

0 comments on commit 882e057

Please sign in to comment.