prettier 3.0.3 → 4.0.0-alpha.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,6 +1,6 @@
1
1
  {
2
2
  "name": "prettier",
3
- "version": "3.0.3",
3
+ "version": "4.0.0-alpha.0",
4
4
  "description": "Prettier is an opinionated code formatter",
5
5
  "bin": "./bin/prettier.cjs",
6
6
  "repository": "prettier/prettier",
@@ -15,6 +15,10 @@
15
15
  ".": {
16
16
  "types": "./index.d.ts",
17
17
  "require": "./index.cjs",
18
+ "browser": {
19
+ "import": "./standalone.mjs",
20
+ "default": "./standalone.js"
21
+ },
18
22
  "default": "./index.mjs"
19
23
  },
20
24
  "./*": "./*",
@@ -191,5 +195,8 @@
191
195
  "standalone.js",
192
196
  "standalone.mjs"
193
197
  ],
194
- "preferUnplugged": true
198
+ "preferUnplugged": true,
199
+ "dependencies": {
200
+ "@prettier/next": "^0.1.2"
201
+ }
195
202
  }