@diegovelasquezweb/a11y-engine 0.4.0 → 0.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diegovelasquezweb/a11y-engine",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "WCAG 2.2 AA accessibility audit engine — scanner, analyzer, and report builders",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -29,15 +29,14 @@
29
29
  "assets/source/**",
30
30
  "assets/generated/**",
31
31
  "docs/**",
32
- "scripts/sync-assets.mjs",
33
32
  "README.md",
34
33
  "CHANGELOG.md",
35
34
  "LICENSE"
36
35
  ],
37
36
  "scripts": {
38
- "sync-assets": "node scripts/sync-assets.mjs",
37
+ "sync-assets": "node src/sync-assets.mjs",
39
38
  "test": "vitest run",
40
- "prepublishOnly": "node scripts/sync-assets.mjs"
39
+ "prepublishOnly": "node src/sync-assets.mjs"
41
40
  },
42
41
  "dependencies": {
43
42
  "@axe-core/playwright": "^4.11.1",
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * sync-assets.mjs
4
4
  * Generates assets/generated/**\/*.mjs from assets/source/**\/*.json.
5
- * Run: node scripts/sync-assets.mjs
5
+ * Run: node src/sync-assets.mjs
6
6
  * Hooked automatically in prepublishOnly.
7
7
  */
8
8
 
@@ -48,7 +48,6 @@ function syncDir(sourceDir, generatedDir) {
48
48
 
49
49
  const content = `export default ${JSON.stringify(data)};\n`;
50
50
 
51
- // Only write if content changed (avoid unnecessary fs writes)
52
51
  let existing = null;
53
52
  try { existing = fs.readFileSync(mjsPath, "utf-8"); } catch { /* new file */ }
54
53