@powerlines/plugin-oxlint 0.7.124 → 0.7.126

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.
Files changed (51) hide show
  1. package/dist/generate-config-BJgmb4Je.mjs +58 -0
  2. package/dist/generate-config-BZjB8irN.cjs +63 -0
  3. package/dist/generate-config-D4g78kIf.d.mts +13 -0
  4. package/dist/generate-config-DZfJM276.d.cts +13 -0
  5. package/dist/helpers/generate-config.cjs +2 -57
  6. package/dist/helpers/generate-config.d.cts +2 -12
  7. package/dist/helpers/generate-config.d.mts +2 -12
  8. package/dist/helpers/generate-config.mjs +1 -56
  9. package/dist/helpers/index.cjs +2 -2
  10. package/dist/helpers/index.d.cts +2 -1
  11. package/dist/helpers/index.d.mts +2 -1
  12. package/dist/helpers/index.mjs +1 -1
  13. package/dist/index-D-CYNcT9.d.mts +1 -0
  14. package/dist/index-D6CnpA_r.d.cts +1 -0
  15. package/dist/index.cjs +2 -0
  16. package/dist/index.d.cts +2 -2
  17. package/dist/index.d.mts +2 -3
  18. package/dist/index.mjs +2 -0
  19. package/dist/plugin-9T2rrnPY.d.mts +1827 -0
  20. package/dist/plugin-DH0uh5wS.d.cts +1827 -0
  21. package/dist/plugin-DHXHjv16.cjs +0 -0
  22. package/dist/plugin-DNsqegEV.mjs +1 -0
  23. package/dist/types/index.cjs +2 -0
  24. package/dist/types/index.d.cts +2 -1
  25. package/dist/types/index.d.mts +2 -1
  26. package/dist/types/index.mjs +3 -0
  27. package/dist/types/plugin.cjs +1 -0
  28. package/dist/types/plugin.d.cts +1 -82
  29. package/dist/types/plugin.d.mts +1 -82
  30. package/dist/types/plugin.mjs +2 -0
  31. package/dist/types-CpP_DWx6.mjs +1 -0
  32. package/dist/types-DHkg7xmX.cjs +0 -0
  33. package/package.json +4 -4
  34. package/dist/powerlines/src/types/babel.d.mts +0 -2
  35. package/dist/powerlines/src/types/build.d.cts +0 -145
  36. package/dist/powerlines/src/types/build.d.mts +0 -145
  37. package/dist/powerlines/src/types/commands.d.cts +0 -8
  38. package/dist/powerlines/src/types/commands.d.mts +0 -9
  39. package/dist/powerlines/src/types/config.d.cts +0 -369
  40. package/dist/powerlines/src/types/config.d.mts +0 -369
  41. package/dist/powerlines/src/types/context.d.cts +0 -403
  42. package/dist/powerlines/src/types/context.d.mts +0 -405
  43. package/dist/powerlines/src/types/fs.d.cts +0 -486
  44. package/dist/powerlines/src/types/fs.d.mts +0 -486
  45. package/dist/powerlines/src/types/hooks.d.mts +0 -2
  46. package/dist/powerlines/src/types/plugin.d.cts +0 -231
  47. package/dist/powerlines/src/types/plugin.d.mts +0 -231
  48. package/dist/powerlines/src/types/resolved.d.cts +0 -81
  49. package/dist/powerlines/src/types/resolved.d.mts +0 -81
  50. package/dist/powerlines/src/types/tsconfig.d.cts +0 -69
  51. package/dist/powerlines/src/types/tsconfig.d.mts +0 -69
