@contentauth/c2pa-web 0.15.5 → 0.16.0

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.
package/README.md CHANGED
@@ -19,36 +19,8 @@ Use the version selector to switch releases. The existing
19
19
  [multi-package source documentation](https://contentauth.github.io/c2pa-js/)
20
20
  remains available.
21
21
 
22
- After installing workspace dependencies, run this from the monorepo root:
23
-
24
- ```sh
25
- pnpm ci:docs:web
26
- ```
27
-
28
- This requires npm and network access to the public npm registry, but no Rust
29
- build or WASM compilation. Packages are installed in isolated temporary
30
- directories with lifecycle scripts disabled. Only their TypeScript declarations
31
- are parsed, and temporary installs are removed after the build.
32
-
33
- The first version in [web-versions.json](../../api-docs/web-versions.json) is
34
- served at `docs/web/index.html`. Each selected release is also available at
35
- `docs/web/versions/<version>/index.html`, published at
36
- `https://contentauth.github.io/c2pa-js/web/versions/<version>/`.
37
- Use exact npm versions, not tags such as `latest` or version ranges. Put the
38
- desired default first; publishing a package does not automatically add it to
39
- the list.
40
-
41
- The public docs exclude members marked `@internal`. The build also rewrites the
42
- published README's monorepo-root relative links to their public GitHub URLs.
43
-
44
- Run `pnpm ci:docs:releases` to generate both web and Node release docs, or
45
- `pnpm ci:docs` to build the existing multi-package source site and both versioned
46
- sites. Node and web have independent version lists, and rebuilding one preserves
47
- the other. Generated HTML under `docs/` is not checked into version control.
48
-
49
- The release workflow publishes the complete site after a package release.
50
- Run that workflow manually to rebuild docs without publishing packages.
51
- Run `pnpm test:docs` for the documentation tooling tests.
22
+ For documentation builds and version-list maintenance, see
23
+ [Building API documentation](https://github.com/contentauth/c2pa-js/tree/main/docs/project-contributions.md#building-api-documentation).
52
24
 
53
25
  ## Importing the library
54
26
 
@@ -386,36 +358,5 @@ For the full list, see the [API reference](https://contentauth.github.io/c2pa-js
386
358
 
387
359
  ## Library development
388
360
 
389
- ### Prerequisites
390
-
391
- Ensure the repo-wide prerequisites are installed:
392
-
393
- - A patched [Node.js](https://nodejs.org/) release; see [TLS trust stores](../../README.md#tls-trust-stores).
394
- - [Nx](https://nx.dev/getting-started/intro)
395
- - [pnpm](https://pnpm.io/)
396
-
397
- See the [c2pa-js README](../../README.md#prerequisites) for details.
398
-
399
- Then, install [the additional prerequisites for `c2pa-wasm`](../c2pa-wasm/README.md#prerequisites).
400
-
401
- ### Building
402
-
403
- To build the library:
404
-
405
- ```sh
406
- nx build c2pa-web
407
- ```
408
-
409
- ### Testing
410
-
411
- This library relies on [Vitest](https://vitest.dev/) to run its tests in a headless browser. Before the tests can be run, the test browser binaries must be installed. Run the following from the `packages/c2pa-web` directory (rather than from the root directory, to ensure that the correct binaries are installed):
412
-
413
- ```sh
414
- pnpm exec playwright install
415
- ```
416
-
417
- To run the tests:
418
-
419
- ```sh
420
- nx test c2pa-web
421
- ```
361
+ For prerequisites, source builds, and browser tests, see
362
+ [Contributing to c2pa-web](https://github.com/contentauth/c2pa-js/tree/main/docs/project-contributions.md#contributing-to-c2pa-web).