diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0a31af1..1a1558f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,7 +29,7 @@ jobs: yarn install-r yarn build-library yarn test --silent - cd lib + cd src/lib npm publish cd ../components npm publish \ No newline at end of file diff --git a/README.md b/README.md index 4a38779..d482dbc 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,12 @@ This library is **published as two libraries**: - @lingdocs/inflect - The core inflection engine with grammatical information and tools for processing LingDocs dictionary entries and Pashto text. + - Can be used with Node 16, as CommonJS - @lingdocs/ps-react - @lingdocs/inflect plus react components for displaying Pashto text, phrase engine UI etc. + - Only available as an ES6 Module + +`@lingdocs/pashto-inflector` ## Development diff --git a/package-lock.json b/package-lock.json index 98d5857..3e7f50e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pashto-inflector", - "version": "5.0.0", + "version": "5.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pashto-inflector", - "version": "5.0.0", + "version": "5.0.1", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 3978af7..851a8b9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pashto-inflector", - "version": "5.0.0", + "version": "5.0.1", "author": "lingdocs.com", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "homepage": "https://verbs.lingdocs.com", diff --git a/src/components/README.md b/src/components/README.md index 7c7b6ea..78abad5 100644 --- a/src/components/README.md +++ b/src/components/README.md @@ -1,3 +1,11 @@ # @lingdocs/inflect The core inflection engine with grammatical information and tools for processing LingDocs dictionary entries and Pashto text. + +### Peer depencies required + +``` + "react": "^17.0.1", + "react-bootstrap": "^1.5.1", + "react-dom": "^17.0.1" +``` \ No newline at end of file diff --git a/src/components/package.json b/src/components/package.json index 4eea0ba..21af3c8 100644 --- a/src/components/package.json +++ b/src/components/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/ps-react", - "version": "5.0.0", + "version": "5.0.1", "description": "Pashto inflector library module with React components", "main": "dist/components/library.js", "module": "dist/components/library.js", diff --git a/src/lib/package.json b/src/lib/package.json index 45ebdf7..0e11e4c 100644 --- a/src/lib/package.json +++ b/src/lib/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/inflect", - "version": "5.0.0", + "version": "5.0.1", "description": "Pashto inflector library", "main": "dist/index.js", "types": "dist/lib/library.d.ts",