@berachain/graphql 0.1.0-alpha.8 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -9
- package/dist/bend/whisk.codegen.d.mts +1798 -0
- package/dist/bend/whisk.codegen.d.ts +15 -15
- package/dist/bend/whisk.codegen.mjs +424 -0
- package/dist/chain/chain.codegen.d.mts +376 -0
- package/dist/chain/chain.codegen.d.ts +2 -2
- package/dist/chain/chain.codegen.mjs +12 -0
- package/dist/dex/api.codegen.d.mts +3845 -0
- package/dist/dex/api.codegen.d.ts +52 -43
- package/dist/dex/api.codegen.js +2 -2
- package/dist/dex/api.codegen.mjs +199 -0
- package/dist/dex/subgraph.codegen.d.mts +5887 -0
- package/dist/dex/subgraph.codegen.d.ts +9 -9
- package/dist/dex/subgraph.codegen.mjs +88 -0
- package/dist/governance/governance.codegen.d.mts +1622 -0
- package/dist/governance/governance.codegen.d.ts +9 -9
- package/dist/governance/governance.codegen.mjs +116 -0
- package/dist/honey/honey.codegen.d.mts +936 -0
- package/dist/honey/honey.codegen.d.ts +10 -10
- package/dist/honey/honey.codegen.mjs +104 -0
- package/dist/pol/api.codegen.d.mts +3631 -0
- package/dist/pol/api.codegen.d.ts +61 -52
- package/dist/pol/api.codegen.js +2 -2
- package/dist/pol/api.codegen.mjs +301 -0
- package/dist/pol/subgraph.codegen.d.mts +4671 -0
- package/dist/pol/subgraph.codegen.d.ts +20 -20
- package/dist/pol/subgraph.codegen.mjs +197 -0
- package/package.json +16 -12
package/README.md
CHANGED
|
@@ -8,14 +8,10 @@ Don't use this package unless you're from the Berachain team. API is unstable an
|
|
|
8
8
|
|
|
9
9
|
## Development
|
|
10
10
|
|
|
11
|
-
The package is published as `@berachain/graphql`, however you'll find the package name locally as `@berachain/graphql-local`. This is because `pnpm` always prefers local packages if they match the version required by consumers, however we don't want this package to build on every dapp build. In order to publish the package with the public name, `prepublishOnly` and `postpublish` scripts take care of publishing the package without the `-local` suffix.
|
|
12
|
-
|
|
13
11
|
If you want to test locally (and without publishing) how changes to this package affect dapps, you can:
|
|
14
|
-
- rename the package without the `-local` suffix
|
|
15
|
-
- run `pnpm i` and build the package
|
|
16
|
-
- test your changes
|
|
17
|
-
- publish the package and update the version in `pnpm-workspace.yaml`
|
|
18
|
-
- add the `-local` suffix back to the package. A CI check will make sure we don't merge this otherwise.
|
|
19
12
|
|
|
20
|
-
|
|
21
|
-
|
|
13
|
+
- go on the app you want to test and run `pn i @berachain/graphql@workspace:`
|
|
14
|
+
- build the package and test it out
|
|
15
|
+
- bump the version on this package and run `pnpm publish`
|
|
16
|
+
- update the version in the `internal` catalog on `pnpn-workspace.yml`
|
|
17
|
+
- run `pnpm i @berachain/graphql@catalog:internal` the package will be unlinked
|