Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions client/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
build/
public/config.json
.react-router/types
storybook-static/
4 changes: 2 additions & 2 deletions client/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ export default defineConfig([
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:jest/recommended",
"prettier"
"prettier",
),
],
plugins: {
Expand Down Expand Up @@ -349,7 +349,7 @@ export default defineConfig([
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
"plugin:jest/recommended",
"prettier"
"prettier",
),
],
plugins: {
Expand Down
214 changes: 47 additions & 167 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@
"jest": "^30.2.0",
"jest-websocket-mock": "^2.5.0",
"jsdom": "^27.4.0",
"prettier": "^2.8.7",
"pretty-quick": "^3.3.1",
"prettier": "^3.8.3",
"pretty-quick": "^4.2.2",
"react-test-renderer": "^19.2.4",
"storybook": "^10.2.15",
"typescript": "^5.3.2",
Expand Down
8 changes: 6 additions & 2 deletions client/public/static/public/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
font-family: "Inter";
font-style: normal;
font-weight: 400;
src: local("Inter Regular"), local("Inter-Regular"),
src:
local("Inter Regular"),
local("Inter-Regular"),
url("./fonts/Inter/static/Inter-Regular.ttf") format("truetype");
font-display: swap;
}
Expand All @@ -11,7 +13,9 @@
font-family: "Inter";
font-style: normal;
font-weight: 600;
src: local("Inter Bold"), local("Inter-Bold"),
src:
local("Inter Bold"),
local("Inter-Bold"),
url("./fonts/Inter/static/Inter-Bold.ttf") format("truetype");
font-display: swap;
}
Expand Down
6 changes: 3 additions & 3 deletions client/scripts/update_api_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,12 @@ async function updateApiFiles({ specFile, destFile }) {
const DEST_FILE = destFile;

console.log(
`Updating "${DEST_FILE}" with spec file from release ${DATA_SERVICES_RELEASE}...`
`Updating "${DEST_FILE}" with spec file from release ${DATA_SERVICES_RELEASE}...`,
);

const fileUrl = new URL(
join(DATA_SERVICES_REPO, DATA_SERVICES_RELEASE, API_SPEC_FILE),
GH_BASE_URL
GH_BASE_URL,
);
const res = await fetch(fileUrl);
if (res.status >= 400) {
Expand All @@ -179,7 +179,7 @@ async function updateApiFiles({ specFile, destFile }) {
await new Promise((resolve, reject) => {
const cp = exec(["npx", "prettier", "-w", DEST_FILE].join(" "));
cp.on("error", (error) =>
reject(new Error("failed to run prettier", { cause: error }))
reject(new Error("failed to run prettier", { cause: error })),
);
cp.on("exit", (code) => {
code == 0 ? resolve() : reject(new Error("failed to run prettier"));
Expand Down
Loading
Loading