Skip to content

Commit

Permalink
chore: remove insecurity
Browse files Browse the repository at this point in the history
  • Loading branch information
seferturan committed Feb 12, 2025
1 parent 0155428 commit 3327e87
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 78 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ jobs:
run: 'deno task build:preview'
env:
TRAKT_CLIENT_ID: ${{ secrets.TRAKT_CLIENT_ID }}
TRAKT_SESSION_SECRET: ${{ secrets.TRAKT_SESSION_SECRET }}

- name: Witnessing the Premonition ake Run Preview
working-directory: projects/client
Expand Down Expand Up @@ -163,6 +164,7 @@ jobs:
FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID }}
FIREBASE_MEASUREMENT_ID: ${{ secrets.FIREBASE_MEASUREMENT_ID }}
FIREBASE_MESSAGING_SENDER_ID: ${{ secrets.FIREBASE_MESSAGING_SENDER_ID }}
TRAKT_SESSION_SECRET: ${{ secrets.TRAKT_SESSION_SECRET }}

- name: Delivering the Goods aka Upload Build
if: github.ref == 'refs/heads/main'
Expand Down
1 change: 0 additions & 1 deletion INFRASTRUCTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ intone the following incantation:
# This is required if the secrets are not already set or have changed
echo "$TRAKT_CLIENT_ID" | npx wrangler pages secret put TRAKT_CLIENT_ID
echo "$TRAKT_CLIENT_SECRET" | npx wrangler pages secret put TRAKT_CLIENT_SECRET
echo "$TRAKT_SESSION_SECRET" | npx wrangler pages secret put TRAKT_SESSION_SECRET

# This will build the client and deploy it to Cloudflare Pages
[deno|npm|bun] task build && npx wrangler pages deploy
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ properly:
- **`TRAKT_CLIENT_ID`:** The client ID for the Trakt API.
- **`TRAKT_CLIENT_SECRET`:** The client secret for the Trakt API.
- Required for the `playground` project.
- **`TRAKT_SESSION_SECRET`:** The session encryption secret for the Trakt API.
- `deno task insecurity:generate`

### External Contribution - Unleash Your Inner Code Wizard!

Expand Down
24 changes: 0 additions & 24 deletions projects/client/.scripts/generate-insecurity.ts

This file was deleted.

3 changes: 1 addition & 2 deletions projects/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"i18n:resolve": "deno run --allow-read --allow-write .scripts/resolve-i18n.ts",
"i18n:traktify": "deno run --allow-read --allow-write --allow-net --allow-env .scripts/traktify-i18n.ts",
"i18n:delete": "deno run --allow-read --allow-write --allow-env .scripts/delete-i18n.ts",
"cloudflare:cleanse": "deno run --allow-env --allow-net .scripts/cleanse-cloudflare.ts",
"insecurity:generate": "deno run .scripts/generate-insecurity.ts"
"cloudflare:cleanse": "deno run --allow-env --allow-net .scripts/cleanse-cloudflare.ts"
},
"devDependencies": {
"@cucumber/cucumber": "^11.2.0",
Expand Down
33 changes: 0 additions & 33 deletions projects/client/src/lib/features/auth/utils/encrypt.spec.ts

This file was deleted.

16 changes: 0 additions & 16 deletions projects/client/src/lib/features/auth/utils/encrypt.ts

This file was deleted.

0 comments on commit 3327e87

Please sign in to comment.