Skip to content

Commit

Permalink
chore(project): flatten configs (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh authored Jun 17, 2024
1 parent be9b4cf commit 703ebca
Show file tree
Hide file tree
Showing 19 changed files with 3,483 additions and 2,640 deletions.
12 changes: 0 additions & 12 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,6 @@ updates:
- 'minor'
- 'patch'
exclude-patterns:
- 'eslint'
- '@solana/web3.js'
- 'chainfile-*'
- '@chainfile/*'
workspace:
update-types:
- 'minor'
- 'patch'
patterns:
- 'prettier-*'
- 'typescript-eslint'
- 'globals'
- '@eslint/*'
- 'eslint'
- 'eslint-*'
4 changes: 4 additions & 0 deletions .idea/dictionaries/fuxing.xml

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

15 changes: 5 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,21 @@
"*": "prettier --write --ignore-unknown"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@swc/core": "^1.5.29",
"@swc/jest": "0.2.36",
"@types/node": "^20.14.2",
"@workspace/eslint-config": "workspace:*",
"@workspace/jest-preset": "workspace:*",
"@workspace/prettier-config": "workspace:*",
"@workspace/jest": "workspace:*",
"@workspace/tsconfig": "workspace:*",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"jest": "29.7.0",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"prettier-plugin-packagejson": "^2.5.0",
"turbo": "^2.0.4",
"typescript": "5.4.5",
"wait-for-expect": "^3.0.2"
"typescript": "5.4.5"
},
"packageManager": "pnpm@8.15.8",
"packageManager": "pnpm@9.3.0",
"engines": {
"node": "^20 <21",
"pnpm": "^8 <9"
"node": "^20 <21"
}
}
2 changes: 1 addition & 1 deletion packages/chainfile-solana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test": "jest"
},
"jest": {
"preset": "@workspace/jest-preset"
"preset": "@workspace/jest"
},
"devDependencies": {
"@chainfile/testcontainers": "^0.6.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/chainfile-solana/test-validator.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ChainfileTestcontainers } from '@chainfile/testcontainers';
import { afterAll, beforeAll, describe, expect, it } from '@jest/globals';
import { afterAll, beforeAll, describe, expect, it } from '@workspace/jest/globals';

import test from './test-validator.json';

Expand Down
2 changes: 1 addition & 1 deletion packages/solana-testcontainers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
]
},
"jest": {
"preset": "@workspace/jest-preset"
"preset": "@workspace/jest"
},
"dependencies": {
"testcontainers": "^10.9.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/solana-testcontainers/src/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { afterAll, beforeAll, expect, it } from '@jest/globals';
import { Connection, PublicKey } from '@solana/web3.js';
import { afterAll, beforeAll, expect, it } from '@workspace/jest/globals';

import { SolanaContainer, StartedSolanaContainer } from './index';

Expand Down
Loading

0 comments on commit 703ebca

Please sign in to comment.