Skip to content

Commit

Permalink
Copy README before publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval committed Feb 7, 2022
1 parent b49abcd commit 47fe36c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"prettier": "prettier --config ../../.prettierrc --write \"src/**/*.ts\"",
"eslint:check": "eslint . --ext .ts",
"eslint": "eslint . --ext .ts --fix",
"prepublishOnly": "yarn run build",
"prepublishOnly": "rimraf README.md && cp ../../README.md . && yarn run build",
"test": "jest --verbose --coverage",
"test:visual": "playwright test"
},
Expand Down Expand Up @@ -77,6 +77,5 @@
},
"publishConfig": {
"access": "public"
},
"gitHead": "277fbf2624d81e2f41eeef6ac6fe8cdcd09b22bd"
}
}
5 changes: 2 additions & 3 deletions packages/react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"prettier": "prettier --config ./.prettierrc --write \"**/*.{ts,js,md}\"",
"eslint:check": "eslint . --ext .ts,.tsx",
"eslint": "eslint . --ext .ts,.tsx --fix",
"prepublishOnly": "yarn run build",
"prepublishOnly": "rimraf README.md && cp ../../README.md . && yarn run build",
"test": "jest --verbose --coverage"
},
"dependencies": {
Expand All @@ -50,6 +50,5 @@
},
"publishConfig": {
"access": "public"
},
"gitHead": "277fbf2624d81e2f41eeef6ac6fe8cdcd09b22bd"
}
}

0 comments on commit 47fe36c

Please sign in to comment.