@zuplo/test 7.14.8 → 7.15.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 (3) hide show
  1. package/LICENSE.txt +7 -0
  2. package/README.md +14 -24
  3. package/package.json +3 -2
package/LICENSE.txt ADDED
@@ -0,0 +1,7 @@
1
+ Copyright (c) Zuplo, Inc. All rights reserved.
2
+
3
+ Use of this software is governed by the Zuplo Terms of Service at
4
+ https://zuplo.com/legal/terms, or by a separate agreement your company has
5
+ signed with Zuplo.
6
+
7
+ See https://zuplo.com/legal/eula for more information.
package/README.md CHANGED
@@ -5,32 +5,22 @@ the `TestHelper` object that `@zuplo/cli` injects when it runs a Zuplo project's
5
5
  tests. There is no runtime code here — the implementation is generated by the
6
6
  CLI — so `dist/index.d.ts` is hand-maintained rather than compiled.
7
7
 
8
- This package was moved here from the standalone `zuplo/test` repository.
8
+ You don't need to install it yourself: the
9
+ [`zuplo`](https://www.npmjs.com/package/zuplo) package depends on it, so a
10
+ project created with `create-zuplo-api` already has it.
9
11
 
10
- ## Releasing
12
+ ```ts
13
+ import { describe, it, TestHelper } from "@zuplo/test";
14
+ ```
11
15
 
12
- `@zuplo/test` is **not** published as part of a core release. It has its own tag
13
- prefix (`test-v`) and its own workflow, so a version only goes out when someone
14
- asks for one:
16
+ ## Versions
15
17
 
16
- 1. Run the **Run Release** workflow and pick `@zuplo/test` as the product.
17
- 2. That computes and pushes the next `test-v<major>.<minor>.<patch>` tag.
18
- 3. Pushing the tag runs
19
- [`release-test.yaml`](../../.github/workflows/release-test.yaml), which
20
- publishes to npmjs.com and GitHub Packages and cuts a GitHub release.
18
+ `@zuplo/test` is released with `zuplo` and `@zuplo/cli`, on the same version
19
+ number. Use the version that matches your `zuplo` package.
21
20
 
22
- The `version` field below is informational — the release workflow overwrites it
23
- with the version from the tag before publishing. Because there are no existing
24
- `test-v*` tags yet, the first release seeds its version from that field.
21
+ ## License
25
22
 
26
- Consequences of being outside the core release:
27
-
28
- - `packages/test` is excluded from the npm workspaces list, so `@zuplo/test`
29
- still resolves from the registry for local development and CI type-checking.
30
- Editing `dist/index.d.ts` here does not change what `npm ci` installs until a
31
- release goes out.
32
- - `scripts/set-versions.mjs` skips this directory so core releases don't
33
- overwrite the version.
34
- - After releasing a new version, bump the `@zuplo/test` pin in
35
- [`packages/zuplo/package.json`](../zuplo/package.json) (and refresh the
36
- lockfile) if the meta-package should ship the new types.
23
+ Copyright (c) Zuplo, Inc. All rights reserved. Use of this package is governed
24
+ by the [Zuplo Terms of Service](https://zuplo.com/legal/terms), or by a separate
25
+ agreement your company has signed with Zuplo. See `LICENSE.txt` and
26
+ [zuplo.com/legal/eula](https://zuplo.com/legal/eula).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zuplo/test",
3
- "version": "7.14.8",
3
+ "version": "7.15.1",
4
4
  "type": "module",
5
5
  "description": "Type definitions for the Zuplo test runner",
6
6
  "repository": {
@@ -8,7 +8,7 @@
8
8
  "url": "git+https://github.com/zuplo/core.git"
9
9
  },
10
10
  "author": "Zuplo, Inc.",
11
- "license": "Copyright 2022",
11
+ "license": "SEE LICENSE IN LICENSE.txt",
12
12
  "types": "./dist/index.d.ts",
13
13
  "exports": {
14
14
  ".": {
@@ -17,6 +17,7 @@
17
17
  },
18
18
  "files": [
19
19
  "README.md",
20
+ "LICENSE.txt",
20
21
  "dist/index.d.ts"
21
22
  ],
22
23
  "engines": {