@@ -0,0 +1,58 @@
1
+ import { toArray } from "@stryke/convert/neutral";
2
+
3
+ //#region src/helpers/generate-config.ts
4
+ /**
5
+ * Generates an Oxlint configuration file content based on the provided options.
6
+ *
7
+ * @param options - The options for the Oxlint plugin.
8
+ * @returns The generated configuration as a string.
9
+ */
10
+ function generateConfig(options = {}) {
11
+ return `{
12
+ "$schema": "./node_modules/oxlint/configuration_schema.json",
13
+ "plugins": [
14
+ "import",
15
+ "jsdoc",
16
+ "unicorn",
17
+ "typescript",
18
+ "oxc"
19
+ ],
20
+ "ignorePatterns": [
21
+ "crates/**",
22
+ "dist/**",
23
+ "build/**",
24
+ "coverage/**",
25
+ "node_modules/**",
26
+ "temp/**",
27
+ "tests/fixtures/**"${options.ignorePatterns ? `,
28
+ ${toArray(options.ignorePatterns).map((pattern) => `"${pattern}"`).join(",\n ")}` : ""}
29
+ ],
30
+ "rules": {
31
+ "import/named": "error",
32
+ "import/namespace": [
33
+ "error",
34
+ {
35
+ "allowComputed": true
36
+ }
37
+ ],
38
+ "no-unused-expressions": [
39
+ "warn",
40
+ {
41
+ "allowShortCircuit": true,
42
+ "allowTaggedTemplates": true
43
+ }
44
+ ],
45
+ "no-unused-vars": [
46
+ "warn",
47
+ {
48
+ "varsIgnorePattern": "^_",
49
+ "argsIgnorePattern": "^_"
50
+ }
51
+ ],
52
+ "unicorn/prefer-node-protocol": "error"
53
+ }
54
+ }`;
55
+ }
56
+
57
+ //#endregion
58
+ export { generateConfig as t };
@@ -0,0 +1,63 @@
1
+ let __stryke_convert_neutral = require("@stryke/convert/neutral");
2
+
3
+ //#region src/helpers/generate-config.ts
4
+ /**
5
+ * Generates an Oxlint configuration file content based on the provided options.
6
+ *
7
+ * @param options - The options for the Oxlint plugin.
8
+ * @returns The generated configuration as a string.
9
+ */
10
+ function generateConfig(options = {}) {
11
+ return `{
12
+ "$schema": "./node_modules/oxlint/configuration_schema.json",
13
+ "plugins": [
14
+ "import",
15
+ "jsdoc",
16
+ "unicorn",
17
+ "typescript",
18
+ "oxc"
19
+ ],
20
+ "ignorePatterns": [
21
+ "crates/**",
22
+ "dist/**",
23
+ "build/**",
24
+ "coverage/**",
25
+ "node_modules/**",
26
+ "temp/**",
27
+ "tests/fixtures/**"${options.ignorePatterns ? `,
28
+ ${(0, __stryke_convert_neutral.toArray)(options.ignorePatterns).map((pattern) => `"${pattern}"`).join(",\n ")}` : ""}
29
+ ],
30
+ "rules": {
31
+ "import/named": "error",
32
+ "import/namespace": [
33
+ "error",
34
+ {
35
+ "allowComputed": true
36
+ }
37
+ ],
38
+ "no-unused-expressions": [
39
+ "warn",
40
+ {
41
+ "allowShortCircuit": true,
42
+ "allowTaggedTemplates": true
43
+ }
44
+ ],
45
+ "no-unused-vars": [
46
+ "warn",
47
+ {
48
+ "varsIgnorePattern": "^_",
49
+ "argsIgnorePattern": "^_"
50
+ }
51
+ ],
52
+ "unicorn/prefer-node-protocol": "error"
53
+ }
54
+ }`;
55
+ }
56
+
57
+ //#endregion
58
+ Object.defineProperty(exports, 'generateConfig', {
59
+ enumerable: true,
60
+ get: function () {
61
+ return generateConfig;
62
+ }
63
+ });
@@ -0,0 +1,13 @@
1
+ import { n as OxlintPluginOptions } from "./plugin-9T2rrnPY.mjs";
2
+
3
+ //#region src/helpers/generate-config.d.ts
4
+
5
+ /**
6
+ * Generates an Oxlint configuration file content based on the provided options.
7
+ *
8
+ * @param options - The options for the Oxlint plugin.
9
+ * @returns The generated configuration as a string.
10
+ */
11
+ declare function generateConfig(options?: OxlintPluginOptions): string;
12
+ //#endregion
13
+ export { generateConfig as t };
@@ -0,0 +1,13 @@
1
+ import { n as OxlintPluginOptions } from "./plugin-DH0uh5wS.cjs";
2
+
3
+ //#region src/helpers/generate-config.d.ts
4
+
5
+ /**
6
+ * Generates an Oxlint configuration file content based on the provided options.
7
+ *
8
+ * @param options - The options for the Oxlint plugin.
9
+ * @returns The generated configuration as a string.
10
+ */
11
+ declare function generateConfig(options?: OxlintPluginOptions): string;
12
+ //#endregion
13
+ export { generateConfig as t };
@@ -1,58 +1,3 @@
1
- let __stryke_convert_neutral = require("@stryke/convert/neutral");
1
+ const require_generate_config = require('../generate-config-BZjB8irN.cjs');
2
2
 
