Skip to content

Commit fe81149

Browse files
chore(format): 🤖 ✨ (#3)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent fce732c commit fe81149

File tree

4 files changed

+1833
-685
lines changed

4 files changed

+1833
-685
lines changed

‎package.json‎

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
2-
"version": "0.0.0",
32
"name": "@portabletext/solid",
3+
"version": "0.0.0",
44
"description": "Render Portable Text with Solid JS",
5-
"license": "MIT",
6-
"author": "nonphoto",
5+
"keywords": [
6+
"solid"
7+
],
78
"homepage": "https://github.com/portabletext/solid-portabletext#readme",
89
"bugs": {
910
"url": "https://github.com/portabletext/solid-portabletext/issues"
@@ -12,15 +13,10 @@
1213
"type": "git",
1314
"url": "git+ssh://git@github.com/portabletext/solid-portabletext.git"
1415
},
15-
"files": [
16-
"dist"
17-
],
16+
"license": "MIT",
17+
"author": "nonphoto",
1818
"sideEffects": false,
1919
"type": "module",
20-
"main": "./dist/index.cjs",
21-
"module": "./dist/index.js",
22-
"types": "./dist/index.d.ts",
23-
"browser": {},
2420
"exports": {
2521
"solid": {
2622
"development": "./dist/dev.jsx",
@@ -39,33 +35,37 @@
3935
},
4036
"require": "./dist/index.cjs"
4137
},
38+
"main": "./dist/index.cjs",
39+
"module": "./dist/index.js",
40+
"browser": {},
41+
"types": "./dist/index.d.ts",
4242
"typesVersions": {},
43+
"files": [
44+
"dist"
45+
],
4346
"scripts": {
44-
"dev": "vite serve dev",
4547
"build": "tsup",
48+
"dev": "vite serve dev",
49+
"format": "prettier --write --cache --ignore-unknown .",
50+
"prepublishOnly": "pnpm build",
4651
"test": "concurrently pnpm:test:*",
4752
"test:client": "vitest",
4853
"test:ssr": "pnpm run test:client --mode ssr",
49-
"prepublishOnly": "pnpm build",
50-
"format": "prettier --write --cache --ignore-unknown .",
51-
"update-deps": "pnpm up -Li",
52-
"typecheck": "tsc --noEmit"
54+
"typecheck": "tsc --noEmit",
55+
"update-deps": "pnpm up -Li"
5356
},
5457
"prettier": {
58+
"arrowParens": "avoid",
59+
"bracketSpacing": true,
5560
"plugins": [
5661
"prettier-plugin-packagejson"
5762
],
58-
"trailingComma": "all",
59-
"tabWidth": 2,
6063
"printWidth": 100,
6164
"semi": false,
6265
"singleQuote": true,
63-
"useTabs": false,
64-
"arrowParens": "avoid",
65-
"bracketSpacing": true
66-
},
67-
"peerDependencies": {
68-
"solid-js": "^1.6.0"
66+
"tabWidth": 2,
67+
"trailingComma": "all",
68+
"useTabs": false
6969
},
7070
"dependencies": {
7171
"@portabletext/toolkit": "^2.0.9",
@@ -86,9 +86,9 @@
8686
"vite-plugin-solid": "^2.5.0",
8787
"vitest": "^0.28.2"
8888
},
89-
"keywords": [
90-
"solid"
91-
],
89+
"peerDependencies": {
90+
"solid-js": "^1.6.0"
91+
},
9292
"packageManager": "pnpm@8.8.0",
9393
"publishConfig": {
9494
"access": "public"

0 commit comments

Comments
 (0)