Skip to content

Commit

Permalink
fix: npm root package name
Browse files Browse the repository at this point in the history
  • Loading branch information
amitksingh1490 committed Jun 11, 2024
1 parent 30927d2 commit 28e39e6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -510,9 +510,10 @@ jobs:
cd npm
npm run gen-root -- --version ${{ env.APP_VERSION }} --name @tailcallhq/tailcall
- name: Publish package Tailcall
uses: JS-DevTools/npm-publish@v3
uses: JS-DevTools/npm-publish@main
with:
token: ${{ secrets.NPM_TOKEN }}
name: "@tailcallhq/tailcall"
package: npm/@tailcallhq/tailcall
access: public
- name: Run generate-root.js script
Expand All @@ -522,10 +523,11 @@ jobs:
cd npm
npm run gen-root -- --version ${{ env.APP_VERSION }} --name graphql-runtime
- name: Publish package graphql-runtime
uses: JS-DevTools/npm-publish@v3
uses: JS-DevTools/npm-publish@main
with:
token: ${{ secrets.NPM_TOKEN }}
package: npm/graphql-runtime
name: graphql-runtime
package: npm/@tailcallhq/tailcall
access: public
- name: Run generate-root.js script
env:
Expand All @@ -534,10 +536,11 @@ jobs:
cd npm
npm run gen-root -- --version ${{ env.APP_VERSION }} --name graphql-core
- name: Publish package graphql-core
uses: JS-DevTools/npm-publish@v3
uses: JS-DevTools/npm-publish@main
with:
token: ${{ secrets.NPM_TOKEN }}
package: npm/graphql-core
name: graphql-core
package: npm/@tailcallhq/tailcall
access: public
- name: Run generate-root.js script
env:
Expand All @@ -546,10 +549,11 @@ jobs:
cd npm
npm run gen-root -- --version ${{ env.APP_VERSION }} --name @tailcallhq/graphql
- name: Publish package @tailcallhq/graphql
uses: JS-DevTools/npm-publish@v3
uses: JS-DevTools/npm-publish@main
with:
token: ${{ secrets.NPM_TOKEN }}
package: npm/@tailcallhq/graphql
name: "@tailcallhq/graphql"
package: npm/@tailcallhq/tailcall
access: public
- name: Run generate-root.js script
env:
Expand All @@ -558,10 +562,11 @@ jobs:
cd npm
npm run gen-root -- --version ${{ env.APP_VERSION }} --name graphql-runkit
- name: Publish package graphql-runkit
uses: JS-DevTools/npm-publish@v3
uses: JS-DevTools/npm-publish@main
with:
token: ${{ secrets.NPM_TOKEN }}
package: npm/graphql-runkit
name: graphql-runkit
package: npm/@tailcallhq/tailcall
access: public
env:
APP_VERSION: ${{needs.draft_release.outputs.create_release_name }}
Expand Down
1 change: 0 additions & 1 deletion src/core/blueprint/blueprint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ pub enum Definition {
Union(UnionTypeDefinition),
}
impl Definition {
/// gets the name of the definition
pub fn name(&self) -> &str {
match self {
Definition::Interface(def) => &def.name,
Expand Down

1 comment on commit 28e39e6

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running 30s test @ http://localhost:8000/graphql

4 threads and 100 connections

Thread Stats Avg Stdev Max +/- Stdev
Latency 6.64ms 3.17ms 101.94ms 74.55%
Req/Sec 3.82k 204.32 4.49k 90.75%

456213 requests in 30.02s, 2.29GB read

Requests/sec: 15199.22

Transfer/sec: 78.01MB

Please sign in to comment.