Skip to content

Commit

Permalink
remove @subql/validator (subquery#2121)
Browse files Browse the repository at this point in the history
* remove @subql/validator

* changelog
  • Loading branch information
jiqiang90 authored Oct 24, 2023
1 parent ac5a5e7 commit 924aed2
Show file tree
Hide file tree
Showing 32 changed files with 11 additions and 1,511 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/gh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,3 @@ jobs:
with:
package-path: packages/testing
repo-token: ${{ secrets.REPO_TOKEN }}

- uses: ./.github/actions/create-release
with:
package-path: packages/validator
repo-token: ${{ secrets.REPO_TOKEN }}
12 changes: 0 additions & 12 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ jobs:
with:
paths: packages/testing

- uses: marceloprado/has-changed-path@v1
id: changed-validator
with:
paths: packages/validator

- run: yarn

- name: build
Expand Down Expand Up @@ -159,13 +154,6 @@ jobs:
package-path: packages/query
npm-token: ${{ secrets.NPM_TOKEN }}

- name: Bump validator & deploy
if: steps.changed-validator.outputs.changed == 'true'
uses: ./.github/actions/create-prerelease
with:
package-path: packages/validator
npm-token: ${{ secrets.NPM_TOKEN }}

- name: Bump cli & deploy
if: steps.changed-cli.outputs.changed == 'true'
uses: ./.github/actions/create-prerelease
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ jobs:
with:
paths: packages/query

- uses: marceloprado/has-changed-path@v1
id: changed-validator
with:
paths: packages/validator

- uses: marceloprado/has-changed-path@v1
id: changed-testing
with:
Expand Down Expand Up @@ -170,14 +165,6 @@ jobs:
repo-token: ${{ secrets.REPO_TOKEN }}
npm-token: ${{ secrets.NPM_TOKEN }}

- name: Publish Validator
if: steps.changed-validator.outputs.changed == 'true'
uses: ./.github/actions/create-release
with:
package-path: packages/validator
repo-token: ${{ secrets.REPO_TOKEN }}
npm-token: ${{ secrets.NPM_TOKEN }}

- name: Publish Cli
if: steps.changed-cli.outputs.changed == 'true'
uses: ./.github/actions/create-release
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ You'll also use our custom-built GraphQL query service [`@subql/query`](https://
* [`@subql/common`](packages/common)
* [`@subql/common-substrate`](packages/common-substrate)
* [`@subql/types`](packages/types)
* [`@subql/validator`](packages/validator)

## Contribute

Expand Down
1 change: 0 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ module.exports = {
'packages/types-core/src/**/*.ts',
'packages/node/src/**/*.ts',
'packages/utils/src/**/*.ts',
'packages/validator/src/**/*.ts',
],

// The directory where Jest should output its coverage files
Expand Down
2 changes: 2 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Removed `validate` command from cli, also removed from `@subql/validator` from dependencies (#2121)
### Added
- Multichain support for TypeScript manifest (#2097)
- Support for multi endpoints CLI deployment (#2117)
Expand Down
1 change: 0 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"@subql/common-stellar": "^3.0.0",
"@subql/common-substrate": "workspace:*",
"@subql/utils": "workspace:*",
"@subql/validator": "workspace:*",
"algosdk": "^1.19.0",
"boxen": "5.1.2",
"cli-ux": "^6.0.9",
Expand Down
73 changes: 0 additions & 73 deletions packages/cli/src/commands/validate.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/cli/test/schemaTest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"dependencies": {
"@subql/common": "latest",
"@subql/types-ethereum": "latest",
"@subql/validator": "latest",
"assert": "^2.0.0"
},
"devDependencies": {
Expand Down
7 changes: 1 addition & 6 deletions packages/cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@
"outDir": "lib",
"noImplicitAny": true
},
"references": [
{"path": "../common"},
{"path": "../common-substrate"},
{"path": "../utils"},
{"path": "../validator"}
],
"references": [{"path": "../common"}, {"path": "../common-substrate"}, {"path": "../utils"}],
"include": ["src/**/*"],
"exclude": ["test/schemaTest/project.ts"]
}
172 changes: 0 additions & 172 deletions packages/validator/CHANGELOG.md

This file was deleted.

Loading

0 comments on commit 924aed2

Please sign in to comment.