@ilyasemenov/oxc-config 0.1.1 → 0.1.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.
package/dist/eslint.d.mts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { Linter } from "eslint";
2
- //#region src/eslint.d.ts
3
2
  /** Options for the Vue SFC configuration. */
4
3
  export interface EslintOptions {
5
4
  /**
@@ -10,5 +9,4 @@ export interface EslintOptions {
10
9
  vuePug?: boolean;
11
10
  }
12
11
  /** Create Vue SFC rules complementing oxlint, with optional Pug support. */
13
- export default function createConfig({ vuePug }?: EslintOptions): Promise<Linter.Config[]>;
14
- //#endregion
12
+ export default function createConfig({ vuePug }?: EslintOptions): Promise<Linter.Config[]>;
package/dist/eslint.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { vue } from "@antfu/eslint-config";
2
2
  import { defineConfig } from "eslint/config";
3
3
  import tseslint from "typescript-eslint";
4
- //#region src/eslint.ts
4
+ // src/eslint.ts
5
5
  /** Create Vue SFC rules complementing oxlint, with optional Pug support. */
6
6
  async function createConfig({ vuePug = false } = {}) {
7
7
  const configs = defineConfig(await vue({
@@ -48,5 +48,4 @@ async function createConfig({ vuePug = false } = {}) {
48
48
  extends: configs
49
49
  });
50
50
  }
51
- //#endregion
52
51
  export { createConfig as default };
package/dist/oxfmt.d.mts CHANGED
@@ -1,8 +1,6 @@
1
- //#region src/oxfmt.d.ts
2
1
  /** Shared formatting; import sorting belongs to oxlint. */
3
2
  declare const _default: {
4
3
  arrowParens: "avoid";
5
4
  semi: false;
6
5
  };
7
- //#endregion
8
6
  export { _default as default };
package/dist/oxfmt.mjs CHANGED
@@ -1,9 +1,8 @@
1
1
  import { defineConfig } from "oxfmt";
2
- //#region src/oxfmt.ts
2
+ // src/oxfmt.ts
3
3
  /** Shared formatting; import sorting belongs to oxlint. */
4
4
  var oxfmt_default = defineConfig({
5
5
  arrowParens: "avoid",
6
6
  semi: false
7
7
  });
8
- //#endregion
9
8
  export { oxfmt_default as default };
package/dist/oxlint.d.mts CHANGED
@@ -1,4 +1,3 @@
1
- //#region src/oxlint.d.ts
2
1
  /** Import sorting and Vue script rules, paired with the ESLint entry point. */
3
2
  declare const _default: {
4
3
  jsPlugins: string[];
@@ -27,5 +26,4 @@ declare const _default: {
27
26
  };
28
27
  }[];
29
28
  };
30
- //#endregion
31
29
  export { _default as default };
package/dist/oxlint.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Alphabet } from "eslint-plugin-perfectionist/alphabet";
2
2
  import { defineConfig } from "oxlint";
3
- //#region src/oxlint.ts
3
+ // src/oxlint.ts
4
4
  const alphabet = Alphabet.generateRecommendedAlphabet().sortByNaturalSort().placeCharacterBefore({
5
5
  characterBefore: "/",
6
6
  characterAfter: "-"
@@ -44,5 +44,4 @@ var oxlint_default = defineConfig({
44
44
  rules: { "no-unused-vars": "off" }
45
45
  }]
46
46
  });
47
- //#endregion
48
47
  export { oxlint_default as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ilyasemenov/oxc-config",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Reusable oxlint, oxfmt, and ESLint configurations for projects I develop or oversee",
5
5
  "homepage": "https://github.com/IlyaSemenov/oxc-config#readme",
6
6
  "bugs": "https://github.com/IlyaSemenov/oxc-config/issues",
@@ -15,6 +15,7 @@
15
15
  "dist"
16
16
  ],
17
17
  "type": "module",
18
+ "sideEffects": false,
18
19
  "exports": {
19
20
  "./oxlint": {
20
21
  "types": "./dist/oxlint.d.mts",
@@ -27,44 +28,47 @@
27
28
  "./eslint": {
28
29
  "types": "./dist/eslint.d.mts",
29
30
  "import": "./dist/eslint.mjs"
30
- }
31
+ },
32
+ "./package.json": "./package.json"
31
33
  },
32
34
  "publishConfig": {
33
- "access": "public",
34
- "provenance": true
35
+ "access": "public"
35
36
  },
36
37
  "scripts": {
37
38
  "build": "tsdown",
38
39
  "prepare": "lefthook install",
39
- "types": "tsc && tsc -p tests/tsconfig.json",
40
+ "types": "bun check && bun check -p tests",
40
41
  "test": "bun test",
41
42
  "prepublishOnly": "bun run build",
43
+ "release": "changesets-local",
44
+ "release:check": "bun run build && bun run types && bun run test",
42
45
  "lint": "oxlint --fix && oxfmt",
43
46
  "lint:check": "oxlint && oxfmt --check"
44
47
  },
45
48
  "dependencies": {
46
- "eslint-plugin-perfectionist": "^5.12.1"
49
+ "eslint-plugin-perfectionist": "^5.13.0"
47
50
  },
48
51
  "devDependencies": {
49
- "@antfu/eslint-config": "^9.5.1",
52
+ "@antfu/eslint-config": "^10.0.0",
50
53
  "@arethetypeswrong/core": "^0.18.5",
51
54
  "@changesets/cli": "^3.0.3",
52
- "@tsconfig/bun": "^1.0.11",
53
- "@types/bun": "^1.4.2",
54
- "eslint": "^10.11.0",
55
+ "@tsconfig/bun": "^1.0.12",
56
+ "@types/bun": "^1.4.4",
57
+ "changesets-local": "^1.6.0",
58
+ "eslint": "^10.14.0",
55
59
  "eslint-plugin-vue-pug": "^1.0.0-alpha.6",
56
- "oxfmt": "^0.71.0",
57
- "oxlint": "^1.86.0",
58
- "publint": "^0.3.24",
59
- "tsdown": "^0.23.0",
60
+ "oxfmt": "^0.78.0",
61
+ "oxlint": "^1.93.0",
62
+ "publint": "^0.3.25",
63
+ "tsdown": "^0.23.7",
60
64
  "typescript": "~6.0.3",
61
- "typescript-eslint": "^8.71.0"
65
+ "typescript-eslint": "^8.72.2"
62
66
  },
63
67
  "peerDependencies": {
64
- "@antfu/eslint-config": "^9.5.1",
68
+ "@antfu/eslint-config": "^9.5.1 || ^10.0.0",
65
69
  "eslint": "^10.11.0",
66
70
  "eslint-plugin-vue-pug": "^1.0.0-alpha.6",
67
- "oxfmt": "^0.71.0",
71
+ "oxfmt": ">=0.71.0 <1",
68
72
  "oxlint": "^1.86.0",
69
73
  "typescript-eslint": "^8.71.0"
70
74
  },
@@ -85,5 +89,5 @@
85
89
  "engines": {
86
90
  "node": "^20.19.0 || ^22.18.0 || >=24.0.0"
87
91
  },
88
- "packageManager": "bun@1.4.2"
92
+ "packageManager": "bun@1.4.4"
89
93
  }