Skip to content

Commit dabc4ae

Browse files
committed
build: upgrade to angular 20
BREAKING CHANGE: angular 20 or higher is now required to use this package
1 parent 4dbe8a0 commit dabc4ae

File tree

11 files changed

+1266
-3469
lines changed

11 files changed

+1266
-3469
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# angular 15.0+ drag and drop
1+
# angular 20.0+ drag and drop
22

33
[![Sponsorship](https://img.shields.io/badge/funding-github-%23EA4AAA)](https://github.com/users/mattlewis92/sponsorship)
44
[![Build Status](https://github.com/mattlewis92/angular-draggable-droppable/actions/workflows/ci.yml/badge.svg)](https://github.com/mattlewis92/angular-draggable-droppable/actions/workflows/ci.yml)
@@ -20,7 +20,7 @@ https://mattlewis92.github.io/angular-draggable-droppable/
2020

2121
## About
2222

23-
Observable powered drag and drop for angular 15.0+
23+
Observable powered drag and drop for angular 20.0+
2424

2525
## Installation
2626

angular.json

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"schematics": {},
1212
"architect": {
1313
"build": {
14-
"builder": "@angular-devkit/build-angular:application",
14+
"builder": "@angular/build:application",
1515
"options": {
1616
"outputPath": {
1717
"base": "dist/demo",
@@ -60,7 +60,7 @@
6060
"defaultConfiguration": ""
6161
},
6262
"serve": {
63-
"builder": "@angular-devkit/build-angular:dev-server",
63+
"builder": "@angular/build:dev-server",
6464
"options": {
6565
"buildTarget": "demo:build"
6666
},
@@ -95,7 +95,7 @@
9595
"prefix": "mwl",
9696
"architect": {
9797
"build": {
98-
"builder": "@angular-devkit/build-angular:ng-packagr",
98+
"builder": "@angular/build:ng-packagr",
9999
"options": {
100100
"tsConfig": "projects/angular-draggable-droppable/tsconfig.lib.json",
101101
"project": "projects/angular-draggable-droppable/ng-package.json"
@@ -107,7 +107,7 @@
107107
}
108108
},
109109
"test": {
110-
"builder": "@angular-devkit/build-angular:karma",
110+
"builder": "@angular/build:karma",
111111
"options": {
112112
"main": "projects/angular-draggable-droppable/src/test.ts",
113113
"tsConfig": "projects/angular-draggable-droppable/tsconfig.spec.json",
@@ -138,6 +138,30 @@
138138
},
139139
"@angular-eslint/schematics:library": {
140140
"setParserOptionsProject": true
141+
},
142+
"@schematics/angular:component": {
143+
"type": "component"
144+
},
145+
"@schematics/angular:directive": {
146+
"type": "directive"
147+
},
148+
"@schematics/angular:service": {
149+
"type": "service"
150+
},
151+
"@schematics/angular:guard": {
152+
"typeSeparator": "."
153+
},
154+
"@schematics/angular:interceptor": {
155+
"typeSeparator": "."
156+
},
157+
"@schematics/angular:module": {
158+
"typeSeparator": "."
159+
},
160+
"@schematics/angular:pipe": {
161+
"typeSeparator": "."
162+
},
163+
"@schematics/angular:resolver": {
164+
"typeSeparator": "."
141165
}
142166
}
143167
}

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-draggable-droppable",
33
"version": "8.0.0",
4-
"description": "Drag and drop for angular 15.0+",
4+
"description": "Drag and drop for angular 20.0+",
55
"scripts": {
66
"start": "concurrently --raw \"ng serve --open\" \"pnpm test:watch\"",
77
"build:demo": "ng build --configuration production",
@@ -40,20 +40,20 @@
4040
},
4141
"homepage": "https://github.com/mattlewis92/angular-draggable-droppable#readme",
4242
"devDependencies": {
43-
"@angular-devkit/build-angular": "^19.2.15",
44-
"@angular-eslint/builder": "19.8.1",
45-
"@angular-eslint/eslint-plugin": "19.8.1",
46-
"@angular-eslint/eslint-plugin-template": "19.8.1",
47-
"@angular-eslint/schematics": "19.8.1",
48-
"@angular-eslint/template-parser": "19.8.1",
49-
"@angular/cli": "^19.2.15",
50-
"@angular/common": "^19.2.14",
51-
"@angular/compiler": "^19.2.14",
52-
"@angular/compiler-cli": "^19.2.14",
53-
"@angular/core": "^19.2.14",
54-
"@angular/language-service": "^19.2.14",
55-
"@angular/platform-browser": "^19.2.14",
56-
"@angular/platform-browser-dynamic": "^19.2.14",
43+
"@angular-eslint/builder": "20.2.0",
44+
"@angular-eslint/eslint-plugin": "20.2.0",
45+
"@angular-eslint/eslint-plugin-template": "20.2.0",
46+
"@angular-eslint/schematics": "20.2.0",
47+
"@angular-eslint/template-parser": "20.2.0",
48+
"@angular/build": "^20.2.0",
49+
"@angular/cli": "^20.2.0",
50+
"@angular/common": "^20.2.1",
51+
"@angular/compiler": "^20.2.1",
52+
"@angular/compiler-cli": "^20.2.1",
53+
"@angular/core": "^20.2.1",
54+
"@angular/language-service": "^20.2.1",
55+
"@angular/platform-browser": "^20.2.1",
56+
"@angular/platform-browser-dynamic": "^20.2.1",
5757
"@commitlint/cli": "^17.3.0",
5858
"@commitlint/config-conventional": "^17.3.0",
5959
"@commitlint/prompt": "^17.3.0",
@@ -63,21 +63,21 @@
6363
"@types/node": "^18.11.13",
6464
"@types/sinon": "^10.0.13",
6565
"@types/sinon-chai": "^3.2.9",
66-
"@typescript-eslint/eslint-plugin": "^8.40.0",
67-
"@typescript-eslint/parser": "^8.40.0",
66+
"@typescript-eslint/eslint-plugin": "^8.33.1",
67+
"@typescript-eslint/parser": "^8.33.1",
6868
"angular-cli-ghpages": "^2.0.3",
6969
"chai": "^4.3.7",
7070
"commitizen": "^4.2.6",
7171
"concurrently": "^7.6.0",
7272
"copyfiles": "^2.4.1",
73-
"eslint": "^8.57.0",
73+
"eslint": "^9.28.0",
7474
"husky": "^8.0.2",
7575
"karma": "^6.4.1",
7676
"karma-chrome-launcher": "^3.1.1",
7777
"karma-coverage": "^2.2.0",
7878
"karma-mocha": "^2.0.1",
7979
"mocha": "^10.2.0",
80-
"ng-packagr": "^19.2.2",
80+
"ng-packagr": "^20.2.0",
8181
"prettier": "^3.6.2",
8282
"pretty-quick": "^4.2.2",
8383
"process": "^0.11.10",
@@ -100,7 +100,7 @@
100100
"tslib": "^2.4.1"
101101
},
102102
"peerDependencies": {
103-
"@angular/core": ">=19.0.0"
103+
"@angular/core": ">=20.0.0"
104104
},
105105
"packageManager": "[email protected]",
106106
"pnpm": {

0 commit comments

Comments
 (0)