tsdown-preset-sxzz 0.4.2 → 0.6.0

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 (2) hide show
  1. package/dist/index.mjs +6 -3
  2. package/package.json +11 -11
package/dist/index.mjs CHANGED
@@ -1,3 +1,6 @@
1
+ import * as attw from "@arethetypeswrong/core";
2
+ import * as publint from "publint";
3
+ import * as publintUtils from "publint/utils";
1
4
  import { mergeConfig } from "tsdown/config";
2
5
  //#region src/index.ts
3
6
  function lib({ entry = "index", inlineDeps = [] } = {}, overrides = {}) {
@@ -9,12 +12,12 @@ function lib({ entry = "index", inlineDeps = [] } = {}, overrides = {}) {
9
12
  exports: true,
10
13
  publint: {
11
14
  enabled: "ci-only",
12
- resolvePaths: [import.meta.dirname]
15
+ module: [publint, publintUtils]
13
16
  },
14
17
  attw: {
15
18
  enabled: "ci-only",
16
- resolvePaths: [import.meta.dirname],
17
- profile: "esm-only"
19
+ profile: "esm-only",
20
+ module: attw
18
21
  }
19
22
  }, overrides);
20
23
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tsdown-preset-sxzz",
3
3
  "type": "module",
4
- "version": "0.4.2",
4
+ "version": "0.6.0",
5
5
  "description": "An opinionated preset for tsdown.",
6
6
  "author": "Kevin Deng <sxzz@sxzz.moe>",
7
7
  "license": "MIT",
@@ -29,22 +29,22 @@
29
29
  "node": ">=20.19.0"
30
30
  },
31
31
  "peerDependencies": {
32
- "tsdown": "^0.21.2"
32
+ "tsdown": "^0.22.0"
33
33
  },
34
34
  "dependencies": {
35
35
  "@arethetypeswrong/core": "^0.18.2",
36
- "publint": "^0.3.18"
36
+ "publint": "^0.3.19"
37
37
  },
38
38
  "devDependencies": {
39
- "@sxzz/eslint-config": "^7.8.3",
39
+ "@sxzz/eslint-config": "^8.0.0",
40
40
  "@sxzz/prettier-config": "^2.3.1",
41
- "@types/node": "^25.4.0",
42
- "@typescript/native-preview": "7.0.0-dev.20260311.1",
43
- "bumpp": "^10.4.1",
44
- "eslint": "^10.0.3",
45
- "prettier": "^3.8.1",
46
- "tsdown": "^0.21.2",
47
- "typescript": "^5.9.3"
41
+ "@types/node": "^25.6.0",
42
+ "@typescript/native-preview": "7.0.0-dev.20260507.1",
43
+ "bumpp": "^11.1.0",
44
+ "eslint": "^10.3.0",
45
+ "prettier": "^3.8.3",
46
+ "tsdown": "^0.22.0",
47
+ "typescript": "^6.0.3"
48
48
  },
49
49
  "prettier": "@sxzz/prettier-config",
50
50
  "scripts": {