Skip to content

Commit

Permalink
chore: bump @chainfile/* to v0.8 (#90)
Browse files Browse the repository at this point in the history
* chore: bump @chainfile/* to v0.8

* fix test

* fix schema
  • Loading branch information
fuxingloh authored Jun 20, 2024
1 parent 67ffca3 commit f7da8e9
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 24 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,22 @@
"lint-staged": {
"*": "prettier --write --ignore-unknown"
},
"prettier": "@workspace/prettier-config",
"devDependencies": {
"@types/node": "^20.14.2",
"@workspace/eslint-config": "workspace:*",
"@workspace/jest": "workspace:*",
"@workspace/prettier-config": "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"
},
"packageManager": "pnpm@9.3.0",
"packageManager": "pnpm@9.4.0",
"engines": {
"node": "^20 <21"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/chainfile-solana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"preset": "@workspace/jest"
},
"devDependencies": {
"@chainfile/testcontainers": "^0.6.1"
"@chainfile/testcontainers": "^0.8.0"
}
}
4 changes: 2 additions & 2 deletions packages/chainfile-solana/test-validator.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://chainfile.org/schema.json",
"caip2": "solana:00000000000000000000000000000000",
"name": "Solana Test Validator",
"values": {
"params": {
"version": {
"description": "Solana test validator version to use, the container image is built in the chainfile-solana repository. Published in to ghcr.io/vetumorg/solana-test-validator, to see the available versions check github.com/vetumorg/chainfile-solana/pkgs/container/solana-test-validator",
"default": "1.18.15"
Expand All @@ -13,7 +13,7 @@
"solana": {
"image": "ghcr.io/vetumorg/solana-test-validator",
"tag": {
"$value": "version"
"$param": "version"
},
"source": "https://github.com/vetumorg/chainfile-solana",
"resources": {
Expand Down
4 changes: 2 additions & 2 deletions packages/chainfile-solana/test-validator.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { ChainfileTestcontainers } from '@chainfile/testcontainers';
import { CFTestcontainers } from '@chainfile/testcontainers';
import { afterAll, beforeAll, describe, expect, it } from '@workspace/jest/globals';

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

const testcontainers = new ChainfileTestcontainers(test);
const testcontainers = new CFTestcontainers(test);

beforeAll(async () => {
await testcontainers.start();
Expand Down
40 changes: 23 additions & 17 deletions pnpm-lock.yaml

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

12 changes: 12 additions & 0 deletions workspace/prettier-config/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/** @type {import('prettier').Config} */
const config = {
printWidth: 120,
trailingComma: 'all',
singleQuote: true,
endOfLine: 'lf',
tabWidth: 2,
useTabs: false,
plugins: [import('prettier-plugin-packagejson')],
};

module.exports = config;
7 changes: 7 additions & 0 deletions workspace/prettier-config/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "@workspace/prettier-config",
"private": true,
"devDependencies": {
"prettier-plugin-packagejson": "^2.5.0"
}
}

0 comments on commit f7da8e9

Please sign in to comment.