Add S3 deployment script to replace s3-npm-publish
Replace the generic Docker-based s3-npm-publish tool with a JS script in the client repo which is tailored more specifically to the needs of client deployments: - Avoid creating the `hypothesis@X.Y` and `hypothesis@X` aliases which we never used. - Support uploading a copy of the entry point under a version-indepenent alias, regardless of whether this is a pre-release or not. This will enable creating a stable URL which points to the current QA version of the client. - Deploy the package directly from the current working directory. This saves the need to wait for publication to npm to complete, or the need to actually publish the package to npm at all in the case of the QA release.
Showing
... | ... | @@ -16,6 +16,7 @@ |
"angulartics": "0.17.2", | ||
"autofill-event": "0.0.1", | ||
"autoprefixer": "^6.0.3", | ||
"aws-sdk": "^2.345.0", | ||
"babel-preset-es2015": "^6.24.0", | ||
"babelify": "^7.3.0", | ||
"browserify": "^13.0.0", | ||
... | ... | @@ -80,6 +81,7 @@ |
"mocha": "^2.4.5", | ||
"ng-tags-input": "^3.1.1", | ||
"node-uuid": "^1.4.3", | ||
"npm-packlist": "^1.1.12", | ||
"postcss": "^5.0.6", | ||
"postcss-url": "^5.1.1", | ||
"proxyquire": "^1.7.10", | ||
... | ... | @@ -146,7 +148,6 @@ |
"lint": "eslint .", | ||
"test": "gulp test", | ||
"report-coverage": "codecov -f coverage/coverage-final.json", | ||
"preversion": "./scripts/preversion.sh", | ||
"version": "make clean all && ./scripts/update-changelog.js && git add CHANGELOG.md", | ||
"postversion": "./scripts/postversion.sh", | ||
"prepublish": "yarn run build" | ||
... | ... |
scripts/deploy-to-s3.js
0 → 100755
Please register or sign in to comment