Fix peerDependencies to support angular >=18 #107

Merged
thisloke merged 6 commits from thisloke-patch-1 into master 2024-07-10 03:59:58 +00:00
3 changed files with 6 additions and 3 deletions
Showing only changes of commit 8d896af514 - Show all commits

View file

@ -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

View file

@ -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",

View file

@ -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"