@nstudio/angular 13.4.3 → 14.3.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 +6 -35
- package/index.js +5 -1
- package/package.json +3 -3
- package/src/schematics/elements/index.js +2 -2
- package/src/utils/index.js +5 -1
- package/src/utils/versions.d.ts +5 -5
- package/src/utils/versions.js +6 -6
package/README.md
CHANGED
@@ -42,6 +42,12 @@ You are now ready to create apps:
|
|
42
42
|
nx g app
|
43
43
|
```
|
44
44
|
|
45
|
+
**NOTE:** If you encounter any issue, you can try creating an Nx workspace with version specified, for example:
|
46
|
+
|
47
|
+
```
|
48
|
+
npx create-nx-workspace@14.1.7
|
49
|
+
```
|
50
|
+
|
45
51
|
## App generation examples
|
46
52
|
|
47
53
|
The additional app generators can be used as follows:
|
@@ -159,42 +165,7 @@ nx run nativescript-mobile:android
|
|
159
165
|
- Ionic + Web: https://github.com/nstudio/xplat-sample-ionic-web
|
160
166
|
- Electron + Web with routing: https://github.com/nstudio/xplat-sample-electron-routing
|
161
167
|
|
162
|
-
## Real world apps built with xplat
|
163
|
-
|
164
|
-
### Portable North Pole
|
165
|
-
|
166
|
-
- Web: https://www.portablenorthpole.com/en/home
|
167
|
-
- iOS: https://itunes.apple.com/us/app/id902026228?mt=8
|
168
|
-
- Android: https://play.google.com/store/apps/details?id=com.ugroupmedia.pnp14&hl=en
|
169
|
-
|
170
|
-
### My PreSonus
|
171
|
-
|
172
|
-
- Web: http://my.presonus.com/
|
173
|
-
- iOS: https://apps.apple.com/us/app/mypresonus/id1282534772
|
174
|
-
- Android: https://play.google.com/store/apps/details?id=com.presonus.mypresonus&hl=en_US
|
175
|
-
|
176
|
-
### Sweet
|
177
|
-
|
178
|
-
- Web: https://sweet.io/
|
179
|
-
- iOS: https://apps.apple.com/us/app/sweet/id1452120535
|
180
|
-
- Android: https://play.google.com/store/apps/details?id=io.sweet.app&hl=en_US
|
181
|
-
|
182
168
|
## Context
|
183
169
|
|
184
170
|
- [Why it's Hard to Decide on Technologies](https://medium.com/@adamklein_66511/why-its-hard-to-decide-on-technologies-9d67b6adf157) by [Adam Klein](https://github.com/adamkleingit)
|
185
171
|
|
186
|
-
## Contributing
|
187
|
-
|
188
|
-
Please see our [guidelines for contributing](https://github.com/nstudio/xplat/blob/master/CONTRIBUTING.md).
|
189
|
-
|
190
|
-
| [<img alt="NathanWalker" src="https://avatars.githubusercontent.com/u/457187?v=4&s=117" width="117">](https://github.com/NathanWalker) | [<img alt="pegaltier" src="https://avatars.githubusercontent.com/u/2479323?v=4&s=117" width="117">](https://github.com/pegaltier) | [<img alt="m-abs" src="https://avatars.githubusercontent.com/u/1348705?v=4&s=117" width="117">](https://github.com/m-abs) | [<img alt="sr3dna" src="https://avatars.githubusercontent.com/u/15936818?v=4&s=117" width="117">](https://github.com/sr3dna) | [<img alt="mbaljeetsingh" src="https://avatars.githubusercontent.com/u/872762?v=4&s=117" width="117">](https://github.com/mbaljeetsingh) |
|
191
|
-
| :------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------: |
|
192
|
-
| [NathanWalker](https://github.com/NathanWalker) | [pegaltier](https://github.com/pegaltier) | [m-abs](https://github.com/m-abs) | [sr3dna](https://github.com/sr3dna) | [mbaljeetsingh](https://github.com/mbaljeetsingh) |
|
193
|
-
|
194
|
-
| [<img alt="dopsonbr" src="https://avatars.githubusercontent.com/u/5340660?v=4&s=117" width="117">](https://github.com/dopsonbr) | [<img alt="AgentEnder" src="https://avatars.githubusercontent.com/u/6933928?v=4&s=117" width="117">](https://github.com/AgentEnder) | [<img alt="davecoffin" src="https://avatars.githubusercontent.com/u/1245462?v=4&s=117" width="117">](https://github.com/davecoffin) | [<img alt="dmitryr117" src="https://avatars.githubusercontent.com/u/5959314?v=4&s=117" width="117">](https://github.com/dmitryr117) | [<img alt="kamilmysliwiec" src="https://avatars.githubusercontent.com/u/23244943?v=4&s=117" width="117">](https://github.com/kamilmysliwiec) | [<img alt="madmath03" src="https://avatars.githubusercontent.com/u/6967675?v=4&s=117" width="117">](https://github.com/madmath03) |
|
195
|
-
| :-----------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------: |
|
196
|
-
| [dopsonbr](https://github.com/dopsonbr) | [AgentEnder](https://github.com/AgentEnder) | [davecoffin](https://github.com/davecoffin) | [dmitryr117](https://github.com/dmitryr117) | [kamilmysliwiec](https://github.com/kamilmysliwiec) | [madmath03](https://github.com/madmath03) |
|
197
|
-
|
198
|
-
| [<img alt="miguelramos" src="https://avatars.githubusercontent.com/u/495720?v=4&s=117" width="117">](https://github.com/miguelramos) | [<img alt="n0mer" src="https://avatars.githubusercontent.com/u/1862997?v=4&s=117" width="117">](https://github.com/n0mer) |
|
199
|
-
| :----------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------: |
|
200
|
-
| [miguelramos](https://github.com/miguelramos) | [n0mer](https://github.com/n0mer) |
|
package/index.js
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
3
|
if (k2 === undefined) k2 = k;
|
4
|
-
Object.
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
5
9
|
}) : (function(o, m, k, k2) {
|
6
10
|
if (k2 === undefined) k2 = k;
|
7
11
|
o[k2] = m[k];
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nstudio/angular",
|
3
|
-
"version": "
|
3
|
+
"version": "14.3.0",
|
4
4
|
"description": "Angular Plugin for xplat",
|
5
5
|
"homepage": "https://nstudio.io/xplat",
|
6
6
|
"repository": {
|
@@ -29,9 +29,9 @@
|
|
29
29
|
"migrations": "./migrations.json"
|
30
30
|
},
|
31
31
|
"dependencies": {
|
32
|
-
"@nrwl/angular": "^
|
32
|
+
"@nrwl/angular": "^14.0.0"
|
33
33
|
},
|
34
34
|
"peerDependencies": {
|
35
|
-
"@nstudio/xplat": "
|
35
|
+
"@nstudio/xplat": "14.3.0"
|
36
36
|
}
|
37
37
|
}
|
@@ -174,9 +174,9 @@ function updateWorkspaceSupport(options, tree, context) {
|
|
174
174
|
json.scripts = json.scripts || {};
|
175
175
|
json.dependencies = json.dependencies || {};
|
176
176
|
const angularVersion = json.dependencies['@angular/core'];
|
177
|
-
json.dependencies = Object.assign(Object.assign({}, json.dependencies), { '@angular/elements': angularVersion, '@webcomponents/webcomponentsjs': '^2.
|
177
|
+
json.dependencies = Object.assign(Object.assign({}, json.dependencies), { '@angular/elements': angularVersion, '@webcomponents/webcomponentsjs': '^2.6.0' });
|
178
178
|
json.devDependencies = json.devDependencies || {};
|
179
|
-
json.devDependencies = Object.assign(Object.assign({}, json.devDependencies), { 'http-server': '^
|
179
|
+
json.devDependencies = Object.assign(Object.assign({}, json.devDependencies), { 'http-server': '^14.1.1', 'ngx-build-plus': '^14.0.0' });
|
180
180
|
return json;
|
181
181
|
})(tree, context);
|
182
182
|
}
|
package/src/utils/index.js
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
3
|
if (k2 === undefined) k2 = k;
|
4
|
-
Object.
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
5
9
|
}) : (function(o, m, k, k2) {
|
6
10
|
if (k2 === undefined) k2 = k;
|
7
11
|
o[k2] = m[k];
|
package/src/utils/versions.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export declare const xplatVersion = "*";
|
2
|
-
export declare const nxVersion = "^
|
3
|
-
export declare const angularVersion = "^
|
4
|
-
export declare const angularDevkitVersion = "^
|
2
|
+
export declare const nxVersion = "^14.0.0";
|
3
|
+
export declare const angularVersion = "^14.0.0";
|
4
|
+
export declare const angularDevkitVersion = "^14.0.0";
|
5
5
|
export declare const ngxTranslateVersion = "~14.0.0";
|
6
6
|
export declare const ngxTranslateHttpVersion = "~7.0.0";
|
7
7
|
export declare const coreJsVersion = "^3.6.5";
|
8
|
-
export declare const rxjsVersion = "^7.
|
8
|
+
export declare const rxjsVersion = "^7.5.0";
|
9
9
|
export declare const zonejsVersion = "~0.11.4";
|
10
10
|
export declare const jestPresetAngular = "11.0.0";
|
11
|
-
export declare const typesJest = "27.
|
11
|
+
export declare const typesJest = "27.4.1";
|
package/src/utils/versions.js
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.typesJest = exports.jestPresetAngular = exports.zonejsVersion = exports.rxjsVersion = exports.coreJsVersion = exports.ngxTranslateHttpVersion = exports.ngxTranslateVersion = exports.angularDevkitVersion = exports.angularVersion = exports.nxVersion = exports.xplatVersion = void 0;
|
4
|
-
exports.xplatVersion = '
|
5
|
-
exports.nxVersion = '^
|
6
|
-
exports.angularVersion = '^
|
7
|
-
exports.angularDevkitVersion = '^
|
4
|
+
exports.xplatVersion = '14.3.0';
|
5
|
+
exports.nxVersion = '^14.0.0';
|
6
|
+
exports.angularVersion = '^14.0.0';
|
7
|
+
exports.angularDevkitVersion = '^14.0.0';
|
8
8
|
exports.ngxTranslateVersion = '~14.0.0';
|
9
9
|
exports.ngxTranslateHttpVersion = '~7.0.0';
|
10
10
|
exports.coreJsVersion = '^3.6.5';
|
11
|
-
exports.rxjsVersion = '^7.
|
11
|
+
exports.rxjsVersion = '^7.5.0';
|
12
12
|
exports.zonejsVersion = '~0.11.4';
|
13
13
|
exports.jestPresetAngular = '11.0.0';
|
14
|
-
exports.typesJest = '27.
|
14
|
+
exports.typesJest = '27.4.1';
|