@truenas/ui-components 0.7.14 → 0.8.1
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/fesm2022/truenas-ui-components.mjs +28573 -30484
- package/fesm2022/truenas-ui-components.mjs.map +1 -1
- package/package.json +7 -6
- package/scripts/jest.config.ts +11 -0
- package/types/truenas-ui-components.d.ts +16290 -13462
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truenas/ui-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org",
|
|
6
6
|
"access": "public"
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"truenas-icons": "scripts/icon-sprite/cli.js"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@angular/cdk": "^
|
|
17
|
-
"@angular/common": "^
|
|
18
|
-
"@angular/core": "^
|
|
19
|
-
"@angular/router": "^
|
|
16
|
+
"@angular/cdk": "^22.0.0",
|
|
17
|
+
"@angular/common": "^22.0.0",
|
|
18
|
+
"@angular/core": "^22.0.0",
|
|
19
|
+
"@angular/router": "^22.0.0",
|
|
20
20
|
"@mdi/angular-material": "^7.2.96",
|
|
21
21
|
"@mdi/js": "^7.4.47"
|
|
22
22
|
},
|
|
@@ -43,5 +43,6 @@
|
|
|
43
43
|
"types": "./types/truenas-ui-components.d.ts",
|
|
44
44
|
"default": "./fesm2022/truenas-ui-components.mjs"
|
|
45
45
|
}
|
|
46
|
-
}
|
|
46
|
+
},
|
|
47
|
+
"type": "module"
|
|
47
48
|
}
|
package/scripts/jest.config.ts
CHANGED
|
@@ -10,13 +10,24 @@ import type { Config } from 'jest';
|
|
|
10
10
|
* inside a project config resolves to that project's own directory: each package keeps
|
|
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
|
+
*
|
|
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.
|
|
13
18
|
*/
|
|
14
19
|
const config: Config = {
|
|
15
20
|
projects: [
|
|
16
21
|
'<rootDir>/harness-docs/jest.config.ts',
|
|
17
22
|
'<rootDir>/icon-sprite/jest.config.ts',
|
|
18
23
|
'<rootDir>/release-config/jest.config.ts',
|
|
24
|
+
'<rootDir>/../../../scripts/ci/jest.config.ts',
|
|
19
25
|
],
|
|
26
|
+
// See `projects/truenas-ui/jest.config.ts` for what the second reporter does.
|
|
27
|
+
// It goes on this config rather than on the per-package ones above because
|
|
28
|
+
// the annotation limit is per step: one reporter watching the whole run is
|
|
29
|
+
// what can decide which failures to summarise.
|
|
30
|
+
reporters: ['default', '<rootDir>/../../../scripts/ci/github-annotations-reporter.cjs'],
|
|
20
31
|
};
|
|
21
32
|
|
|
22
33
|
export default config;
|