Skip to content

Commit c2bc178

Browse files
committed
chore: use 2 tab formatting for json files
Signed-off-by: davfsa <[email protected]>
1 parent a9db9d4 commit c2bc178

File tree

6 files changed

+144
-144
lines changed

6 files changed

+144
-144
lines changed

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"printWidth": 120,
55
"overrides": [
66
{
7-
"files": ["*.yaml", "*.yml"],
7+
"files": ["*.yaml", "*.yml", "*.json"],
88
"options": {
99
"tabWidth": 2
1010
}

components-sdk/package.json

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,60 @@
11
{
2-
"name": "components-sdk",
3-
"version": "0.0.1",
4-
"type": "module",
5-
"scripts": {
6-
"dev": "vite",
7-
"build": "tsc && vite build",
8-
"preview": "vite preview"
2+
"name": "components-sdk",
3+
"version": "0.0.1",
4+
"type": "module",
5+
"scripts": {
6+
"dev": "vite",
7+
"build": "tsc && vite build",
8+
"preview": "vite preview"
9+
},
10+
"devDependencies": {
11+
"@eslint/js": "^9.24.0",
12+
"@types/node": "^22.14.1",
13+
"@types/react": "^18",
14+
"@types/react-color": "^2.17.12",
15+
"@types/react-dom": "^18",
16+
"@vitejs/plugin-react": "^4.4.0",
17+
"eslint": "^9.24.0",
18+
"eslint-plugin-react-hooks": "^5.2.0",
19+
"eslint-plugin-react-refresh": "^0.4.19",
20+
"globals": "^16.0.0",
21+
"postcss-nesting": "^13.0.1",
22+
"rc-slider": "^9.7.5",
23+
"react": "^18.2.0",
24+
"react-color": "^2.19.3",
25+
"react-dom": "^18.2.0",
26+
"react-textarea-autosize": "^8.3.4",
27+
"typescript": "~5.7.2",
28+
"typescript-eslint": "^8.30.1",
29+
"use-file-picker": "^2.1.2",
30+
"vite": "^6.3.1",
31+
"vite-plugin-dts": "1.0.3"
32+
},
33+
"license": "PolyForm-Noncommercial-1.0.0",
34+
"peerDependencies": {
35+
"@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
36+
"rc-slider": "^9.7.5",
37+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
38+
"react-color": "^2.19.3",
39+
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
40+
"react-textarea-autosize": "^8.3.4",
41+
"use-file-picker": "^2.1.2"
42+
},
43+
"files": [
44+
"dist",
45+
"dist/components-sdk.css"
46+
],
47+
"main": "./dist/components-sdk.umd.js",
48+
"module": "./dist/components-sdk.es.js",
49+
"types": "./dist/index.d.ts",
50+
"exports": {
51+
".": {
52+
"import": "./dist/components-sdk.es.js",
53+
"require": "./dist/components-sdk.umd.js"
954
},
10-
"devDependencies": {
11-
"@eslint/js": "^9.24.0",
12-
"@types/node": "^22.14.1",
13-
"@types/react": "^18",
14-
"@types/react-color": "^2.17.12",
15-
"@types/react-dom": "^18",
16-
"@vitejs/plugin-react": "^4.4.0",
17-
"eslint": "^9.24.0",
18-
"eslint-plugin-react-hooks": "^5.2.0",
19-
"eslint-plugin-react-refresh": "^0.4.19",
20-
"globals": "^16.0.0",
21-
"postcss-nesting": "^13.0.1",
22-
"rc-slider": "^9.7.5",
23-
"react": "^18.2.0",
24-
"react-color": "^2.19.3",
25-
"react-dom": "^18.2.0",
26-
"react-textarea-autosize": "^8.3.4",
27-
"typescript": "~5.7.2",
28-
"typescript-eslint": "^8.30.1",
29-
"use-file-picker": "^2.1.2",
30-
"vite": "^6.3.1",
31-
"vite-plugin-dts": "1.0.3"
32-
},
33-
"license": "PolyForm-Noncommercial-1.0.0",
34-
"peerDependencies": {
35-
"@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
36-
"rc-slider": "^9.7.5",
37-
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
38-
"react-color": "^2.19.3",
39-
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
40-
"react-textarea-autosize": "^8.3.4",
41-
"use-file-picker": "^2.1.2"
42-
},
43-
"files": [
44-
"dist",
45-
"dist/components-sdk.css"
46-
],
47-
"main": "./dist/components-sdk.umd.js",
48-
"module": "./dist/components-sdk.es.js",
49-
"types": "./dist/index.d.ts",
50-
"exports": {
51-
".": {
52-
"import": "./dist/components-sdk.es.js",
53-
"require": "./dist/components-sdk.umd.js"
54-
},
55-
"./components-sdk.css": {
56-
"import": "./dist/components-sdk.css",
57-
"require": "./dist/components-sdk.css"
58-
}
55+
"./components-sdk.css": {
56+
"import": "./dist/components-sdk.css",
57+
"require": "./dist/components-sdk.css"
5958
}
59+
}
6060
}

components-sdk/tsconfig.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
2-
"compilerOptions": {
3-
"target": "ESNext",
4-
"useDefineForClassFields": true,
5-
"lib": ["DOM", "DOM.Iterable", "ESNext"],
6-
"allowJs": false,
7-
"skipLibCheck": true,
8-
"esModuleInterop": false,
9-
"allowSyntheticDefaultImports": true,
10-
"strict": true,
11-
"forceConsistentCasingInFileNames": true,
12-
"module": "ESNext",
13-
"moduleResolution": "Node",
14-
"resolveJsonModule": true,
15-
"isolatedModules": true,
16-
"noEmit": true,
17-
"jsx": "react-jsx"
18-
},
19-
"include": ["./src"]
2+
"compilerOptions": {
3+
"target": "ESNext",
4+
"useDefineForClassFields": true,
5+
"lib": ["DOM", "DOM.Iterable", "ESNext"],
6+
"allowJs": false,
7+
"skipLibCheck": true,
8+
"esModuleInterop": false,
9+
"allowSyntheticDefaultImports": true,
10+
"strict": true,
11+
"forceConsistentCasingInFileNames": true,
12+
"module": "ESNext",
13+
"moduleResolution": "Node",
14+
"resolveJsonModule": true,
15+
"isolatedModules": true,
16+
"noEmit": true,
17+
"jsx": "react-jsx"
18+
},
19+
"include": ["./src"]
2020
}

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"name": "builders",
3-
"private": true,
4-
"scripts": {
5-
"build": "cd components-sdk && yarn build && cd ..",
6-
"dev": "cd website && yarn dev"
7-
},
8-
"workspaces": {
9-
"packages": [
10-
"components-sdk",
11-
"website"
12-
]
13-
},
14-
"devDependencies": {
15-
"prettier": "2.5.1",
16-
"pretty-quick": "3.1.3"
17-
},
18-
"packageManager": "[email protected]"
2+
"name": "builders",
3+
"private": true,
4+
"scripts": {
5+
"build": "cd components-sdk && yarn build && cd ..",
6+
"dev": "cd website && yarn dev"
7+
},
8+
"workspaces": {
9+
"packages": [
10+
"components-sdk",
11+
"website"
12+
]
13+
},
14+
"devDependencies": {
15+
"prettier": "2.5.1",
16+
"pretty-quick": "3.1.3"
17+
},
18+
"packageManager": "[email protected]"
1919
}

website/package.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
{
2-
"name": "website",
3-
"version": "0.0.0",
4-
"type": "module",
5-
"scripts": {
6-
"dev": "vite",
7-
"build": "tsc && vite build",
8-
"preview": "vite preview"
9-
},
10-
"dependencies": {
11-
"@reduxjs/toolkit": "^1.8.5",
12-
"components-sdk": "*",
13-
"emoji-mart": "^3.0.1",
14-
"rc-slider": "^9.7.5",
15-
"react": "^18.2.0",
16-
"react-color": "^2.19.3",
17-
"react-dom": "^18.2.0",
18-
"react-error-boundary": "^5.0.0",
19-
"react-redux": "^8.0.2",
20-
"react-textarea-autosize": "^8.3.4",
21-
"use-file-picker": "^2.1.2"
22-
},
23-
"devDependencies": {
24-
"@types/emoji-mart": "^3.0.1",
25-
"@types/react": "^18",
26-
"@types/react-dom": "^18",
27-
"@vitejs/plugin-react": "1.2.0",
28-
"postcss-nesting": "^13.0.1",
29-
"typescript": "4.6.3",
30-
"vite": "2.8.6"
31-
}
2+
"name": "website",
3+
"version": "0.0.0",
4+
"type": "module",
5+
"scripts": {
6+
"dev": "vite",
7+
"build": "tsc && vite build",
8+
"preview": "vite preview"
9+
},
10+
"dependencies": {
11+
"@reduxjs/toolkit": "^1.8.5",
12+
"components-sdk": "*",
13+
"emoji-mart": "^3.0.1",
14+
"rc-slider": "^9.7.5",
15+
"react": "^18.2.0",
16+
"react-color": "^2.19.3",
17+
"react-dom": "^18.2.0",
18+
"react-error-boundary": "^5.0.0",
19+
"react-redux": "^8.0.2",
20+
"react-textarea-autosize": "^8.3.4",
21+
"use-file-picker": "^2.1.2"
22+
},
23+
"devDependencies": {
24+
"@types/emoji-mart": "^3.0.1",
25+
"@types/react": "^18",
26+
"@types/react-dom": "^18",
27+
"@vitejs/plugin-react": "1.2.0",
28+
"postcss-nesting": "^13.0.1",
29+
"typescript": "4.6.3",
30+
"vite": "2.8.6"
31+
}
3232
}

website/tsconfig.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
{
2-
"compilerOptions": {
3-
"target": "ESNext",
4-
"useDefineForClassFields": true,
5-
"lib": ["DOM", "DOM.Iterable", "ESNext"],
6-
"allowJs": false,
7-
"skipLibCheck": true,
8-
"esModuleInterop": false,
9-
"allowSyntheticDefaultImports": true,
10-
"strict": true,
11-
"forceConsistentCasingInFileNames": true,
12-
"module": "ESNext",
13-
"moduleResolution": "Node",
14-
"resolveJsonModule": true,
15-
"isolatedModules": true,
16-
"noEmit": true,
17-
"jsx": "react-jsx",
18-
"baseUrl": ".",
19-
"paths": {
20-
"components-sdk": ["../components-sdk/src/index"]
21-
}
22-
},
23-
"include": ["./src"]
2+
"compilerOptions": {
3+
"target": "ESNext",
4+
"useDefineForClassFields": true,
5+
"lib": ["DOM", "DOM.Iterable", "ESNext"],
6+
"allowJs": false,
7+
"skipLibCheck": true,
8+
"esModuleInterop": false,
9+
"allowSyntheticDefaultImports": true,
10+
"strict": true,
11+
"forceConsistentCasingInFileNames": true,
12+
"module": "ESNext",
13+
"moduleResolution": "Node",
14+
"resolveJsonModule": true,
15+
"isolatedModules": true,
16+
"noEmit": true,
17+
"jsx": "react-jsx",
18+
"baseUrl": ".",
19+
"paths": {
20+
"components-sdk": ["../components-sdk/src/index"]
21+
}
22+
},
23+
"include": ["./src"]
2424
}

0 commit comments

Comments
 (0)