@po-ui/ng-sync 20.13.0 → 21.0.0-rc.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 +3 -3
- package/fesm2022/po-ui-ng-sync.mjs +42 -35
- package/fesm2022/po-ui-ng-sync.mjs.map +1 -1
- package/package.json +10 -10
- package/po-ui-ng-sync-21.0.0-rc.0.tgz +0 -0
- package/schematics/README.md +2 -2
- package/schematics/migrations.json +8 -3
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-update/v14/index.js +1 -1
- package/schematics/ng-update/v15/index.js +1 -1
- package/schematics/ng-update/v16/index.js +1 -1
- package/schematics/ng-update/v17/index.js +1 -1
- package/schematics/ng-update/v18/index.js +1 -1
- package/schematics/ng-update/v19/index.js +1 -1
- package/schematics/ng-update/v2/index.js +1 -1
- package/schematics/ng-update/v20/index.js +1 -1
- package/schematics/ng-update/v21/changes.d.ts +2 -0
- package/schematics/ng-update/v21/changes.js +14 -0
- package/schematics/ng-update/v21/changes.js.map +1 -0
- package/schematics/ng-update/v21/index.d.ts +1 -0
- package/schematics/ng-update/v21/index.js +16 -0
- package/schematics/ng-update/v21/index.js.map +1 -0
- package/schematics/ng-update/v3/index.js +1 -1
- package/schematics/ng-update/v4/index.js +1 -1
- package/schematics/ng-update/v5/index.js +1 -1
- package/schematics/ng-update/v6/index.js +1 -1
- package/po-ui-ng-sync-20.13.0.tgz +0 -0
- /package/{index.d.ts → types/po-ui-ng-sync.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-sync",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.0-rc.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": "
|
|
23
|
+
"@po-ui/ng-storage": "21.0.0-rc.0",
|
|
24
24
|
"http-status-codes": "^2.3.0",
|
|
25
|
-
"@po-ui/ng-schematics": "
|
|
26
|
-
"tslib": "^2.
|
|
25
|
+
"@po-ui/ng-schematics": "21.0.0-rc.0",
|
|
26
|
+
"tslib": "^2.6.2"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@angular/core": "^
|
|
30
|
-
"@angular-devkit/schematics": "^
|
|
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": "
|
|
33
|
+
"@po-ui/ng-storage": "21.0.0-rc.0",
|
|
34
34
|
"http-status-codes": "^2.3.0",
|
|
35
|
-
"rxjs": "~7.8.
|
|
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": "
|
|
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": "./
|
|
46
|
+
"types": "./types/po-ui-ng-sync.d.ts",
|
|
47
47
|
"default": "./fesm2022/po-ui-ng-sync.mjs"
|
|
48
48
|
}
|
|
49
49
|
},
|
|
Binary file
|
package/schematics/README.md
CHANGED
|
@@ -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": "
|
|
50
|
+
"version": "21.0.0-rc.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": "
|
|
55
|
+
"version": "21.0.0-rc.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": "
|
|
60
|
+
"version": "21.0.0-rc.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-rc.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
|
+
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-sync', '21.0.0-rc.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)('
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-rc.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)('
|
|
12
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-rc.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)('
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-rc.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)('
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-rc.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)('
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-rc.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)('
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-rc.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('
|
|
13
|
+
updatePackageJson('21.0.0-rc.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)('
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-rc.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -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-rc.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)('
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-rc.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)('
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-rc.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)('
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-rc.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)('
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.0.0-rc.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
Binary file
|
|
File without changes
|