Skip to content

Commit 82b7a06

Browse files
committed
chor(): Upgrade ng18
1 parent c4b435f commit 82b7a06

File tree

6 files changed

+10471
-8410
lines changed

6 files changed

+10471
-8410
lines changed

demo/quick-start/src/app.module.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { BrowserModule } from '@angular/platform-browser';
44

55
// import ngx-md module
66
import { NgxMdModule } from 'ngx-md';
7-
import { HttpClientModule } from '@angular/common/http';
7+
import { provideHttpClient } from '@angular/common/http';
88

99
@Component({
1010
selector: 'my-app',
@@ -20,7 +20,10 @@ export class AppComponent {
2020
}
2121

2222
@NgModule({
23-
imports: [BrowserModule, HttpClientModule, NgxMdModule.forRoot()],
23+
imports: [BrowserModule, NgxMdModule],
24+
providers: [
25+
provideHttpClient(),
26+
],
2427
declarations: [AppComponent],
2528
bootstrap: [AppComponent]
2629
})

package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-md",
3-
"version": "14.2.1",
3+
"version": "18.0.0",
44
"author": {
55
"name": "Dimpu Aravind Buddha",
66
"email": "[email protected]",
@@ -37,9 +37,10 @@
3737
"lib.lint": "ng lint ngx-md",
3838
"lib.pretty": "prettier --config ./.prettierrc --write ./libs/ngx-md/src/**/*.ts",
3939
"lib.prettier.watch": "onchange 'projects/ngx-md/src**/*.ts' -- prettier --write {{changed}}",
40-
"release": "yarn lib.build && yarn version --patch && node ./scripts/pre-publish-hook.js && cd dist/ngx-md && yarn publish && cd ...",
41-
"ci.travis.lib": "yarn lib.build",
42-
"ci.travis.demo": "yarn demo.build"
40+
"release": "pnpm run lib.build && pnpm version --patch && node ./scripts/pre-publish-hook.js && cd dist/ngx-md && pnpm publish && cd ...",
41+
"ci.travis.lib": "pnpm run lib.build",
42+
"ci.travis.demo": "pnpm run demo.build",
43+
"lint": "ng lint"
4344
},
4445
"private": true,
4546
"dependencies": {
@@ -66,6 +67,8 @@
6667
"@angular/compiler-cli": "^18.2.7",
6768
"@types/jasmine": "~4.0.0",
6869
"@types/prismjs": "^1.26.0",
70+
"angular-eslint": "18.3.1",
71+
"eslint": "^9.9.1",
6972
"gh-pages": "^4.0.0",
7073
"jasmine-core": "~4.1.0",
7174
"karma": "~6.3.0",
@@ -74,7 +77,8 @@
7477
"karma-jasmine": "~5.0.0",
7578
"karma-jasmine-html-reporter": "~1.7.0",
7679
"ng-packagr": "^18.2.1",
77-
"typescript": "^5.4.5"
80+
"typescript": "^5.4.5",
81+
"typescript-eslint": "8.2.0"
7882
},
7983
"auto": {
8084
"plugins": [

0 commit comments

Comments
 (0)