@ni/nimble-angular 1.0.0-beta.7 → 1.0.0-beta.70
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/.eslintrc.js +11 -0
- package/README.md +2 -2
- package/package.json +2 -9
package/.eslintrc.js
CHANGED
|
@@ -17,6 +17,17 @@ module.exports = {
|
|
|
17
17
|
createDefaultProgram: true
|
|
18
18
|
},
|
|
19
19
|
rules: {
|
|
20
|
+
// Add "ControlValueAccessor" as a permitted suffix for directives since we want them to match Angular's naming convention
|
|
21
|
+
"@angular-eslint/directive-class-suffix": ["error", {suffixes: ["Directive", "ControlValueAccessor"]}]
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
files: [
|
|
26
|
+
'*.spec.ts'
|
|
27
|
+
],
|
|
28
|
+
rules: {
|
|
29
|
+
// No value in requiring a selector for components that are only used within a test file
|
|
30
|
+
"@angular-eslint/use-component-selector": "off"
|
|
20
31
|
}
|
|
21
32
|
},
|
|
22
33
|
{
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<p
|
|
2
|
+
<p><b>ni | nimble | angular</b></p>
|
|
3
3
|
</div>
|
|
4
4
|
|
|
5
5
|
# Nimble Angular
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
NI-styled UI components for Angular applications
|
|
10
10
|
|
|
11
|
-
## Getting
|
|
11
|
+
## Getting started
|
|
12
12
|
|
|
13
13
|
You are currently required to set `"buildOptimizer": "false"` in `angular.json`. See [#18](https://github.com/ni/nimble/issues/18) for more info.
|
|
14
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/nimble-angular",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.70",
|
|
4
4
|
"description": "Angular components for the NI Nimble Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,18 +18,11 @@
|
|
|
18
18
|
"@angular/common": "^12.1.0",
|
|
19
19
|
"@angular/core": "^12.1.0",
|
|
20
20
|
"@angular/forms": "^12.1.0",
|
|
21
|
-
"@
|
|
22
|
-
"@ni/nimble-components": "^1.0.0-beta.7"
|
|
21
|
+
"@ni/nimble-components": "^1.0.0-beta.65"
|
|
23
22
|
},
|
|
24
23
|
"dependencies": {
|
|
25
24
|
"tslib": "^2.2.0"
|
|
26
25
|
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"@ni/eslint-config": "^1.0.0",
|
|
29
|
-
"@typescript-eslint/eslint-plugin": "^4.23.0",
|
|
30
|
-
"eslint": "^7.29.0",
|
|
31
|
-
"eslint-plugin-import": "^2.23.4"
|
|
32
|
-
},
|
|
33
26
|
"files": [
|
|
34
27
|
"bundles/**",
|
|
35
28
|
"components/**",
|