@truenas/ui-components 0.8.1 → 0.8.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truenas/ui-components",
3
- "version": "0.8.1",
3
+ "version": "0.8.3",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org",
6
6
  "access": "public"
@@ -16,9 +16,11 @@
16
16
  "@angular/cdk": "^22.0.0",
17
17
  "@angular/common": "^22.0.0",
18
18
  "@angular/core": "^22.0.0",
19
+ "@angular/forms": "^22.0.0",
19
20
  "@angular/router": "^22.0.0",
20
21
  "@mdi/angular-material": "^7.2.96",
21
- "@mdi/js": "^7.4.47"
22
+ "@mdi/js": "^7.4.47",
23
+ "rxjs": "^7.5.0"
22
24
  },
23
25
  "dependencies": {
24
26
  "@material-design-icons/svg": "~0.14.13",
@@ -11,10 +11,13 @@ import type { Config } from 'jest';
11
11
  * pointing ts-jest at its own `tsconfig.json`, and adding the next one costs a line here
12
12
  * rather than a merge of compiler options.
13
13
  *
14
- * `../../../scripts/ci` is the one project outside this directory. It has to be: the
15
- * `release` job treats everything under `projects/truenas-ui/scripts/**` as library
16
- * source, so a CI-only reporter placed here would cut a release of the published
17
- * package every time it changed.
14
+ * Two projects live outside this directory, and both have to. The `release` job treats
15
+ * everything under `projects/truenas-ui/scripts/**` as library source, and
16
+ * `ng-package.json` copies it into the published package as an asset — so a test placed
17
+ * here ships to consumers and cuts a release every time it changes.
18
+ *
19
+ * - `../../../scripts/ci` — the CI-only annotations reporter and its tests.
20
+ * - `../../../scripts/package-contract` — what the published `package.json` must declare.
18
21
  */
19
22
  const config: Config = {
20
23
  projects: [
@@ -22,6 +25,7 @@ const config: Config = {
22
25
  '<rootDir>/icon-sprite/jest.config.ts',
23
26
  '<rootDir>/release-config/jest.config.ts',
24
27
  '<rootDir>/../../../scripts/ci/jest.config.ts',
28
+ '<rootDir>/../../../scripts/package-contract/jest.config.ts',
25
29
  ],
26
30
  // See `projects/truenas-ui/jest.config.ts` for what the second reporter does.
27
31
  // It goes on this config rather than on the per-package ones above because