Skip to content

Adding angular >10.0 as peerDependency #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ jobs:
# run tests!
- run: npm run lint
- run: npm run test -- --codeCoverage=true --progress=true --watch=false
- run: cat coverage/plotly/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- run: cat coverage/plotly/report-lcov/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- run: npm run build -- plotly --prod
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ speed-measure-plugin*.json
/.sass-cache
/connect.lock
/coverage
/projects/plotly/coverage
/projects/plotly/README.md
/libpeerconnection.log
npm-debug.log
yarn-error.log
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Changelog

## [unreleased] - YYYY-MM-DD
## [3.1.0] - 2021-03-17
### Changed
- Updated peerDependency to angular >10.0 (see https://github.com/plotly/angular-plotly.js/issues/154)
- Enhanced integration with Angular CSS classes handling (See https://github.com/plotly/angular-plotly.js/pull/147)
- Allow user content inside plotly plot *div* element (See https://github.com/plotly/angular-plotly.js/pull/147)

Expand Down
2 changes: 1 addition & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/plotly/tsconfig.lib.json",
"project": "projects/plotly/ng-package.json"
Expand Down
15 changes: 0 additions & 15 deletions bin/build

This file was deleted.

12 changes: 0 additions & 12 deletions bin/publish

This file was deleted.

7 changes: 4 additions & 3 deletions devdocs.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
## How to publish on npm

* Update the version on projects/plotly/package.json
* Update the version in projects/plotly/package.json
* Update the CHANGELOG.md
* `ng test --codeCoverage=true --progress=true --watch=false`
* `cp README.md angular-plotly.png projects/plotly`
* `ng build plotly --prod`
* `cp README.md angular-plotly.png dist/plotly`
* `npm publish dist/plotly`
* `git tag -a <version> -m <version>`
* `git tag -a <version> -m <version>`
Loading