Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump angular 18 #102

Merged
merged 8 commits into from
Jun 1, 2024
Merged
Show file tree
Hide file tree
Changes from 6 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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
Expand All @@ -27,8 +27,8 @@ jobs:
needs: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
Expand All @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand Down
27 changes: 12 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ An easy implementation pendo on angular6+ apps.

### compatibility

Angular | ngx-pendo
------------- |-------------
16+ | 1.14.x
15 | 1.11.x
14 | 1.10.x
13 | 1.9.x
9/10/11/12 | 1.8.x
6/7/8 | 1.2.x
| Angular | ngx-pendo |
| ---------- | --------- |
| 16+ | 1.14.x |
| 15 | 1.11.x |
| 14 | 1.10.x |
| 13 | 1.9.x |
| 9/10/11/12 | 1.8.x |
| 6/7/8 | 1.2.x |

### npm

Expand Down Expand Up @@ -50,8 +50,8 @@ The `ng add` command will install [ngx-pendo](https://www.npmjs.com/package/ngx-

The `ng add` command will additionally perform the following configurations:

* Add `ngx-pendo` to *package.json*
* Auto import `NgxPendoModule` with *pendoApiKey* into `AppModule`
- Add `ngx-pendo` to _package.json_
- Auto import `NgxPendoModule` with _pendoApiKey_ into `AppModule`

> This feature need angular 9+.

Expand All @@ -67,9 +67,7 @@ https://github.com/yociduo/ngx-pendo/issues
import { NgxPendoModule } from 'ngx-pendo';

@NgModule({
declarations: [
AppComponent
],
declarations: [AppComponent],
imports: [
BrowserModule,
NgxPendoModule.forRoot({
Expand All @@ -80,7 +78,7 @@ import { NgxPendoModule } from 'ngx-pendo';
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
export class AppModule {}
```

#### Using the Standalone API
Expand All @@ -98,7 +96,6 @@ bootstrapApplication(AppComponent, {
})
]
});

```

## Call Initialization
Expand Down
Loading