Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
f174eef
chore: stage 0.1.7 release archive part 1
Alidantech Jul 24, 2026
cb634a1
chore: stage 0.1.7 release archive part 2
Alidantech Jul 24, 2026
fb06f11
chore: stage 0.1.7 release archive part 3
Alidantech Jul 24, 2026
c98521e
chore: stage 0.1.7 release archive part 4
Alidantech Jul 24, 2026
e61ecde
chore: stage 0.1.7 release archive part 5
Alidantech Jul 24, 2026
5bbcb2d
chore: stage 0.1.7 release archive part 6
Alidantech Jul 24, 2026
fbfe8e9
chore: apply validated 0.1.7 release workspace
Alidantech Jul 24, 2026
22e7257
feat: add 0.1.7 public types and defaults
Alidantech Jul 24, 2026
0a115f5
feat: add safe header, IP, origin, and logging utilities
Alidantech Jul 24, 2026
d719609
feat: validate configuration and harden cookie parsing
Alidantech Jul 24, 2026
2346da2
feat: add safe request context, cache, URL, and response parsing
Alidantech Jul 24, 2026
5a89762
feat: connect hardened request execution and cookie synchronization
Alidantech Jul 24, 2026
5262e93
ci: verify and apply the complete 0.1.7 release workspace
Alidantech Jul 24, 2026
e76c1b4
fix: restore exact 0.1.7 release archive segment
Alidantech Jul 24, 2026
37f51e0
ci: capture full packed E2E diagnostics
Alidantech Jul 24, 2026
80fba9a
test: install TypeScript typings in packed Next fixture
Alidantech Jul 24, 2026
1643c25
test: pin the packed fixture TypeScript toolchain
Alidantech Jul 24, 2026
4c79189
test: assert transport-secret absence precisely
Alidantech Jul 24, 2026
920629d
docs: prepare 0.1.7 release metadata and CI gates
Alidantech Jul 24, 2026
771e6ac
test: add packed production Next.js browser fixture
Alidantech Jul 24, 2026
d995a66
feat: harden next-api-bridge for 0.1.7
github-actions[bot] Jul 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: CI

on:
push:
branches:
- main
- 'chatgpt/**'
pull_request:

permissions:
contents: read

jobs:
quality:
name: Node ${{ matrix.node }} / Next ${{ matrix.next }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [20, 22]
next: [15, 16]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm install
- run: npm install --no-save next@${{ matrix.next }}
- run: npm run test:matrix
- name: Upload synchronized lockfile
if: matrix.node == 22 && matrix.next == 16
uses: actions/upload-artifact@v4
with:
name: package-lock-0.1.7
path: package-lock.json

e2e:
name: E2E Node ${{ matrix.node }} / Next ${{ matrix.next }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- node: 20
next: 15
- node: 20
next: 16
- node: 22
next: 15
- node: 22
next: 16
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm install
- name: Run packed production Next.js E2E
run: npm run test:e2e
env:
NEXT_E2E_VERSION: ${{ matrix.next }}
CI: 'true'
67 changes: 37 additions & 30 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,44 +6,51 @@ on:
- 'v*'
workflow_dispatch:

permissions:
contents: read

jobs:
publish:
verify:
name: Verify Node ${{ matrix.node }} / Next ${{ matrix.next }}
runs-on: ubuntu-latest
environment: production

strategy:
fail-fast: false
matrix:
node: [20, 22]
next: [15, 16]
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Check if tag is from main branch
- name: Ensure tag commit belongs to main
run: |
BRANCH=$(git branch --contains $(git rev-parse HEAD) | grep main || true)
if [ -z "$BRANCH" ]; then
echo "❌ Tag must be pushed from main branch"
echo "Current branches containing this commit:"
git branch --contains $(git rev-parse HEAD)
exit 1
fi
echo "✅ Tag is from main branch"

- name: Setup Node.js
uses: actions/setup-node@v4
git fetch origin main
git branch -r --contains HEAD | grep -q 'origin/main'
- uses: actions/setup-node@v4
with:
node-version: '20'
node-version: ${{ matrix.node }}
cache: npm
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm install --no-save next@${{ matrix.next }}
- run: npm run test:matrix
- name: Run packed production E2E
run: npm run test:e2e
env:
NEXT_E2E_VERSION: ${{ matrix.next }}
CI: 'true'

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Type check
run: npm run typecheck

- name: Publish to npm
run: npm publish
publish:
needs: verify
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
49 changes: 14 additions & 35 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,42 +1,21 @@
# Dependencies
node_modules
# package-lock.json
# yarn.lock
# pnpm-lock.yaml

# Build output
dist
build
node_modules/
dist/
.test-dist/
.e2e-pack/
*.tgz
*.tsbuildinfo

# Environment files
.env
.env.local
.env.*.local

# IDE
.vscode
.idea
*.swp
*.swo
*~

# OS
.vscode/
.idea/
.DS_Store
Thumbs.db

# Logs
logs
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Testing
coverage
.nyc_output

# Misc
.cache
.temp
tmp
coverage/
playwright-report/
test-results/
tests/fixtures/next-app/.next/
tests/fixtures/next-app/node_modules/
tests/fixtures/next-app/package-lock.json
Loading