Skip to content

Commit

Permalink
feat: Updating publish
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-caldwell committed Oct 2, 2022
1 parent 8f9e8a3 commit aa29d8c
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 30 deletions.
30 changes: 18 additions & 12 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
### Description
<!--- Provide a general summary of your changes in the Title above -->

Please include a summary of the change and the issue (if is related to a one)
## Description

### Type of change
<!--- Describe your changes in detail -->

- [ ] 🐛 Bug fix
- [ ] 💻 New feature
- [ ] 📖 Documentation
- [ ] 💅 Layout
- [ ] 🧹 Chore
## Related Issue

### Checklist:
<!--- This project only accepts pull requests related to open issues -->
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
<!--- Please link to the issue here: -->

- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] I updated the docs related to the changes
## How Has This Been Tested?

<!-- PLEASE, OPEN THIS PR AS DRAFT IF IT'S NOT THROUGH YET. -->
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->

## Has the demo been updated?

<!-- If applicable -->

## Screenshots (if appropriate):
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Forked from [asseinfo's React Kanban](https://github.com/asseinfo/react-kanban)

Shout out to all their contributors. The git history didn't quite carry over, but here they are, up top.
Shout out to all the contributors.

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
Expand Down Expand Up @@ -39,6 +39,10 @@ Shout out to all their contributors. The git history didn't quite carry over, bu
- The original library did not include TypeScript types. It was written in JS without providing any types. This fork is natively written in TypeScript.
<!-- Outdated build, no demo -->

## Road Map

[Here](./docs/roadmap.md) is what's in the queue. If you want to see something, [make an issue](https://github.com/christopher-caldwell/react-kanban/issues/new)

## Setup

```bash
Expand Down
3 changes: 3 additions & 0 deletions docs/roadmap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# React Kanban - Road Map

- [ ] Get tests back in shape
22 changes: 7 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,28 @@
{
"name": "@caldwell619/react-kanban",
"version": "2.1.0",
"description": "Yet another Kanban/Trello board lib for React.",
"version": "0.0.1",
"description": "(fork of) Yet another Kanban/Trello board lib for React",
"scripts": {
"lint": "eslint --ext .ts,.tsx src",
"format": "prettier --write src",
"type-check": "tsc --noEmit",
"type-check": "tsc --noEmit -p tsconfig.build.json",
"build": "tsc -p tsconfig.build.json && npx tscpaths -p tsconfig.json -s src -o dist",
"build:watch": "nodemon --exec yarn build --watch src --ext .tsx,.ts --delay 2.5",
"bump:version": "standard-version",
"publish:release": "git push --follow-tags origin master && yarn publish",
"publish:version": "sh scripts/publish.sh",
"predeploy": "cd demo && yarn install && yarn run build",
"deploy": "gh-pages -d demo/dist",
"test": "jest",
"jest:watch": "jest --no-coverage --watch --runInBand --notify --notifyMode always",
"cypress": "cypress",
"dev": "cross-env NODE_ENV=cypress start-test server 8080 'cypress open'",
"contributors:add": "all-contributors add"
},
"dependencies": {
"react-beautiful-dnd": "^13.0.0"
"test:watch": "jest --no-coverage --watch --runInBand --notify --notifyMode always"
},
"main": "dist/index.js",
"files": [
"dist"
],
"repository": "https://github.com/asseinfo/react-kanban",
"author": "Leandro Lourenci",
"repository": "https://github.com/christopher-caldwell/react-kanban",
"license": "MIT",
"peerDependencies": {
"react": ">=16",
"react-beautiful-dnd": ">=13.0.0",
"react-dom": ">=16"
},
"devDependencies": {
Expand Down Expand Up @@ -70,7 +62,7 @@
"react": "17.0.1",
"react-dom": "17.0.1",
"sass": "^1.55.0",
"semantic-release": "17.0.8",
"standard-version": "^9.5.0",
"start-server-and-test": "1.11.5",
"ts-jest": "^29.0.3",
"ts-loader": "8.0.6",
Expand Down
6 changes: 4 additions & 2 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ fi

printf "\n\n$BICyan$(echo Bumping the version number..)$Color_Off"

yarn bump:version
standard-version

printf "\n\n$BICyan$(echo Publishing new version..)$Color_Off"

yarn publish:release
git push --follow-tags origin master

yarn publish --access=public

0 comments on commit aa29d8c

Please sign in to comment.