@jaredwray/fumanchu 4.6.0 → 4.7.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.
package/package.json CHANGED
@@ -1,29 +1,54 @@
1
1
  {
2
2
  "name": "@jaredwray/fumanchu",
3
3
  "description": "Handlebars + Helpers = Fumanchu",
4
- "version": "4.6.0",
4
+ "version": "4.7.0",
5
5
  "homepage": "https://github.com/jaredwray/fumanchu",
6
6
  "author": "Jared Wray (me@jaredwray.com)",
7
7
  "type": "module",
8
- "main": "dist/index.cjs",
9
- "module": "dist/index.js",
8
+ "main": "dist/index.node.cjs",
9
+ "module": "dist/index.node.mjs",
10
+ "browser": "dist/index.browser.mjs",
10
11
  "exports": {
11
12
  ".": {
12
- "import": "./dist/index.js",
13
- "require": "./dist/index.cjs"
14
- }
13
+ "browser": {
14
+ "types": "./dist/index.browser.d.mts",
15
+ "import": "./dist/index.browser.mjs",
16
+ "require": "./dist/index.browser.cjs",
17
+ "default": "./dist/index.browser.mjs"
18
+ },
19
+ "import": {
20
+ "types": "./dist/index.node.d.mts",
21
+ "default": "./dist/index.node.mjs"
22
+ },
23
+ "require": {
24
+ "types": "./dist/index.node.d.cts",
25
+ "default": "./dist/index.node.cjs"
26
+ }
27
+ },
28
+ "./browser": {
29
+ "import": {
30
+ "types": "./dist/index.browser.d.mts",
31
+ "default": "./dist/index.browser.mjs"
32
+ },
33
+ "require": {
34
+ "types": "./dist/index.browser.d.cts",
35
+ "default": "./dist/index.browser.cjs"
36
+ }
37
+ },
38
+ "./package.json": "./package.json"
15
39
  },
16
- "types": "dist/index.d.ts",
40
+ "types": "dist/index.node.d.mts",
17
41
  "scripts": {
18
42
  "lint": "biome check --write --error-on-warnings",
19
43
  "lint:ci": "biome check --error-on-warnings",
20
44
  "test": "pnpm lint && vitest run --coverage",
21
45
  "test:ci": "pnpm lint:ci && vitest run --coverage",
22
- "build": "rimraf ./dist && tsup ./src/index.ts --format cjs,esm --dts --clean",
23
- "prepare": "pnpm build",
46
+ "build": "tsdown",
47
+ "prepublishOnly": "pnpm build",
24
48
  "clean": "rimraf ./node_modules ./coverage yarn.lock package-lock.json ./dist ./site/dist",
25
- "website:build": "rimraf ./site/readme.md && npx -y docula build -o ./site/dist",
26
- "website:serve": "rimraf ./site/readme.md && npx -y docula serve -o ./site/dist"
49
+ "website:build": "docula build",
50
+ "website:dev": "docula dev",
51
+ "benchmark": "pnpm tsx benchmark/compile.ts"
27
52
  },
28
53
  "keywords": [
29
54
  "array",
@@ -52,7 +77,10 @@
52
77
  "util",
53
78
  "utility"
54
79
  ],
55
- "repository": "jaredwray/fumanchu",
80
+ "repository": {
81
+ "type": "git",
82
+ "url": "git+https://github.com/jaredwray/fumanchu.git"
83
+ },
56
84
  "bugs": {
57
85
  "url": "https://github.com/jaredwray/fumanchu/issues"
58
86
  },
@@ -63,34 +91,32 @@
63
91
  "license"
64
92
  ],
65
93
  "dependencies": {
66
- "@cacheable/memory": "^2.0.7",
94
+ "@cacheable/memory": "^2.0.8",
67
95
  "chrono-node": "2.9.0",
68
- "dayjs": "^1.11.19",
96
+ "dayjs": "^1.11.20",
69
97
  "ent": "^2.2.2",
70
- "handlebars": "^4.7.8",
71
- "html-tag": "^2.0.0",
72
- "is-glob": "^4.0.3",
73
- "kind-of": "^6.0.3",
74
- "micromatch": "^4.0.8",
75
- "remarkable": "^2.0.1",
76
- "striptags": "^3.2.0",
77
- "to-gfm-code-block": "^0.1.1"
98
+ "handlebars": "^4.7.9",
99
+ "markdown-it": "^14.1.0",
100
+ "micromatch": "^4.0.8"
78
101
  },
79
102
  "devDependencies": {
80
- "@biomejs/biome": "^2.3.11",
103
+ "@biomejs/biome": "^2.4.10",
104
+ "@faker-js/faker": "^10.3.0",
105
+ "@monstermann/tinybench-pretty-printer": "^0.3.0",
81
106
  "@types/ent": "^2.2.8",
82
- "@types/html-tag": "^2.0.2",
83
- "@types/is-glob": "^4.0.4",
84
- "@types/kind-of": "^6.0.3",
107
+ "@types/markdown-it": "^14.1.2",
85
108
  "@types/micromatch": "^4.0.10",
86
- "@types/node": "^25.0.7",
87
- "@types/remarkable": "^2.0.8",
88
- "@vitest/coverage-v8": "^4.0.17",
89
- "docula": "^0.31.1",
90
- "rimraf": "^6.1.2",
91
- "tsup": "^8.5.1",
92
- "typescript": "^5.9.3",
93
- "vitest": "^4.0.17"
109
+ "@types/node": "^25.5.0",
110
+ "@vitest/coverage-v8": "^4.1.4",
111
+ "docula": "^1.13.0",
112
+ "dotenv": "^17.4.2",
113
+ "happy-dom": "^20.9.0",
114
+ "rimraf": "^6.1.3",
115
+ "tinybench": "^6.0.0",
116
+ "tsdown": "^0.21.7",
117
+ "tsx": "^4.21.0",
118
+ "typescript": "^6.0.2",
119
+ "vitest": "^4.1.4"
94
120
  },
95
121
  "contributors": [
96
122
  "Jared Wray (https://jaredwray.com)",