Update deploy-to-s3.js script for npm-packlist v7
Update the code for listing the files that would go into the npm package. npm-packlist v7 removed the internal logic for using Arborist and instead requires the caller to do this instead. The new code follows the current example in the npm-packlist README [1]. This unfortunately means adding an extra dependency. An alternative approach would be to invoke `npm package` to generate a tarball, then unpack that tarball somewhere and read its contents using file system APIs. [1] https://github.com/npm/npm-packlist#npm-packlist
Showing
... | @@ -13,6 +13,7 @@ | ... | @@ -13,6 +13,7 @@ |
"@babel/preset-typescript": "^7.16.7", | "@babel/preset-typescript": "^7.16.7", | ||
"@hypothesis/frontend-build": "1.2.0", | "@hypothesis/frontend-build": "1.2.0", | ||
"@hypothesis/frontend-shared": "5.4.2", | "@hypothesis/frontend-shared": "5.4.2", | ||
"@npmcli/arborist": "^5.6.2", | |||
"@octokit/rest": "^19.0.3", | "@octokit/rest": "^19.0.3", | ||
"@rollup/plugin-babel": "^6.0.0", | "@rollup/plugin-babel": "^6.0.0", | ||
"@rollup/plugin-commonjs": "^23.0.0", | "@rollup/plugin-commonjs": "^23.0.0", | ||
... | ... |
Please register or sign in to comment