From 7f440431bac0641bedcf7b7aa08ce6719fc1e4a4 Mon Sep 17 00:00:00 2001 From: Tom Sherman Date: Thu, 5 Sep 2024 10:19:00 +0100 Subject: [PATCH] Add 1password env file and script --- packages/frontpage/.env.1pw | 8 ++++++++ packages/frontpage/package.json | 1 + 2 files changed, 9 insertions(+) create mode 100644 packages/frontpage/.env.1pw diff --git a/packages/frontpage/.env.1pw b/packages/frontpage/.env.1pw new file mode 100644 index 00000000..17f36032 --- /dev/null +++ b/packages/frontpage/.env.1pw @@ -0,0 +1,8 @@ +AUTH_SECRET="op://Unravel Dev/Frontpage Dev Env/DRAINPIPE_CONSUMER_SECRET" +# DISCORD_WEBHOOK_URL="op://Unravel Dev/Frontpage Dev Env/DISCORD_WEBHOOK_URL" +DRAINPIPE_CONSUMER_SECRET="op://Unravel Dev/Frontpage Dev Env/DRAINPIPE_CONSUMER_SECRET" +PRIVATE_JWK="op://Unravel Dev/Frontpage Dev Env/PRIVATE_JWK" +PUBLIC_JWK="op://Unravel Dev/Frontpage Dev Env/PUBLIC_JWK" + +TURSO_CONNECTION_URL="op://Unravel Dev/Frontpage Dev Env/TURSO_CONNECTION_URL" +TURSO_AUTH_TOKEN="op://Unravel Dev/Frontpage Dev Env/TURSO_AUTH_TOKEN" diff --git a/packages/frontpage/package.json b/packages/frontpage/package.json index 04481cdd..f521737c 100644 --- a/packages/frontpage/package.json +++ b/packages/frontpage/package.json @@ -4,6 +4,7 @@ "private": true, "scripts": { "dev": "next dev", + "dev-1pw": "op run --env-file=\"./.env.1pw\" -- next dev", "build": "next build", "start": "next start", "lint": "eslint .",