Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
node-version: 22
- run: npm ci
- run: npm run build

Expand All @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
node-version: 22
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
Expand All @@ -41,7 +41,7 @@ jobs:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v1
# with:
# node-version: 16
# node-version: 22
# registry-url: https://npm.pkg.github.com/
# - run: npm ci
# - run: npm publish
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';

// Import the library module
import { AngularResizeEventModule } from 'angular-resize-event';
// Import the Directive
import { ResizedDirective } from 'angular-resize-event';

@NgModule({
declarations: [
Expand All @@ -47,8 +47,8 @@ import { AngularResizeEventModule } from 'angular-resize-event';
imports: [
BrowserModule,

// Specify AngularResizeEventModule library as an import
AngularResizeEventModule
// Specify ResizedDirective as an import
ResizedDirective
],
providers: [],
bootstrap: [ AppComponent ]
Expand Down
Loading