From 68375af37d3d6151d1bac0b336389a025d936a3f Mon Sep 17 00:00:00 2001 From: Dan Adajian Date: Wed, 6 Mar 2024 15:29:02 -0600 Subject: [PATCH] update docs and add maven repo --- build.gradle.kts | 9 ++++++--- docs/README.md | 28 ++-------------------------- 2 files changed, 8 insertions(+), 29 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 75e01e1..c4c8dcd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,11 +1,14 @@ +repositories { + mavenCentral() +} + plugins { kotlin("jvm") version "1.9.21" } -val graphqlKotlinVersion = "7.0.2" dependencies { - implementation("com.expediagroup", "graphql-kotlin-schema-generator", graphqlKotlinVersion) - implementation("com.expediagroup", "graphql-kotlin-federation", graphqlKotlinVersion) + implementation("com.expediagroup", "graphql-kotlin-schema-generator", "7.0.2") + implementation("com.expediagroup", "graphql-kotlin-federation", "7.0.2") } sourceSets { diff --git a/docs/README.md b/docs/README.md index 0c6c2c2..98dc1b7 100644 --- a/docs/README.md +++ b/docs/README.md @@ -5,37 +5,13 @@ This website is built using [Docusaurus](https://docusaurus.io/), a modern stati ### Installation ``` -$ yarn +$ bun install ``` ### Local Development ``` -$ yarn start +$ bun docs:start ``` This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. - -### Build - -``` -$ yarn build -``` - -This command generates static content into the `build` directory and can be served using any static contents hosting service. - -### Deployment - -Using SSH: - -``` -$ USE_SSH=true yarn deploy -``` - -Not using SSH: - -``` -$ GIT_USER= yarn deploy -``` - -If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.