Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
470 commits
Select commit Hold shift + click to select a range
629109c
fix: exec pnpm
nftchance Jun 13, 2025
b125e47
fix: build → start
nftchance Jun 13, 2025
64ac9c5
fix: nix
nftchance Jun 13, 2025
8b62552
fix: dotenv order
nftchance Jun 13, 2025
5673f29
fix: dotenv
nftchance Jun 13, 2025
fdbd7fd
fix: include forge in start
nftchance Jun 13, 2025
85b0a66
chore: include foundry
nftchance Jun 13, 2025
bdf352d
fix: ... nix
nftchance Jun 13, 2025
37289ee
fix: include mg generation in start
nftchance Jun 13, 2025
753271c
fix: update nixpacks
nftchance Jun 13, 2025
36d2a15
fix: foundry path
nftchance Jun 13, 2025
1d850eb
fix: start
nftchance Jun 13, 2025
e327a91
forge install: solady
drakedanner Jun 16, 2025
e3ca3e2
feat: update sdk to use error responses
nftchance Jun 17, 2025
56c8b4c
Merge branch 'staging' of https://github.com/terminally-online/plug i…
nftchance Jun 17, 2025
28a7e87
feat: add nouns to cdn
nftchance Jun 20, 2025
d213da0
chore: formatting
nftchance Jun 26, 2025
691e203
chore: cleanup app migration artifacts
nftchance Jun 26, 2025
73f8bd0
feat: core v0.5.3
nftchance Jun 26, 2025
24b7117
chore: formatting
nftchance Jun 26, 2025
e97f035
feat: v0.5.3 references
nftchance Jun 26, 2025
f73b52e
chore: formatting
nftchance Jun 26, 2025
deb0fa3
chore: formatting
nftchance Jun 26, 2025
ff093df
chore: formatting
nftchance Jun 26, 2025
cf06278
feat: expose ParseABI from references
nftchance Jun 27, 2025
24bfc8b
chore: downgrade go-ethereum to v15
nftchance Jun 30, 2025
23ec284
feat: add help image
nftchance Aug 3, 2025
5dc154a
feat: landing page updates
nftchance Aug 6, 2025
7ab1321
fix: cleanup
nftchance Aug 6, 2025
245f699
fix: build issues
nftchance Aug 6, 2025
da24f1b
fix: backspacing on autocompleted input
nftchance Aug 6, 2025
d5628e6
chore: shorter placeholder copy
nftchance Aug 6, 2025
ee35cad
feat: mobile and pane aware navbar
nftchance Aug 6, 2025
055fd10
feat: todays work
nftchance Aug 8, 2025
4dbcdc2
feat: alpha updates
nftchance Aug 8, 2025
97057a7
chore: ignore licenses in changesets
nftchance Aug 8, 2025
96c5d26
feat: mobile navigation
nftchance Aug 8, 2025
4c8ed55
feat: updated landing
nftchance Aug 9, 2025
0e2760c
fix: typo
nftchance Aug 15, 2025
0b913a5
feat: re-implement less buggy node graph
nftchance Aug 15, 2025
9382a6f
fix: cringe
nftchance Aug 15, 2025
a828293
fix: cringe and discord icon issues
nftchance Aug 15, 2025
2d1a405
fix: blur artifacts on some browsers
nftchance Aug 15, 2025
0e6aecd
fix: navigation opacities
nftchance Aug 15, 2025
b233bc9
fix: bunch of small bugs
nftchance Aug 16, 2025
3506510
fix: column issues on safari
nftchance Aug 16, 2025
6a00c89
fix: build errors
nftchance Aug 16, 2025
ffe6a04
fix: final node graph updates
nftchance Aug 16, 2025
7b36d02
fix: deprecate color changing
nftchance Aug 16, 2025
a540d3d
fix: scroll issues
nftchance Aug 16, 2025
44144d5
fix: answer my questions section cleanup
nftchance Aug 18, 2025
7cf2a98
chore: update docs
nftchance Aug 18, 2025
ae9de72
feat: preview urls
nftchance Aug 18, 2025
4ecf3d2
chore: private licenses
nftchance Aug 29, 2025
1243bdd
chore(deps): bump actions/checkout from 4.2.2 to 5.0.0 (#866)
dependabot[bot] Aug 29, 2025
ef2d3b6
fix: app workflow permissions
nftchance Aug 30, 2025
0a7d856
Merge branch 'staging' of https://github.com/terminally-online/plug i…
nftchance Aug 30, 2025
64ab678
chore(deps): bump actions/cache from 4.2.3 to 4.2.4 (#865)
dependabot[bot] Aug 30, 2025
7df2bbc
chore(deps): bump next from 15.2.3 to 15.2.4 (#807)
dependabot[bot] Aug 30, 2025
ab6131f
chore(deps): bump actions/setup-node from 4.3.0 to 4.4.0 (#785)
dependabot[bot] Aug 30, 2025
cb5fbb5
chore(deps): bump foundry-rs/foundry-toolchain from 1.3.1 to 1.4.0 (#…
dependabot[bot] Aug 30, 2025
cc6c410
chore(deps-dev): bump postcss from 8.5.1 to 8.5.4 (#833)
dependabot[bot] Aug 30, 2025
f4d2b34
chore(deps): bump changesets/action from 1.4.10 to 1.5.3 (#816)
dependabot[bot] Aug 31, 2025
e2fde42
chore: terms of service updates
nftchance Aug 31, 2025
c42a7be
Merge branch 'staging' of https://github.com/terminally-online/plug i…
nftchance Aug 31, 2025
6335140
chore: deprecate unused artifacts
nftchance Aug 31, 2025
15083e4
feat: coils
nftchance Aug 31, 2025
f6ba185
chore: update nix
nftchance Aug 31, 2025
0715ffe
fix: revert nix
nftchance Aug 31, 2025
16dc267
chore: via ir
nftchance Aug 31, 2025
5571f2b
fix: scrollable mobile nav
nftchance Aug 31, 2025
464c33c
chore: deprecate old pages
nftchance Aug 31, 2025
9ea5372
chore: landing page fixes
nftchance Sep 1, 2025
78054e4
fix: svg prop misnaming
nftchance Sep 2, 2025
ba63b7f
feat: save reference abis as strings
nftchance Sep 2, 2025
f4fa55b
feat: extend the abi type to include a string parser
nftchance Sep 3, 2025
7ab83eb
feat: checkpoint: coils v0.2
nftchance Sep 9, 2025
4d9ff10
feat: new version of coils (#890)
nftchance Sep 16, 2025
862f511
chore: solidity v0.8.4
nftchance Sep 16, 2025
c5b1603
chore: solidity v0.8.31
nftchance Sep 16, 2025
75a4fa5
feat: landing page stripping
nftchance Sep 16, 2025
4703c10
chore: lots of last minute landing page cleanup
nftchance Sep 17, 2025
2e51460
chore: updating opengraph
nftchance Sep 17, 2025
9cf34d3
feat: highly polished preview
nftchance Sep 18, 2025
cf5808d
fix: apostrophe in copy
nftchance Sep 18, 2025
52f19be
fix: nested options bug in preview
nftchance Sep 18, 2025
c9efe2a
chore: rename transactions to responses
nftchance Sep 18, 2025
615dc5e
feat: update product component to support live app
nftchance Sep 18, 2025
218b00e
feat: Plug.Time.sol
nftchance Sep 19, 2025
469d221
feat: add glossary
drakedanner Sep 25, 2025
7491263
chore: broken: massive amount of cleanup (#893)
nftchance Sep 25, 2025
87cb81f
feat: expose plugsHash as public variable during transactions
nftchance Sep 26, 2025
c6bc5e5
feat: deprecate oneClicker features
nftchance Sep 26, 2025
8c4d9e8
chore: cdn merkl logo icon
masonchain Sep 26, 2025
7c071df
fix: cdn action
nftchance Oct 1, 2025
877b775
feat: infinitely looping landing page
nftchance Oct 6, 2025
fa613aa
fix: apostrophe
nftchance Oct 6, 2025
682b794
fix: column build error
nftchance Oct 6, 2025
cd008fb
fix: build issues
nftchance Oct 6, 2025
5d70cb8
fix: deploy migrations on start
nftchance Oct 6, 2025
2969f33
chore: migrate
nftchance Oct 6, 2025
e36bf96
chore: deploy migrations
nftchance Oct 6, 2025
e8e99d9
chore: update browser list & remove database seed
nftchance Oct 6, 2025
f632d00
fix: padding on terms of service
nftchance Oct 6, 2025
f07ac5b
chore: disable infinite scroll on mobile
nftchance Oct 6, 2025
376af1b
fix: padding on properties in preview
nftchance Oct 6, 2025
00ac150
chore: update to try_plug
nftchance Oct 8, 2025
1b71e04
feat: boom some colors into the cdn
nftchance Oct 9, 2025
1a3e09e
fix: squished chain images in action preview pane
nftchance Oct 9, 2025
27913ab
feat: add type images
nftchance Oct 9, 2025
86d335c
fix: proper env var for gusher url
nftchance Oct 13, 2025
df622ff
fix: deprecate problematic default config
nftchance Oct 13, 2025
12da483
chore: expose proper env variables
nftchance Oct 13, 2025
70161b2
fix: weird length of zero is undefined issue
nftchance Oct 13, 2025
cbb9506
fix: unique key issue
nftchance Oct 13, 2025
0af720f
fix: div as descendent of p
nftchance Oct 13, 2025
daca862
chore: clean up left over logs
nftchance Oct 13, 2025
1aae11e
fix: another forgotten log
nftchance Oct 13, 2025
9ab39bb
chore: yet another left over log
nftchance Oct 13, 2025
1592f1b
fix: race condition in node graph
nftchance Oct 13, 2025
ed896cb
chore: set default url to production api
nftchance Oct 13, 2025
99c398b
fix: enabled prop non-boolean value
nftchance Oct 13, 2025
d24aa69
fix: ssl on default url
nftchance Oct 13, 2025
cb545c0
feat: mobile view
nftchance Oct 13, 2025
4dd4f26
Merge branch 'staging' of https://github.com/Terminally-Online/plug i…
masonchain Oct 20, 2025
791f8bd
chore: add coil image
nftchance Oct 21, 2025
1ab4649
Merge branch 'staging' of https://github.com/terminally-online/plug i…
nftchance Oct 21, 2025
afbbefd
chore: swap coil and constraint colors
nftchance Oct 21, 2025
714cb9c
fix: white → brand white
nftchance Oct 21, 2025
1c284ce
feat: docs (#921)
nftchance Nov 6, 2025
604e719
feat: sentence components (#929)
nftchance Nov 10, 2025
abd6d9b
chore(deps): bump actions/cache from 4.2.4 to 4.3.0 (#904)
dependabot[bot] Nov 10, 2025
49660ac
chore(deps): bump dotenv from 16.4.7 to 17.2.3 (#910)
dependabot[bot] Nov 10, 2025
9e364f6
chore(deps): bump actions/github-script from 7.0.1 to 8.0.0 (#884)
dependabot[bot] Nov 10, 2025
a5e9731
chore(deps): bump actions/upload-pages-artifact from 3.0.1 to 4.0.0 (…
dependabot[bot] Nov 10, 2025
1a03baa
chore: update prisma
nftchance Nov 10, 2025
b9e9c55
chore(deps): bump actions/setup-node from 4.4.0 to 6.0.0 (#920)
dependabot[bot] Nov 10, 2025
9d46df3
chore(deps): bump foundry-rs/foundry-toolchain from 1.4.0 to 1.5.0 (#…
dependabot[bot] Nov 10, 2025
d1a236d
chore(deps): bump axios from 1.8.4 to 1.12.0 (#889)
dependabot[bot] Nov 10, 2025
900c35f
chore(deps): bump next-auth from 4.24.11 to 4.24.12 (#927)
dependabot[bot] Nov 10, 2025
12212e3
feat: clear part values unless still valid
nftchance Nov 11, 2025
eb08174
fix: weird formatting
nftchance Nov 11, 2025
3997343
fix: e-notation to big int and big float
nftchance Nov 11, 2025
a002914
feat: auto select when only one options
nftchance Nov 11, 2025
e99f8da
fix: assets → relationships
nftchance Nov 12, 2025
8f3c371
chore: no external reference of cord
nftchance Nov 12, 2025
3fff36c
feat: imperative and declarative no more + grammar
nftchance Nov 12, 2025
da150e5
chore: flatten developers section
nftchance Nov 12, 2025
e67a545
chore(deps-dev): bump vitepress-openapi from 0.1.9 to 0.1.10 (#931)
dependabot[bot] Nov 12, 2025
0cd0813
chore(deps): bump pnpm/action-setup from 4.1.0 to 4.2.0 (#933)
dependabot[bot] Nov 12, 2025
cfd591b
chore(deps-dev): bump prettier-plugin-tailwindcss from 0.6.9 to 0.7.1…
dependabot[bot] Nov 12, 2025
4f428f3
fix: balance as object in schema
nftchance Nov 12, 2025
835240b
feat: broken: item list in assets column
nftchance Nov 12, 2025
a20d2dc
Merge branch 'staging' of https://github.com/terminally-online/plug i…
nftchance Nov 12, 2025
5d7d96e
feat: weird chain image improvements
nftchance Nov 13, 2025
07daee1
feat: checkpoint: token frame
nftchance Nov 13, 2025
f4d43bc
chore: use my frame
nftchance Nov 13, 2025
0c3baa9
feat: checkpoint: all core address frames
nftchance Nov 14, 2025
5ea47af
feat: checkpoint: relationship descriptions
nftchance Nov 14, 2025
9a404f9
feat: continued asset frames
nftchance Nov 14, 2025
8798552
feat: checkpoint: address colors
nftchance Nov 17, 2025
5d15b1b
fix: relationship rendering
nftchance Nov 20, 2025
6f42603
fix: traits and external as records
nftchance Nov 21, 2025
cf51fe7
feat: explicit media specification
nftchance Nov 21, 2025
0e5388d
feat: use explicit media fields
nftchance Nov 21, 2025
8c5efb1
feat: image + animation + base64 media
nftchance Nov 21, 2025
246d9ce
feat: animated media controls
nftchance Nov 21, 2025
0cf7355
chore: video background blur
nftchance Nov 21, 2025
8793a1a
fix: back button pushing contents out of header
nftchance Nov 21, 2025
26d7d5a
feat: array-based query params
nftchance Nov 21, 2025
73131c9
feat: highly performant address frame
nftchance Nov 21, 2025
6100bec
chore: shift luminance a bit
nftchance Nov 21, 2025
4800150
feat: address colors from the api
nftchance Nov 22, 2025
421cb2e
feat: prefetching + client-side caching + request deduplication
nftchance Nov 24, 2025
a4bbbaa
fix: unique key for relationship element
nftchance Nov 24, 2025
963c01e
chore: small cleanup
nftchance Nov 24, 2025
0d70793
feat: html media assets
nftchance Nov 25, 2025
2e91c6e
feat: minimal representation of non-static media
nftchance Nov 25, 2025
3e73f02
feat: slug based collection ids
nftchance Nov 25, 2025
f4a22a4
feat: explicit analytics + remove job section
nftchance Nov 26, 2025
11f0d8e
chore: deprecate ticket
nftchance Nov 26, 2025
c913374
feat: containerize execution (#939)
nftchance Nov 27, 2025
97368a3
feat: protocol type builders
nftchance Nov 27, 2025
e671f4a
chore(deps): bump golang.org/x/crypto from 0.36.0 to 0.45.0 in /packa…
dependabot[bot] Nov 27, 2025
827cbc3
feat: protocol v0.5.6
nftchance Nov 28, 2025
228fae9
Merge branch 'staging' of https://github.com/terminally-online/plug i…
nftchance Nov 28, 2025
da0fa56
fix: include socket in exports
nftchance Nov 28, 2025
78dda03
feat: env values from state
nftchance Nov 29, 2025
7cee017
feat: include GetMethod
nftchance Nov 30, 2025
dd833ca
feat: mask for solver-derived state
nftchance Dec 2, 2025
491c9b4
feat: general swap intents against solver mask
nftchance Dec 2, 2025
07a4c2a
chore: group tokens by type
nftchance Dec 3, 2025
8d0f5e3
feat: jumps for branches and arbitrary execution
nftchance Dec 8, 2025
bd3ac54
feat: refresh query param in schemas and docs
nftchance Dec 8, 2025
68e47de
feat: complete compiler stack support
nftchance Dec 9, 2025
1b40b1f
feat: AddEnd → AddEndIf + AddEnd
nftchance Dec 9, 2025
ecfcc50
chore: turing + new constraint and read icons
nftchance Dec 9, 2025
bd88080
chore: broken: token frame
nftchance Dec 10, 2025
55194d3
chore: delete when
nftchance Dec 10, 2025
9e951e4
feat: Plug.Echo.sol
nftchance Dec 10, 2025
7bbd078
chore: tests utilizing Plug.Echo.sol model
nftchance Dec 10, 2025
a04446c
feat: echo contract
nftchance Dec 10, 2025
498c24e
fix: bump core package version
nftchance Dec 10, 2025
e3cbbd9
feat: refresh contract metadata
masonchain Dec 11, 2025
a985725
feat: bitmask call type
nftchance Dec 17, 2025
ee26295
chore: looping draft
nftchance Dec 31, 2025
77ce1f5
chore: milestone: aave looping post
nftchance Dec 31, 2025
96b1e28
fix: remove curated section
nftchance Dec 31, 2025
744a817
feat: how to get out component
nftchance Dec 31, 2025
d9fc8cf
chore: remove what happens when price moves
nftchance Dec 31, 2025
89b6936
chore: milestone: magic internet money
nftchance Dec 31, 2025
ebe82dc
chore: better flashloans
nftchance Dec 31, 2025
0be0965
chore: milestone: flashloans component
nftchance Dec 31, 2025
688f7fd
feat: aave post media
drakedanner Jan 1, 2026
50330b7
fix: extra animation
drakedanner Jan 1, 2026
10973ac
chore: milestone: looping maintenance
nftchance Jan 1, 2026
3f2be09
chore: looping maintenance
nftchance Jan 1, 2026
3bdbf31
Merge branch 'staging' of https://github.com/terminally-online/plug i…
nftchance Jan 1, 2026
141f5af
fix: import
nftchance Jan 1, 2026
a89d581
chore: milestone: looping frequency
nftchance Jan 1, 2026
4e6d59b
chore: liquidation counter
nftchance Jan 1, 2026
dc64d15
chore: looping post animation
nftchance Jan 1, 2026
ceddb7b
chore: looping frequency component
nftchance Jan 1, 2026
1076b6f
feat: aave looping post
nftchance Jan 1, 2026
2aa1313
fix: token symbols changing on different intervals
nftchance Jan 1, 2026
ef9512f
fix: wallet connections error due to barrel files
nftchance Jan 1, 2026
5e81c34
fix: build errors
nftchance Jan 1, 2026
a3871c5
fix: build errors
nftchance Jan 1, 2026
2971c8e
chore(deps): bump actions/cache from 4.3.0 to 5.0.1 (#949)
dependabot[bot] Jan 1, 2026
bb1004e
chore(deps): bump next from 15.4.7 to 15.4.9 in /packages/status (#947)
dependabot[bot] Jan 1, 2026
6c2a9fd
chore(deps): bump next from 15.4.7 to 15.4.10 (#950)
dependabot[bot] Jan 1, 2026
e777dc0
chore: build warnings
nftchance Jan 1, 2026
1c6cb7a
feat: server side rendering of panes
nftchance Jan 1, 2026
a00f5ed
feat: scroll to section with direct link
nftchance Jan 1, 2026
5f05111
chore: fix pnpm version
nftchance Jan 1, 2026
d4cbe5b
chore: update lock files
nftchance Jan 1, 2026
3b316b5
chore: fix File not defined
nftchance Jan 1, 2026
a0b4955
fix: OARequest
nftchance Jan 1, 2026
c8f221e
fix: include pagefind
nftchance Jan 1, 2026
9222474
fix: lockfiles
nftchance Jan 1, 2026
3944ca3
chore: banner image
nftchance Jan 1, 2026
66c2aa8
chore: fix link
nftchance Jan 1, 2026
233fc1b
chore: deprecate status page
nftchance Jan 1, 2026
53fcd9c
chore: update build artifacts
nftchance Jan 1, 2026
18e4a96
fix: dependencies with nested lockfiles
nftchance Jan 2, 2026
c10770d
fix: contact.ts
nftchance Jan 2, 2026
2af3856
fix: schema references fallen behind
nftchance Jan 2, 2026
649a191
fix: coinbase stealing user data
nftchance Jan 3, 2026
50a6bc3
feat: fully functional asset frames
nftchance Jan 4, 2026
e63776a
feat: milestone: weekend sprint
nftchance Jan 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"@terminallyonline/plug-docs",
"@terminallyonline/plug-app",
"@terminallyonline/plug-pitch",
"@terminallyonline/plug-solver"
"@terminallyonline/plug-licenses"
]
}
5 changes: 0 additions & 5 deletions .changeset/perfect-bobcats-shout.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/wild-elephants-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@terminallyonline/plug-core": minor
---

feat: turing complete architecture with jumps
79 changes: 50 additions & 29 deletions .github/workflows/app-main.yml
Original file line number Diff line number Diff line change
@@ -1,68 +1,78 @@
name: Build and Deploy App
name: App - Deploy

on:
push:
branches: ["**"]
paths:
- ".github/workflows/app-main.yml"
- "packages/app/**"
- "packages/core/**"
- "packages/posts/**"
- "packages/sdk/**"

workflow_dispatch:

concurrency:
cancel-in-progress: false
group: ${{ github.workflow }}-${{ github.ref }}

permissions:
contents: write
pages: write
id-token: write
pull-requests: write

jobs:
build:
name: 🏗️ Build
runs-on: ubuntu-latest
steps:
- name: 🛒 Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
with:
submodules: recursive

- name: ⚙️ Setup Action
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0

- name: 📚 Setup Node
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: 18

- name: ✨ Install Foundry
uses: foundry-rs/foundry-toolchain@50d5a8956f2e319df19e6b57539d7e2acb9f8c1e # v1.5.0
with:
version: nightly

- name: 🙏 Install Forge dependencies
run: |
cd packages/core
forge install

- name: 📦 Install dependencies
if: github.ref != 'refs/heads/main'
run: pnpm install --filter=@terminallyonline/plug-app...

- name: 🔥 Build Next (Not Deploying)
- name: 📝 Write .env file
if: github.ref != 'refs/heads/main'
run: |
cd packages/app
ENCRYPTION_KEY=github-action DATABASE_URL=postgresql://postgres:postgres@localhost:5434/postgres NEXTAUTH_URL=http://localhost:3000 NEXTAUTH_SECRET=github-action OPENSEA_KEY=github-action ZERION_KEY=github-action NEXT_PUBLIC_EARLY_ACCESS=false NEXT_PUBLIC_APP_URL=http://localhost:3000 NEXT_PUBLIC_WS_URL=ws://localhost:3001 NEXT_PUBLIC_WALLETCONNECT_ID=github-action NEXT_PUBLIC_ALCHEMY_KEY=github-action pnpm build

- name: 🔄 Install Vercel CLI
if: github.ref == 'refs/heads/main'
run: pnpm install --global vercel@latest

- name: 🔗 Pull Vercel Environment Information
if: github.ref == 'refs/heads/main'
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.APP_VERCEL_PROJECT_ID }}
cat <<EOF > packages/app/.env
ENCRYPTION_KEY=github-action
DATABASE_URL=postgresql://postgres:postgres@localhost:5434/postgres
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=github-action
ANTHROPIC_KEY=github-action
OPENSEA_KEY=github-action
ZERION_KEY=github-action
NEXT_PUBLIC_EARLY_ACCESS=false
NEXT_PUBLIC_APP_URL=http://localhost:3000
NEXT_PUBLIC_WS_URL=ws://localhost:3001
NEXT_PUBLIC_WALLETCONNECT_ID=github-action
NEXT_PUBLIC_ALCHEMY_KEY=github-action
SOLVER_DELEGATE_ADDRESS=0x62180042606624f02d8a130da8a3171e9b33894d
NEXT_PUBLIC_QUICKNODE_NAME=github-action
NEXT_PUBLIC_QUICKNODE_KEY=github-action
EOF

- name: 🚀 Deploy Project Artifacts to Vercel
if: github.ref == 'refs/heads/main'
run: vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }}
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.APP_VERCEL_PROJECT_ID }}
- name: 🔥 Build Next (Not Deploying)
if: github.ref != 'refs/heads/main'
run: pnpm build --filter=@terminallyonline/plug-app...

- name: ☢️ Purge CloudFlare
if: github.ref == 'refs/heads/main'
Expand All @@ -71,3 +81,14 @@ jobs:
-H "Authorization: Bearer ${{ secrets.CLOUDFLARE_API_TOKEN }}" \
-H "Content-Type: application/json" \
--data '{"purge_everything":true}'

- name: 🚀 Create Release Pull Request or Publish
id: changesets
uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba # v1.5.3
with:
publish: pnpm changeset publish
commit: "chore: release package"
title: "chore: release package"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
165 changes: 0 additions & 165 deletions .github/workflows/audit-gh-actions.yml

This file was deleted.

13 changes: 3 additions & 10 deletions .github/workflows/cdn-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,39 +28,32 @@ jobs:

steps:
- name: 🛒 Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
submodules: recursive

- name: ⚙️ Setup Action
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
with:
version: 9.14.4
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0

- name: 📚 Setup Node
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: 18
cache: "pnpm"

- name: 📦 Install dependencies
run: pnpm install --filter=@terminallyonline/plug-cdn

- name: Deploy to Cloudflare R2
run: |
# Try to create bucket, ignore error if it already exists
pnpm exec wrangler r2 bucket create plug-cdn || true

# Create a temporary file list
find . -type f -not -path "./node_modules/*" -not -name "package.json" > files_to_upload.txt

# Upload files in parallel using xargs (30 concurrent uploads)
cat files_to_upload.txt | xargs -P 30 -I {} bash -c '
file="$1"
pnpm exec wrangler r2 object put plug-cdn/"${file:2}" --file="$file"
' -- {}

# Cleanup
rm files_to_upload.txt
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Expand Down
Loading
Loading