Skip to content
This repository was archived by the owner on Jun 19, 2024. It is now read-only.

Commit 7f520ee

Browse files
authored
chore: move all src into src/ for better organization (#2425)
* chore: move all src into `src/` for better organization * refactor: remove unused imports and types
1 parent a7f39bc commit 7f520ee

860 files changed

Lines changed: 938 additions & 1779 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ module.exports = {
178178
},
179179
overrides: [
180180
{
181-
files: "core-ui/**/*",
181+
files: "src/core-ui/**/*",
182182
rules: {
183183
// no restricted imports
184184
"@typescript-eslint/no-restricted-imports": [
@@ -204,7 +204,7 @@ module.exports = {
204204
},
205205
// disable restricted imports in tw-components
206206
{
207-
files: "tw-components/**/*",
207+
files: "src/tw-components/**/*",
208208
rules: {
209209
"no-restricted-imports": ["off"],
210210
},

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dist/
66
node_modules/
77
typechain/
88
.next/
9-
graphql/
9+
src/graphql/
1010

1111
# files
1212
coverage.json

batch-test/0.gif

-3.95 MB
Binary file not shown.

batch-test/0.mp4

-3.1 MB
Binary file not shown.

batch-test/1.gif

-4.11 MB
Binary file not shown.

batch-test/1.mp4

-2.56 MB
Binary file not shown.

batch-test/test.csv

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

codegen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ const config: CodegenConfig = {
2626
],
2727
// emitLegacyCommonJSImports: false,
2828
// this is annoying, would be better if all of our code was in src/
29-
documents: ["./graphql/**/*.graphql"],
29+
documents: ["./src/graphql/**/*.graphql"],
3030
generates: {
31-
"./graphql/generated.ts": {
31+
"./src/graphql/generated.ts": {
3232
plugins: [
3333
"typescript",
3434
"typescript-operations",

components/mission/OverviewSection.tsx

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

components/payments/contracts/overview/contracts-list.tsx

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

0 commit comments

Comments
 (0)