3
- //#region src/helpers/generate-config.ts
4
- /**
5
- * Generates an Oxlint configuration file content based on the provided options.
6
- *
7
- * @param options - The options for the Oxlint plugin.
8
- * @returns The generated configuration as a string.
9
- */
10
- function generateConfig(options = {}) {
11
- return `{
12
- "$schema": "./node_modules/oxlint/configuration_schema.json",
13
- "plugins": [
14
- "import",
15
- "jsdoc",
16
- "unicorn",
17
- "typescript",
18
- "oxc"
19
- ],
20
- "ignorePatterns": [
21
- "crates/**",
22
- "dist/**",
23
- "build/**",
24
- "coverage/**",
25
- "node_modules/**",
26
- "temp/**",
27
- "tests/fixtures/**"${options.ignorePatterns ? `,
28
- ${(0, __stryke_convert_neutral.toArray)(options.ignorePatterns).map((pattern) => `"${pattern}"`).join(",\n ")}` : ""}
29
- ],
30
- "rules": {
31
- "import/named": "error",
32
- "import/namespace": [
33
- "error",
34
- {
35
- "allowComputed": true
36
- }
37
- ],
38
- "no-unused-expressions": [
39
- "warn",
40
- {
41
- "allowShortCircuit": true,
42
- "allowTaggedTemplates": true
43
- }
44
- ],
45
- "no-unused-vars": [
46
- "warn",
47
- {
48
- "varsIgnorePattern": "^_",
49
- "argsIgnorePattern": "^_"
50
- }
51
- ],
52
- "unicorn/prefer-node-protocol": "error"
53
- }
54
- }`;
55
- }
56
-
57
- //#endregion
58
- exports.generateConfig = generateConfig;
3
+ exports.generateConfig = require_generate_config.generateConfig;
@@ -1,13 +1,3 @@
1
- import { OxlintPluginOptions } from "../types/plugin.cjs";
2
-
3
- //#region src/helpers/generate-config.d.ts
4
-
5
- /**
6
- * Generates an Oxlint configuration file content based on the provided options.
7
- *
8
- * @param options - The options for the Oxlint plugin.
9
- * @returns The generated configuration as a string.
10
- */
11
- declare function generateConfig(options?: OxlintPluginOptions): string;
12
- //#endregion
1
+ import "../plugin-DH0uh5wS.cjs";
2
+ import { t as generateConfig } from "../generate-config-DZfJM276.cjs";
13
3
  export { generateConfig };
@@ -1,13 +1,3 @@
1
- import { OxlintPluginOptions } from "../types/plugin.mjs";
2
-
3
- //#region src/helpers/generate-config.d.ts
4
-
5
- /**
6
- * Generates an Oxlint configuration file content based on the provided options.
7
- *
8
- * @param options - The options for the Oxlint plugin.
9
- * @returns The generated configuration as a string.
10
- */
11
- declare function generateConfig(options?: OxlintPluginOptions): string;
12
- //#endregion
1
+ import "../plugin-9T2rrnPY.mjs";
2
+ import { t as generateConfig } from "../generate-config-D4g78kIf.mjs";
13
3
  export { generateConfig };
@@ -1,58 +1,3 @@
1
- import { toArray } from "@stryke/convert/neutral";
1
+ import { t as generateConfig } from "../generate-config-BJgmb4Je.mjs";
2
2
 
3
- //#region src/helpers/generate-config.ts
4
- /**
5
- * Generates an Oxlint configuration file content based on the provided options.
6
- *
7
- * @param options - The options for the Oxlint plugin.
8
- * @returns The generated configuration as a string.
9
- */
10
- function generateConfig(options = {}) {
11
- return `{
12
- "$schema": "./node_modules/oxlint/configuration_schema.json",
13
- "plugins": [
14
- "import",
15
- "jsdoc",
16
- "unicorn",
17
- "typescript",
18
- "oxc"
19
- ],
20
- "ignorePatterns": [
21
- "crates/**",
22
- "dist/**",
23
- "build/**",
24
- "coverage/**",
25
- "node_modules/**",
26
- "temp/**",
27
- "tests/fixtures/**"${options.ignorePatterns ? `,
28
- ${toArray(options.ignorePatterns).map((pattern) => `"${pattern}"`).join(",\n ")}` : ""}
29
- ],
30
- "rules": {
31
- "import/named": "error",
32
- "import/namespace": [
33
- "error",
34
- {
35
- "allowComputed": true
36
- }
37
- ],
38
- "no-unused-expressions": [
39
- "warn",
40
- {
41
- "allowShortCircuit": true,
42
- "allowTaggedTemplates": true
43
- }
44
- ],
45
- "no-unused-vars": [
46
- "warn",
47
- {
48
- "varsIgnorePattern": "^_",
49
- "argsIgnorePattern": "^_"
50
- }
51
- ],
52
- "unicorn/prefer-node-protocol": "error"
53
- }
54
- }`;
55
- }
56
-
57
- //#endregion
58
3
  export { generateConfig };
