From 68ffd49c4a66ff5451082ed74678ad5d999b7f1d Mon Sep 17 00:00:00 2001 From: Bill D Date: Tue, 16 Mar 2021 11:58:53 +0400 Subject: [PATCH] bump --- .npmrc | 4 ++-- package.json | 6 +++--- rollup.config.js | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.npmrc b/.npmrc index b42626b..b6e362c 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,2 @@ -@lingdocs:registry=https://reg.lingdocs.com -//reg.lingdocs.com/:_authToken=${LINGDOCS_NPM_TOKEN} +@lingdocs:registry=https://npm.lingdocs.com +//npm.lingdocs.com/:_authToken=${LINGDOCS_NPM_TOKEN} diff --git a/package.json b/package.json index e83402a..bd29db7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "0.2.5", + "version": "0.2.6", "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", @@ -20,7 +20,7 @@ "url": "https://github.com/lingdocs/pashto-inflector.git" }, "publishConfig": { - "registry": "https://reg.lingdocs.com" + "registry": "https://npm.lingdocs.com" }, "dependencies": { "classnames": "^2.2.6", @@ -61,7 +61,7 @@ "test": "react-scripts test", "eject": "react-scripts eject", "build-website": "node get-verbs.js && npm run build", - "build-library": "node get-verbs.js && rimraf dist && rimraf dist-cjs && tsc --project library-tsconfig.json && cp src/components/verb-info/*.svg dist/components/verb-info && rollup -c", + "build-library": "node get-verbs.js && rimraf dist && rimraf dist-cjs && tsc --project library-tsconfig.json && mkdir dist/node_modules && cp -r node_modules/classnames dist/node_modules && cp -r node_modules/pbf dist/node_modules && cp src/components/verb-info/*.svg dist/components/verb-info && rollup -c", "test-ci": "npm run test -- --watchAll=false" }, "eslintConfig": { diff --git a/rollup.config.js b/rollup.config.js index d16515e..bfe5bc6 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -26,7 +26,7 @@ export default { // peerDepsExternal(), commonjs(), nodeResolve({ - resolveOnly: ['classnames'], + resolveOnly: Object.keys(pkg.dependencies), }), // use base64 image inlining for the cjs version so that the .svg s can get cosumed by node 12 etc. image(),