@jaredwray/fumanchu 3.1.2 → 4.0.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,20 +1,24 @@
1
1
  {
2
2
  "name": "@jaredwray/fumanchu",
3
3
  "description": "Handlebars + Helpers = Fumanchu",
4
- "version": "3.1.2",
4
+ "version": "4.0.0",
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
- "test": "xo --fix && vitest run --coverage",
12
- "test:ci": "xo && 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",
18
+ "test": "biome check --write && vitest run --coverage",
19
+ "test:ci": "biome check && vitest run --coverage",
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,67 +61,39 @@
57
61
  "license"
58
62
  ],
59
63
  "dependencies": {
60
- "arr-flatten": "^1.1.0",
61
- "array-sort": "^1.0.0",
62
- "cacheable": "^1.10.0",
63
- "chrono-node": "2.8.3",
64
- "create-frame": "^1.0.0",
64
+ "chrono-node": "2.8.4",
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": {
82
+ "@biomejs/biome": "^2.1.4",
83
+ "@types/ent": "^2.2.8",
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",
90
+ "@types/remarkable": "^2.0.8",
96
91
  "@vitest/coverage-v8": "^3.2.4",
97
- "c8": "^10.1.3",
98
- "chai": "^4.3.10",
99
- "docula": "^0.13.0",
100
- "engine-handlebars": "^1.1.0",
101
- "global-modules": "^2.0.0",
102
- "lodash": "^4.17.21",
103
- "mocha": "^10.8.2",
92
+ "docula": "^0.13.1",
104
93
  "rimraf": "^6.0.1",
105
- "template-helpers": "^1.0.1",
106
- "templates": "^1.2.9",
107
94
  "tsup": "^8.5.0",
108
- "typecript": "^0.0.1-security",
109
- "typescript": "^5.8.3",
110
- "vitest": "^3.2.4",
111
- "xo": "^1.1.1"
112
- },
113
- "xo": {
114
- "ignores": [
115
- "dist/**",
116
- "dist-site/**",
117
- "site/**",
118
- "helpers/**",
119
- "src/index.ts"
120
- ]
95
+ "typescript": "^5.9.2",
96
+ "vitest": "^3.2.4"
121
97
  },
122
98
  "contributors": [
123
99
  "Jared Wray (https://jaredwray.com)",
@@ -168,7 +144,6 @@
168
144
  "Thomas Jaggi (http://responsive.ch)",
169
145
  "Tim Douglas (https://github.com/timdouglas)",
170
146
  "(https://github.com/homersimpsons)",
171
- "Jonathas Ribeiro (https://github.com/jonathas)",
172
- "Jared Wray (https://github.com/jaredwray)"
147
+ "Jonathas Ribeiro (https://github.com/jonathas)"
173
148
  ]
174
149
  }