Skip to content

Commit 53630f6

Browse files
Merge pull request #1447 from opencomponents/new-ui
Revamp UI + Preview server
2 parents 5afcbea + a290b7f commit 53630f6

File tree

21 files changed

+2654
-560
lines changed

21 files changed

+2654
-560
lines changed

biome.json

Lines changed: 51 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,52 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.1.2/schema.json",
3-
"vcs": {
4-
"enabled": false,
5-
"clientKind": "git",
6-
"useIgnoreFile": false
7-
},
8-
"files": {
9-
"ignoreUnknown": false,
10-
"includes": [
11-
"src/**/*",
12-
"!src/components/oc-client/**/*"
13-
]
14-
},
15-
"formatter": {
16-
"enabled": true,
17-
"indentStyle": "tab"
18-
},
19-
"linter": {
20-
"enabled": true,
21-
"rules": {
22-
"recommended": true,
23-
"correctness": {
24-
"useJsxKeyInIterable": "off"
25-
},
26-
"complexity": {
27-
"useLiteralKeys": "off",
28-
"noExcessiveNestedTestSuites": "off"
29-
},
30-
"style": {
31-
"noParameterAssign": "off",
32-
"noNonNullAssertion": "off",
33-
"useTemplate": "off"
34-
},
35-
"suspicious": {
36-
"noExplicitAny": "off"
37-
}
38-
}
39-
},
40-
"javascript": {
41-
"formatter": {
42-
"trailingCommas": "none",
43-
"indentStyle": "space",
44-
"quoteStyle": "single"
45-
}
46-
},
47-
"assist": {
48-
"enabled": true,
49-
"actions": {
50-
"source": {
51-
"organizeImports": "on"
52-
}
53-
}
54-
}
55-
}
2+
"$schema": "https://biomejs.dev/schemas/2.1.2/schema.json",
3+
"vcs": {
4+
"enabled": false,
5+
"clientKind": "git",
6+
"useIgnoreFile": false
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"includes": ["preview/**/*", "src/**/*", "!src/components/oc-client/**/*"]
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "tab"
15+
},
16+
"linter": {
17+
"enabled": true,
18+
"rules": {
19+
"recommended": true,
20+
"correctness": {
21+
"useJsxKeyInIterable": "off"
22+
},
23+
"complexity": {
24+
"useLiteralKeys": "off",
25+
"noExcessiveNestedTestSuites": "off"
26+
},
27+
"style": {
28+
"noParameterAssign": "off",
29+
"noNonNullAssertion": "off",
30+
"useTemplate": "off"
31+
},
32+
"suspicious": {
33+
"noExplicitAny": "off"
34+
}
35+
}
36+
},
37+
"javascript": {
38+
"formatter": {
39+
"trailingCommas": "none",
40+
"indentStyle": "space",
41+
"quoteStyle": "single"
42+
}
43+
},
44+
"assist": {
45+
"enabled": true,
46+
"actions": {
47+
"source": {
48+
"organizeImports": "on"
49+
}
50+
}
51+
}
52+
}

package-lock.json

Lines changed: 71 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"types": "./dist/index.d.ts",
77
"bin": "./dist/oc-cli.js",
88
"scripts": {
9-
"lint": "npx @biomejs/biome check src test tasks",
10-
"lint:apply": "npx @biomejs/biome check --write src test tasks",
9+
"lint": "npx @biomejs/biome check preview src test tasks",
10+
"lint:apply": "npx @biomejs/biome check --write preview src test tasks",
1111
"prebuild": "rimraf dist",
1212
"build": "npm run lint && tsc && node tasks/build.js",
1313
"git-stage-and-push": "node tasks/git-stage-and-push.js",
@@ -44,6 +44,8 @@
4444
"@biomejs/biome": "2.1.2",
4545
"@types/accept-language-parser": "^1.5.6",
4646
"@types/async": "^3.2.24",
47+
"@types/bun": "^1.2.21",
48+
"@types/cookie-parser": "^1.4.9",
4749
"@types/cross-spawn": "^6.0.6",
4850
"@types/errorhandler": "^1.5.3",
4951
"@types/express": "^5.0.3",
@@ -84,6 +86,7 @@
8486
"builtin-modules": "^3.3.0",
8587
"chokidar": "^3.6.0",
8688
"colors": "^1.4.0",
89+
"cookie-parser": "^1.4.7",
8790
"cross-spawn": "^7.0.5",
8891
"dependency-graph": "^1.0.0",
8992
"dotenv": "^17.2.1",

0 commit comments

Comments
 (0)