From 50f7dc91db12cf336363e4ae57f3e9c2bbcbbbd2 Mon Sep 17 00:00:00 2001 From: Cormac Relf Date: Tue, 11 Sep 2018 17:55:58 +1000 Subject: [PATCH] fix: publish dist directory instead of whole folder --- package.json | 2 +- packages/core/README.md | 2 +- packages/core/ng-package.js | 3 ++- packages/multi-backend/README.md | 2 +- packages/multi-backend/ng-package.js | 3 ++- packages/sortable/README.md | 1 + packages/sortable/ng-package.js | 3 ++- 7 files changed, 10 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index e2e5a39e..99fcc805 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "test": "jest", "test-tdd": "jest --watchAll --no-cache", "test-debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --no-cache --runInBand", - "release": "node ./tools/tasks/release", + "release": "yarn build && node ./tools/tasks/release", "postinstall": "yarn build-tools", "lint": "tslint packages/**/*.ts -t verbose", "aio": "compodoc -p ./tsconfig.json --output ./aio --hideGenerator --silent" diff --git a/packages/core/README.md b/packages/core/README.md index a6a7b8d2..f847a03a 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -10,7 +10,7 @@ Angular. It is based on, and very similar to [`react-dnd`][react-dnd] by [Dan Abramov][gaearon] and others, and is also powered by [`dnd-core`][dnd-core]. It is compatible with all backends. -### [Check out the Examples here](./examples/). +### [Check out the examples here](./examples/). [react-dnd]: https://react-dnd.github.io/react-dnd/ [gaearon]: https://github.com/gaearon diff --git a/packages/core/ng-package.js b/packages/core/ng-package.js index 01410f47..ac9232f3 100755 --- a/packages/core/ng-package.js +++ b/packages/core/ng-package.js @@ -1 +1,2 @@ -module.exports = require("../../ng-package"); \ No newline at end of file +module.exports = require("../../ng-package"); + diff --git a/packages/multi-backend/README.md b/packages/multi-backend/README.md index 3507c7ff..a759aebe 100644 --- a/packages/multi-backend/README.md +++ b/packages/multi-backend/README.md @@ -12,7 +12,7 @@ First, it re-exports [`dnd-multi-backend`][dnd-multi-backend], [`react-dnd-touch [touch-backend]: https://github.com/yahoo/react-dnd-touch-backend [dnd-multi-backend]: https://github.com/LouisBrunner/react-dnd-multi-backend -Second, it gives you a convenient and easy way to render previews for when the touch backend is in use. +Second, it gives you a convenient and easy way to render previews when the touch backend is in use. ## Installation diff --git a/packages/multi-backend/ng-package.js b/packages/multi-backend/ng-package.js index 01410f47..ac9232f3 100755 --- a/packages/multi-backend/ng-package.js +++ b/packages/multi-backend/ng-package.js @@ -1 +1,2 @@ -module.exports = require("../../ng-package"); \ No newline at end of file +module.exports = require("../../ng-package"); + diff --git a/packages/sortable/README.md b/packages/sortable/README.md index e5bf3505..005bc5c7 100644 --- a/packages/sortable/README.md +++ b/packages/sortable/README.md @@ -5,3 +5,4 @@ [![npm](https://img.shields.io/npm/v/@angular-skyhook/sortable.svg)](https://www.npmjs.com/package/@angular-skyhook/sortable) Placeholder for `@angular-skyhook/sortable` docs. + diff --git a/packages/sortable/ng-package.js b/packages/sortable/ng-package.js index 01410f47..ac9232f3 100755 --- a/packages/sortable/ng-package.js +++ b/packages/sortable/ng-package.js @@ -1 +1,2 @@ -module.exports = require("../../ng-package"); \ No newline at end of file +module.exports = require("../../ng-package"); +