diff --git a/.changeset/std-exports-default.md b/.changeset/std-exports-default.md deleted file mode 100644 index 09a191a..0000000 --- a/.changeset/std-exports-default.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@plexus-ms/std": patch ---- - -The `exports` map names the compiled entry under `default` instead of `import`, so that a consumer that resolves the package through `require` (a script run with `tsx` in a CommonJS package, for one) finds it. With `import` alone such a consumer failed with `ERR_PACKAGE_PATH_NOT_EXPORTED`. ESM consumers resolve the same file as before. diff --git a/.changeset/test-postgres.md b/.changeset/test-postgres.md deleted file mode 100644 index d208ace..0000000 --- a/.changeset/test-postgres.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@plexus-ms/test-postgres": minor ---- - -A new package: a throwaway PostgreSQL server for tests, started from the binary on the PATH and removed afterwards. -`startPostgres({ major })` initialises a cluster in a temporary directory and starts it on a free loopback port; `createDatabase()` gives each test file a database of its own, empty or copied from a template, and `dropDatabase()` drops one. -It fails with a message naming the mise pin to add when no server is on the PATH, and when the server is of another major than the one asked for; it needs PostgreSQL 17 or later. -As root it runs the server as `nobody`, and no server outlives the process that started it, even one killed with SIGKILL. -It must stay external to a bundle, and refuses to start when it is bundled into its caller's file. diff --git a/packages/std/CHANGELOG.md b/packages/std/CHANGELOG.md index ed1782b..7938a61 100644 --- a/packages/std/CHANGELOG.md +++ b/packages/std/CHANGELOG.md @@ -1,5 +1,11 @@ # @plexus-ms/std +## 0.2.3 + +### Patch Changes + +- ef40368: The `exports` map names the compiled entry under `default` instead of `import`, so that a consumer that resolves the package through `require` (a script run with `tsx` in a CommonJS package, for one) finds it. With `import` alone such a consumer failed with `ERR_PACKAGE_PATH_NOT_EXPORTED`. ESM consumers resolve the same file as before. + ## 0.2.2 ### Patch Changes diff --git a/packages/std/package.json b/packages/std/package.json index c2290d0..d884642 100644 --- a/packages/std/package.json +++ b/packages/std/package.json @@ -1,6 +1,6 @@ { "name": "@plexus-ms/std", - "version": "0.2.2", + "version": "0.2.3", "description": "The Plexus standard library", "license": "GPL-3.0-or-later", "type": "module", diff --git a/packages/test-postgres/CHANGELOG.md b/packages/test-postgres/CHANGELOG.md new file mode 100644 index 0000000..d5bf1a1 --- /dev/null +++ b/packages/test-postgres/CHANGELOG.md @@ -0,0 +1,11 @@ +# @plexus-ms/test-postgres + +## 0.1.0 + +### Minor Changes + +- d28b7a5: A new package: a throwaway PostgreSQL server for tests, started from the binary on the PATH and removed afterwards. + `startPostgres({ major })` initialises a cluster in a temporary directory and starts it on a free loopback port; `createDatabase()` gives each test file a database of its own, empty or copied from a template, and `dropDatabase()` drops one. + It fails with a message naming the mise pin to add when no server is on the PATH, and when the server is of another major than the one asked for; it needs PostgreSQL 17 or later. + As root it runs the server as `nobody`, and no server outlives the process that started it, even one killed with SIGKILL. + It must stay external to a bundle, and refuses to start when it is bundled into its caller's file. diff --git a/packages/test-postgres/package.json b/packages/test-postgres/package.json index f539605..56ac6aa 100644 --- a/packages/test-postgres/package.json +++ b/packages/test-postgres/package.json @@ -1,6 +1,6 @@ { "name": "@plexus-ms/test-postgres", - "version": "0.0.0", + "version": "0.1.0", "description": "A throwaway PostgreSQL server for tests, from the binary on the PATH", "license": "GPL-3.0-or-later", "type": "module",