@po-ui/ng-sync 20.12.0 → 21.0.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,17 +6,17 @@ O **PO Sync** é uma biblioteca para aplicações Angular que possibilita armaze
6
6
 
7
7
  Instalando com schematic(recomendado):
8
8
  ```
9
- ng add @po-ui/ng-sync
9
+ ng add @po-ui/ng-sync@next
10
10
  ```
11
11
 
12
12
  Instalando com npm:
13
13
  ```
14
- npm install @po-ui/ng-sync
14
+ npm install @po-ui/ng-sync@next
15
15
  ```
16
16
 
17
17
  Caso prefira instalar com o yarn:
18
18
  ```
19
- yarn add @po-ui/ng-sync
19
+ yarn add @po-ui/ng-sync@next
20
20
  ```
21
21
 
22
22
  Para informações complementares sobre instalação, acesse **[começando com o PO Sync](https://po-ui.io/guides/sync-get-started)** e **[fundamentos do PO Sync](https://po-ui.io/guides/sync-fundamentals)**.
@@ -364,10 +364,10 @@ class PoSchemaDefinitionService {
364
364
  schemas = schemas.map(replaceUpdatedSchema);
365
365
  return this.saveAll(schemas);
366
366
  }
367
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSchemaDefinitionService, deps: [{ token: i1.PoStorageService }], target: i0.ɵɵFactoryTarget.Injectable });
368
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSchemaDefinitionService, providedIn: 'root' });
367
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoSchemaDefinitionService, deps: [{ token: i1.PoStorageService }], target: i0.ɵɵFactoryTarget.Injectable });
368
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoSchemaDefinitionService, providedIn: 'root' });
369
369
  }
370
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSchemaDefinitionService, decorators: [{
370
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoSchemaDefinitionService, decorators: [{
371
371
  type: Injectable,
372
372
  args: [{
373
373
  providedIn: 'root'
@@ -538,10 +538,10 @@ class PoSchemaService {
538
538
  await this.remove(schemaName, recordId);
539
539
  return Object.assign(record, localRecord);
540
540
  }
541
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSchemaService, deps: [{ token: PoSchemaDefinitionService }, { token: i1.PoStorageService }], target: i0.ɵɵFactoryTarget.Injectable });
542
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSchemaService, providedIn: 'root' });
541
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoSchemaService, deps: [{ token: PoSchemaDefinitionService }, { token: i1.PoStorageService }], target: i0.ɵɵFactoryTarget.Injectable });
542
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoSchemaService, providedIn: 'root' });
543
543
  }
544
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSchemaService, decorators: [{
544
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoSchemaService, decorators: [{
545
545
  type: Injectable,
546
546
  args: [{
547
547
  providedIn: 'root'
@@ -685,10 +685,10 @@ class PoHttpClientService {
685
685
  }
686
686
  return httpHeaders;
687
687
  }
688
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoHttpClientService, deps: [{ token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
689
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoHttpClientService, providedIn: 'root' });
688
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoHttpClientService, deps: [{ token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
689
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoHttpClientService, providedIn: 'root' });
690
690
  }
691
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoHttpClientService, decorators: [{
691
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoHttpClientService, decorators: [{
692
692
  type: Injectable,
693
693
  args: [{
694
694
  providedIn: 'root'
@@ -1052,10 +1052,10 @@ class PoEventSourcingService {
1052
1052
  updateStorageSchemas(schemas) {
1053
1053
  return schemas.map((schema) => this.updateStorageBySchema(schema));
1054
1054
  }
1055
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoEventSourcingService, deps: [{ token: PoSchemaDefinitionService }, { token: PoSchemaService }, { token: i1.PoStorageService }, { token: PoHttpClientService }], target: i0.ɵɵFactoryTarget.Injectable });
1056
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoEventSourcingService, providedIn: 'root' });
1055
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoEventSourcingService, deps: [{ token: PoSchemaDefinitionService }, { token: PoSchemaService }, { token: i1.PoStorageService }, { token: PoHttpClientService }], target: i0.ɵɵFactoryTarget.Injectable });
1056
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoEventSourcingService, providedIn: 'root' });
1057
1057
  }
1058
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoEventSourcingService, decorators: [{
1058
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoEventSourcingService, decorators: [{
1059
1059
  type: Injectable,
1060
1060
  args: [{
1061
1061
  providedIn: 'root'
@@ -1697,10 +1697,10 @@ class PoNetworkService {
1697
1697
  this.networkTypeNow.next({ status: status.connected, type: this.networkType });
1698
1698
  });
1699
1699
  }
1700
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoNetworkService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1701
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoNetworkService, providedIn: 'root' });
1700
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoNetworkService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1701
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoNetworkService, providedIn: 'root' });
1702
1702
  }
1703
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoNetworkService, decorators: [{
1703
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoNetworkService, decorators: [{
1704
1704
  type: Injectable,
1705
1705
  args: [{
1706
1706
  providedIn: 'root'
@@ -2023,10 +2023,10 @@ class PoSyncService {
2023
2023
  syncError() {
2024
2024
  this.finishSync();
2025
2025
  }
2026
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSyncService, deps: [{ token: PoEventSourcingService }, { token: PoHttpClientService }, { token: PoNetworkService }, { token: PoSchemaDefinitionService }, { token: PoSchemaService }], target: i0.ɵɵFactoryTarget.Injectable });
2027
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSyncService, providedIn: 'root' });
2026
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoSyncService, deps: [{ token: PoEventSourcingService }, { token: PoHttpClientService }, { token: PoNetworkService }, { token: PoSchemaDefinitionService }, { token: PoSchemaService }], target: i0.ɵɵFactoryTarget.Injectable });
2027
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoSyncService, providedIn: 'root' });
2028
2028
  }
