tutuca 0.9.49 → 0.9.50

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/README.md CHANGED
@@ -73,11 +73,9 @@ in the storybook shape `{ title, description?, items: [{ title, description?, va
73
73
 
74
74
  ```sh
75
75
  npm install --save-dev tutuca
76
- # prettier is optional, only needed for --pretty
77
- npm install --save-dev prettier
78
76
  ```
79
77
 
80
- The package exposes `tutuca` via `bin`, so `npx tutuca` (or a global `npm i -g tutuca`) just works. `jsdom` ships as a regular dependency (it's needed by `render` and `lint`) and is installed automatically.
78
+ The package exposes `tutuca` via `bin`, so `npx tutuca` (or a global `npm i -g tutuca`) just works. `jsdom` (needed by `render` and `lint`) and `prettier` (used by `--pretty`) ship as regular dependencies and are installed automatically.
81
79
 
82
80
  ### Commands
83
81
 
@@ -14336,7 +14336,6 @@ GLOBAL FLAGS
14336
14336
  -o, --output <file> Write to <file> instead of stdout.
14337
14337
  --pretty Pretty-print HTML (md/html formats) via
14338
14338
  prettier; JSON formatter uses indent 2.
14339
- Requires \`prettier\` to be installed.
14340
14339
  -h, --help Show this help.
14341
14340
  --module <path> Alternative to first-positional module path.
14342
14341
 
@@ -14347,9 +14346,6 @@ EXIT CODES
14347
14346
  3 render crash
14348
14347
  4 test failures
14349
14348
 
14350
- ENVIRONMENT
14351
- \`prettier\` is an optional peer dep, only used by --pretty.
14352
-
14353
14349
  EXAMPLES
14354
14350
  # Inspect a module
14355
14351
  tutuca ./src/components.js info
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tutuca",
3
- "version": "0.9.49",
3
+ "version": "0.9.50",
4
4
  "type": "module",
5
5
  "description": "Zero-dependency SPA framework with immutable state and virtual DOM",
6
6
  "main": "./dist/tutuca.js",
@@ -48,16 +48,9 @@
48
48
  ],
49
49
  "dependencies": {
50
50
  "chai": "^6.2.2",
51
- "jsdom": "^28.0.0 || ^29.0.0"
52
- },
53
- "peerDependencies": {
51
+ "jsdom": "^28.0.0 || ^29.0.0",
54
52
  "prettier": "^3.0.0"
55
53
  },
56
- "peerDependenciesMeta": {
57
- "prettier": {
58
- "optional": true
59
- }
60
- },
61
54
  "keywords": [
62
55
  "frontend",
63
56
  "framework",
@@ -80,7 +73,6 @@
80
73
  "devDependencies": {
81
74
  "@biomejs/biome": "^2.4.12",
82
75
  "fast-check": "^4.7.0",
83
- "htmlparser2": "^12.0.0",
84
- "prettier": "^3.8.3"
76
+ "htmlparser2": "^12.0.0"
85
77
  }
86
78
  }