@po-ui/ng-sync 16.0.0-next.2 → 16.0.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@16.0.0-next.0
9
+ ng add @po-ui/ng-sync
10
10
  ```
11
11
 
12
12
  Instalando com npm:
13
13
  ```
14
- npm install @po-ui/ng-sync@16.0.0-next.0
14
+ npm install @po-ui/ng-sync
15
15
  ```
16
16
 
17
17
  Caso prefira instalar com o yarn:
18
18
  ```
19
- yarn add @po-ui/ng-sync@16.0.0-next.0
19
+ yarn add @po-ui/ng-sync
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)**.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@po-ui/ng-sync",
3
- "version": "16.0.0-next.2",
3
+ "version": "16.0.0",
4
4
  "tag": "next",
5
5
  "description": "PO UI - Sync",
6
6
  "author": "PO UI",
@@ -21,16 +21,16 @@
21
21
  "dependencies": {
22
22
  "@capacitor/core": "^4.1.0",
23
23
  "@capacitor/network": "^4.1.0",
24
- "@po-ui/ng-storage": "16.0.0-next.2",
24
+ "@po-ui/ng-storage": "16.0.0",
25
25
  "http-status-codes": "^2.1.4",
26
- "@po-ui/ng-schematics": "16.0.0-next.2",
26
+ "@po-ui/ng-schematics": "16.0.0",
27
27
  "tslib": "^2.3.0"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@angular/core": "~16.2.0",
31
31
  "@capacitor/core": "^4.1.0",
32
32
  "@capacitor/network": "^4.1.0",
33
- "@po-ui/ng-storage": "16.0.0-next.2",
33
+ "@po-ui/ng-storage": "16.0.0",
34
34
  "http-status-codes": "^2.1.4",
35
35
  "rxjs": "~7.5.5",
36
36
  "rxjs-compat": "~6.6.0",
Binary file
@@ -32,9 +32,14 @@
32
32
  "factory": "./ng-update/v14/index"
33
33
  },
34
34
  "migration-v15": {
35
- "version": "16.0.0-next.2",
35
+ "version": "16.0.0",
36
36
  "description": "Atualiza @po-ui/ng-sync para v15",
37
37
  "factory": "./ng-update/v15/index"
38
+ },
39
+ "migration-v16": {
40
+ "version": "16.0.0",
41
+ "description": "Atualiza @po-ui/ng-sync para v16",
42
+ "factory": "./ng-update/v16/index"
38
43
  }
39
44
  }
40
45
  }
@@ -24,7 +24,7 @@ function default_1(options) {
24
24
  exports.default = default_1;
25
25
  function addPoPackageAndInstall() {
26
26
  return (tree, context) => {
27
- (0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-sync', '16.0.0-next.2');
27
+ (0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-sync', '16.0.0');
28
28
  // install packages
29
29
  context.addTask(new tasks_1.NodePackageInstallTask());
30
30
  };
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
5
5
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
6
6
  const changes_1 = require("./changes");
7
7
  function default_1() {
8
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.0.0-next.2', changes_1.updateDepedenciesVersion), postUpdate()]);
8
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.0.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
9
  }
10
10
  exports.default = default_1;
11
11
  function postUpdate() {
@@ -8,7 +8,7 @@ const module_1 = require("@po-ui/ng-schematics/module");
8
8
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
9
9
  const changes_1 = require("./changes");
10
10
  function default_1() {
11
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.0.0-next.2', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
11
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.0.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
12
12
  }
13
13
  exports.default = default_1;
14
14
  function postUpdate() {
@@ -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/v16/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
+ const schematics_1 = require("@angular-devkit/schematics");
4
+ const tasks_1 = require("@angular-devkit/schematics/tasks");
5
+ const package_config_1 = require("@po-ui/ng-schematics/package-config");
6
+ const changes_1 = require("./changes");
7
+ function default_1() {
8
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.0.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ }
10
+ exports.default = default_1;
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/v16/index.ts"],"names":[],"mappings":";;AAAA,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;AAFD,4BAEC;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"}
@@ -9,7 +9,7 @@ const package_config_1 = require("@po-ui/ng-schematics/package-config");
9
9
  const changes_1 = require("./changes");
10
10
  function updateToV2() {
11
11
  return (0, schematics_1.chain)([
12
- updatePackageJson('16.0.0-next.2', changes_1.dependeciesChanges),
12
+ updatePackageJson('16.0.0', changes_1.dependeciesChanges),
13
13
  (0, replace_1.replaceInFile)('tslint.json', changes_1.tsLintChanges),
14
14
  createUpgradeRule(),
15
15
  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 updateToV3() {
9
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.0.0-next.2', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.0.0', changes_1.updateDepedenciesVersion), postUpdate()]);
10
10
  }
11
11
  exports.updateToV3 = updateToV3;
12
12
  function postUpdate() {
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
5
5
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
6
6
  const changes_1 = require("./changes");
7
7
  function default_1() {
8
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.0.0-next.2', changes_1.updateDepedenciesVersion), postUpdate()]);
8
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.0.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
9
  }
10
10
  exports.default = default_1;
11
11
  function postUpdate() {
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
5
5
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
6
6
  const changes_1 = require("./changes");
7
7
  function default_1() {
8
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.0.0-next.2', changes_1.updateDepedenciesVersion), postUpdate()]);
8
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.0.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
9
  }
10
10
  exports.default = default_1;
11
11
  function postUpdate() {
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
5
5
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
6
6
  const changes_1 = require("./changes");
7
7
  function default_1() {
8
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.0.0-next.2', changes_1.updateDepedenciesVersion), postUpdate()]);
8
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.0.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
9
  }
10
10
  exports.default = default_1;
11
11
  function postUpdate() {
Binary file