voss-node-configs 1.0.45 → 1.0.47

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/back-end.js CHANGED
@@ -49,9 +49,10 @@ export default [
49
49
  },
50
50
  },
51
51
  {
52
- // Override for CLI directories - allow process.exit() for proper CLI error handling
53
- files: ['**/cli/**/*.ts', '**/cli/**/*.tsx', '**/cli/**/*.js', '**/cli/**/*.jsx'],
52
+ // Override for scripts/cli/migrations - allow sync operations and process.exit() for proper CLI/script error handling
53
+ files: ['scripts/**/*', 'cli/**/*', 'migrations/**/*'],
54
54
  rules: {
55
+ 'no-sync': 'off',
55
56
  'no-process-exit': 'off',
56
57
  },
57
58
  },
package/front-end.js CHANGED
@@ -24,4 +24,11 @@ export default [
24
24
  }],
25
25
  },
26
26
  },
27
+ // Playwright config and tests run in Node; use Node globals (e.g. process)
28
+ {
29
+ files: ['playwright.config.ts', 'tests/**/*.ts'],
30
+ languageOptions: {
31
+ globals: { ...globals.node },
32
+ },
33
+ },
27
34
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "voss-node-configs",
3
- "version": "1.0.45",
3
+ "version": "1.0.47",
4
4
  "description": "Shared TypeScript and ESLint configs for Node.js projects",
5
5
  "exports": {
6
6
  "./tsconfig.base": "./tsconfig.base.json",
@@ -4,5 +4,12 @@
4
4
  "noEmit": true,
5
5
  "allowImportingTsExtensions": true
6
6
  },
7
- "include": ["src"]
7
+ "include": [
8
+ "src/**/*.ts",
9
+ "src/**/*.tsx",
10
+ "**/*.d.ts",
11
+ "vite.config.ts",
12
+ "playwright.config.ts",
13
+ "tests/**/*.ts"
14
+ ]
8
15
  }