@@ -1,3 +1,3 @@
1
- const require_helpers_generate_config = require('./generate-config.cjs');
1
+ const require_generate_config = require('../generate-config-BZjB8irN.cjs');
2
2
 
3
- exports.generateConfig = require_helpers_generate_config.generateConfig;
3
+ exports.generateConfig = require_generate_config.generateConfig;
@@ -1,2 +1,3 @@
1
- import { generateConfig } from "./generate-config.cjs";
1
+ import "../plugin-DH0uh5wS.cjs";
2
+ import { t as generateConfig } from "../generate-config-DZfJM276.cjs";
2
3
  export { generateConfig };
@@ -1,2 +1,3 @@
1
- import { generateConfig } from "./generate-config.mjs";
1
+ import "../plugin-9T2rrnPY.mjs";
2
+ import { t as generateConfig } from "../generate-config-D4g78kIf.mjs";
2
3
  export { generateConfig };
@@ -1,3 +1,3 @@
1
- import { generateConfig } from "./generate-config.mjs";
1
+ import { t as generateConfig } from "../generate-config-BJgmb4Je.mjs";
2
2
 
3
3
  export { generateConfig };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1 @@
1
+ export { };
package/dist/index.cjs CHANGED
@@ -1,4 +1,6 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
+ require('./plugin-DHXHjv16.cjs');
3
+ require('./types-DHkg7xmX.cjs');
2
4
  let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
3
5
  let __stryke_cli_execute = require("@stryke/cli/execute");
4
6
  let __stryke_convert_to_array = require("@stryke/convert/to-array");
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { Plugin } from "./powerlines/src/types/plugin.cjs";
2
- import { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig, __ΩOxlintPluginContext, __ΩOxlintPluginOptions, __ΩOxlintPluginResolvedConfig, __ΩOxlintPluginUserConfig } from "./types/plugin.cjs";
1
+ import { a as __ΩOxlintPluginContext, c as __ΩOxlintPluginUserConfig, i as OxlintPluginUserConfig, l as Plugin, n as OxlintPluginOptions, o as __ΩOxlintPluginOptions, r as OxlintPluginResolvedConfig, s as __ΩOxlintPluginResolvedConfig, t as OxlintPluginContext } from "./plugin-DH0uh5wS.cjs";
2
+ import "./index-D6CnpA_r.cjs";
3
3
 
4
4
  //#region src/index.d.ts
5
5
 
package/dist/index.d.mts CHANGED
@@ -1,6 +1,5 @@
1
- import { Plugin } from "./powerlines/src/types/plugin.mjs";
2
- import { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig, __ΩOxlintPluginContext, __ΩOxlintPluginOptions, __ΩOxlintPluginResolvedConfig, __ΩOxlintPluginUserConfig } from "./types/plugin.mjs";
3
- import "./types/index.mjs";
1
+ import { a as __ΩOxlintPluginContext, c as __ΩOxlintPluginUserConfig, i as OxlintPluginUserConfig, l as Plugin, n as OxlintPluginOptions, o as __ΩOxlintPluginOptions, r as OxlintPluginResolvedConfig, s as __ΩOxlintPluginResolvedConfig, t as OxlintPluginContext } from "./plugin-9T2rrnPY.mjs";
2
+ import "./index-D-CYNcT9.mjs";
4
3
 
5
4
  //#region src/index.d.ts
6
5
 
package/dist/index.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ import "./plugin-DNsqegEV.mjs";
2
+ import "./types-CpP_DWx6.mjs";
1
3
  import { LogLevelLabel } from "@storm-software/config-tools/types";
2
4
  import { execute, executePackage } from "@stryke/cli/execute";
3
5
  import { toArray } from "@stryke/convert/to-array";