5etools-utils 0.17.1 → 0.17.3

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.
@@ -2,7 +2,7 @@ import js from "@eslint/js";
2
2
  import globals from "globals";
3
3
  import pluginVetJquery from "./eslint-plugin-jquery.js";
4
4
  import {ESLINT_RULES_BASE} from "./eslint-config-rules.js";
5
- import {ESLINT_GLOBALS_FOUNDRY, ESLINT_GLOBALS_VETOOLS} from "./eslint-globals.js";
5
+ import {ESLINT_GLOBALS_DEV, ESLINT_GLOBALS_FOUNDRY, ESLINT_GLOBALS_VETOOLS} from "./eslint-globals.js";
6
6
 
7
7
  const _FILES_JS = ["**/*.js", "**/*.cjs", "**/*.mjs"];
8
8
 
@@ -45,6 +45,13 @@ export const ESLINT_CONFIG_JEST = {
45
45
  },
46
46
  };
47
47
 
48
+ export const ESLINT_CONFIG_DEV = {
49
+ files: _FILES_JS,
50
+ languageOptions: {
51
+ globals: ESLINT_GLOBALS_DEV,
52
+ },
53
+ };
54
+
48
55
  export const ESLINT_CONFIG_VETOOLS = {
49
56
  files: _FILES_JS,
50
57
  languageOptions: {
@@ -4,6 +4,15 @@ export const getEslintGlobals = names => names
4
4
  return accum;
5
5
  }, {});
6
6
 
7
+ export const ESLINT_GLOBALS_DEV = getEslintGlobals([
8
+ "copy",
9
+ "DATA",
10
+ "fs",
11
+ "IPT",
12
+ "listFiles",
13
+ "OUT",
14
+ ]);
15
+
7
16
  export const ESLINT_GLOBALS_VETOOLS = getEslintGlobals([
8
17
  "$",
9
18
  "_SEO_PAGE",
@@ -18,6 +27,7 @@ export const ESLINT_GLOBALS_VETOOLS = getEslintGlobals([
18
27
  "BrewUtil2",
19
28
  "BrewUtilShared",
20
29
  "BrowserUtil",
30
+ "CacheUtil",
21
31
  "CleanUtil",
22
32
  "CollectionUtil",
23
33
  "Color",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.17.1",
3
+ "version": "0.17.3",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",