Skip to content

Commit

Permalink
Merge pull request #1 from LeadingReach/version-for-packaging
Browse files Browse the repository at this point in the history
- fixes this for packaging with yarn.lock
  • Loading branch information
boroth authored Feb 22, 2022
2 parents 24fb2e9 + 39ee76f commit 8ee0541
Show file tree
Hide file tree
Showing 4 changed files with 13,648 additions and 9,934 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/node_modules

.yarn
.idea
/reports
/coverage
/demo/dist
Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

When updating the master branch, be sure to bump the version number in `package.json` so the new version will be updated in apphead when `yarn` or `yarn install` is run. You may have to run `yarn upgrade react-mentions` to force it to update.

## rational for fork
- needed access to properties not permitted by the original author
- used by apphead

## what changed
- getData exposed to outside world so that data can come from two different sources (see history)
- package would not build with yarn without node-gyp dependency added as a dev dependency

## testing
- apphead has unit tests

## packaging
- requires node-gyp `npm i -G node-gyp`
- `yarn build`
- `yarn pack --out %s-v%v.tgz`



# [React Mentions](https://react-mentions.now.sh)

[![CircleCI][build-badge]][build]
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-mentions",
"version": "1.0.0",
"version": "1.0.1",
"description": "React mentions input",
"main": "dist/react-mentions.cjs.js",
"module": "dist/react-mentions.esm.js",
Expand Down Expand Up @@ -68,6 +68,7 @@
"jest": "^24.8.0",
"jest-enzyme": "^7.0.2",
"jest-watch-typeahead": "^0.3.1",
"node-gyp": "~8.4.1",
"preconstruct": "^0.0.82",
"prettier": "^1.10.2",
"react": "16.8.6",
Expand Down
Loading

0 comments on commit 8ee0541

Please sign in to comment.