Skip to content

Commit b61d625

Browse files
committed
chore: move ci and readme to branch v20
1 parent e43de28 commit b61d625

File tree

7 files changed

+8
-127
lines changed

7 files changed

+8
-127
lines changed

.github/workflows/commit-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Lint commits
33
on:
44
push:
55
branches:
6-
- main
6+
- v20
77
pull_request:
88
branches:
9-
- main
9+
- v20
1010

1111
jobs:
1212
lint-commits:

.github/workflows/pc-update.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/publish-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0
19-
ref: main
19+
ref: v20
2020
- name: Setup Node.js
2121
uses: actions/setup-node@v4
2222
with:
@@ -33,7 +33,7 @@ jobs:
3333
cp .npmrc dist/design-angular-kit/.npmrc
3434
- name: Publish package to NPM
3535
working-directory: dist/design-angular-kit
36-
run: npm publish
36+
run: npm publish --tag angular20
3737
continue-on-error: true
3838
env:
3939
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Run tests
33
on:
44
push:
55
branches:
6-
- main
6+
- v20
77
pull_request:
88
branches:
9-
- main
9+
- v20
1010

1111
jobs:
1212
run-build-and-tests:

.github/workflows/update-docs.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

README.EN.md

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -58,35 +58,9 @@ To play with the library, the [Playground Angular Kit](https://github.com/italia
5858
Design Angular Kit is available on NPM, to install on an existing application on which to test the library run command
5959

6060
```sh
61-
npm install design-angular-kit --save
61+
npm install design-angular-kit@angular20 --save
6262
```
6363

64-
Choose the version corresponding to your Angular version:
65-
66-
| Angular | Design Angular kit | Branch | Documentation |
67-
| ------- | ------------------ | ------ | ---------------------------------------------------------------------------------- |
68-
| 20+ | v20.0.0 + | main | [link](https://italia.github.io/design-angular-kit/design-angular-kit#) |
69-
| 19+ | v19.0.0 + | v19 | [link](https://design-angular-kit-git-v18-dip-trasformazione-digitale.vercel.app/) |
70-
| 18+ | v18.0.0 + | v18 | [link](https://design-angular-kit-git-v19-dip-trasformazione-digitale.vercel.app/) |
71-
72-
⚠️ Previous versions are no more maintained.
73-
74-
75-
Alternatively, you can run the command
76-
77-
```sh
78-
ng add design-angular-kit --project <projectName>
79-
```
80-
81-
He will consecutively perform:
82-
83-
- choose the correct Angular version
84-
- install the dep
85-
- add the dep to package.json
86-
- application configuration
87-
88-
The instruction of the next chapter, **Configuration**, will be executed automatically, except for the customization of \_i18n.
89-
9064
## Configuration
9165

9266
### App configuration

README.md

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -58,34 +58,9 @@ Per giocare con la libreria è disponibile il [Playground Angular Kit](https://g
5858
Design Angular Kit è disponibile su NPM, per installarlo su una applicazione esistente sulla quale provare la libreria esegui il comando
5959

6060
```sh
61-
npm install design-angular-kit --save
61+
npm install design-angular-kit@angular20 --save
6262
```
6363

64-
Scegli la versione corrispondente alla tua versione Angular:
65-
66-
| Angular | Design Angular kit | Branch | Documentazione |
67-
| ------- | ------------------ | ------ | ---------------------------------------------------------------------------------- |
68-
| 20+ | v20.0.0 + | main | [link](https://italia.github.io/design-angular-kit/design-angular-kit#) |
69-
| 19+ | v19.0.0 + | v19 | [link](https://design-angular-kit-git-v19-dip-trasformazione-digitale.vercel.app/) |
70-
| 18+ | v18.0.0 + | v18 | [link](https://design-angular-kit-git-v18-dip-trasformazione-digitale.vercel.app/) |
71-
72-
⚠️ Le versioni precendenti non sono più manutenute.
73-
74-
In alternativa, puoi lanciar il comando
75-
76-
```sh
77-
ng add design-angular-kit --project <projectName>
78-
```
79-
80-
Eseguirà in serie:
81-
82-
- scelta della corretta versione da installare
83-
- installazione della dipendenza
84-
- aggiunta della dipendenza al package.json
85-
- configurazione dell'applicazione
86-
87-
Le istruzioni del paragrafo successivo, **Configurazione**, verranno eseguite automaticamente, eccetto per la personalizzazione della configurazione di _i18n_.
88-
8964
## Configurazione
9065

9166
### Configurazione app

0 commit comments

Comments
 (0)