Skip to content

Commit

Permalink
fix: Change peerDependencies into dependencies (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timebutt authored Nov 8, 2021
1 parent ab29ee5 commit c3bc665
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng-packagr -p ./src/lib/package.json",
"build": "ng-packagr -p ./src/lib/package.json && cp README.md ./dist && cp LICENSE ./dist",
"ghpages": "ng build --configuration production --no-progress",
"test": "ng test --watch=false --code-coverage --browsers=ChromeCI",
"test:watch": "ng test --browsers=ChromeCI",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/circle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"url": "git+https://github.com/scttcper/ngx-color.git"
},
"license": "MIT",
"peerDependencies": {
"dependencies": {
"material-colors": "^1.2.6"
},
"ngPackage": {
Expand Down
10 changes: 8 additions & 2 deletions src/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
"name": "ngx-color",
"version": "0.0.0-placeholder",
"description": "A Collection of Color Pickers from Sketch, Photoshop, Chrome & more",
"dependencies": {
"@ctrl/tinycolor": "^3.4.0"
},
"peerDependencies": {
"@angular/core": ">=12.0.0-0",
"@angular/common": ">=12.0.0-0",
"@ctrl/tinycolor": "^3.4.0"
"@angular/common": ">=12.0.0-0"
},
"homepage": "https://github.com/scttcper/ngx-color",
"repository": "scttcper/ngx-color",
Expand All @@ -15,6 +17,10 @@
"lib": {
"entryFile": "public_api.ts"
},
"allowedNonPeerDependencies": [
"@ctrl/tinycolor",
"material-colors"
],
"dest": "../../dist"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/lib/swatches/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "git",
"url": "git+https://github.com/scttcper/ngx-color.git"
},
"peerDependencies": {
"dependencies": {
"material-colors": "^1.2.6"
},
"ngPackage": {
Expand Down

0 comments on commit c3bc665

Please sign in to comment.