@akirilyuk/supabase-in-memory-server 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +12 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -165,6 +165,18 @@ With **`Prefer: return=representation`**, **PATCH** returns the updated rows in
165
165
 
166
166
  There is **no** RLS, **no** Realtime WebSocket, **no** Storage, **no** Edge Functions, **no** `/rest/v1/rpc/...`, and **no** full PostgREST operator set (see **TODO** below).
167
167
 
168
+ ## Publishing (maintainers)
169
+
170
+ GitHub Actions **Release** workflow (`.github/workflows/release.yml`) runs when you **push a version tag**:
171
+
172
+ 1. Set **`version`** in `package.json` to the release you want (e.g. `1.2.3`).
173
+ 2. Commit that change on the default branch (e.g. `main`).
174
+ 3. Create and push a tag **`v`** + the same version: `git tag v1.2.3 && git push origin v1.2.3`.
175
+
176
+ The tag **must** be `vMAJOR.MINOR.PATCH` and match `package.json` exactly (e.g. tag `v1.2.3` ↔ `"version": "1.2.3"`). The workflow runs typecheck, lint, format check, build, and tests, then **`npm publish --access public`** (needed for **scoped** package names) and creates a **GitHub Release** with generated notes.
177
+
178
+ **Repository secret:** add **`NPM_TOKEN`** in the repo’s **Settings → Secrets and variables → Actions**. Use an [npm access token](https://docs.npmjs.com/creating-and-viewing-access-tokens) with permission to publish this package (granular token for `@scope/package`, or a user token with publish rights).
179
+
168
180
  ## API reference (exports)
169
181
 
170
182
  The main entry is **`supabase-in-memory-server`** (`dist/index.js`). Notable exports:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akirilyuk/supabase-in-memory-server",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "In-memory HTTP server mimicking Supabase REST (PostgREST) and Auth (GoTrue) for supabase-js: local testing, e2e, anon/service-role keys, optional CLI, Winston logs",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",