react-native-roku 0.2.0-preview.1 → 0.2.0-preview.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.0-preview.3]
4
+
5
+ - Verify the uploaded release artifact by its ID and checksum before staging the
6
+ preview under the default npm tag.
7
+
8
+ ## [0.2.0-preview.2]
9
+
10
+ - Publish approved previews under the default npm tag. The starter instructions
11
+ use `@latest` to select the current release.
12
+
3
13
  ## [0.2.0-preview.1]
4
14
 
5
15
  - Keep item content mounted through internal FlatList window updates. Parent renders, updated data, callbacks and extraData still refresh item content.
package/README.md CHANGED
@@ -7,10 +7,10 @@ complete React Native implementation.
7
7
 
8
8
  ## Create your first Roku app
9
9
 
10
- Use Node 24.18.1 and pnpm 11.23.0. The preview starter includes a counter and a virtualized catalog you can navigate with a remote.
10
+ Use Node 24.18.1 and pnpm 11.23.0. The default npm release includes previews. The starter includes a counter and a virtualized catalog you can navigate with a remote.
11
11
 
12
12
  ```sh
13
- npx --yes react-native-roku@preview init my-roku-app
13
+ npx --yes react-native-roku@latest init my-roku-app
14
14
  cd my-roku-app
15
15
  pnpm install
16
16
  pnpm run doctor
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema": "react-native-roku-release-policy/v1",
3
3
  "licenseDecision": "MIT for the developer preview",
4
- "distTag": "preview",
4
+ "distTag": "latest",
5
5
  "phase": "experimental",
6
6
  "versionPolicy": "Before 1.0, breaking public API changes increment the minor version; patch releases preserve documented contracts. Published bytes are immutable.",
7
7
  "requiredChecks": ["check:fast", "test:consumer", "test:sdk", "test:development"],
@@ -9,7 +9,7 @@ TypeScript source and public build adapters and requires only its declared depen
9
9
  With the published preview, create a project directly from the registry.
10
10
 
11
11
  ```sh
12
- npx --yes react-native-roku@preview init my-roku-app
12
+ npx --yes react-native-roku@latest init my-roku-app
13
13
  cd my-roku-app
14
14
  pnpm install
15
15
  pnpm run doctor
@@ -24,13 +24,13 @@ directory. Compare its SHA-256 with the release record, then use the same steps
24
24
  as for an archive supplied for review.
25
25
 
26
26
  ```sh
27
- npm pack react-native-roku@preview
27
+ npm pack react-native-roku@latest
28
28
  ```
29
29
 
30
30
  Set `archive` to the absolute path of that file:
31
31
 
32
32
  ```sh
33
- archive=/absolute/path/to/react-native-roku-0.2.0-preview.1.tgz
33
+ archive=/absolute/path/to/react-native-roku-0.2.0-preview.3.tgz
34
34
  shasum -a 256 "$archive"
35
35
  scratch=$(mktemp -d)
36
36
  tar -xzf "$archive" -C "$scratch"
@@ -1,6 +1,6 @@
1
1
  # Maintaining react-native-roku
2
2
 
3
- This is an unpublished experimental platform package. Keep it independent of any
3
+ This experimental platform package is published on npm. Keep it independent of any
4
4
  application's routes, server contracts, query policy and focus topology. The
5
5
  React application owns those decisions; this package owns renderer and native
6
6
  mechanics. The developer preview uses the MIT license.
@@ -321,8 +321,8 @@ evidence. No maintenance command commits, tags, pushes or publishes.
321
321
 
322
322
  Dispatch `release.yml` at the reviewed source ref with the inputs blank to
323
323
  prepare. The job packs once through `pnpm check --archive=ABSOLUTE_TGZ --output=ABSOLUTE_EVIDENCE`,
324
- uploads the tarball and six-lane evidence as `release-candidate`, and verifies
325
- a fresh download. Record the run ID, source commit and both SHA-256 values from
324
+ uploads the tarball and six-lane evidence as `release-candidate-<attempt>`, and verifies
325
+ a fresh download using the upload’s immutable artifact ID and SHA-256. Record the run ID, source commit and both SHA-256 values from
326
326
  the run summary. Verify an independent download before building the device
327
327
  consumer from it:
328
328
 
@@ -345,10 +345,16 @@ pass on ZIPs built from that archive, obtain owner authorization. Supply the com
345
345
  on `v<version>` with `preparation-run`, `tarball-sha256` and `seal-sha256` from
346
346
  the original run. The job checks the run's source commit and both digests,
347
347
  downloads and verifies the sealed files, and stages the tarball with public
348
- access, provenance, and the `preview` dist-tag. It does not repack. Inspect the
348
+ access, provenance, and the explicit `latest` dist-tag, including for preview
349
+ versions. This makes each approved release the default install. Inspect the
349
350
  staged version and download it in an empty directory to compare its SHA-256
350
351
  with the reviewed tarball. The owner uses `npm stage approve <stage-id>` with 2FA
351
- to publish those bytes and can verify the tag with `npm view react-native-roku@preview version`.
352
+ to publish those bytes. Verify that `npm view react-native-roku@latest version`
353
+ matches the approved version. For a preview, also run
354
+ `npm dist-tag add react-native-roku@<approved-version> preview` to keep existing
355
+ `@preview` consumers on that release. Check that the main package page shows
356
+ the release README. npm refreshes that README on publication of a new version.
357
+ [npm package README updates](https://docs.npmjs.com/about-package-readme-files/)
352
358
  See [npm staged publishing](https://docs.npmjs.com/staged-publishing/).
353
359
 
354
360
  ## Device evidence
@@ -10,7 +10,7 @@
10
10
  "doctor": "react-native-roku doctor"
11
11
  },
12
12
  "dependencies": {
13
- "react-native-roku": "0.2.0-preview.1",
13
+ "react-native-roku": "0.2.0-preview.3",
14
14
  "react": "19.2.8",
15
15
  "@roku-sdk/rsg-ts": "2.19.1",
16
16
  "@expo-google-fonts/inter": "0.4.2"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-roku",
3
- "version": "0.2.0-preview.1",
3
+ "version": "0.2.0-preview.3",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "exports": {
@@ -117,7 +117,7 @@
117
117
  "license": "MIT",
118
118
  "publishConfig": {
119
119
  "access": "public",
120
- "tag": "preview",
120
+ "tag": "latest",
121
121
  "provenance": true
122
122
  },
123
123
  "repository": {