Skip to content

Commit

Permalink
Enable IWA in ShimlessRMA (#111)
Browse files Browse the repository at this point in the history
* [Build] Move manifest to .well-known/

The location of IWA manifest was changed from `/manifest.webmanifest` to
`/.well-known/manifest.webmanifest` [1]. Reflect that change in our
sample IWA.

[1] More discussion: WICG/isolated-web-apps#24

* [Build] Sign IWA with Integrity Block V2

Integrity Block V1 has been deprecated since M129. Upgrade npm package
`wbn-sign` to 0.2.1 to support v2 format.
  • Loading branch information
cyhuang1230 authored Oct 3, 2024
1 parent a86b464 commit 7e9ddd0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion diagnostics-app/build_iwa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ web_bundle=$(mktemp)

# Copy the files into the temporary folders
cp -r dist/diagnostics-app/* ${iwa_src}
cp -r iwa/public/* ${iwa_src}
cp -r iwa/public/. ${iwa_src}

# Create the bundle
wbn --dir ${iwa_src} --output ${web_bundle} --formatVersion b2
Expand Down
22 changes: 12 additions & 10 deletions diagnostics-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion diagnostics-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@
"prettier-plugin-organize-imports": "^3.2.4",
"typescript": "4.9.5",
"wbn": "^0.0.9",
"wbn-sign": "^0.1.2"
"wbn-sign": "^0.2.1"
}
}

0 comments on commit 7e9ddd0

Please sign in to comment.