@rxap/preset-angular 19.0.1-dev.5 → 19.0.1-dev.7

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.
@@ -0,0 +1,1359 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`preset should use angular preset 1`] = `
4
+ [
5
+ ".prettierrc",
6
+ "package.json",
7
+ "nx.json",
8
+ "tsconfig.base.json",
9
+ ".commitlintrc.js",
10
+ ".devcontainer",
11
+ ".husky",
12
+ ".renovaterc.json",
13
+ ".run",
14
+ ".yarnrc.yml",
15
+ "tools",
16
+ "angular.json",
17
+ "LICENSE",
18
+ ".gitignore",
19
+ ".prettierignore",
20
+ "project.json",
21
+ ".eslintrc.json",
22
+ ".eslintignore",
23
+ "jest.preset.js",
24
+ "jest.config.ts",
25
+ "schematics.yaml",
26
+ "angular",
27
+ ]
28
+ `;
29
+
30
+ exports[`preset should use angular preset 2`] = `
31
+ "{
32
+ "name": "@proj/source",
33
+ "license": "GPL-3.0-or-later",
34
+ "scripts": {
35
+ "rxap:update": "npx npm-check-updates --filter /@rxap/ --target newest -u && yarn",
36
+ "rxap:migrate": "yarn rxap:update && yarn rxap:compose",
37
+ "rxap:compose": "nx g @rxap/schematic-composer:compose",
38
+ "prepare": "husky install",
39
+ "schematic": "bash tools/scripts/schematic.sh",
40
+ "server": "bash tools/scripts/start-local-dev-services.sh",
41
+ "server:status": "bash tools/scripts/get-local-dev-services-status.sh",
42
+ "server:stop": "bash tools/scripts/stop-local-dev-services.sh",
43
+ "init:env": "bash tools/scripts/setup-env-file.sh"
44
+ },
45
+ "dependencies": {
46
+ "@angular/animations": "~18.0.0",
47
+ "@angular/common": "~18.0.0",
48
+ "@angular/compiler": "~18.0.0",
49
+ "@angular/core": "~18.0.0",
50
+ "@angular/forms": "~18.0.0",
51
+ "@angular/localize": "18.0.1",
52
+ "@angular/platform-browser": "~18.0.0",
53
+ "@angular/platform-browser-dynamic": "~18.0.0",
54
+ "@angular/router": "~18.0.0",
55
+ "rxjs": "~7.8.0",
56
+ "tslib": "^2.3.0",
57
+ "zone.js": "~0.14.3"
58
+ },
59
+ "devDependencies": {
60
+ "@angular-devkit/build-angular": "~18.0.0",
61
+ "@angular-devkit/core": "~18.0.0",
62
+ "@angular-devkit/schematics": "~18.0.0",
63
+ "@angular-eslint/eslint-plugin": "^18.0.1",
64
+ "@angular-eslint/eslint-plugin-template": "^18.0.1",
65
+ "@angular-eslint/template-parser": "^18.0.1",
66
+ "@angular/cli": "~18.0.0",
67
+ "@angular/compiler-cli": "~18.0.0",
68
+ "@angular/language-service": "~18.0.0",
69
+ "@commitlint/cli": "latest",
70
+ "@commitlint/config-conventional": "latest",
71
+ "@nx/angular": "latest",
72
+ "@nx/eslint": "19.3.0",
73
+ "@nx/eslint-plugin": "19.3.0",
74
+ "@nx/jest": "19.3.0",
75
+ "@nx/js": "19.3.0",
76
+ "@rxap/schematic-composer": "latest",
77
+ "@schematics/angular": "~18.0.0",
78
+ "@swc-node/register": "~1.9.1",
79
+ "@swc/core": "~1.5.7",
80
+ "@swc/helpers": "~0.5.11",
81
+ "@types/jest": "^29.4.0",
82
+ "@types/node": "18.16.9",
83
+ "@typescript-eslint/eslint-plugin": "^7.3.0",
84
+ "@typescript-eslint/parser": "^7.3.0",
85
+ "@typescript-eslint/utils": "^8.0.0-alpha.28",
86
+ "autoprefixer": "^10.4.0",
87
+ "eslint": "~8.57.0",
88
+ "eslint-config-prettier": "^9.0.0",
89
+ "husky": "latest",
90
+ "jest": "^29.4.1",
91
+ "jest-environment-jsdom": "^29.4.1",
92
+ "jest-preset-angular": "~14.1.0",
93
+ "jsonc-eslint-parser": "^2.1.0",
94
+ "ng-packagr": "~18.0.0",
95
+ "nx-cloud": "latest",
96
+ "postcss": "^8.4.5",
97
+ "postcss-url": "~10.1.3",
98
+ "prettier": "^2.6.2",
99
+ "rxap": "latest",
100
+ "tailwindcss": "^3.0.2",
101
+ "ts-jest": "^29.1.0",
102
+ "ts-node": "10.9.1",
103
+ "typescript": "~5.4.2"
104
+ },
105
+ "engines": {
106
+ "node": ">=18 <21",
107
+ "yarn": "1.22 || 3.6"
108
+ },
109
+ "os": [
110
+ "!win32"
111
+ ],
112
+ "packageManager": "yarn@3.6.0",
113
+ "repository": {
114
+ "type": "git",
115
+ "url": "https://gitlab.com/rxap/packages/testing.git"
116
+ }
117
+ }
118
+ "
119
+ `;
120
+
121
+ exports[`preset should use angular preset 3`] = `
122
+ "{
123
+ "affected": {
124
+ "defaultBase": "main"
125
+ },
126
+ "targetDefaults": {
127
+ "build": {
128
+ "cache": true,
129
+ "dependsOn": [
130
+ "^index-export",
131
+ "index-export",
132
+ "^build",
133
+ "readme",
134
+ "check-version",
135
+ "expose-as-schematic",
136
+ "build-tailwind",
137
+ "check-ng-package"
138
+ ]
139
+ },
140
+ "lint": {
141
+ "cache": true
142
+ },
143
+ "ci-info": {
144
+ "cache": true
145
+ },
146
+ "index-export": {
147
+ "cache": true
148
+ },
149
+ "swagger-build": {
150
+ "cache": true
151
+ },
152
+ "swagger-generate": {
153
+ "cache": true
154
+ },
155
+ "generate-package-json": {
156
+ "cache": true
157
+ },
158
+ "generate-open-api": {
159
+ "cache": true
160
+ },
161
+ "test": {
162
+ "executor": "@nx/jest:jest",
163
+ "outputs": [
164
+ "{workspaceRoot}/coverage/{projectRoot}",
165
+ "{workspaceRoot}/junit/{projectRoot}",
166
+ "{workspaceRoot}/{projectRoot}/coverage"
167
+ ],
168
+ "inputs": [
169
+ "test",
170
+ "^test",
171
+ "{workspaceRoot}/jest.preset.js",
172
+ "{workspaceRoot}/jest.preset.ts",
173
+ {
174
+ "env": "JEST_JUNIT_OUTPUT_DIR"
175
+ }
176
+ ],
177
+ "options": {
178
+ "passWithNoTests": true,
179
+ "silent": true,
180
+ "coverageReporters": ["json", "html"],
181
+ "codeCoverage": true
182
+ }
183
+ },
184
+ "@nx/eslint:lint": {
185
+ "cache": true,
186
+ "inputs": [
187
+ "default",
188
+ "{workspaceRoot}/.eslintrc.json",
189
+ "{workspaceRoot}/.eslintignore",
190
+ "{workspaceRoot}/eslint.config.js"
191
+ ]
192
+ },
193
+ "@nx/jest:jest": {
194
+ "cache": true,
195
+ "inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
196
+ "options": {
197
+ "passWithNoTests": true
198
+ },
199
+ "configurations": {
200
+ "ci": {
201
+ "ci": true,
202
+ "codeCoverage": true
203
+ }
204
+ }
205
+ },
206
+ "localazy-upload": {
207
+ "cache": true
208
+ },
209
+ "extract-i18n": {
210
+ "cache": true
211
+ },
212
+ "localazy-download": {
213
+ "cache": true
214
+ },
215
+ "component-test": {
216
+ "cache": true
217
+ },
218
+ "fix-dependencies": {
219
+ "executor": "@rxap/plugin-library:run-generator",
220
+ "outputs": ["{projectRoot}/package.json"],
221
+ "options": {
222
+ "generator": "@rxap/plugin-library:fix-dependencies",
223
+ "options": {
224
+ "strict": true,
225
+ "onlyDependencies": true
226
+ }
227
+ },
228
+ "dependsOn": ["^fix-dependencies"]
229
+ },
230
+ "update-dependencies": {
231
+ "executor": "@rxap/plugin-library:update-dependencies"
232
+ },
233
+ "update-package-group": {
234
+ "executor": "@rxap/plugin-library:update-package-group"
235
+ },
236
+ "readme": {
237
+ "inputs": [
238
+ "{projectRoot}/README.md.handlebars",
239
+ "{projectRoot}/GETSTARTED.md",
240
+ "{projectRoot}/GUIDES.md",
241
+ "{projectRoot}/package.json",
242
+ "{projectRoot}/collection.json",
243
+ "{projectRoot}/generators.json",
244
+ "{projectRoot}/executors.json",
245
+ "{projectRoot}/builders.json"
246
+ ],
247
+ "outputs": ["{projectRoot}/README.md"],
248
+ "cache": true
249
+ },
250
+ "linking": {
251
+ "executor": "@rxap/plugin-library:node-modules-linking",
252
+ "dependsOn": ["build", "^linking"],
253
+ "inputs": [
254
+ {
255
+ "env": "CI_JOB_ID"
256
+ }
257
+ ]
258
+ },
259
+ "check-version": {
260
+ "cache": true
261
+ },
262
+ "expose-as-schematic": {
263
+ "cache": true
264
+ },
265
+ "build-tailwind": {
266
+ "dependsOn": [
267
+ {
268
+ "target": "build",
269
+ "projects": ["browser-tailwind"]
270
+ }
271
+ ],
272
+ "outputs": ["{projectRoot}/theme.css"],
273
+ "inputs": [
274
+ "{projectRoot}/**/*.html",
275
+ "{projectRoot}/**/*.scss",
276
+ "{projectRoot}/**/*.css"
277
+ ],
278
+ "cache": true
279
+ },
280
+ "check-ng-package": {
281
+ "inputs": ["{projectRoot}/ng-package.json", "{projectRoot}/package.json"],
282
+ "cache": true
283
+ },
284
+ "copy-client-sdk": {
285
+ "cache": true
286
+ },
287
+ "@nx/angular:ng-packagr-lite": {
288
+ "cache": true,
289
+ "dependsOn": ["^build"],
290
+ "inputs": ["production", "^production"]
291
+ }
292
+ },
293
+ "namedInputs": {
294
+ "default": ["{projectRoot}/**/*"],
295
+ "build": [
296
+ "production",
297
+ "{projectRoot}/package.json",
298
+ "{projectRoot}/collection.json",
299
+ "{projectRoot}/generators.json",
300
+ "{projectRoot}/executors.json"
301
+ ],
302
+ "production": [
303
+ "typescript",
304
+ "{projectRoot}/src/**/*",
305
+ "!{projectRoot}/**/*.{spec,stories,cy}.ts",
306
+ "!{projectRoot}/jest.config.ts",
307
+ "!{projectRoot}/src/test-setup.[jt]s",
308
+ "!{projectRoot}/tsconfig.spec.json",
309
+ "!{projectRoot}/cypress/**/*",
310
+ "!{projectRoot}/**/*.cy.[jt]s?(x)",
311
+ "!{projectRoot}/cypress.config.[jt]s",
312
+ "!{projectRoot}/.eslintrc.json",
313
+ "!{projectRoot}/eslint.config.js",
314
+ "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
315
+ "!{projectRoot}/jest.config.[jt]s",
316
+ "!{projectRoot}/test-setup.[jt]s"
317
+ ],
318
+ "test": [
319
+ "typescript",
320
+ "{projectRoot}/src/**/*",
321
+ "!{projectRoot}/tsconfig.lib.json",
322
+ "!{projectRoot}/tsconfig.lib.prod.json"
323
+ ],
324
+ "typescript": [
325
+ "{projectRoot}/**/*.ts",
326
+ "{projectRoot}/tsconfig.json",
327
+ "{projectRoot}/tsconfig.*.json"
328
+ ]
329
+ },
330
+ "generators": {
331
+ "@nx/plugin:plugin": {
332
+ "directory": "plugin",
333
+ "publishable": false,
334
+ "tags": "plugin,nx,nx-plugin"
335
+ },
336
+ "@nx/js:library": {
337
+ "unitTestRunner": "jest",
338
+ "publishable": false,
339
+ "buildable": false
340
+ },
341
+ "@nx/nest:library": {
342
+ "directory": "nest",
343
+ "tags": "nest",
344
+ "publishable": false,
345
+ "buildable": false
346
+ },
347
+ "@nx/nest:application": {
348
+ "e2eTestRunner": "none",
349
+ "tags": "nest",
350
+ "strict": true,
351
+ "directory": "service"
352
+ },
353
+ "@nx/plugin:executor": {
354
+ "unitTestRunner": "none"
355
+ },
356
+ "@nx/plugin:generator": {
357
+ "unitTestRunner": "none"
358
+ },
359
+ "@nx/angular:application": {
360
+ "style": "scss",
361
+ "linter": "eslint",
362
+ "unitTestRunner": "jest",
363
+ "e2eTestRunner": "none",
364
+ "tags": "angular,ngx",
365
+ "prefix": "rxap",
366
+ "standalone": true,
367
+ "addTailwind": true,
368
+ "routing": true,
369
+ "directory": "user-interface"
370
+ },
371
+ "@nx/angular:host": {
372
+ "style": "scss",
373
+ "linter": "eslint",
374
+ "unitTestRunner": "jest",
375
+ "e2eTestRunner": "none",
376
+ "tags": "angular,ngx",
377
+ "prefix": "rxap",
378
+ "standalone": true,
379
+ "addTailwind": true,
380
+ "name": "shell",
381
+ "directory": "user-interface/shell"
382
+ },
383
+ "@nx/angular:remote": {
384
+ "style": "scss",
385
+ "linter": "eslint",
386
+ "unitTestRunner": "jest",
387
+ "e2eTestRunner": "none",
388
+ "tags": "angular,ngx",
389
+ "prefix": "rxap",
390
+ "standalone": true,
391
+ "addTailwind": true,
392
+ "host": "shell",
393
+ "directory": "user-interface/feature"
394
+ },
395
+ "@nx/angular:component": {
396
+ "style": "scss",
397
+ "standalone": true
398
+ },
399
+ "@nx/angular:library": {
400
+ "linter": "eslint",
401
+ "unitTestRunner": "jest",
402
+ "publishable": false,
403
+ "addTailwind": false,
404
+ "changeDetection": "OnPush",
405
+ "standalone": true,
406
+ "style": "scss",
407
+ "directory": "angular",
408
+ "tags": "angular,ngx",
409
+ "prefix": "rxap",
410
+ "skipModule": true,
411
+ "buildable": false
412
+ },
413
+ "@nx/angular:directive": {
414
+ "standalone": true,
415
+ "skipTests": true
416
+ },
417
+ "@nx/angular:library-secondary-entry-point": {
418
+ "skipModule": true
419
+ }
420
+ },
421
+ "cli": {
422
+ "packageManager": "yarn"
423
+ }
424
+ }
425
+ "
426
+ `;
427
+
428
+ exports[`preset should use angular preset 4`] = `
429
+ "
430
+ /migrations.json
431
+ ~
432
+ .angular
433
+ .nx
434
+ /docker-compose.frontends.yml
435
+ /docker-compose.services.yml
436
+ dist
437
+ tmp
438
+ tmp.*
439
+ /out-tsc
440
+ node_modules
441
+ .project
442
+ .classpath
443
+ .c9
444
+ *.launch
445
+ .settings/
446
+ *.sublime-workspace
447
+ .vscode/*
448
+ !.vscode/settings.json
449
+ !.vscode/tasks.json
450
+ !.vscode/launch.json
451
+ !.vscode/extensions.json
452
+ .sass-cache
453
+ connect.lock
454
+ coverage
455
+ .nyc_output
456
+ *.log
457
+ *.lock
458
+ *.patch
459
+ typings
460
+ .env
461
+ junit.xml
462
+ /junit
463
+ nx-angular-config.xml
464
+ nx-config.xml
465
+ .DS_Store
466
+ Thumbs.db
467
+ .yarn/*
468
+ !yarn.lock
469
+ !.yarn/patches
470
+ !.yarn/plugins
471
+ !.yarn/releases
472
+ !.yarn/sdks
473
+ !.yarn/versions
474
+ documentation.json
475
+ gitlab-ci-setup.sh
476
+ .idea/copilot/chatSessions
477
+ .idea/jsLibraryMappings.xml
478
+ .idea/nx-angular-config.xml
479
+ .idea/nx-console.xml
480
+ .idea/cody_history.xml
481
+ .idea/JetClient
482
+ .idea/shelf/
483
+ .idea/workspace.xml
484
+ .idea/httpRequests/
485
+ .idea/developer-tools.xml
486
+ "
487
+ `;
488
+
489
+ exports[`preset should use angular preset 5`] = `
490
+ "{
491
+ "singleQuote": true,
492
+ "overrides": [
493
+ {
494
+ "files": ["*.yml", "*.yaml"],
495
+ "options": {
496
+ "singleQuote": false
497
+ }
498
+ }
499
+ ]
500
+ }
501
+ "
502
+ `;
503
+
504
+ exports[`preset should use angular preset 6`] = `
505
+ "{
506
+ "compilerOptions": {
507
+ "paths": {
508
+ "@proj/angular-application-providers": [
509
+ "angular/application-providers/src/index.ts"
510
+ ],
511
+ "@proj/angular-application-providers/*": [
512
+ "angular/application-providers/src/lib/*"
513
+ ],
514
+ "@proj/angular-components": ["angular/components/src/index.ts"],
515
+ "@proj/angular-components/*": ["angular/components/src/lib/*"],
516
+ "@proj/angular-controls": ["angular/controls/src/index.ts"],
517
+ "@proj/angular-controls/*": ["angular/controls/src/lib/*"],
518
+ "@proj/angular-data-sources": ["angular/data-sources/src/index.ts"],
519
+ "@proj/angular-data-sources/*": ["angular/data-sources/src/lib/*"],
520
+ "@proj/angular-directives": ["angular/directives/src/index.ts"],
521
+ "@proj/angular-directives/*": ["angular/directives/src/lib/*"],
522
+ "@proj/angular-forms": ["angular/forms/src/index.ts"],
523
+ "@proj/angular-forms/*": ["angular/forms/src/lib/*"],
524
+ "@proj/angular-guards": ["angular/guards/src/index.ts"],
525
+ "@proj/angular-guards/*": ["angular/guards/src/lib/*"],
526
+ "@proj/angular-http-interceptors": [
527
+ "angular/http-interceptors/src/index.ts"
528
+ ],
529
+ "@proj/angular-http-interceptors/*": [
530
+ "angular/http-interceptors/src/lib/*"
531
+ ],
532
+ "@proj/angular-methods": ["angular/methods/src/index.ts"],
533
+ "@proj/angular-methods/*": ["angular/methods/src/lib/*"],
534
+ "@proj/angular-pipes": ["angular/pipes/src/index.ts"],
535
+ "@proj/angular-pipes/*": ["angular/pipes/src/lib/*"],
536
+ "@proj/angular-resolvers": ["angular/resolvers/src/index.ts"],
537
+ "@proj/angular-resolvers/*": ["angular/resolvers/src/lib/*"],
538
+ "@proj/angular-services": ["angular/services/src/index.ts"],
539
+ "@proj/angular-services/*": ["angular/services/src/lib/*"],
540
+ "@proj/angular-tables": ["angular/tables/src/index.ts"],
541
+ "@proj/angular-tables/*": ["angular/tables/src/lib/*"],
542
+ "@proj/angular-testing": ["angular/testing/src/index.ts"],
543
+ "@proj/angular-testing/*": ["angular/testing/src/lib/*"],
544
+ "workspace-tools": ["tools/src/index.ts"]
545
+ }
546
+ }
547
+ }
548
+ "
549
+ `;
550
+
551
+ exports[`preset should use angular preset 7`] = `
552
+ "module.exports = {
553
+ extends: ['@commitlint/config-conventional'],
554
+ ignores: [(message) => message.toLowerCase().startsWith('wip')],
555
+ };
556
+ "
557
+ `;
558
+
559
+ exports[`preset should use angular preset 8`] = `
560
+ "{
561
+ "extends": ["gitlab>rxap/renovate-config"]
562
+ }
563
+ "
564
+ `;
565
+
566
+ exports[`preset should use angular preset 9`] = `
567
+ "nodeLinker: node-modules
568
+ "
569
+ `;
570
+
571
+ exports[`preset should use angular preset 10`] = `
572
+ " GNU GENERAL PUBLIC LICENSE
573
+ Version 3, 29 June 2007
574
+
575
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
576
+ Everyone is permitted to copy and distribute verbatim copies
577
+ of this license document, but changing it is not allowed.
578
+
579
+ Preamble
580
+
581
+ The GNU General Public License is a free, copyleft license for
582
+ software and other kinds of works.
583
+
584
+ The licenses for most software and other practical works are designed
585
+ to take away your freedom to share and change the works. By contrast,
586
+ the GNU General Public License is intended to guarantee your freedom to
587
+ share and change all versions of a program--to make sure it remains free
588
+ software for all its users. We, the Free Software Foundation, use the
589
+ GNU General Public License for most of our software; it applies also to
590
+ any other work released this way by its authors. You can apply it to
591
+ your programs, too.
592
+
593
+ When we speak of free software, we are referring to freedom, not
594
+ price. Our General Public Licenses are designed to make sure that you
595
+ have the freedom to distribute copies of free software (and charge for
596
+ them if you wish), that you receive source code or can get it if you
597
+ want it, that you can change the software or use pieces of it in new
598
+ free programs, and that you know you can do these things.
599
+
600
+ To protect your rights, we need to prevent others from denying you
601
+ these rights or asking you to surrender the rights. Therefore, you have
602
+ certain responsibilities if you distribute copies of the software, or if
603
+ you modify it: responsibilities to respect the freedom of others.
604
+
605
+ For example, if you distribute copies of such a program, whether
606
+ gratis or for a fee, you must pass on to the recipients the same
607
+ freedoms that you received. You must make sure that they, too, receive
608
+ or can get the source code. And you must show them these terms so they
609
+ know their rights.
610
+
611
+ Developers that use the GNU GPL protect your rights with two steps:
612
+ (1) assert copyright on the software, and (2) offer you this License
613
+ giving you legal permission to copy, distribute and/or modify it.
614
+
615
+ For the developers' and authors' protection, the GPL clearly explains
616
+ that there is no warranty for this free software. For both users' and
617
+ authors' sake, the GPL requires that modified versions be marked as
618
+ changed, so that their problems will not be attributed erroneously to
619
+ authors of previous versions.
620
+
621
+ Some devices are designed to deny users access to install or run
622
+ modified versions of the software inside them, although the manufacturer
623
+ can do so. This is fundamentally incompatible with the aim of
624
+ protecting users' freedom to change the software. The systematic
625
+ pattern of such abuse occurs in the area of products for individuals to
626
+ use, which is precisely where it is most unacceptable. Therefore, we
627
+ have designed this version of the GPL to prohibit the practice for those
628
+ products. If such problems arise substantially in other domains, we
629
+ stand ready to extend this provision to those domains in future versions
630
+ of the GPL, as needed to protect the freedom of users.
631
+
632
+ Finally, every program is threatened constantly by software patents.
633
+ States should not allow patents to restrict development and use of
634
+ software on general-purpose computers, but in those that do, we wish to
635
+ avoid the special danger that patents applied to a free program could
636
+ make it effectively proprietary. To prevent this, the GPL assures that
637
+ patents cannot be used to render the program non-free.
638
+
639
+ The precise terms and conditions for copying, distribution and
640
+ modification follow.
641
+
642
+ TERMS AND CONDITIONS
643
+
644
+ 0. Definitions.
645
+
646
+ "This License" refers to version 3 of the GNU General Public License.
647
+
648
+ "Copyright" also means copyright-like laws that apply to other kinds of
649
+ works, such as semiconductor masks.
650
+
651
+ "The Program" refers to any copyrightable work licensed under this
652
+ License. Each licensee is addressed as "you". "Licensees" and
653
+ "recipients" may be individuals or organizations.
654
+
655
+ To "modify" a work means to copy from or adapt all or part of the work
656
+ in a fashion requiring copyright permission, other than the making of an
657
+ exact copy. The resulting work is called a "modified version" of the
658
+ earlier work or a work "based on" the earlier work.
659
+
660
+ A "covered work" means either the unmodified Program or a work based
661
+ on the Program.
662
+
663
+ To "propagate" a work means to do anything with it that, without
664
+ permission, would make you directly or secondarily liable for
665
+ infringement under applicable copyright law, except executing it on a
666
+ computer or modifying a private copy. Propagation includes copying,
667
+ distribution (with or without modification), making available to the
668
+ public, and in some countries other activities as well.
669
+
670
+ To "convey" a work means any kind of propagation that enables other
671
+ parties to make or receive copies. Mere interaction with a user through
672
+ a computer network, with no transfer of a copy, is not conveying.
673
+
674
+ An interactive user interface displays "Appropriate Legal Notices"
675
+ to the extent that it includes a convenient and prominently visible
676
+ feature that (1) displays an appropriate copyright notice, and (2)
677
+ tells the user that there is no warranty for the work (except to the
678
+ extent that warranties are provided), that licensees may convey the
679
+ work under this License, and how to view a copy of this License. If
680
+ the interface presents a list of user commands or options, such as a
681
+ menu, a prominent item in the list meets this criterion.
682
+
683
+ 1. Source Code.
684
+
685
+ The "source code" for a work means the preferred form of the work
686
+ for making modifications to it. "Object code" means any non-source
687
+ form of a work.
688
+
689
+ A "Standard Interface" means an interface that either is an official
690
+ standard defined by a recognized standards body, or, in the case of
691
+ interfaces specified for a particular programming language, one that
692
+ is widely used among developers working in that language.
693
+
694
+ The "System Libraries" of an executable work include anything, other
695
+ than the work as a whole, that (a) is included in the normal form of
696
+ packaging a Major Component, but which is not part of that Major
697
+ Component, and (b) serves only to enable use of the work with that
698
+ Major Component, or to implement a Standard Interface for which an
699
+ implementation is available to the public in source code form. A
700
+ "Major Component", in this context, means a major essential component
701
+ (kernel, window system, and so on) of the specific operating system
702
+ (if any) on which the executable work runs, or a compiler used to
703
+ produce the work, or an object code interpreter used to run it.
704
+
705
+ The "Corresponding Source" for a work in object code form means all
706
+ the source code needed to generate, install, and (for an executable
707
+ work) run the object code and to modify the work, including scripts to
708
+ control those activities. However, it does not include the work's
709
+ System Libraries, or general-purpose tools or generally available free
710
+ programs which are used unmodified in performing those activities but
711
+ which are not part of the work. For example, Corresponding Source
712
+ includes interface definition files associated with source files for
713
+ the work, and the source code for shared libraries and dynamically
714
+ linked subprograms that the work is specifically designed to require,
715
+ such as by intimate data communication or control flow between those
716
+ subprograms and other parts of the work.
717
+
718
+ The Corresponding Source need not include anything that users
719
+ can regenerate automatically from other parts of the Corresponding
720
+ Source.
721
+
722
+ The Corresponding Source for a work in source code form is that
723
+ same work.
724
+
725
+ 2. Basic Permissions.
726
+
727
+ All rights granted under this License are granted for the term of
728
+ copyright on the Program, and are irrevocable provided the stated
729
+ conditions are met. This License explicitly affirms your unlimited
730
+ permission to run the unmodified Program. The output from running a
731
+ covered work is covered by this License only if the output, given its
732
+ content, constitutes a covered work. This License acknowledges your
733
+ rights of fair use or other equivalent, as provided by copyright law.
734
+
735
+ You may make, run and propagate covered works that you do not
736
+ convey, without conditions so long as your license otherwise remains
737
+ in force. You may convey covered works to others for the sole purpose
738
+ of having them make modifications exclusively for you, or provide you
739
+ with facilities for running those works, provided that you comply with
740
+ the terms of this License in conveying all material for which you do
741
+ not control copyright. Those thus making or running the covered works
742
+ for you must do so exclusively on your behalf, under your direction
743
+ and control, on terms that prohibit them from making any copies of
744
+ your copyrighted material outside their relationship with you.
745
+
746
+ Conveying under any other circumstances is permitted solely under
747
+ the conditions stated below. Sublicensing is not allowed; section 10
748
+ makes it unnecessary.
749
+
750
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
751
+
752
+ No covered work shall be deemed part of an effective technological
753
+ measure under any applicable law fulfilling obligations under article
754
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
755
+ similar laws prohibiting or restricting circumvention of such
756
+ measures.
757
+
758
+ When you convey a covered work, you waive any legal power to forbid
759
+ circumvention of technological measures to the extent such circumvention
760
+ is effected by exercising rights under this License with respect to
761
+ the covered work, and you disclaim any intention to limit operation or
762
+ modification of the work as a means of enforcing, against the work's
763
+ users, your or third parties' legal rights to forbid circumvention of
764
+ technological measures.
765
+
766
+ 4. Conveying Verbatim Copies.
767
+
768
+ You may convey verbatim copies of the Program's source code as you
769
+ receive it, in any medium, provided that you conspicuously and
770
+ appropriately publish on each copy an appropriate copyright notice;
771
+ keep intact all notices stating that this License and any
772
+ non-permissive terms added in accord with section 7 apply to the code;
773
+ keep intact all notices of the absence of any warranty; and give all
774
+ recipients a copy of this License along with the Program.
775
+
776
+ You may charge any price or no price for each copy that you convey,
777
+ and you may offer support or warranty protection for a fee.
778
+
779
+ 5. Conveying Modified Source Versions.
780
+
781
+ You may convey a work based on the Program, or the modifications to
782
+ produce it from the Program, in the form of source code under the
783
+ terms of section 4, provided that you also meet all of these conditions:
784
+
785
+ a) The work must carry prominent notices stating that you modified
786
+ it, and giving a relevant date.
787
+
788
+ b) The work must carry prominent notices stating that it is
789
+ released under this License and any conditions added under section
790
+ 7. This requirement modifies the requirement in section 4 to
791
+ "keep intact all notices".
792
+
793
+ c) You must license the entire work, as a whole, under this
794
+ License to anyone who comes into possession of a copy. This
795
+ License will therefore apply, along with any applicable section 7
796
+ additional terms, to the whole of the work, and all its parts,
797
+ regardless of how they are packaged. This License gives no
798
+ permission to license the work in any other way, but it does not
799
+ invalidate such permission if you have separately received it.
800
+
801
+ d) If the work has interactive user interfaces, each must display
802
+ Appropriate Legal Notices; however, if the Program has interactive
803
+ interfaces that do not display Appropriate Legal Notices, your
804
+ work need not make them do so.
805
+
806
+ A compilation of a covered work with other separate and independent
807
+ works, which are not by their nature extensions of the covered work,
808
+ and which are not combined with it such as to form a larger program,
809
+ in or on a volume of a storage or distribution medium, is called an
810
+ "aggregate" if the compilation and its resulting copyright are not
811
+ used to limit the access or legal rights of the compilation's users
812
+ beyond what the individual works permit. Inclusion of a covered work
813
+ in an aggregate does not cause this License to apply to the other
814
+ parts of the aggregate.
815
+
816
+ 6. Conveying Non-Source Forms.
817
+
818
+ You may convey a covered work in object code form under the terms
819
+ of sections 4 and 5, provided that you also convey the
820
+ machine-readable Corresponding Source under the terms of this License,
821
+ in one of these ways:
822
+
823
+ a) Convey the object code in, or embodied in, a physical product
824
+ (including a physical distribution medium), accompanied by the
825
+ Corresponding Source fixed on a durable physical medium
826
+ customarily used for software interchange.
827
+
828
+ b) Convey the object code in, or embodied in, a physical product
829
+ (including a physical distribution medium), accompanied by a
830
+ written offer, valid for at least three years and valid for as
831
+ long as you offer spare parts or customer support for that product
832
+ model, to give anyone who possesses the object code either (1) a
833
+ copy of the Corresponding Source for all the software in the
834
+ product that is covered by this License, on a durable physical
835
+ medium customarily used for software interchange, for a price no
836
+ more than your reasonable cost of physically performing this
837
+ conveying of source, or (2) access to copy the
838
+ Corresponding Source from a network server at no charge.
839
+
840
+ c) Convey individual copies of the object code with a copy of the
841
+ written offer to provide the Corresponding Source. This
842
+ alternative is allowed only occasionally and noncommercially, and
843
+ only if you received the object code with such an offer, in accord
844
+ with subsection 6b.
845
+
846
+ d) Convey the object code by offering access from a designated
847
+ place (gratis or for a charge), and offer equivalent access to the
848
+ Corresponding Source in the same way through the same place at no
849
+ further charge. You need not require recipients to copy the
850
+ Corresponding Source along with the object code. If the place to
851
+ copy the object code is a network server, the Corresponding Source
852
+ may be on a different server (operated by you or a third party)
853
+ that supports equivalent copying facilities, provided you maintain
854
+ clear directions next to the object code saying where to find the
855
+ Corresponding Source. Regardless of what server hosts the
856
+ Corresponding Source, you remain obligated to ensure that it is
857
+ available for as long as needed to satisfy these requirements.
858
+
859
+ e) Convey the object code using peer-to-peer transmission, provided
860
+ you inform other peers where the object code and Corresponding
861
+ Source of the work are being offered to the general public at no
862
+ charge under subsection 6d.
863
+
864
+ A separable portion of the object code, whose source code is excluded
865
+ from the Corresponding Source as a System Library, need not be
866
+ included in conveying the object code work.
867
+
868
+ A "User Product" is either (1) a "consumer product", which means any
869
+ tangible personal property which is normally used for personal, family,
870
+ or household purposes, or (2) anything designed or sold for incorporation
871
+ into a dwelling. In determining whether a product is a consumer product,
872
+ doubtful cases shall be resolved in favor of coverage. For a particular
873
+ product received by a particular user, "normally used" refers to a
874
+ typical or common use of that class of product, regardless of the status
875
+ of the particular user or of the way in which the particular user
876
+ actually uses, or expects or is expected to use, the product. A product
877
+ is a consumer product regardless of whether the product has substantial
878
+ commercial, industrial or non-consumer uses, unless such uses represent
879
+ the only significant mode of use of the product.
880
+
881
+ "Installation Information" for a User Product means any methods,
882
+ procedures, authorization keys, or other information required to install
883
+ and execute modified versions of a covered work in that User Product from
884
+ a modified version of its Corresponding Source. The information must
885
+ suffice to ensure that the continued functioning of the modified object
886
+ code is in no case prevented or interfered with solely because
887
+ modification has been made.
888
+
889
+ If you convey an object code work under this section in, or with, or
890
+ specifically for use in, a User Product, and the conveying occurs as
891
+ part of a transaction in which the right of possession and use of the
892
+ User Product is transferred to the recipient in perpetuity or for a
893
+ fixed term (regardless of how the transaction is characterized), the
894
+ Corresponding Source conveyed under this section must be accompanied
895
+ by the Installation Information. But this requirement does not apply
896
+ if neither you nor any third party retains the ability to install
897
+ modified object code on the User Product (for example, the work has
898
+ been installed in ROM).
899
+
900
+ The requirement to provide Installation Information does not include a
901
+ requirement to continue to provide support service, warranty, or updates
902
+ for a work that has been modified or installed by the recipient, or for
903
+ the User Product in which it has been modified or installed. Access to a
904
+ network may be denied when the modification itself materially and
905
+ adversely affects the operation of the network or violates the rules and
906
+ protocols for communication across the network.
907
+
908
+ Corresponding Source conveyed, and Installation Information provided,
909
+ in accord with this section must be in a format that is publicly
910
+ documented (and with an implementation available to the public in
911
+ source code form), and must require no special password or key for
912
+ unpacking, reading or copying.
913
+
914
+ 7. Additional Terms.
915
+
916
+ "Additional permissions" are terms that supplement the terms of this
917
+ License by making exceptions from one or more of its conditions.
918
+ Additional permissions that are applicable to the entire Program shall
919
+ be treated as though they were included in this License, to the extent
920
+ that they are valid under applicable law. If additional permissions
921
+ apply only to part of the Program, that part may be used separately
922
+ under those permissions, but the entire Program remains governed by
923
+ this License without regard to the additional permissions.
924
+
925
+ When you convey a copy of a covered work, you may at your option
926
+ remove any additional permissions from that copy, or from any part of
927
+ it. (Additional permissions may be written to require their own
928
+ removal in certain cases when you modify the work.) You may place
929
+ additional permissions on material, added by you to a covered work,
930
+ for which you have or can give appropriate copyright permission.
931
+
932
+ Notwithstanding any other provision of this License, for material you
933
+ add to a covered work, you may (if authorized by the copyright holders of
934
+ that material) supplement the terms of this License with terms:
935
+
936
+ a) Disclaiming warranty or limiting liability differently from the
937
+ terms of sections 15 and 16 of this License; or
938
+
939
+ b) Requiring preservation of specified reasonable legal notices or
940
+ author attributions in that material or in the Appropriate Legal
941
+ Notices displayed by works containing it; or
942
+
943
+ c) Prohibiting misrepresentation of the origin of that material, or
944
+ requiring that modified versions of such material be marked in
945
+ reasonable ways as different from the original version; or
946
+
947
+ d) Limiting the use for publicity purposes of names of licensors or
948
+ authors of the material; or
949
+
950
+ e) Declining to grant rights under trademark law for use of some
951
+ trade names, trademarks, or service marks; or
952
+
953
+ f) Requiring indemnification of licensors and authors of that
954
+ material by anyone who conveys the material (or modified versions of
955
+ it) with contractual assumptions of liability to the recipient, for
956
+ any liability that these contractual assumptions directly impose on
957
+ those licensors and authors.
958
+
959
+ All other non-permissive additional terms are considered "further
960
+ restrictions" within the meaning of section 10. If the Program as you
961
+ received it, or any part of it, contains a notice stating that it is
962
+ governed by this License along with a term that is a further
963
+ restriction, you may remove that term. If a license document contains
964
+ a further restriction but permits relicensing or conveying under this
965
+ License, you may add to a covered work material governed by the terms
966
+ of that license document, provided that the further restriction does
967
+ not survive such relicensing or conveying.
968
+
969
+ If you add terms to a covered work in accord with this section, you
970
+ must place, in the relevant source files, a statement of the
971
+ additional terms that apply to those files, or a notice indicating
972
+ where to find the applicable terms.
973
+
974
+ Additional terms, permissive or non-permissive, may be stated in the
975
+ form of a separately written license, or stated as exceptions;
976
+ the above requirements apply either way.
977
+
978
+ 8. Termination.
979
+
980
+ You may not propagate or modify a covered work except as expressly
981
+ provided under this License. Any attempt otherwise to propagate or
982
+ modify it is void, and will automatically terminate your rights under
983
+ this License (including any patent licenses granted under the third
984
+ paragraph of section 11).
985
+
986
+ However, if you cease all violation of this License, then your
987
+ license from a particular copyright holder is reinstated (a)
988
+ provisionally, unless and until the copyright holder explicitly and
989
+ finally terminates your license, and (b) permanently, if the copyright
990
+ holder fails to notify you of the violation by some reasonable means
991
+ prior to 60 days after the cessation.
992
+
993
+ Moreover, your license from a particular copyright holder is
994
+ reinstated permanently if the copyright holder notifies you of the
995
+ violation by some reasonable means, this is the first time you have
996
+ received notice of violation of this License (for any work) from that
997
+ copyright holder, and you cure the violation prior to 30 days after
998
+ your receipt of the notice.
999
+
1000
+ Termination of your rights under this section does not terminate the
1001
+ licenses of parties who have received copies or rights from you under
1002
+ this License. If your rights have been terminated and not permanently
1003
+ reinstated, you do not qualify to receive new licenses for the same
1004
+ material under section 10.
1005
+
1006
+ 9. Acceptance Not Required for Having Copies.
1007
+
1008
+ You are not required to accept this License in order to receive or
1009
+ run a copy of the Program. Ancillary propagation of a covered work
1010
+ occurring solely as a consequence of using peer-to-peer transmission
1011
+ to receive a copy likewise does not require acceptance. However,
1012
+ nothing other than this License grants you permission to propagate or
1013
+ modify any covered work. These actions infringe copyright if you do
1014
+ not accept this License. Therefore, by modifying or propagating a
1015
+ covered work, you indicate your acceptance of this License to do so.
1016
+
1017
+ 10. Automatic Licensing of Downstream Recipients.
1018
+
1019
+ Each time you convey a covered work, the recipient automatically
1020
+ receives a license from the original licensors, to run, modify and
1021
+ propagate that work, subject to this License. You are not responsible
1022
+ for enforcing compliance by third parties with this License.
1023
+
1024
+ An "entity transaction" is a transaction transferring control of an
1025
+ organization, or substantially all assets of one, or subdividing an
1026
+ organization, or merging organizations. If propagation of a covered
1027
+ work results from an entity transaction, each party to that
1028
+ transaction who receives a copy of the work also receives whatever
1029
+ licenses to the work the party's predecessor in interest had or could
1030
+ give under the previous paragraph, plus a right to possession of the
1031
+ Corresponding Source of the work from the predecessor in interest, if
1032
+ the predecessor has it or can get it with reasonable efforts.
1033
+
1034
+ You may not impose any further restrictions on the exercise of the
1035
+ rights granted or affirmed under this License. For example, you may
1036
+ not impose a license fee, royalty, or other charge for exercise of
1037
+ rights granted under this License, and you may not initiate litigation
1038
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
1039
+ any patent claim is infringed by making, using, selling, offering for
1040
+ sale, or importing the Program or any portion of it.
1041
+
1042
+ 11. Patents.
1043
+
1044
+ A "contributor" is a copyright holder who authorizes use under this
1045
+ License of the Program or a work on which the Program is based. The
1046
+ work thus licensed is called the contributor's "contributor version".
1047
+
1048
+ A contributor's "essential patent claims" are all patent claims
1049
+ owned or controlled by the contributor, whether already acquired or
1050
+ hereafter acquired, that would be infringed by some manner, permitted
1051
+ by this License, of making, using, or selling its contributor version,
1052
+ but do not include claims that would be infringed only as a
1053
+ consequence of further modification of the contributor version. For
1054
+ purposes of this definition, "control" includes the right to grant
1055
+ patent sublicenses in a manner consistent with the requirements of
1056
+ this License.
1057
+
1058
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
1059
+ patent license under the contributor's essential patent claims, to
1060
+ make, use, sell, offer for sale, import and otherwise run, modify and
1061
+ propagate the contents of its contributor version.
1062
+
1063
+ In the following three paragraphs, a "patent license" is any express
1064
+ agreement or commitment, however denominated, not to enforce a patent
1065
+ (such as an express permission to practice a patent or covenant not to
1066
+ sue for patent infringement). To "grant" such a patent license to a
1067
+ party means to make such an agreement or commitment not to enforce a
1068
+ patent against the party.
1069
+
1070
+ If you convey a covered work, knowingly relying on a patent license,
1071
+ and the Corresponding Source of the work is not available for anyone
1072
+ to copy, free of charge and under the terms of this License, through a
1073
+ publicly available network server or other readily accessible means,
1074
+ then you must either (1) cause the Corresponding Source to be so
1075
+ available, or (2) arrange to deprive yourself of the benefit of the
1076
+ patent license for this particular work, or (3) arrange, in a manner
1077
+ consistent with the requirements of this License, to extend the patent
1078
+ license to downstream recipients. "Knowingly relying" means you have
1079
+ actual knowledge that, but for the patent license, your conveying the
1080
+ covered work in a country, or your recipient's use of the covered work
1081
+ in a country, would infringe one or more identifiable patents in that
1082
+ country that you have reason to believe are valid.
1083
+
1084
+ If, pursuant to or in connection with a single transaction or
1085
+ arrangement, you convey, or propagate by procuring conveyance of, a
1086
+ covered work, and grant a patent license to some of the parties
1087
+ receiving the covered work authorizing them to use, propagate, modify
1088
+ or convey a specific copy of the covered work, then the patent license
1089
+ you grant is automatically extended to all recipients of the covered
1090
+ work and works based on it.
1091
+
1092
+ A patent license is "discriminatory" if it does not include within
1093
+ the scope of its coverage, prohibits the exercise of, or is
1094
+ conditioned on the non-exercise of one or more of the rights that are
1095
+ specifically granted under this License. You may not convey a covered
1096
+ work if you are a party to an arrangement with a third party that is
1097
+ in the business of distributing software, under which you make payment
1098
+ to the third party based on the extent of your activity of conveying
1099
+ the work, and under which the third party grants, to any of the
1100
+ parties who would receive the covered work from you, a discriminatory
1101
+ patent license (a) in connection with copies of the covered work
1102
+ conveyed by you (or copies made from those copies), or (b) primarily
1103
+ for and in connection with specific products or compilations that
1104
+ contain the covered work, unless you entered into that arrangement,
1105
+ or that patent license was granted, prior to 28 March 2007.
1106
+
1107
+ Nothing in this License shall be construed as excluding or limiting
1108
+ any implied license or other defenses to infringement that may
1109
+ otherwise be available to you under applicable patent law.
1110
+
1111
+ 12. No Surrender of Others' Freedom.
1112
+
1113
+ If conditions are imposed on you (whether by court order, agreement or
1114
+ otherwise) that contradict the conditions of this License, they do not
1115
+ excuse you from the conditions of this License. If you cannot convey a
1116
+ covered work so as to satisfy simultaneously your obligations under this
1117
+ License and any other pertinent obligations, then as a consequence you may
1118
+ not convey it at all. For example, if you agree to terms that obligate you
1119
+ to collect a royalty for further conveying from those to whom you convey
1120
+ the Program, the only way you could satisfy both those terms and this
1121
+ License would be to refrain entirely from conveying the Program.
1122
+
1123
+ 13. Use with the GNU Affero General Public License.
1124
+
1125
+ Notwithstanding any other provision of this License, you have
1126
+ permission to link or combine any covered work with a work licensed
1127
+ under version 3 of the GNU Affero General Public License into a single
1128
+ combined work, and to convey the resulting work. The terms of this
1129
+ License will continue to apply to the part which is the covered work,
1130
+ but the special requirements of the GNU Affero General Public License,
1131
+ section 13, concerning interaction through a network will apply to the
1132
+ combination as such.
1133
+
1134
+ 14. Revised Versions of this License.
1135
+
1136
+ The Free Software Foundation may publish revised and/or new versions of
1137
+ the GNU General Public License from time to time. Such new versions will
1138
+ be similar in spirit to the present version, but may differ in detail to
1139
+ address new problems or concerns.
1140
+
1141
+ Each version is given a distinguishing version number. If the
1142
+ Program specifies that a certain numbered version of the GNU General
1143
+ Public License "or any later version" applies to it, you have the
1144
+ option of following the terms and conditions either of that numbered
1145
+ version or of any later version published by the Free Software
1146
+ Foundation. If the Program does not specify a version number of the
1147
+ GNU General Public License, you may choose any version ever published
1148
+ by the Free Software Foundation.
1149
+
1150
+ If the Program specifies that a proxy can decide which future
1151
+ versions of the GNU General Public License can be used, that proxy's
1152
+ public statement of acceptance of a version permanently authorizes you
1153
+ to choose that version for the Program.
1154
+
1155
+ Later license versions may give you additional or different
1156
+ permissions. However, no additional obligations are imposed on any
1157
+ author or copyright holder as a result of your choosing to follow a
1158
+ later version.
1159
+
1160
+ 15. Disclaimer of Warranty.
1161
+
1162
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
1163
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
1164
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
1165
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
1166
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1167
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
1168
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
1169
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1170
+
1171
+ 16. Limitation of Liability.
1172
+
1173
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1174
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
1175
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
1176
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
1177
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
1178
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
1179
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
1180
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
1181
+ SUCH DAMAGES.
1182
+
1183
+ 17. Interpretation of Sections 15 and 16.
1184
+
1185
+ If the disclaimer of warranty and limitation of liability provided
1186
+ above cannot be given local legal effect according to their terms,
1187
+ reviewing courts shall apply local law that most closely approximates
1188
+ an absolute waiver of all civil liability in connection with the
1189
+ Program, unless a warranty or assumption of liability accompanies a
1190
+ copy of the Program in return for a fee.
1191
+
1192
+ END OF TERMS AND CONDITIONS
1193
+ "
1194
+ `;
1195
+
1196
+ exports[`preset should use angular preset 11`] = `
1197
+ "
1198
+ dist
1199
+ coverage
1200
+ .angular
1201
+ .yarn
1202
+ *.handlebars
1203
+ node_modules
1204
+ tmp
1205
+ tmp.*
1206
+ .nx
1207
+ .nyc_output
1208
+ "
1209
+ `;
1210
+
1211
+ exports[`preset should use angular preset 12`] = `
1212
+ "{
1213
+ "name": "workspace",
1214
+ "$schema": "node_modules/nx/schemas/project-schema.json",
1215
+ "targets": {
1216
+ "ci-info": {
1217
+ "executor": "@rxap/plugin-workspace:ci-info",
1218
+ "inputs": [
1219
+ {
1220
+ "env": "CI_COMMIT_TIMESTAMP"
1221
+ },
1222
+ {
1223
+ "env": "CI_COMMIT_BRANCH"
1224
+ },
1225
+ {
1226
+ "env": "CI_COMMIT_TAG"
1227
+ },
1228
+ {
1229
+ "env": "CI_COMMIT_SHA"
1230
+ },
1231
+ {
1232
+ "env": "CI_ENVIRONMENT_NAME"
1233
+ },
1234
+ {
1235
+ "env": "CI_JOB_ID"
1236
+ },
1237
+ {
1238
+ "env": "CI_PIPELINE_ID"
1239
+ },
1240
+ {
1241
+ "env": "CI_PROJECT_ID"
1242
+ },
1243
+ {
1244
+ "env": "CI_RUNNER_ID"
1245
+ },
1246
+ {
1247
+ "env": "CI_ENVIRONMENT_URL"
1248
+ },
1249
+ {
1250
+ "env": "CI_ENVIRONMENT_TIER"
1251
+ },
1252
+ {
1253
+ "env": "CI_ENVIRONMENT_SLUG"
1254
+ },
1255
+ {
1256
+ "env": "CI_COMMIT_REF_SLUG"
1257
+ }
1258
+ ],
1259
+ "outputs": ["{workspaceRoot}/dist/**/build.json"]
1260
+ },
1261
+ "docker-compose": {
1262
+ "executor": "@rxap/plugin-library:run-generator",
1263
+ "options": {
1264
+ "generator": "@rxap/plugin-workspace:docker-compose",
1265
+ "withoutProjectArgument": true
1266
+ }
1267
+ }
1268
+ }
1269
+ }
1270
+ "
1271
+ `;
1272
+
1273
+ exports[`preset should use angular preset 13`] = `
1274
+ "{
1275
+ "root": true,
1276
+ "ignorePatterns": ["**/*"],
1277
+ "plugins": ["@nx"],
1278
+ "overrides": [
1279
+ {
1280
+ "files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
1281
+ "rules": {
1282
+ "@nx/enforce-module-boundaries": [
1283
+ "error",
1284
+ {
1285
+ "enforceBuildableLibDependency": true,
1286
+ "allow": [],
1287
+ "depConstraints": [
1288
+ {
1289
+ "sourceTag": "*",
1290
+ "onlyDependOnLibsWithTags": ["*"]
1291
+ }
1292
+ ]
1293
+ }
1294
+ ]
1295
+ }
1296
+ },
1297
+ {
1298
+ "files": ["*.ts", "*.tsx"],
1299
+ "extends": ["plugin:@nx/typescript"],
1300
+ "rules": {}
1301
+ },
1302
+ {
1303
+ "files": ["*.js", "*.jsx"],
1304
+ "extends": ["plugin:@nx/javascript"],
1305
+ "rules": {}
1306
+ },
1307
+ {
1308
+ "files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"],
1309
+ "env": {
1310
+ "jest": true
1311
+ },
1312
+ "rules": {}
1313
+ }
1314
+ ]
1315
+ }
1316
+ "
1317
+ `;
1318
+
1319
+ exports[`preset should use angular preset 14`] = `
1320
+ "node_modules
1321
+ "
1322
+ `;
1323
+
1324
+ exports[`preset should use angular preset 15`] = `
1325
+ "const nxPreset = require('@nx/jest/preset').default;
1326
+
1327
+ module.exports = { ...nxPreset };
1328
+ "
1329
+ `;
1330
+
1331
+ exports[`preset should use angular preset 16`] = `
1332
+ "import { getJestProjectsAsync } from '@nx/jest';
1333
+
1334
+ export default async () => ({
1335
+ projects: await getJestProjectsAsync(),
1336
+ });
1337
+ "
1338
+ `;
1339
+
1340
+ exports[`preset should use angular preset 17`] = `null`;
1341
+
1342
+ exports[`preset should use angular preset 18`] = `
1343
+ [
1344
+ "components",
1345
+ "forms",
1346
+ "controls",
1347
+ "tables",
1348
+ "methods",
1349
+ "data-sources",
1350
+ "pipes",
1351
+ "directives",
1352
+ "guards",
1353
+ "services",
1354
+ "application-providers",
1355
+ "testing",
1356
+ "resolvers",
1357
+ "http-interceptors",
1358
+ ]
1359
+ `;