Skip to content

Commit

Permalink
fix(cli): fix template tests and docs pub (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
zfy0701 authored Jan 1, 2023
1 parent fbaffb8 commit 2be0709
Show file tree
Hide file tree
Showing 7 changed files with 980 additions and 157 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install
run: yarn install
- name: Build
run: yarn lerna run build --no-private --ignore @sentio/runtime --ignore @sentio/sdk-all
run: yarn lerna run build --no-private --ignore @sentio/sdk-all
- name: Create the docs directory locally in CI
run: yarn docs
- name: Deploy 🚀
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/templates/aptos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"upload": "sentio upload"
},
"dependencies": {
"@sentio/sdk": "^1.0.0-development",
"@sentio/sdk-aptos": "^1.0.0-development"
"@sentio/sdk": "^1.0.0",
"@sentio/sdk-aptos": "^1.0.0"
},
"devDependencies": {
"@types/jest": "^29.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/templates/evm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"upload": "sentio upload"
},
"dependencies": {
"@sentio/sdk": "^1.0.0-development"
"@sentio/sdk": "^1.0.0"
},
"devDependencies": {
"@types/jest": "^29.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/templates/raw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"upload": "sentio upload"
},
"dependencies": {
"@sentio/sdk": "^1.0.0-development"
"@sentio/sdk": "^1.0.0"
},
"devDependencies": {
"@types/jest": "^29.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/templates/solana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"upload": "sentio upload"
},
"dependencies": {
"@sentio/sdk": "^1.0.0-development",
"@sentio/sdk-solana": "^1.0.0-development"
"@sentio/sdk": "^1.0.0",
"@sentio/sdk-solana": "^1.0.0"
},
"devDependencies": {
"@types/jest": "^29.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/templates/solana/src/processor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('Test Processor', () => {
})

test('has valid config', async () => {
// const config = await service.getConfig({})
// expect(config.contractConfigs.length > 0).toBeTruthy()
const config = await service.getConfig({})
expect(config.contractConfigs.length > 0).toBeTruthy()
})
})
Loading

0 comments on commit 2be0709

Please sign in to comment.