nuxt-safe-runtime-config 0.0.16 → 0.0.17

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/dist/eslint.d.mts CHANGED
@@ -1,14 +1,5 @@
1
1
  import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
2
2
 
3
- declare const plugin: {
4
- meta: {
5
- name: string;
6
- };
7
- rules: {
8
- 'prefer-safe-runtime-config': _typescript_eslint_utils_ts_eslint.RuleModule<"preferSafe", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
9
- };
10
- };
11
-
12
3
  declare const configs: {
13
4
  recommended: {
14
5
  plugins: {
@@ -26,5 +17,30 @@ declare const configs: {
26
17
  };
27
18
  };
28
19
  };
20
+ declare const _default: {
21
+ configs: {
22
+ recommended: {
23
+ plugins: {
24
+ 'safe-runtime-config': {
25
+ meta: {
26
+ name: string;
27
+ };
28
+ rules: {
29
+ 'prefer-safe-runtime-config': _typescript_eslint_utils_ts_eslint.RuleModule<"preferSafe", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
30
+ };
31
+ };
32
+ };
33
+ rules: {
34
+ 'safe-runtime-config/prefer-safe-runtime-config': string;
35
+ };
36
+ };
37
+ };
38
+ meta: {
39
+ name: string;
40
+ };
41
+ rules: {
42
+ 'prefer-safe-runtime-config': _typescript_eslint_utils_ts_eslint.RuleModule<"preferSafe", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
43
+ };
44
+ };
29
45
 
30
- export { configs, plugin as default };
46
+ export { configs, _default as default };
package/dist/eslint.d.ts CHANGED
@@ -1,14 +1,5 @@
1
1
  import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
2
2
 
3
- declare const plugin: {
4
- meta: {
5
- name: string;
6
- };
7
- rules: {
8
- 'prefer-safe-runtime-config': _typescript_eslint_utils_ts_eslint.RuleModule<"preferSafe", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
9
- };
10
- };
11
-
12
3
  declare const configs: {
13
4
  recommended: {
14
5
  plugins: {
@@ -26,5 +17,30 @@ declare const configs: {
26
17
  };
27
18
  };
28
19
  };
20
+ declare const _default: {
21
+ configs: {
22
+ recommended: {
23
+ plugins: {
24
+ 'safe-runtime-config': {
25
+ meta: {
26
+ name: string;
27
+ };
28
+ rules: {
29
+ 'prefer-safe-runtime-config': _typescript_eslint_utils_ts_eslint.RuleModule<"preferSafe", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
30
+ };
31
+ };
32
+ };
33
+ rules: {
34
+ 'safe-runtime-config/prefer-safe-runtime-config': string;
35
+ };
36
+ };
37
+ };
38
+ meta: {
39
+ name: string;
40
+ };
41
+ rules: {
42
+ 'prefer-safe-runtime-config': _typescript_eslint_utils_ts_eslint.RuleModule<"preferSafe", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
43
+ };
44
+ };
29
45
 
30
- export { configs, plugin as default };
46
+ export { configs, _default as default };
package/dist/eslint.mjs CHANGED
@@ -34,5 +34,6 @@ const configs = {
34
34
  rules: { "safe-runtime-config/prefer-safe-runtime-config": "warn" }
35
35
  }
36
36
  };
37
+ const index = { ...plugin, configs };
37
38
 
38
- export { configs, plugin as default };
39
+ export { configs, index as default };
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.0.0"
6
6
  },
7
- "version": "0.0.16",
7
+ "version": "0.0.17",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.1",
10
10
  "unbuild": "3.5.0"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-safe-runtime-config",
3
3
  "type": "module",
4
- "version": "0.0.16",
4
+ "version": "0.0.17",
5
5
  "description": "Validate Nuxt runtime config with Standard Schema at build time",
6
6
  "author": {
7
7
  "name": "onmax"