@nrwl/angular 0.0.0-pr-22179-271588f

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/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2017-2023 Narwhal Technologies Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,18 @@
1
+ ## @nrwl/angular has been renamed to @nx/angular!
2
+
3
+ @nrwl/angular has been renamed to [@nx/angular](https://www.npmjs.com/package/@nx/angular). Please use that instead.
4
+
5
+ [Read more here](https://nx.dev/recipes/other/rescope)
6
+
7
+ @nrwl/angular will no longer be published in Nx v18.
8
+
9
+ <p style="text-align: center;">
10
+ <picture>
11
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-dark.svg">
12
+ <img alt="Nx - Smart Monorepos · Fast CI" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-light.svg" width="100%">
13
+ </picture>
14
+ </p>
15
+
16
+ # Nx: Smart Monorepos · Fast CI
17
+
18
+ Nx is a build system with built-in tooling and advanced CI capabilities. It helps you maintain and scale monorepos, both locally and on CI.
@@ -0,0 +1,2 @@
1
+ export * from '@nx/angular';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy1sZWdhY3kvYW5ndWxhci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGFBQWEsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJ0BueC9hbmd1bGFyJztcbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export * from '@nx/angular/mf';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy1sZWdhY3kvYW5ndWxhci9tZi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnQG54L2FuZ3VsYXIvbWYnO1xuIl19
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnJ3bC1hbmd1bGFyLW1mLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMtbGVnYWN5L2FuZ3VsYXIvbWYvbnJ3bC1hbmd1bGFyLW1mLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnJ3bC1hbmd1bGFyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcGFja2FnZXMtbGVnYWN5L2FuZ3VsYXIvbnJ3bC1hbmd1bGFyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
@@ -0,0 +1,2 @@
1
+ export { readAll, readFirst } from '@nx/angular/testing';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy1sZWdhY3kvYW5ndWxhci90ZXN0aW5nL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0scUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyByZWFkQWxsLCByZWFkRmlyc3QgfSBmcm9tICdAbngvYW5ndWxhci90ZXN0aW5nJztcbiJdfQ==
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnJ3bC1hbmd1bGFyLXRlc3RpbmcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy1sZWdhY3kvYW5ndWxhci90ZXN0aW5nL25yd2wtYW5ndWxhci10ZXN0aW5nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
package/executors.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@nx/angular/executors';
package/executors.js ADDED
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("@nx/angular/executors"), exports);
package/executors.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "executors": {
3
+ "delegate-build": {
4
+ "implementation": "@nx/angular/src/executors/delegate-build/delegate-build.impl",
5
+ "schema": "@nx/angular/src/executors/delegate-build/schema.json",
6
+ "description": "Delegates the build to a different target while supporting incremental builds."
7
+ },
8
+ "ng-packagr-lite": {
9
+ "implementation": "@nx/angular/src/executors/ng-packagr-lite/ng-packagr-lite.impl",
10
+ "schema": "@nx/angular/src/executors/ng-packagr-lite/schema.json",
11
+ "description": "Builds a library with support for incremental builds.\nThis executor is meant to be used with buildable libraries in an incremental build scenario. It is similar to the `@nrwl/angular:package` executor but with some key differences:\n- It doesn't run `ngcc` automatically (`ngcc` needs to be run separately beforehand if needed, this can be done in a `postinstall` hook on `package.json`).\n- It only produces ESM2020 bundles.\n- It doesn't generate package exports in the `package.json`."
12
+ },
13
+ "package": {
14
+ "implementation": "@nx/angular/src/executors/package/package.impl",
15
+ "schema": "@nx/angular/src/executors/package/schema.json",
16
+ "description": "Builds and packages an Angular library producing an output following the Angular Package Format (APF) to be distributed as an NPM package.\nThis executor is similar to the `@angular-devkit/build-angular:ng-packagr` with additional support for incremental builds."
17
+ }
18
+ },
19
+ "builders": {
20
+ "delegate-build": {
21
+ "implementation": "@nx/angular/src/executors/delegate-build/compat",
22
+ "schema": "@nx/angular/src/executors/delegate-build/schema.json",
23
+ "description": "Delegates the build to a different target while supporting incremental builds."
24
+ },
25
+ "ng-packagr-lite": {
26
+ "implementation": "@nx/angular/src/executors/ng-packagr-lite/compat",
27
+ "schema": "@nx/angular/src/executors/ng-packagr-lite/schema.json",
28
+ "description": "Builds a library with support for incremental builds.\nThis executor is meant to be used with buildable libraries in an incremental build scenario. It is similar to the `@nrwl/angular:package` executor but with some key differences:\n- It doesn't run `ngcc` automatically (`ngcc` needs to be run separately beforehand if needed, this can be done in a `postinstall` hook on `package.json`)\n- It only produces ESM2020 bundles\n- It doesn't generate package exports in the `package.json`"
29
+ },
30
+ "package": {
31
+ "implementation": "@nx/angular/src/executors/package/compat",
32
+ "schema": "@nx/angular/src/executors/package/schema.json",
33
+ "description": "Builds and packages an Angular library to be distributed as an NPM package. It supports incremental builds."
34
+ },
35
+ "webpack-browser": {
36
+ "implementation": "@nx/angular/src/builders/webpack-browser/webpack-browser.impl",
37
+ "schema": "@nx/angular/src/builders/webpack-browser/schema.json",
38
+ "description": "The `webpack-browser` executor is very similar to the standard `browser` builder provided by the Angular Devkit. It allows you to build your Angular application to a build artifact that can be hosted online. There are some key differences: \n- Supports Custom Webpack Configurations \n- Supports Incremental Building"
39
+ },
40
+ "dev-server": {
41
+ "implementation": "@nx/angular/src/builders/dev-server/dev-server.impl",
42
+ "schema": "@nx/angular/src/builders/dev-server/schema.json",
43
+ "description": "The `dev-server` executor is very similar to the standard `dev-server` builder provided by the Angular Devkit. It is usually used in tandem with `@nrwl/angular:webpack-browser` when your Angular application uses a custom webpack configuration."
44
+ },
45
+ "webpack-server": {
46
+ "implementation": "@nx/angular/src/builders/webpack-server/webpack-server.impl",
47
+ "schema": "@nx/angular/src/builders/webpack-server/schema.json",
48
+ "description": "The `webpack-server` executor is very similar to the standard `server` builder provided by the Angular Devkit. It is usually used in tandem with `@nrwl/angular:webpack-browser` when your Angular application uses a custom webpack configuration and NgUniversal for SSR."
49
+ },
50
+ "module-federation-dev-server": {
51
+ "implementation": "@nx/angular/src/builders/module-federation-dev-server/module-federation-dev-server.impl",
52
+ "schema": "@nx/angular/src/builders/module-federation-dev-server/schema.json",
53
+ "description": "The module-federation-dev-server executor is reserved exclusively for use with host Module Federation applications. It allows the user to specify which remote applications should be served with the host."
54
+ },
55
+ "module-federation-dev-ssr": {
56
+ "implementation": "@nx/angular/src/builders/module-federation-dev-ssr/module-federation-dev-ssr.impl",
57
+ "schema": "@nx/angular/src/builders/module-federation-dev-ssr/schema.json",
58
+ "description": "The module-federation-dev-ssr executor is reserved exclusively for use with host Module Federation applications that use SSR. It allows the user to specify which remote applications should be served with the host."
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,6 @@
1
+ export * from '@nx/angular/mf';
2
+
3
+ /**
4
+ * Generated bundle index. Do not edit.
5
+ */
6
+ //# sourceMappingURL=nrwl-angular-mf.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nrwl-angular-mf.mjs","sources":["../../../../packages-legacy/angular/mf/nrwl-angular-mf.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;;AAEG"}
@@ -0,0 +1,6 @@
1
+ export { readAll, readFirst } from '@nx/angular/testing';
2
+
3
+ /**
4
+ * Generated bundle index. Do not edit.
5
+ */
6
+ //# sourceMappingURL=nrwl-angular-testing.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nrwl-angular-testing.mjs","sources":["../../../../packages-legacy/angular/testing/nrwl-angular-testing.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;;AAEG"}
@@ -0,0 +1,6 @@
1
+ export * from '@nx/angular';
2
+
3
+ /**
4
+ * Generated bundle index. Do not edit.
5
+ */
6
+ //# sourceMappingURL=nrwl-angular.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nrwl-angular.mjs","sources":["../../../../packages-legacy/angular/nrwl-angular.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;;AAEG"}
@@ -0,0 +1 @@
1
+ export * from '@nx/angular/generators';
package/generators.js ADDED
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("@nx/angular/generators"), exports);
@@ -0,0 +1,4 @@
1
+ {
2
+ "extends": ["@nx/angular"],
3
+ "schematics": {}
4
+ }
package/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@nx/angular';
package/index.js ADDED
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("@nx/angular"), exports);
package/mf/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@nx/angular/mf';
package/mf/index.js ADDED
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("@nx/angular/mf"), exports);
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "lib": {
4
+ "entryFile": "index.ts"
5
+ }
6
+ }
@@ -0,0 +1 @@
1
+ export * from '@nx/angular/module-federation';
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("@nx/angular/module-federation"), exports);
@@ -0,0 +1,33 @@
1
+ {
2
+ "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "lib": {
4
+ "entryFile": "index.ts"
5
+ },
6
+ "dest": "../../build/packages/angular-legacy",
7
+ "deleteDestPath": false,
8
+ "allowedNonPeerDependencies": [
9
+ "@nx/",
10
+ "@nrwl/",
11
+ "@angular-devkit",
12
+ "@angular-eslint/",
13
+ "@nguniversal/builders",
14
+ "@schematics",
15
+ "@phenomnomnominal/tsquery",
16
+ "@typescript-eslint/",
17
+ "chalk",
18
+ "chokidar",
19
+ "ignore",
20
+ "minimatch",
21
+ "rxjs-for-await",
22
+ "webpack-merge",
23
+ "ts-node",
24
+ "tsconfig-paths",
25
+ "semver",
26
+ "webpack",
27
+ "http-server",
28
+ "magic-string",
29
+ "enquirer",
30
+ "find-cache-dir"
31
+ ],
32
+ "keepLifecycleScripts": true
33
+ }
package/package.json ADDED
@@ -0,0 +1,69 @@
1
+ {
2
+ "name": "@nrwl/angular",
3
+ "version": "0.0.0-pr-22179-271588f",
4
+ "private": false,
5
+ "description": "The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: \n\n- Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, and Cypress. \n\n- Generators to help scaffold code quickly (like: Micro Frontends, Libraries, both internal to your codebase and publishable to npm) \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/nrwl/nx.git",
9
+ "directory": "packages-legacy/angular"
10
+ },
11
+ "keywords": [
12
+ "Monorepo",
13
+ "Angular",
14
+ "Jest",
15
+ "Cypress",
16
+ "CLI"
17
+ ],
18
+ "exports": {
19
+ "./generators": "./generators.js",
20
+ "./executors": "./executors.js",
21
+ "./tailwind": "./tailwind.js",
22
+ "./src/generators/utils": "./src/generators/utils/index.js",
23
+ "./src/utils": "./src/utils/public-api.js",
24
+ "./module-federation": "./module-federation/index.js",
25
+ "./plugins/component-testing": "./plugins/component-testing.js",
26
+ "./package.json": {
27
+ "default": "./package.json"
28
+ },
29
+ ".": {
30
+ "types": "./index.d.ts",
31
+ "esm2022": "./esm2022/nrwl-angular.mjs",
32
+ "esm": "./esm2022/nrwl-angular.mjs",
33
+ "default": "./fesm2022/nrwl-angular.mjs"
34
+ },
35
+ "./mf": {
36
+ "types": "./mf/index.d.ts",
37
+ "esm2022": "./esm2022/mf/nrwl-angular-mf.mjs",
38
+ "esm": "./esm2022/mf/nrwl-angular-mf.mjs",
39
+ "default": "./fesm2022/nrwl-angular-mf.mjs"
40
+ },
41
+ "./testing": {
42
+ "types": "./testing/index.d.ts",
43
+ "esm2022": "./esm2022/testing/nrwl-angular-testing.mjs",
44
+ "esm": "./esm2022/testing/nrwl-angular-testing.mjs",
45
+ "default": "./fesm2022/nrwl-angular-testing.mjs"
46
+ }
47
+ },
48
+ "author": "Victor Savkin",
49
+ "license": "MIT",
50
+ "bugs": {
51
+ "url": "https://github.com/nrwl/nx/issues"
52
+ },
53
+ "homepage": "https://nx.dev",
54
+ "builders": "./executors.json",
55
+ "schematics": "./generators.json",
56
+ "dependencies": {
57
+ "@nx/angular": "0.0.0-pr-22179-271588f",
58
+ "tslib": "^2.3.0"
59
+ },
60
+ "publishConfig": {
61
+ "access": "public"
62
+ },
63
+ "nx-migrations": {
64
+ "migrations": "@nx/angular/migrations.json"
65
+ },
66
+ "module": "fesm2022/nrwl-angular.mjs",
67
+ "typings": "index.d.ts",
68
+ "sideEffects": false
69
+ }
@@ -0,0 +1 @@
1
+ export * from '@nx/angular/plugins/component-testing';
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("@nx/angular/plugins/component-testing"), exports);
package/tailwind.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@nx/angular/tailwind';
package/tailwind.js ADDED
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("@nx/angular/tailwind"), exports);
@@ -0,0 +1 @@
1
+ export { readAll, readFirst } from '@nx/angular/testing';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.readFirst = exports.readAll = void 0;
4
+ var testing_1 = require("@nx/angular/testing");
5
+ Object.defineProperty(exports, "readAll", { enumerable: true, get: function () { return testing_1.readAll; } });
6
+ Object.defineProperty(exports, "readFirst", { enumerable: true, get: function () { return testing_1.readFirst; } });
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "lib": {
4
+ "entryFile": "index.ts"
5
+ }
6
+ }