Skip to content

refactor: start using emotion for styling #9909

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Sep 29, 2023
Merged
Next Next commit
some largely unrelated cleanup
  • Loading branch information
aslilac committed Sep 28, 2023
commit af6b4353ce3287bd882ae146e3884775144a6947
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,14 @@ site/e2e/states/*.json
site/e2e/.auth.json
site/playwright-report/*
site/.swc
site/dist/

# Make target for updating golden files (any dir).
.gen-golden

# Build
/build/
/dist/
site/out/
build/
dist/
out/

# Bundle analysis
site/stats/
Expand Down
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,11 @@
"docs/api/*.md": true,
"docs/templates/*.md": true,
"LICENSE": true,
"scripts/metricsdocgen/metrics": true
"scripts/metricsdocgen/metrics": true,
"site/out/**": true,
"site/storybook-static/**": true,
"**.map": true,
"pnpm-lock.yaml": true
},
// Ensure files always have a newline.
"files.insertFinalNewline": true,
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ endif


clean:
rm -rf build site/out
mkdir -p build site/out/bin
git restore site/out
rm -rf build/ site/build/ site/out/
mkdir -p build/ site/out/bin/
git restore site/out/
.PHONY: clean

build-slim: $(CODER_SLIM_BINARIES)
Expand Down
2 changes: 1 addition & 1 deletion site/jest.setup.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import "@testing-library/jest-dom";
import { cleanup } from "@testing-library/react";
import crypto from "crypto";
import { server } from "./src/testHelpers/server";
import { server } from "testHelpers/server";
import "jest-location-mock";
import { TextEncoder, TextDecoder } from "util";
import { Blob } from "buffer";
Expand Down
12 changes: 5 additions & 7 deletions site/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
{
"compilerOptions": {
"downlevelIteration": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"isolatedModules": true,
"jsx": "react-jsx",
"lib": ["dom", "dom.iterable", "esnext"],
"module": "commonjs",
"module": "esnext",
"moduleResolution": "node",
"outDir": "./dist/",
"resolveJsonModule": true,
"outDir": "build/",
"skipLibCheck": true,
"strict": true,
"target": "es2020",
"baseUrl": "./src"
"baseUrl": "src/"
},
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["node_modules", "_jest"],
"include": ["**/*"],
"exclude": ["node_modules/", "_jest"],
"types": ["node", "jest", "@testing-library/jest-dom"]
}