shadscan-vue 0.2.1 → 0.3.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/CHANGELOG.md +19 -0
- package/README.md +8 -2
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.1](https://github.com/vinayakkulkarni/shadscan-vue/compare/v0.3.0...v0.3.1) (2026-07-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **www:** generate the changelog page and stop hardcoding counts ([18b7923](https://github.com/vinayakkulkarni/shadscan-vue/commit/18b792329106ad1dea7734eae14091d1e67f5c7a))
|
|
9
|
+
|
|
10
|
+
## [0.3.0](https://github.com/vinayakkulkarni/shadscan-vue/compare/v0.2.1...v0.3.0) (2026-07-26)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **scan:** skip illustrative directories ([50fec75](https://github.com/vinayakkulkarni/shadscan-vue/commit/50fec753c75378e5dede5ce65bf69e09aed41c39))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Documentation
|
|
19
|
+
|
|
20
|
+
* reference the action by its moving major tag ([0ee2d7d](https://github.com/vinayakkulkarni/shadscan-vue/commit/0ee2d7d0d503cb3d68312f5172a53da00bbf19c6))
|
|
21
|
+
|
|
3
22
|
## [0.2.1](https://github.com/vinayakkulkarni/shadscan-vue/compare/v0.2.0...v0.2.1) (2026-07-26)
|
|
4
23
|
|
|
5
24
|
|
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ Findings
|
|
|
43
43
|
|
|
44
44
|
## Scoring
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
62 rules across six weighted categories:
|
|
47
47
|
|
|
48
48
|
| Category | Weight |
|
|
49
49
|
| -------------------- | -----: |
|
|
@@ -84,11 +84,17 @@ Exit codes are `0` (completed) and `1` (threshold not met, or an error).
|
|
|
84
84
|
`--fail-under` also fails when the score is unassessed or when source coverage
|
|
85
85
|
was partial, so a silently-skipped scan cannot pass a gate.
|
|
86
86
|
|
|
87
|
+
Illustrative code is skipped, because a deliberately minimal example documents
|
|
88
|
+
an API rather than shipping a surface: `demo/`, `demos/`, `example/`,
|
|
89
|
+
`examples/`, `__registry__/`, and underscore-prefixed directories, alongside
|
|
90
|
+
tests, fixtures, stories, and generated files. Matching is on directory names,
|
|
91
|
+
so a component named `DemoBanner.vue` is still audited.
|
|
92
|
+
|
|
87
93
|
There is also a composite action, which writes the score and every failing
|
|
88
94
|
rule to the job summary:
|
|
89
95
|
|
|
90
96
|
```yaml
|
|
91
|
-
- uses: vinayakkulkarni/shadscan-vue@v0
|
|
97
|
+
- uses: vinayakkulkarni/shadscan-vue@v0
|
|
92
98
|
with:
|
|
93
99
|
fail-under: 70
|
|
94
100
|
```
|
package/dist/index.js
CHANGED
|
@@ -64,6 +64,12 @@ const IGNORE_PATTERNS = [
|
|
|
64
64
|
"**/fixtures/**",
|
|
65
65
|
"**/__tests__/**",
|
|
66
66
|
"**/__mocks__/**",
|
|
67
|
+
"**/__registry__/**",
|
|
68
|
+
"**/demo/**",
|
|
69
|
+
"**/demos/**",
|
|
70
|
+
"**/example/**",
|
|
71
|
+
"**/examples/**",
|
|
72
|
+
"**/_*/**",
|
|
67
73
|
"**/*.spec.*",
|
|
68
74
|
"**/*.test.*",
|
|
69
75
|
"**/*.stories.*",
|