Fix peerDependencies to support angular >=18 #107
3 changed files with 6 additions and 3 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
|
@ -18,4 +18,4 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run test
|
- run: npm run test:headless:singleRun
|
||||||
|
|
@ -6,6 +6,8 @@
|
||||||
"start": "node node_modules/@angular/cli/bin/ng serve",
|
"start": "node node_modules/@angular/cli/bin/ng serve",
|
||||||
"build": "node node_modules/@angular/cli/bin/ng build --configuration production",
|
"build": "node node_modules/@angular/cli/bin/ng build --configuration production",
|
||||||
"test": "node node_modules/@angular/cli/bin/ng test lib",
|
"test": "node node_modules/@angular/cli/bin/ng test lib",
|
||||||
|
"test:headless": "node node_modules/@angular/cli/bin/ng test --browsers=ChromeHeadless",
|
||||||
|
"test:headless:singleRun": "node node_modules/@angular/cli/bin/ng test --no-watch --no-progress --browsers=ChromeHeadless lib",
|
||||||
"release:minor": "cd ./projects/lib/ && npm version minor",
|
"release:minor": "cd ./projects/lib/ && npm version minor",
|
||||||
"release:major": "cd ./projects/lib/ && npm version major",
|
"release:major": "cd ./projects/lib/ && npm version major",
|
||||||
"release:patch": "cd ./projects/lib/ && npm version patch",
|
"release:patch": "cd ./projects/lib/ && npm version patch",
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
"angular 15",
|
"angular 15",
|
||||||
"angular 16",
|
"angular 16",
|
||||||
"angular 17",
|
"angular 17",
|
||||||
|
"angular 18",
|
||||||
"fit text",
|
"fit text",
|
||||||
"responsive text",
|
"responsive text",
|
||||||
"responsive font size",
|
"responsive font size",
|
||||||
|
|
@ -29,8 +30,8 @@
|
||||||
"author": "Lorenzo Iovino",
|
"author": "Lorenzo Iovino",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@angular/common": ">=17.0.0",
|
"@angular/common": ">=18.0.0",
|
||||||
"@angular/core": ">=17.0.0"
|
"@angular/core": ">=18.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"tslib": "^2.3.0"
|
"tslib": "^2.3.0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue