@jaredwray/fumanchu 3.1.3 → 4.0.1

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,20 +1,24 @@
1
1
  {
2
2
  "name": "@jaredwray/fumanchu",
3
3
  "description": "Handlebars + Helpers = Fumanchu",
4
- "version": "3.1.3",
4
+ "version": "4.0.1",
5
5
  "homepage": "https://github.com/jaredwray/fumanchu",
6
6
  "author": "Jared Wray (me@jaredwray.com)",
7
- "source": "dist/index.js",
8
- "main": "dist/index.js",
7
+ "type": "module",
8
+ "main": "dist/index.cjs",
9
+ "module": "dist/index.js",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ }
15
+ },
9
16
  "types": "dist/index.d.ts",
10
17
  "scripts": {
11
18
  "test": "biome check --write && vitest run --coverage",
12
19
  "test:ci": "biome check && vitest run --coverage",
13
- "test:all": "npm run test && npm run test:legacy",
14
- "test:legacy": "npm run build && c8 mocha",
15
- "test:legacy:ci": "npm run build && c8 --reporter=lcov mocha",
16
- "build": "rimraf ./dist && tsup ./src/index.ts --format cjs --dts --clean",
17
- "prepare": "npm run build",
20
+ "build": "rimraf ./dist && tsup ./src/index.ts --format cjs,esm --dts --clean",
21
+ "prepare": "pnpm build",
18
22
  "clean": "rimraf ./node_modules ./coverage yarn.lock package-lock.json ./dist ./dist-site",
19
23
  "website:build": "rimraf ./site/readme.md && npx -y docula build -s ./site -o ./dist-site",
20
24
  "website:serve": "rimraf ./site/readme.md && npx -y docula serve -s ./site -o ./dist-site"
@@ -57,59 +61,37 @@
57
61
  "license"
58
62
  ],
59
63
  "dependencies": {
60
- "arr-flatten": "^1.1.0",
61
- "array-sort": "^1.0.0",
62
- "cacheable": "^1.10.3",
63
64
  "chrono-node": "2.8.4",
64
- "create-frame": "^1.0.0",
65
65
  "dayjs": "^1.11.13",
66
- "define-property": "^2.0.2",
67
66
  "ent": "^2.2.2",
68
- "extend-shallow": "^3.0.2",
69
- "for-in": "^1.0.2",
70
- "for-own": "^1.0.0",
71
- "fs-exists-sync": "^0.1.0",
72
67
  "get-object": "^0.2.0",
73
- "get-value": "^3.0.1",
68
+ "get-value": "^4.0.1",
74
69
  "handlebars": "^4.7.8",
75
70
  "handlebars-helper-create-frame": "^0.1.0",
76
71
  "handlebars-utils": "^1.0.6",
77
- "has-value": "^2.0.2",
78
- "helper-date": "^1.0.1",
79
- "highlight.js": "^11.11.1",
80
72
  "html-tag": "^2.0.0",
81
- "is-even": "^1.0.0",
82
73
  "is-glob": "^4.0.3",
83
- "is-number": "^7.0.0",
84
74
  "kind-of": "^6.0.3",
85
- "lazy-cache": "^2.0.2",
86
75
  "logging-helpers": "^1.0.0",
87
76
  "micromatch": "^4.0.8",
88
- "path": "^0.12.7",
89
- "relative": "^3.0.2",
90
77
  "remarkable": "^2.0.1",
91
78
  "striptags": "^3.2.0",
92
- "to-gfm-code-block": "^0.1.1",
93
- "year": "^0.2.1"
79
+ "to-gfm-code-block": "^0.1.1"
94
80
  },
95
81
  "devDependencies": {
96
- "@biomejs/biome": "^2.1.3",
82
+ "@biomejs/biome": "^2.1.4",
97
83
  "@types/ent": "^2.2.8",
98
- "@types/node": "^24.2.0",
84
+ "@types/get-value": "^3.0.5",
85
+ "@types/html-tag": "^2.0.2",
86
+ "@types/is-glob": "^4.0.4",
87
+ "@types/kind-of": "^6.0.3",
88
+ "@types/micromatch": "^4.0.9",
89
+ "@types/node": "^24.2.1",
99
90
  "@types/remarkable": "^2.0.8",
100
91
  "@vitest/coverage-v8": "^3.2.4",
101
- "c8": "^10.1.3",
102
- "chai": "^4.3.10",
103
92
  "docula": "^0.13.1",
104
- "engine-handlebars": "^1.1.0",
105
- "global-modules": "^2.0.0",
106
- "lodash": "^4.17.21",
107
- "mocha": "^10.8.2",
108
93
  "rimraf": "^6.0.1",
109
- "template-helpers": "^1.0.1",
110
- "templates": "^1.2.9",
111
94
  "tsup": "^8.5.0",
112
- "typecript": "^0.0.1-security",
113
95
  "typescript": "^5.9.2",
114
96
  "vitest": "^3.2.4"
115
97
  },