Skip to content

Commit

Permalink
chore(update): major release 2.0.0 💥
Browse files Browse the repository at this point in the history
  • Loading branch information
Celtian committed Dec 26, 2023
1 parent 7fb0832 commit 085478e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 16 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,20 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v2.0.0](https://github.com/Celtian/ngx-repeat/compare/v1.1.0...v2.0.0)

- feat/angular 17 [`#9`](https://github.com/Celtian/ngx-repeat/pull/9)
- feat(standalone): make everything standalone [`cfd4e9a`](https://github.com/Celtian/ngx-repeat/commit/cfd4e9aa1a6c6c82553bcdecc67d483654ea5857)
- chore(deps): deps updated [`424a930`](https://github.com/Celtian/ngx-repeat/commit/424a930663322086fc740858a9863fc18367840d)
- chore(readme): readme changed [`7fb0832`](https://github.com/Celtian/ngx-repeat/commit/7fb08327ffcffca3622f782f3b50fc3fee0f8deb)

#### [v1.1.0](https://github.com/Celtian/ngx-repeat/compare/v1.0.5...v1.1.0)

> 14 August 2023
- Angular 16 [`#8`](https://github.com/Celtian/ngx-repeat/pull/8)
- chore(deps): deps updated [`514ae75`](https://github.com/Celtian/ngx-repeat/commit/514ae758bf81a02d0ea3bc9ffe05da38bc4b51cb)
- chore(update): release 1.1.0 🚀 [`63c321e`](https://github.com/Celtian/ngx-repeat/commit/63c321e04563723f279c5b9139603453d782118d)
- chore(tslint): comment replaced [`300e7c7`](https://github.com/Celtian/ngx-repeat/commit/300e7c7ee2feb482db76374951ac7a72fda33f78)

#### [v1.0.5](https://github.com/Celtian/ngx-repeat/compare/v1.0.4...v1.0.5)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-repeat",
"version": "1.1.0",
"version": "2.0.0",
"author": {
"name": "Dominik Hladík",
"email": "[email protected]",
Expand Down
29 changes: 15 additions & 14 deletions projects/ngx-repeat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

> Angular directive for repeating HTML element by count
> _Angular 16, Ivy and SSR compatible_
> _Angular 17 compatible_
Here's the [demo](http://celtian.github.io/ngx-repeat/) or [stackblitz live preview](https://stackblitz.com/edit/ngx-repeat) or [codesandbox live preview](https://codesandbox.io/s/ngx-repeat-bew8f)

Expand All @@ -30,37 +30,38 @@ Here's the [demo](http://celtian.github.io/ngx-repeat/) or [stackblitz live prev
yarn add ngx-repeat
```

2. Add NgxRepeatModule into your module `imports`
2. Add NgxRepeatDirective into your component`

```typescript
import { NgxRepeatModule } from 'ngx-repeat';
import { NgxRepeatDirective } from 'ngx-repeat';

@NgModule({
// ...
imports: [
@Component({
standalone: true,
imports: [NgxRepeatDirective /*, ...*/],
// ...
NgxRepeatModule
]
})
```

or
or module

```typescript
import { NgxRepeatModule } from 'ngx-repeat';
import { NgxRepeatDirective } from 'ngx-repeat';

@Component({
standalone: true,
imports: [NgxRepeatModule /*, ...*/],
@NgModule({
// ...
imports: [
// ...
NgxRepeatDirective
]
})
```

## Compatibility

| Angular | ngx-repeat | Install |
| --------- | ---------- | ----------------------- |
| >= 12 | 1.x | `yarn add ngx-repeat` |
| >= 14 | 2.x | `yarn add ngx-repeat ` |
| >= 12 | 1.x | `yarn add ngx-repeat@1` |
| >= 5 < 13 | 0.x | `yarn add ngx-repeat@0` |

## Quick start
Expand Down
2 changes: 1 addition & 1 deletion projects/ngx-repeat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-repeat",
"version": "1.1.0",
"version": "2.0.0",
"author": {
"name": "Dominik Hladík",
"email": "[email protected]",
Expand Down

0 comments on commit 085478e

Please sign in to comment.