@edium/halifax 2.2.1 → 2.2.2

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/CHANGELOG.md +20 -0
  2. package/package.json +2 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,26 @@
3
3
  All notable changes to this project are documented here. This project adheres to
4
4
  [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
 
6
+ ## [2.2.2]
7
+
8
+ ### Fixed
9
+
10
+ - Removed the `preinstall` script from both `@edium/halifax` and `@edium/halifax-client`. The
11
+ script was a developer-convenience guard that enforced pnpm usage inside the monorepo, but because it shipped in the published package it caused npm (v7+) to prompt consumers with an "approve build scripts" confirmation on every install. End-users no longer need to approve anything to install either package.
12
+
13
+ ## [2.2.1]
14
+
15
+ ### Added
16
+
17
+ - Published `README.md` files for `@edium/halifax-client` and `@edium/halifax-types` — both
18
+ packages now ship documentation with the npm tarball.
19
+
20
+ ### Fixed
21
+
22
+ - `@edium/halifax-types` was re-versioned from `0.1.0` to `2.2.1` to align with the rest of
23
+ the suite. Consumers importing from this package directly should update their version
24
+ constraint accordingly.
25
+
6
26
  ## [2.2.0]
7
27
 
8
28
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edium/halifax",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "Auto-generate type-safe REST CRUD APIs from your data models. Adapter-driven: Express/Fastify/HyperExpress, Prisma (PostgreSQL, MySQL, MariaDB, SQL Server, CockroachDB, SQLite), JWT/API-key auth, multi-tenancy, a dynamic query builder, and pluggable Redis caching.",
5
5
  "author": "David LaTour <david@edium.com>",
6
6
  "homepage": "https://github.com/splayfee/halifax#readme",
@@ -166,10 +166,9 @@
166
166
  ],
167
167
  "dependencies": {
168
168
  "uuid": "^14.0.0",
169
- "@edium/halifax-types": "2.2.1"
169
+ "@edium/halifax-types": "2.2.2"
170
170
  },
171
171
  "scripts": {
172
- "preinstall": "node -e \"const ua = process.env.npm_config_user_agent; if (ua && !ua.startsWith('pnpm')) { console.error('\\nERROR: This repo requires pnpm. Run: pnpm install\\n'); process.exit(1); }\"",
173
172
  "build": "rm -rf dist && tsc --build && tsc-alias",
174
173
  "dev": "tsx watch ./examples/http-express.ts",
175
174
  "lint": "eslint .",