mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-06-16 22:54:12 +00:00
Workflow hardening based on the four-cycle release-debugging session:
Centralized versioning
- Add /VERSION at repo root as single source of truth.
- core/Makefile reads VERSION via `$(shell cat ../VERSION)`.
- Add `make bump VER=X.Y.Z` target that updates /VERSION and syncs
sdk/package.json in one shot.
Version mismatch guards
- All three release workflows (release.yaml, release-apt.yml,
publish-sdk.yml) now verify the release tag matches /VERSION at the
very first step. Stale-VERSION releases fail fast with a clear hint
to run `make bump`.
GoReleaser v2 migration
- Upgrade goreleaser-action v5 -> v6 (pinned `~> v2`).
- Add `version: 2` to .goreleaser.yaml.
- Migrate to v2 syntax: `archives.format` -> `formats: [...]`,
`brews.folder` -> `directory`, `snapshot.name_template` ->
`version_template`, `builds`-style references replaced with `ids:`.
- `before.hooks` can use map syntax again (v2 supports it).
Homebrew tap on stable only
- `brews.skip_upload` is now `'{{ if .Prerelease }}true{{ else }}false{{ end }}'`.
- Stops nightly releases from polluting the tap and from hitting 401
on stale HOMEBREW_TAP_TOKEN. Stable main releases still publish.
CI on every push
- New ci.yml runs `go vet` + `go test -race` on the core module and
typecheck/build/unit-tests on the SDK for every push to main/nightly
and every PR. version-sanity job warns when /VERSION and
sdk/package.json drift.
Version bump for next pipeline test
- /VERSION: 0.122.8
- sdk/package.json: 0.122.8
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
83 lines
1.8 KiB
JSON
83 lines
1.8 KiB
JSON
{
|
|
"name": "@debros/orama",
|
|
"version": "0.122.8",
|
|
"description": "TypeScript SDK for Orama Network - Database, PubSub, Cache, Storage, Vault, and more",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"license": "MIT",
|
|
"author": "DeBrosOfficial",
|
|
"keywords": [
|
|
"debros",
|
|
"network",
|
|
"sdk",
|
|
"typescript",
|
|
"database",
|
|
"rqlite",
|
|
"pubsub",
|
|
"websocket",
|
|
"cache",
|
|
"olric",
|
|
"ipfs",
|
|
"storage",
|
|
"wasm",
|
|
"serverless",
|
|
"distributed",
|
|
"gateway",
|
|
"vault",
|
|
"secrets",
|
|
"shamir",
|
|
"encryption",
|
|
"guardian"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/DeBrosOfficial/network",
|
|
"directory": "sdk"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/DeBrosOfficial/network/issues"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint src tests",
|
|
"test": "vitest",
|
|
"test:e2e": "vitest run tests/e2e",
|
|
"release:npm": "npm publish --access public --registry=https://registry.npmjs.org/",
|
|
"release:gh": "npm publish --registry=https://npm.pkg.github.com"
|
|
},
|
|
"dependencies": {
|
|
"@noble/ciphers": "^0.5.3",
|
|
"@noble/hashes": "^1.4.0",
|
|
"isomorphic-ws": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
"@typescript-eslint/parser": "^6.0.0",
|
|
"@vitest/coverage-v8": "^1.0.0",
|
|
"dotenv": "^17.2.3",
|
|
"eslint": "^8.0.0",
|
|
"tsup": "^8.0.0",
|
|
"typedoc": "^0.25.0",
|
|
"typescript": "^5.3.0",
|
|
"vitest": "^1.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/",
|
|
"access": "public"
|
|
}
|
|
}
|