Skip to content

Commit 88f0d43

Browse files
committed
Fix entropy debug app config
1 parent 50415c1 commit 88f0d43

32 files changed

+4208
-12279
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ patches/
2020
apps/api-reference
2121
apps/staking
2222
apps/insights
23+
apps/entropy-debug
2324
governance/pyth_staking_sdk
2425
packages/*

apps/entropy-debug/.gitignore

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2-
3-
# dependencies
4-
/node_modules
5-
/.pnp
6-
.pnp.*
7-
.yarn/*
8-
!.yarn/patches
9-
!.yarn/plugins
10-
!.yarn/releases
11-
!.yarn/versions
12-
13-
# testing
14-
/coverage
15-
16-
# next.js
17-
/.next/
18-
/out/
19-
20-
# production
21-
/build
22-
23-
# misc
24-
.DS_Store
25-
*.pem
26-
27-
# debug
28-
npm-debug.log*
29-
yarn-debug.log*
30-
yarn-error.log*
31-
32-
# env files (can opt-in for committing if needed)
33-
.env*
34-
35-
# vercel
36-
.vercel
37-
38-
# typescript
39-
*.tsbuildinfo
40-
next-env.d.ts
1+
.env*.local

apps/entropy-debug/.prettierignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.next/
2+
coverage/
3+
node_modules/
4+
*.tsbuildinfo
5+
.env*.local
6+
.env
7+
.DS_Store

apps/entropy-debug/components.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
"hooks": "@/hooks"
1919
},
2020
"iconLibrary": "lucide"
21-
}
21+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { nextjs as default } from "@cprussin/eslint-config";

apps/entropy-debug/jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { nextjs as default } from "@cprussin/jest-config";

apps/entropy-debug/next-env.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/image-types/global" />
3+
4+
// NOTE: This file should not be edited
5+
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

apps/entropy-debug/next.config.js

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
const config = {
2+
reactStrictMode: true,
3+
4+
pageExtensions: ["ts", "tsx", "mdx"],
5+
6+
logging: {
7+
fetches: {
8+
fullUrl: true,
9+
},
10+
},
11+
12+
webpack(config) {
13+
config.resolve.extensionAlias = {
14+
".js": [".js", ".ts", ".tsx"],
15+
};
16+
17+
return config;
18+
},
19+
20+
headers: async () => [
21+
{
22+
source: "/:path*",
23+
headers: [
24+
{
25+
key: "X-XSS-Protection",
26+
value: "1; mode=block",
27+
},
28+
{
29+
key: "Referrer-Policy",
30+
value: "strict-origin-when-cross-origin",
31+
},
32+
{
33+
key: "Strict-Transport-Security",
34+
value: "max-age=2592000",
35+
},
36+
{
37+
key: "X-Content-Type-Options",
38+
value: "nosniff",
39+
},
40+
{
41+
key: "Permissions-Policy",
42+
value:
43+
"vibrate=(), geolocation=(), midi=(), notifications=(), push=(), sync-xhr=(), microphone=(), camera=(), magnetometer=(), gyroscope=(), speaker=(), vibrate=(), fullscreen=self",
44+
},
45+
],
46+
},
47+
],
48+
};
49+
export default config;

apps/entropy-debug/next.config.ts

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

0 commit comments

Comments
 (0)