Skip to content

Initial commit for v5 harper upgrade#15

Open
BboyAkers wants to merge 4 commits into
mainfrom
v5-upgrade
Open

Initial commit for v5 harper upgrade#15
BboyAkers wants to merge 4 commits into
mainfrom
v5-upgrade

Conversation

@BboyAkers
Copy link
Copy Markdown
Member

No description provided.

BboyAkers and others added 2 commits May 7, 2026 15:48
Add test:integration script (preserves existing vitest test script),
tsconfig.json, and integration tests covering Rule/Hosts CRUD and
Version resource validation (activeVersion must be >= 0).

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Comment thread package.json
"test": "npx vitest run --config .github/config/vitest.config.js",
"postinstall": "npm link harperdb"
"test:integration": "HARPER_INTEGRATION_TEST_INSTALL_SCRIPT=./node_modules/harper/dist/bin/harper.js harper-integration-test-run --isolation=none \"integrationTests/**/*.test.ts\"",
"postinstall": "npm link harper"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't seen precedent for running npm link harper, don't we prefer harper dev's automatic linking?

kriszyp and others added 2 commits May 24, 2026 20:36
…static methods

- Version: post/put/patch → static with await data + context passthrough
- Redirect: post + helpers (processRedirects, validateRedirect, createPostObject, flushBatch) → static
- CheckRedirect: get + helpers (searchStaticRedirect, searchRegexRedirect) → static; getId()/getContext() replaced with target/context params
- RedirectMetrics: get → static with target replacing query param Map

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants