Skip to content

Commit

Permalink
chore: refactor project (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh authored Mar 19, 2024
1 parent f03d849 commit 86dd55d
Show file tree
Hide file tree
Showing 13 changed files with 147 additions and 154 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ permissions:
contents: read
packages: read

env:
BUILDKIT_PROGRESS: plain

jobs:
build:
name: Build
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
permissions:
contents: read

env:
BUILDKIT_PROGRESS: plain

jobs:
version:
runs-on: ubuntu-latest
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@karfia/solana-test-validator",
"name": "@karfia/solana-00000000000000000000000000000000",
"version": "0.0.0",
"private": false,
"repository": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "./node_modules/karfia-definition/index.json",
"id": "solana:test-validator/solana-test-validator:1.17.26",
"caip2": "solana:test-validator",
"id": "solana:00000000000000000000000000000000/solana-test-validator:1.17.26",
"caip2": "solana:00000000000000000000000000000000",
"name": "Solana Test Validator",
"containers": {
"solana-test-validator": {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@swc/core": "^1.4.6",
"@swc/core": "^1.4.8",
"@swc/jest": "^0.2.36",
"@types/node": "^20.11.25",
"@types/node": "^20.11.29",
"@workspace/eslint-config": "workspace:*",
"@workspace/prettier-config": "workspace:*",
"eslint": "^8.57.0",
Expand All @@ -28,7 +28,7 @@
"typescript": "5.3.3",
"wait-for-expect": "^3.0.2"
},
"packageManager": "pnpm@8.15.4",
"packageManager": "pnpm@8.15.5",
"engines": {
"node": "^20 <21",
"pnpm": "^8 <9"
Expand Down
1 change: 0 additions & 1 deletion packages/karfia-agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ COPY --from=pruner /app/out/full/ .
# To relink dependencies with ./bin links
RUN pnpm install --frozen-lockfile --offline

ARG PACKAGE_PATH
RUN pnpm turbo run build --filter=karfia-agent

# Run agent
Expand Down
4 changes: 2 additions & 2 deletions packages/karfia-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"license": "MPL-2.0",
"scripts": {
"build": "tsc --project tsconfig.build.json",
"build:docker": "docker build -t ghcr.io/fuxingloh/karfia-agent:$(node -p \"require('./package.json').version\") -f Dockerfile ../../",
"build:docker": "docker buildx build --progress=plain -t ghcr.io/fuxingloh/karfia-agent:$(node -p \"require('./package.json').version\") -f Dockerfile ../../",
"clean": "tsc --build --clean",
"lint": "eslint .",
"push:docker": "docker buildx build -t ghcr.io/fuxingloh/karfia-agent:$(node -p \"require('./package.json').version\") -f Dockerfile ../../ --output type=registry --platform linux/amd64,linux/arm64",
"push:docker": "docker buildx build --progress=plain -t ghcr.io/fuxingloh/karfia-agent:$(node -p \"require('./package.json').version\") -f Dockerfile ../../ --output type=registry --platform linux/amd64,linux/arm64",
"test": "jest --passWithNoTests"
},
"lint-staged": {
Expand Down
2 changes: 1 addition & 1 deletion packages/karfia-testcontainers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"karfia-definition": "workspace:^",
"karfia-docker-compose": "workspace:^",
"testcontainers": "^10.7.1"
"testcontainers": "^10.7.2"
},
"devDependencies": {
"@workspace/jest-preset": "workspace:*",
Expand Down
Loading

0 comments on commit 86dd55d

Please sign in to comment.