2029
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSyncService, decorators: [{
2029
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoSyncService, decorators: [{
2030
2030
  type: Injectable,
2031
2031
  args: [{
2032
2032
  providedIn: 'root'
@@ -2039,9 +2039,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
2039
2039
  * Módulo do componente PoSync responsável pela sincronia de dados com backends
2040
2040
  */
2041
2041
  class PoSyncModule {
2042
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSyncModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2043
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: PoSyncModule });
2044
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSyncModule, providers: [
2042
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoSyncModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2043
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: PoSyncModule });
2044
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoSyncModule, providers: [
2045
2045
  PoEventSourcingService,
2046
2046
  PoNetworkService,
2047
2047
  PoSchemaDefinitionService,
@@ -2050,7 +2050,7 @@ class PoSyncModule {
2050
2050
  PoHttpClientService
2051
2051
  ] });
2052
2052
  }
2053
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSyncModule, decorators: [{
2053
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoSyncModule, decorators: [{
2054
2054
  type: NgModule,
2055
2055
  args: [{
2056
2056
  providers: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@po-ui/ng-sync",
3
- "version": "20.12.0",
3
+ "version": "21.0.0-next.0",
4
4
  "description": "PO UI - Sync",
5
5
  "author": "PO UI",
6
6
  "license": "MIT",
@@ -20,30 +20,30 @@
20
20
  "dependencies": {
21
21
  "@capacitor/core": "^6.2.0",
22
22
  "@capacitor/network": "^6.0.1",
23
- "@po-ui/ng-storage": "20.12.0",
23
+ "@po-ui/ng-storage": "21.0.0-next.0",
24
24
  "http-status-codes": "^2.3.0",
25
- "@po-ui/ng-schematics": "20.12.0",
26
- "tslib": "^2.3.0"
25
+ "@po-ui/ng-schematics": "21.0.0-next.0",
26
+ "tslib": "^2.6.2"
27
27
  },
28
28
  "peerDependencies": {
29
- "@angular/core": "^20",
30
- "@angular-devkit/schematics": "^20",
29
+ "@angular/core": "^21",
30
+ "@angular-devkit/schematics": "^21",
31
31
  "@capacitor/core": "^6.2.0",
32
32
  "@capacitor/network": "^6.0.1",
33
- "@po-ui/ng-storage": "20.12.0",
33
+ "@po-ui/ng-storage": "21.0.0-next.0",
34
34
  "http-status-codes": "^2.3.0",
35
- "rxjs": "~7.8.0",
35
+ "rxjs": "~7.8.1",
36
36
  "rxjs-compat": "~6.6.0",
37
37
  "zone.js": "~0.15.0"
38
38
  },
39
39
  "module": "fesm2022/po-ui-ng-sync.mjs",
40
- "typings": "index.d.ts",
40
+ "typings": "types/po-ui-ng-sync.d.ts",
41
41
  "exports": {
42
42
  "./package.json": {
43
43
  "default": "./package.json"
44
44
  },
45
45
  ".": {
46
- "types": "./index.d.ts",
46
+ "types": "./types/po-ui-ng-sync.d.ts",
47
47
  "default": "./fesm2022/po-ui-ng-sync.mjs"
48
48
  }
49
49
  },
Binary file
@@ -79,7 +79,7 @@ Pode ser utilizado o verdaccio para publicar os pacotes locais, como `@po-ui/ng-
79
79
 
80
80
  Se você precisar executar isso várias vezes, desfaça as alterações feitas pelo `ng update` para que o `package.json` volte ao número da versão original e execute `npm install` novamente antes de tentar outra atualização.
81
81
 
82
- # ng add @po-ui/ng-sync
82
+ # ng add @po-ui/ng-sync@next
83
83
 
84
84
  Esse *schematic* é executado através do Angular CLI para adicionar o sync em projetos Ionic.
85
85
 
@@ -165,5 +165,5 @@ Para testarmos o pacote, devemos incrementar a versão do mesmo e ter o npm regi
165
165
  Por fim, execute os comando abaixo no seu projeto Angular:
166
166
 
167
167
  ```
168
- > ng add @po-ui/ng-sync
168
+ > ng add @po-ui/ng-sync@next
169
169
  ```
@@ -47,19 +47,24 @@
47
47
  "factory": "./ng-update/v17/index"
48
48
  },
49
49
  "migration-v18": {
50
- "version": "20.12.0",
50
+ "version": "21.0.0-next.0",
51
51
  "description": "Atualiza @po-ui/ng-sync para v18",
52
52
  "factory": "./ng-update/v18/index"
53
53
  },
54
54
  "migration-v19": {
55
- "version": "20.12.0",
55
+ "version": "21.0.0-next.0",
56
56
  "description": "Atualiza @po-ui/ng-sync para v19",
57
57
  "factory": "./ng-update/v19/index"
58
58
  },
59
59
  "migration-v20": {
60
- "version": "20.12.0",
60
+ "version": "21.0.0-next.0",
61
61
  "description": "Atualiza @po-ui/ng-sync para v20",
62
62
  "factory": "./ng-update/v20/index"
63
+ },
64
+ "migration-v21": {
65
+ "version": "21.0.0-next.0",
66
+ "description": "Atualiza @po-ui/ng-sync para v21",
67
+ "factory": "./ng-update/v21/index"
63
68
  }
64
69
  }
65
70
  }
@@ -17,7 +17,7 @@ function default_1(options) {
17
17
  }
18
18
  function addPoPackageAndInstall() {
19
19
  return (tree, context) => {
20
- (0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-sync', '20.12.0');
20
+ (0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-sync', '21.0.0-next.0');
21
21
  // install packages
22
22
  context.addTask(new tasks_1.NodePackageInstallTask());
23
23
  };
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
6
6
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
7
7
  const changes_1 = require("./changes");
8
8
  function default_1() {
9
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('20.12.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-next.0', changes_1.updateDepedenciesVersion), postUpdate()]);
10
10
  }
11
11
  function postUpdate() {
12
12
  return (_, context) => {
@@ -9,7 +9,7 @@ const module_1 = require("@po-ui/ng-schematics/module");
9
9
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
10
10
  const changes_1 = require("./changes");
11
11
  function default_1() {
12
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('20.12.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
12
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-next.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
13
13
  }
14
14
  function postUpdate() {
15
15
  return (_, context) => {
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
6
6
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
7
7
  const changes_1 = require("./changes");
8
8
  function default_1() {
9
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('20.12.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-next.0', changes_1.updateDepedenciesVersion), postUpdate()]);
10
10
  }
11
11
  function postUpdate() {
12
12
  return (_, context) => {
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
6
6
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
7
7
  const changes_1 = require("./changes");
8
8
  function default_1() {
9
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('20.12.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-next.0', changes_1.updateDepedenciesVersion), postUpdate()]);
10
10
  }
11
11
  function postUpdate() {
12
12
  return (_, context) => {
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
6
6
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
7
7
  const changes_1 = require("./changes");
8
8
  function default_1() {
9
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('20.12.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-next.0', changes_1.updateDepedenciesVersion), postUpdate()]);
10
10
  }
11
11
  function postUpdate() {
12
12
  return (_, context) => {
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
6
6
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
7
7
  const changes_1 = require("./changes");
8
8
  function default_1() {
9
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('20.12.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-next.0', changes_1.updateDepedenciesVersion), postUpdate()]);
10
10
  }
11
11
  function postUpdate() {
12
12
  return (_, context) => {
@@ -10,7 +10,7 @@ const package_config_1 = require("@po-ui/ng-schematics/package-config");
10
10
  const changes_1 = require("./changes");
11
11
  function updateToV2() {
12
12
  return (0, schematics_1.chain)([
13
- updatePackageJson('20.12.0', changes_1.dependeciesChanges),
13
+ updatePackageJson('21.0.0-next.0', changes_1.dependeciesChanges),
14
14
  (0, replace_1.replaceInFile)('tslint.json', changes_1.tsLintChanges),
15
15
  createUpgradeRule(),
16
16
  postUpdate()
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
6
6
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
7
7
  const changes_1 = require("./changes");
8
8
  function default_1() {
9
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('20.12.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-next.0', changes_1.updateDepedenciesVersion), postUpdate()]);
10
10
  }
11
11
  function postUpdate() {
12
12
  return (_, context) => {
@@ -0,0 +1,2 @@
1
+ import { UpdateDependencies } from '@po-ui/ng-schematics/package-config';
2
+ export declare const updateDepedenciesVersion: UpdateDependencies;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateDepedenciesVersion = void 0;
4
+ exports.updateDepedenciesVersion = {
5
+ dependencies: [
6
+ '@po-ui/ng-components',
7
+ '@po-ui/ng-code-editor',
8
+ '@po-ui/ng-templates',
9
+ '@po-ui/ng-storage',
10
+ '@po-ui/ng-sync',
11
+ '@po-ui/style'
12
+ ]
13
+ };
14
+ //# sourceMappingURL=changes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"changes.js","sourceRoot":"","sources":["../../../../../projects/sync/schematics/ng-update/v21/changes.ts"],"names":[],"mappings":";;;AAEa,QAAA,wBAAwB,GAAuB;IAC1D,YAAY,EAAE;QACZ,sBAAsB;QACtB,uBAAuB;QACvB,qBAAqB;QACrB,mBAAmB;QACnB,gBAAgB;QAChB,cAAc;KACf;CACF,CAAC"}
@@ -0,0 +1 @@
1
+ export default function (): import("@angular-devkit/schematics").Rule;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = default_1;
4
+ const schematics_1 = require("@angular-devkit/schematics");
5
+ const tasks_1 = require("@angular-devkit/schematics/tasks");
6
+ const package_config_1 = require("@po-ui/ng-schematics/package-config");
7
+ const changes_1 = require("./changes");
8
+ function default_1() {
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-next.0', changes_1.updateDepedenciesVersion), postUpdate()]);
10
+ }
11
+ function postUpdate() {
12
+ return (_, context) => {
13
+ context.addTask(new tasks_1.NodePackageInstallTask());
14
+ };
15
+ }
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../projects/sync/schematics/ng-update/v21/index.ts"],"names":[],"mappings":";;AAOA,4BAEC;AATD,2DAA2E;AAC3E,4DAA0E;AAE1E,wEAAwE;AAExE,uCAAqD;AAErD;IACE,OAAO,IAAA,kBAAK,EAAC,CAAC,IAAA,kCAAiB,EAAC,mBAAmB,EAAE,kCAAwB,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;AACjG,CAAC;AAED,SAAS,UAAU;IACjB,OAAO,CAAC,CAAO,EAAE,OAAyB,EAAE,EAAE;QAC5C,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;IAChD,CAAC,CAAC;AACJ,CAAC"}
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
6
6
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
7
7
  const changes_1 = require("./changes");
8
8
  function updateToV3() {
9
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('20.12.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-next.0', changes_1.updateDepedenciesVersion), postUpdate()]);
10
10
  }
11
11
  function postUpdate() {
12
12
  return (_, context) => {
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
6
6
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
7
7
  const changes_1 = require("./changes");
8
8
  function default_1() {
9
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('20.12.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-next.0', changes_1.updateDepedenciesVersion), postUpdate()]);
10
10
  }
11
11
  function postUpdate() {
12
12
  return (_, context) => {
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
6
6
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
7
7
  const changes_1 = require("./changes");
8
8
  function default_1() {
9
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('20.12.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-next.0', changes_1.updateDepedenciesVersion), postUpdate()]);
10
10
  }
11
11
  function postUpdate() {
12
12
  return (_, context) => {
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
6
6
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
7
7
  const changes_1 = require("./changes");
8
8
  function default_1() {
9
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('20.12.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-next.0', changes_1.updateDepedenciesVersion), postUpdate()]);
10
10
  }
11
11
  function postUpdate() {
12
12
  return (_, context) => {
Binary file
File without changes