-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: atualização para o Angular v16.0.0
- Loading branch information
1 parent
07dafe9
commit 372eab1
Showing
66 changed files
with
402 additions
and
334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,10 @@ Um vez que for instalado o pacotes, teremos disponível os *schematics* através | |
### PO UI Components | ||
|
||
Caso esteja iniciando uma aplicação com PO, indica-se utilizar o comando abaixo, | ||
no qual será instalado o pacote `@po-ui/[email protected]-next.0` e realizadas algumas configurações, que serão descritas em seguida: | ||
no qual será instalado o pacote `@po-ui/[email protected]` e realizadas algumas configurações, que serão descritas em seguida: | ||
|
||
``` | ||
ng add @po-ui/[email protected]-next.0 | ||
ng add @po-ui/[email protected] | ||
``` | ||
|
||
- Substitui o `AppComponent` com uma estrutura incial de um projeto, utilizando os components `po-page-default`, `po-toolbar`, e `po-menu`; | ||
|
@@ -26,7 +26,7 @@ Para a utilização de componentes de template o processo para inclusão é seme | |
Primeiramente, deve-se utilizar o comando abaixo, no qual será instalado o pacote `@po-ui/ng-templates`: | ||
|
||
``` | ||
ng add @po-ui/[email protected]-next.0 | ||
ng add @po-ui/[email protected] | ||
``` | ||
|
||
- Importa o módulo do PO; | ||
|
@@ -47,7 +47,7 @@ ng generate <package>:<schematic-name> | |
### PO UI Components | ||
|
||
``` | ||
ng generate @po-ui/ng-components@16.0.0-next.0:<schematic-name> | ||
ng generate @po-ui/ng-components:<schematic-name> | ||
``` | ||
|
||
<div class="po-row"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { UpdateDependencies } from '@po-ui/ng-schematics/package-config'; | ||
|
||
export const updateDepedenciesVersion: UpdateDependencies = { | ||
dependencies: [ | ||
'@po-ui/ng-components', | ||
'@po-ui/ng-code-editor', | ||
'@po-ui/ng-templates', | ||
'@po-ui/ng-storage', | ||
'@po-ui/ng-sync', | ||
'@po-ui/style' | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { chain, Tree, SchematicContext } from '@angular-devkit/schematics'; | ||
import { NodePackageInstallTask } from '@angular-devkit/schematics/tasks'; | ||
|
||
import { updatePackageJson } from '@po-ui/ng-schematics/package-config'; | ||
|
||
import { updateDepedenciesVersion } from './changes'; | ||
|
||
export default function () { | ||
return chain([updatePackageJson('0.0.0-PLACEHOLDER', updateDepedenciesVersion), postUpdate()]); | ||
} | ||
|
||
function postUpdate() { | ||
return (_: Tree, context: SchematicContext) => { | ||
context.addTask(new NodePackageInstallTask()); | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.