@cypress/deploy-bits
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -1,1 +0,1 @@ | ||
{"name":"@cypress/deploy-bits","description":"Reusable deployment utilities","version":"1.3.0","author":"Gleb Bahmutov <gleb.bahmutov@gmail.com>","bugs":"https://github.com/cypress-io/deploy-bits/issues","config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm prune","npm run deps","npm test","git add src/*.js","npm run ban"],"pre-push":["npm run unused-deps","npm run secure","npm run license","npm run ban -- --all","npm run size"],"post-commit":[],"post-merge":[]}},"engines":{"node":">=6"},"files":["src/*.js","!src/*-spec.js"],"homepage":"https://github.com/cypress-io/deploy-bits#readme","keywords":["deploy","git","s3","utils"],"license":"MIT","main":"src/","publishConfig":{"registry":"http://registry.npmjs.org/"},"repository":{"type":"git","url":"https://github.com/cypress-io/deploy-bits.git"},"scripts":{"ban":"ban","deps":"deps-ok && dependency-check --no-dev .","unused-deps":"dependency-check --unused --no-dev .","issues":"git-issues","license":"license-checker --production --onlyunknown --csv","lint":"standard --verbose --fix src/*.js","prelint":"npm run pretty","pretest":"npm run lint","pretty":"prettier-standard 'src/*.js'","secure":"nsp check","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";","test":"npm run unit","unit":"mocha src/*-spec.js","semantic-release":"semantic-release pre && npm publish --access public && semantic-release post"},"release":{"analyzeCommits":"simple-commit-message","generateNotes":"github-post-release","verifyRelease":{"path":"dont-crack","test-against":[]}},"devDependencies":{"ban-sensitive-files":"1.9.0","dependency-check":"2.9.1","deps-ok":"1.2.1","dont-crack":"1.2.1","git-issues":"1.3.1","github-post-release":"1.13.1","license-checker":"15.0.0","mocha":"4.0.1","nsp":"2.8.1","pre-git":"3.15.3","prettier-standard":"7.0.3","semantic-release":"8.2.0","simple-commit-message":"3.3.2","snap-shot-it":"4.0.1","standard":"10.0.3"},"dependencies":{"@cypress/env-or-json-file":"1.2.0","@cypress/questions-remain":"1.0.1","bluebird":"3.5.1","chalk":"2.3.0","check-more-types":"2.24.0","debug":"3.1.0","gift":"0.10.0","inquirer":"3.3.0","is-ci":"1.0.10","lazy-ass":"1.6.0","lodash":"4.17.4","minimist":"1.2.0","ramda":"0.25.0"}} | ||
{"name":"@cypress/deploy-bits","description":"Reusable deployment utilities","version":"1.4.0","author":"Gleb Bahmutov <gleb.bahmutov@gmail.com>","bugs":"https://github.com/cypress-io/deploy-bits/issues","config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm prune","npm run deps","npm test","git add src/*.js","npm run ban"],"pre-push":["npm run unused-deps","npm run secure","npm run license","npm run ban -- --all","npm run size"],"post-commit":[],"post-merge":[]}},"engines":{"node":">=6"},"files":["src/*.js","!src/*-spec.js"],"homepage":"https://github.com/cypress-io/deploy-bits#readme","keywords":["deploy","git","s3","utils"],"license":"MIT","main":"src/","publishConfig":{"registry":"http://registry.npmjs.org/"},"repository":{"type":"git","url":"https://github.com/cypress-io/deploy-bits.git"},"scripts":{"ban":"ban","deps":"deps-ok && dependency-check --no-dev .","unused-deps":"dependency-check --unused --no-dev .","issues":"git-issues","license":"license-checker --production --onlyunknown --csv","lint":"standard --verbose --fix src/*.js","prelint":"npm run pretty","pretest":"npm run lint","pretty":"prettier-standard 'src/*.js'","secure":"nsp check","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";","test":"npm run unit","unit":"mocha src/*-spec.js","semantic-release":"semantic-release pre && npm publish --access public && semantic-release post"},"release":{"analyzeCommits":"simple-commit-message","generateNotes":"github-post-release","verifyRelease":{"path":"dont-crack","test-against":[]}},"devDependencies":{"ban-sensitive-files":"1.9.0","dependency-check":"2.9.1","deps-ok":"1.2.1","dont-crack":"1.2.1","git-issues":"1.3.1","github-post-release":"1.13.1","license-checker":"15.0.0","mocha":"4.0.1","nsp":"2.8.1","pre-git":"3.15.3","prettier-standard":"7.0.3","semantic-release":"8.2.0","simple-commit-message":"3.3.2","snap-shot-it":"4.0.1","standard":"10.0.3"},"dependencies":{"@cypress/env-or-json-file":"1.2.0","@cypress/questions-remain":"1.0.1","bluebird":"3.5.1","chalk":"2.3.0","check-more-types":"2.24.0","debug":"3.1.0","gift":"0.10.0","gulp-awspublish":"3.3.0","human-interval":"0.1.6","inquirer":"3.3.0","is-ci":"1.0.10","lazy-ass":"1.6.0","lodash":"4.17.4","minimist":"1.2.0","ramda":"0.25.0"}} |
@@ -108,3 +108,3 @@ # @cypress/deploy-bits | ||
{ | ||
"bucket-production": "<production S3 folder name>" | ||
"bucket-production": "<production S3 folder name>", | ||
"bucket-staging": "<staging S3 folder name>", | ||
@@ -116,2 +116,12 @@ "key": "AWS API key", | ||
### getS3Publisher | ||
Returns an instance of [gulp-awspublish](https://github.com/pgherveou/gulp-awspublish) | ||
```js | ||
const {getS3Config, getS3Publisher} = require(@cypress/deploy-bits) | ||
const config = getS3Config() | ||
const publisher = getS3Publisher(config['bucket-production'], config.key, config.secret) | ||
``` | ||
### Small print | ||
@@ -118,0 +128,0 @@ |
@@ -7,3 +7,3 @@ 'use strict' | ||
const isCI = require('is-ci') | ||
const getS3Config = require('./get-s3-config') | ||
const { getS3Config, getS3Publisher } = require('./s3-publish') | ||
@@ -15,3 +15,4 @@ module.exports = { | ||
warnIfNotCI, | ||
getS3Config | ||
getS3Config, | ||
getS3Publisher | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11985
165
163
15
+ Addedgulp-awspublish@3.3.0
+ Addedhuman-interval@0.1.6
+ Addedansi-gray@0.1.1(transitive)
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.1(transitive)
+ Addedansi-wrap@0.1.0(transitive)
+ Addedarray-differ@1.0.0(transitive)
+ Addedarray-uniq@1.0.3(transitive)
+ Addedavailable-typed-arrays@1.0.7(transitive)
+ Addedaws-sdk@2.1692.0(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbeeper@1.1.1(transitive)
+ Addedbuffer@4.9.2(transitive)
+ Addedcall-bind@1.0.8(transitive)
+ Addedcall-bind-apply-helpers@1.0.1(transitive)
+ Addedcall-bound@1.0.3(transitive)
+ Addedcamel-case@3.0.0(transitive)
+ Addedchalk@1.1.3(transitive)
+ Addedclone@1.0.4(transitive)
+ Addedclone-stats@0.0.1(transitive)
+ Addedcolor-support@1.1.3(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addeddateformat@2.2.0(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addedduplexer2@0.0.2(transitive)
+ Addedduplexify@3.7.1(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.0.0(transitive)
+ Addedevents@1.1.1(transitive)
+ Addedfancy-log@1.3.3(transitive)
+ Addedfor-each@0.3.3(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.7(transitive)
+ Addedget-proto@1.0.1(transitive)
+ Addedglogg@1.0.2(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedgulp-awspublish@3.3.0(transitive)
+ Addedgulp-util@3.0.8(transitive)
+ Addedgulplog@1.0.0(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedhas-gulplog@0.1.0(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhuman-interval@0.1.6(transitive)
+ Addedieee754@1.1.13(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-arguments@1.2.0(transitive)
+ Addedis-callable@1.2.7(transitive)
+ Addedis-generator-function@1.1.0(transitive)
+ Addedis-regex@1.2.1(transitive)
+ Addedis-typed-array@1.1.15(transitive)
+ Addedisarray@0.0.11.0.0(transitive)
+ Addedjmespath@0.16.0(transitive)
+ Addedlodash._basecopy@3.0.1(transitive)
+ Addedlodash._basetostring@3.0.1(transitive)
+ Addedlodash._basevalues@3.0.0(transitive)
+ Addedlodash._getnative@3.9.1(transitive)
+ Addedlodash._isiterateecall@3.0.9(transitive)
+ Addedlodash._reescape@3.0.0(transitive)
+ Addedlodash._reevaluate@3.0.0(transitive)
+ Addedlodash._reinterpolate@3.0.0(transitive)
+ Addedlodash._root@3.0.1(transitive)
+ Addedlodash.escape@3.2.0(transitive)
+ Addedlodash.isarguments@3.1.0(transitive)
+ Addedlodash.isarray@3.0.4(transitive)
+ Addedlodash.keys@3.1.2(transitive)
+ Addedlodash.restparam@3.6.1(transitive)
+ Addedlodash.template@3.6.2(transitive)
+ Addedlodash.templatesettings@3.1.1(transitive)
+ Addedlower-case@1.1.4(transitive)
+ Addedmath-intrinsics@1.1.0(transitive)
+ Addedmime@1.6.0(transitive)
+ Addedmultipipe@0.1.2(transitive)
+ Addedno-case@2.3.2(transitive)
+ Addedobject-assign@3.0.0(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedpad-component@0.0.1(transitive)
+ Addedparse-node-version@1.0.1(transitive)
+ Addedpascal-case@2.0.1(transitive)
+ Addedpossible-typed-array-names@1.0.0(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedpump@2.0.1(transitive)
+ Addedpumpify@1.5.1(transitive)
+ Addedpunycode@1.3.2(transitive)
+ Addedquerystring@0.2.0(transitive)
+ Addedreadable-stream@1.1.142.3.8(transitive)
+ Addedreplace-ext@0.0.1(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsafe-regex-test@1.1.0(transitive)
+ Addedsax@1.2.1(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedsparkles@1.0.1(transitive)
+ Addedstream-shift@1.0.3(transitive)
+ Addedstring_decoder@0.10.311.1.1(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.0(transitive)
+ Addedthrough2@2.0.5(transitive)
+ Addedtime-stamp@1.1.0(transitive)
+ Addedupper-case@1.1.3(transitive)
+ Addedupper-case-first@1.1.2(transitive)
+ Addedurl@0.10.3(transitive)
+ Addedutil@0.12.5(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addeduuid@8.0.0(transitive)
+ Addedvinyl@0.5.31.2.0(transitive)
+ Addedwhich-typed-array@1.1.18(transitive)
+ Addedwrappy@1.0.2(transitive)
+ Addedxml-nodes@0.1.5(transitive)
+ Addedxml-objects@1.0.1(transitive)
+ Addedxml2js@0.4.230.6.2(transitive)
+ Addedxmlbuilder@11.0.1(transitive)
+ Addedxtend@4.0.2(transitive)