From 02b5d6ede406536240097e20cc60c8c7090bc36e Mon Sep 17 00:00:00 2001 From: josefaidt Date: Wed, 22 Jun 2022 09:06:42 -0500 Subject: [PATCH] chore: private packages, add setup command --- README.md | 9 ++++----- cdk/package.json | 1 + package.json | 1 + packages/support/package.json | 1 + 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9b9ab39c..4f108c7a 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,11 @@ This repository contains the source code for the [AWS Amplify Discord Server](ht - pnpm v6.32.3 1. `gh repo fork aws-amplify/discord-bot` -2. `pnpm install` +2. `pnpm run setup` 3. Rename `.env.sample` to `.env` and [add necessary Discord environment values](#setting-up-a-discord-bot) -4. Build packages with `pnpm build:lib` -5. Run the bot with `pnpm dev` -6. Navigate to `http://localhost:3000/admin` and sync the commands -7. Refresh your Discord client and try out a command! +4. Run the bot with `pnpm dev` +5. Navigate to `http://localhost:3000/admin` and sync the commands +6. Refresh your Discord client and try out a command! ### Setting up a Discord Bot diff --git a/cdk/package.json b/cdk/package.json index 2643636c..2946c4ef 100644 --- a/cdk/package.json +++ b/cdk/package.json @@ -1,5 +1,6 @@ { "version": "0.1.0", + "private": true, "scripts": { "synth": "cdk synth", "deploy": "cdk deploy" diff --git a/package.json b/package.json index 9ec0a07f..38894875 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "preview": "svelte-kit preview", "prepare": "prisma generate", "pretest": "pnpm package", + "setup": "pnpm install && pnpm build:lib", "test": "vitest", "e2e": "vitest run --mode e2e", "coverage": "vitest run --coverage" diff --git a/packages/support/package.json b/packages/support/package.json index 2417c123..45d79254 100644 --- a/packages/support/package.json +++ b/packages/support/package.json @@ -1,6 +1,7 @@ { "name": "@hey-amplify/support", "type": "module", + "private": true, "version": "0.1.0", "license": "Apache-2.0", "decription": "",