File tree Expand file tree Collapse file tree 6 files changed +79
-67
lines changed
Expand file tree Collapse file tree 6 files changed +79
-67
lines changed Original file line number Diff line number Diff line change 11{
22 "$schema" : " ./node_modules/@biomejs/biome/configuration_schema.json" ,
3- "vcs" : {
4- "enabled" : false ,
5- "clientKind" : " git" ,
6- "useIgnoreFile" : false
3+ "assist" : {
4+ "actions" : {
5+ "source" : {
6+ "organizeImports" : " on" ,
7+ "useSortedAttributes" : " on" ,
8+ "useSortedKeys" : " on"
9+ }
10+ },
11+ "enabled" : true
712 },
813 "files" : {
914 "ignoreUnknown" : false
1217 "enabled" : true ,
1318 "indentStyle" : " tab"
1419 },
15- "linter" : {
16- "enabled" : true ,
17- "rules" : {
18- "recommended" : true
19- }
20- },
2120 "javascript" : {
2221 "formatter" : {
2322 "quoteStyle" : " double"
2423 }
2524 },
26- "assist" : {
25+ "linter" : {
26+ "domains" : {
27+ "react" : " recommended" ,
28+ "test" : " recommended"
29+ },
2730 "enabled" : true ,
28- "actions" : {
29- "source" : {
30- "organizeImports" : " on"
31- }
31+ "rules" : {
32+ "recommended" : true
3233 }
34+ },
35+ "vcs" : {
36+ "clientKind" : " git" ,
37+ "defaultBranch" : " main" ,
38+ "enabled" : false ,
39+ "useIgnoreFile" : true
3340 }
34- }
41+ }
Original file line number Diff line number Diff line change 11{
2- "name" : " instructure.ai" ,
3- "private" : true ,
4- "version" : " 0.0.0" ,
5- "type" : " module" ,
6- "scripts" : {
7- "dev" : " vite" ,
8- "build" : " tsc -b && vite build" ,
9- "lint" : " eslint ." ,
10- "preview" : " vite preview"
11- },
2+ "browserslist" : [
3+ " extends @instructure/browserslist-config-instui"
4+ ],
125 "dependencies" : {
136 "@instructure/ui-icons" : " ^10.19.1" ,
147 "react" : " ^19.1.0" ,
3326 "vite" : " ^6.3.5" ,
3427 "vitest" : " ^3.2.2"
3528 },
29+ "name" : " instructure.ai" ,
3630 "packageManager" : " pnpm@10.11.1" ,
37- "browserslist" : [
38- " extends @instructure/browserslist-config-instui"
39- ]
31+ "private" : true ,
32+ "scripts" : {
33+ "build" : " tsc -b && vite build" ,
34+ "dev" : " vite" ,
35+ "lint" : " eslint ." ,
36+ "preview" : " vite preview"
37+ },
38+ "type" : " module" ,
39+ "version" : " 0.0.0"
4040}
Original file line number Diff line number Diff line change 1818 color : # 646cff ;
1919 text-decoration : inherit;
2020}
21+
2122a : hover {
2223 color : # 535bf2 ;
2324}
@@ -46,9 +47,11 @@ button {
4647 cursor : pointer;
4748 transition : border-color 0.25s ;
4849}
50+
4951button : hover {
5052 border-color : # 646cff ;
5153}
54+
5255button : focus ,
5356button : focus-visible {
5457 outline : 4px auto -webkit-focus-ring-color;
@@ -59,10 +62,12 @@ button:focus-visible {
5962 color : # 213547 ;
6063 background-color : # ffffff ;
6164 }
65+
6266 a : hover {
6367 color : # 747bff ;
6468 }
69+
6570 button {
6671 background-color : # f9f9f9 ;
6772 }
68- }
73+ }
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3- "tsBuildInfoFile " : " ./node_modules/.tmp/tsconfig.app.tsbuildinfo " ,
4- "target " : " ES2020 " ,
5- "useDefineForClassFields " : true ,
3+ "allowImportingTsExtensions " : true ,
4+ "erasableSyntaxOnly " : true ,
5+ "jsx " : " react-jsx " ,
66 "lib" : [
77 " ES2020" ,
88 " DOM" ,
99 " DOM.Iterable"
1010 ],
1111 "module" : " ESNext" ,
12- "skipLibCheck " : true ,
12+ "moduleDetection " : " force " ,
1313 /* Bundler mode */
1414 "moduleResolution" : " bundler" ,
15- "allowImportingTsExtensions" : true ,
16- "verbatimModuleSyntax" : true ,
17- "moduleDetection" : " force" ,
1815 "noEmit" : true ,
19- "jsx" : " react-jsx" ,
20- /* Linting */
21- "strict" : true ,
16+ "noFallthroughCasesInSwitch" : true ,
17+ "noUncheckedSideEffectImports" : true ,
2218 "noUnusedLocals" : true ,
2319 "noUnusedParameters" : true ,
24- "erasableSyntaxOnly" : true ,
25- "noFallthroughCasesInSwitch" : true ,
26- "noUncheckedSideEffectImports" : true
20+ "skipLibCheck" : true ,
21+ /* Linting */
22+ "strict" : true ,
23+ "target" : " ES2020" ,
24+ "tsBuildInfoFile" : " ./node_modules/.tmp/tsconfig.app.tsbuildinfo" ,
25+ "useDefineForClassFields" : true ,
26+ "verbatimModuleSyntax" : true
2727 },
2828 "include" : [
2929 " types"
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3- "tsBuildInfoFile " : " ./node_modules/.tmp/tsconfig.node.tsbuildinfo " ,
4- "target " : " ES2022 " ,
3+ "allowImportingTsExtensions " : true ,
4+ "erasableSyntaxOnly " : true ,
55 "lib" : [
66 " ES2023"
77 ],
88 "module" : " ESNext" ,
9- "skipLibCheck " : true ,
9+ "moduleDetection " : " force " ,
1010 /* Bundler mode */
1111 "moduleResolution" : " bundler" ,
12- "allowImportingTsExtensions" : true ,
13- "verbatimModuleSyntax" : true ,
14- "moduleDetection" : " force" ,
1512 "noEmit" : true ,
16- /* Linting */
17- "strict " : true ,
13+ "noFallthroughCasesInSwitch" : true ,
14+ "noUncheckedSideEffectImports " : true ,
1815 "noUnusedLocals" : true ,
1916 "noUnusedParameters" : true ,
20- "erasableSyntaxOnly" : true ,
21- "noFallthroughCasesInSwitch" : true ,
22- "noUncheckedSideEffectImports" : true
17+ "skipLibCheck" : true ,
18+ /* Linting */
19+ "strict" : true ,
20+ "target" : " ES2022" ,
21+ "tsBuildInfoFile" : " ./node_modules/.tmp/tsconfig.node.tsbuildinfo" ,
22+ "verbatimModuleSyntax" : true
2323 },
2424 "include" : [
2525 " types" ,
Original file line number Diff line number Diff line change @@ -5,31 +5,31 @@ import { browserslistToTargets } from "lightningcss";
55import { defineConfig } from "vite" ;
66
77export default defineConfig ( {
8+ build : {
9+ cssMinify : "lightningcss" ,
10+ minify : "terser" ,
11+ target : "esnext" ,
12+ } ,
13+ css : {
14+ lightningcss : {
15+ targets : browserslistToTargets ( browsersList ) ,
16+ } ,
17+ transformer : "lightningcss" ,
18+ } ,
819 plugins : [
920 react ( {
1021 babel : {
1122 plugins : [ [ "babel-plugin-react-compiler" , { target : "19" } ] ] ,
1223 } ,
1324 } ) ,
1425 ] ,
15- css : {
16- transformer : "lightningcss" ,
17- lightningcss : {
18- targets : browserslistToTargets ( browsersList ) ,
19- } ,
20- } ,
21- build : {
22- target : "esnext" ,
23- minify : "terser" ,
24- cssMinify : "lightningcss" ,
25- } ,
2626 test : {
2727 coverage : {
2828 enabled : true ,
29+ exclude : [ "src/**/*.test.{ts,tsx}" , "src/**/*.d.ts" ] ,
30+ include : [ "src/**/*.{ts,tsx}" ] ,
2931 provider : "v8" ,
3032 reporter : [ "default" , "html" ] ,
31- include : [ "src/**/*.{ts,tsx}" ] ,
32- exclude : [ "src/**/*.test.{ts,tsx}" , "src/**/*.d.ts" ] ,
3333 } ,
3434 } ,
3535} ) ;
You can’t perform that action at this time.
0 commit comments