Skip to content

Commit 1ff36b2

Browse files
authored
Revert "fix(deps): update dependency react-syntax-highlighter to v16 (#532)"
This reverts commit c30ba8b.
1 parent c30ba8b commit 1ff36b2

File tree

5 files changed

+34
-31
lines changed

5 files changed

+34
-31
lines changed

frontend/index.html

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
<!doctype html>
22
<html lang="en">
3-
4-
<head>
5-
<meta charset="UTF-8" />
6-
<link rel="icon" href="/favicon.ico" />
7-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>BCGov Public Code</title>
9-
</head>
10-
11-
<body>
12-
<div id="root"></div>
13-
<script type="module" src="/src/main.jsx"></script>
14-
</body>
15-
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" href="/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>BCGov Public Code</title>
8+
<script src="/config.js"></script>
9+
</head>
10+
<body>
11+
<div id="root"></div>
12+
<script type="module" src="/src/main.jsx"></script>
13+
</body>
1614
</html>

frontend/package-lock.json

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

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"react": "^19.0.0",
2525
"react-dom": "^19.0.0",
2626
"react-router": "^7.1.5",
27-
"react-syntax-highlighter": "^15.6.6",
27+
"react-syntax-highlighter": "^15.6.1",
2828
"react-toastify": "^11.0.3"
2929
},
3030
"devDependencies": {

frontend/public/config.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

frontend/vite.config.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,5 @@ export default defineConfig({
99
proxy: {
1010
'/api': 'http://localhost:3000',
1111
},
12-
},
13-
define: {
14-
// Define window.config for build time - will be overridden by Caddy in production
15-
'window.config': JSON.stringify({
16-
VITE_SCHEMA_BRANCH: 'main',
17-
VITE_POWERBI_URL: ''
18-
})
1912
}
2013
})

0 commit comments

Comments
 (0)