Explorar el Código

stuff for existing cozy instance connection

master
Jérôme hace 6 años
padre
commit
e78c5bd63d
Se han modificado 3 ficheros con 83 adiciones y 69 borrados
  1. +20
    -1
      manifest.konnector
  2. +6
    -6
      package.json
  3. +57
    -62
      yarn.lock

+ 20
- 1
manifest.konnector Ver fichero

@@ -2,13 +2,32 @@
"version": "1.0.0",
"name": "Enercoop Cozy konnector",
"type": "node",
"slug": "enercoopslug",
"slug": "enercoop",
"description": "Collects your Enercoop bills",
"source": "https://gitlab.allella.io/dje/cozy-konnector-enercoop",
"locales": {
"fr": {
}
},
"permissions": {
"bank operations": {
"description": "Required to link bills to bank operations",
"type": "io.cozy.bank.operations"
},
"bills": {
"description": "Required to save bills documents",
"type": "io.cozy.bills"
},
"files": {
"description": "Required to save the bills files",
"type": "io.cozy.files"
},
"accounts": {
"description": "Required to get the account's data",
"type": "io.cozy.accounts",
"verbs": ["GET"]
}
},
"developer": {
"name": "choj",
"url": "https://gitlab.allella.io/dje/cozy-konnector-enercoop"


+ 6
- 6
package.json Ver fichero

@@ -1,13 +1,13 @@
{
"name": "cozy-konnector-template",
"name": "cozy-konnector-enercoop",
"version": "1.0.0",
"description": "",
"description": "Collects your Enercoop bills",
"repository": {
"type": "git",
"url": "git+https://github.com/cozy/cozy-konnector-template.git"
"url": "git+https://gitlab.allella.io/dje/cozy-konnector-enercoop.git"
},
"keywords": [],
"author": "",
"keywords": [Enercoop, bills],
"author": "Choj",
"license": "AGPL-3.0",
"dependencies": {
"cozy-konnector-libs": "^3.0.0"
@@ -19,7 +19,7 @@
"build": "webpack",
"lint": "standard --fix konnector.js",
"deploy:travis": "git-directory-deploy --username <YOUR_GH_USERNAME> --email <YOUR_EMAIL> --directory build/ --repo=https://$GITHUB_TOKEN@github.com/<USERNAME_GH>/<SLUG_GH>.git",
"deploy": "git-directory-deploy --directory build/ --branch build --repo=https://github.com/cozy/cozy-konnector-template.git"
"deploy": "git-directory-deploy --directory build/ --branch build --repo=https://gitlab.allella.io/dje/cozy-konnector-enercoop.git"
},
"devDependencies": {
"copy-webpack-plugin": "^4.0.1",


+ 57
- 62
yarn.lock Ver fichero

@@ -3,8 +3,8 @@


"@types/node@*":
version "9.3.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-9.3.0.tgz#3a129cda7c4e5df2409702626892cb4b96546dd5"
version "9.4.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-9.4.0.tgz#b85a0bcf1e1cc84eb4901b7e96966aedc6f078d1"

abab@^1.0.3:
version "1.0.4"
@@ -41,8 +41,8 @@ acorn@^4.0.3, acorn@^4.0.4:
resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787"

acorn@^5.0.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.3.0.tgz#7446d39459c54fb49a80e6ee6478149b940ec822"
version "5.4.1"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.4.1.tgz#fdc58d9d17f4a4e98d102ded826a9b9759125102"

ajv-keywords@^2.0.0:
version "2.1.1"
@@ -277,8 +277,8 @@ babel-core@^6.0.0, babel-core@^6.26.0:
source-map "^0.5.6"

babel-generator@^6.18.0, babel-generator@^6.26.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.0.tgz#ac1ae20070b79f6e3ca1d3269613053774f20dc5"
version "6.26.1"
resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90"
dependencies:
babel-messages "^6.23.0"
babel-runtime "^6.26.0"
@@ -286,7 +286,7 @@ babel-generator@^6.18.0, babel-generator@^6.26.0:
detect-indent "^4.0.0"
jsesc "^1.3.0"
lodash "^4.17.4"
source-map "^0.5.6"
source-map "^0.5.7"
trim-right "^1.0.1"

babel-helper-builder-binary-assignment-operator-visitor@^6.24.1:
@@ -883,10 +883,10 @@ browserify-zlib@^0.2.0:
pako "~1.0.5"

browserslist@^2.1.2:
version "2.11.1"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.11.1.tgz#02fda29d9a2164b879100126e7b0d0b57e43a7bb"
version "2.11.3"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.11.3.tgz#fe36167aed1bbcde4827ebfe71347a2cc70b99b2"
dependencies:
caniuse-lite "^1.0.30000789"
caniuse-lite "^1.0.30000792"
electron-to-chromium "^1.3.30"

bser@^2.0.0:
@@ -957,9 +957,9 @@ camelcase@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd"

caniuse-lite@^1.0.30000789:
version "1.0.30000791"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000791.tgz#8e35745efd483a3e23bb7d350990326d2319fc16"
caniuse-lite@^1.0.30000792:
version "1.0.30000792"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000792.tgz#d0cea981f8118f3961471afbb43c9a1e5bbf0332"

caseless@~0.12.0:
version "0.12.0"
@@ -1103,8 +1103,8 @@ command-line-tool@^0.7.0:
typical "^2.6.0"

command-line-usage@^4.0.0:
version "4.0.2"
resolved "https://registry.yarnpkg.com/command-line-usage/-/command-line-usage-4.0.2.tgz#9ded6dd993187db02f4e3031e212d65fdb9e7127"
version "4.1.0"
resolved "https://registry.yarnpkg.com/command-line-usage/-/command-line-usage-4.1.0.tgz#a6b3b2e2703b4dcf8bd46ae19e118a9a52972882"
dependencies:
ansi-escape-sequences "^4.0.0"
array-back "^2.0.0"
@@ -1202,8 +1202,8 @@ cozy-client-js@^0.3.17:
resolved "https://registry.yarnpkg.com/cozy-client-js/-/cozy-client-js-0.3.21.tgz#d27d0288077ce95139333c41dfb537b8584ff254"

cozy-konnector-libs@^3.0.0:
version "3.1.5"
resolved "https://registry.yarnpkg.com/cozy-konnector-libs/-/cozy-konnector-libs-3.1.5.tgz#7f543a44198a7238bc0c009ef56418e63d79de20"
version "3.2.5"
resolved "https://registry.yarnpkg.com/cozy-konnector-libs/-/cozy-konnector-libs-3.2.5.tgz#cb4f10adf67fdc5fc5600f9009b77fe9a424f680"
dependencies:
babel-plugin-transform-object-rest-spread "^6.26.0"
babel-preset-env "^1.6.0"
@@ -1219,6 +1219,7 @@ cozy-konnector-libs@^3.0.0:
isomorphic-fetch "^2.2.1"
jest "^21.1.0"
jsdoc-to-markdown "^3.0.0"
lodash "^4.17.4"
moment "^2.18.1"
opn "^5.1.0"
regenerator-runtime "^0.11.0"
@@ -1417,8 +1418,8 @@ dir-glob@^2.0.0:
path-type "^3.0.0"

dmd@^3.0.9:
version "3.0.9"
resolved "https://registry.yarnpkg.com/dmd/-/dmd-3.0.9.tgz#a8090baf7b9fd4b396c6074e662b31a17cbd1790"
version "3.0.10"
resolved "https://registry.yarnpkg.com/dmd/-/dmd-3.0.10.tgz#fa72e1150e2aba1ffe35fe2d5d4b7716cce8344b"
dependencies:
array-back "^2.0.0"
cache-point "^0.4.1"
@@ -1441,8 +1442,8 @@ dom-serializer@0, dom-serializer@~0.1.0:
entities "~1.1.1"

domain-browser@^1.1.1:
version "1.1.7"
resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.1.7.tgz#867aa4b093faa05f1de08c06f4d7b21fdf8698bc"
version "1.2.0"
resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda"

domelementtype@1, domelementtype@^1.3.0:
version "1.3.0"
@@ -1487,15 +1488,9 @@ ecc-jsbn@~0.1.1:
dependencies:
jsbn "~0.1.0"

electron-releases@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/electron-releases/-/electron-releases-2.1.0.tgz#c5614bf811f176ce3c836e368a0625782341fd4e"

electron-to-chromium@^1.3.30:
version "1.3.30"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.30.tgz#9666f532a64586651fc56a72513692e820d06a80"
dependencies:
electron-releases "^2.1.0"
version "1.3.32"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.32.tgz#11d0684c0840e003c4be8928f8ac5f35dbc2b4e6"

elliptic@^6.0.0:
version "6.4.0"
@@ -1551,13 +1546,13 @@ error-ex@^1.2.0:
is-arrayish "^0.2.1"

es5-ext@^0.10.14, es5-ext@^0.10.35, es5-ext@^0.10.9, es5-ext@~0.10.14:
version "0.10.37"
resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.37.tgz#0ee741d148b80069ba27d020393756af257defc3"
version "0.10.38"
resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.38.tgz#fa7d40d65bbc9bb8a67e1d3f9cc656a00530eed3"
dependencies:
es6-iterator "~2.0.1"
es6-iterator "~2.0.3"
es6-symbol "~3.1.1"

es6-iterator@^2.0.1, es6-iterator@~2.0.1:
es6-iterator@^2.0.1, es6-iterator@~2.0.1, es6-iterator@~2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7"
dependencies:
@@ -2854,8 +2849,8 @@ lodash.pick@^4.4.0:
resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3"

lodash@^4.13.1, lodash@^4.14.0, lodash@^4.14.2, lodash@^4.15.0, lodash@^4.17.4, lodash@^4.3.0:
version "4.17.4"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
version "4.17.5"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"

longest@^1.0.1:
version "1.0.1"
@@ -2950,8 +2945,8 @@ mime-types@^2.1.12, mime-types@~2.1.17, mime-types@~2.1.7:
mime-db "~1.30.0"

mimic-fn@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18"
version "1.2.0"
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022"

minimalistic-assert@^1.0.0:
version "1.0.0"
@@ -2980,8 +2975,8 @@ minimist@~0.0.1:
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"

mississippi@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-1.3.0.tgz#d201583eb12327e3c5c1642a404a9cacf94e34f5"
version "1.3.1"
resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-1.3.1.tgz#2a8bb465e86550ac8b36a7b6f45599171d78671e"
dependencies:
concat-stream "^1.5.0"
duplexify "^3.4.2"
@@ -3442,15 +3437,15 @@ pump@^1.0.0:
once "^1.3.1"

pump@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/pump/-/pump-2.0.0.tgz#7946da1c8d622b098e2ceb2d3476582470829c9d"
version "2.0.1"
resolved "https://registry.yarnpkg.com/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909"
dependencies:
end-of-stream "^1.1.0"
once "^1.3.1"

pumpify@^1.3.3:
version "1.3.6"
resolved "https://registry.yarnpkg.com/pumpify/-/pumpify-1.3.6.tgz#00d40e5ded0a3bf1e0788b1c0cf426a42882ab64"
version "1.4.0"
resolved "https://registry.yarnpkg.com/pumpify/-/pumpify-1.4.0.tgz#80b7c5df7e24153d03f0e7ac8a05a5d068bd07fb"
dependencies:
duplexify "^3.5.3"
inherits "^2.0.3"
@@ -3501,8 +3496,8 @@ randomfill@^1.0.3:
safe-buffer "^5.1.0"

rc@^1.1.7:
version "1.2.3"
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.3.tgz#51575a900f8dd68381c710b4712c2154c3e2035b"
version "1.2.5"
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.5.tgz#275cd687f6e3b36cc756baa26dfee80a790301fd"
dependencies:
deep-extend "~0.4.0"
ini "~1.3.0"
@@ -3539,7 +3534,7 @@ read-pkg@^2.0.0:
normalize-package-data "^2.3.2"
path-type "^2.0.0"

"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.6, readable-stream@^2.1.4, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.2.6, readable-stream@^2.3.3:
"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.6, readable-stream@^2.1.4, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3:
version "2.3.3"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c"
dependencies:
@@ -3769,8 +3764,8 @@ safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@~5.1.0,
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"

sane@^2.0.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/sane/-/sane-2.2.0.tgz#d6d2e2fcab00e3d283c93b912b7c3a20846f1d56"
version "2.3.0"
resolved "https://registry.yarnpkg.com/sane/-/sane-2.3.0.tgz#3f3df584abf69e63d4bb74f0f8c42468e4d7d46b"
dependencies:
anymatch "^1.3.0"
exec-sh "^0.2.0"
@@ -3787,8 +3782,8 @@ sax@^1.2.1:
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"

"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.4.1:
version "5.4.1"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e"
version "5.5.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab"

serialize-javascript@^1.4.0:
version "1.4.0"
@@ -3807,8 +3802,8 @@ setimmediate@^1.0.4:
resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285"

sha.js@^2.4.0, sha.js@^2.4.8:
version "2.4.9"
resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.9.tgz#98f64880474b74f4a38b8da9d3c0f2d104633e7d"
version "2.4.10"
resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.10.tgz#b1fde5cd7d11a5626638a07c604ab909cfa31f9b"
dependencies:
inherits "^2.0.1"
safe-buffer "^5.0.1"
@@ -3871,7 +3866,7 @@ source-map@^0.4.4:
dependencies:
amdefine ">=0.0.4"

source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1, source-map@~0.5.6:
source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7, source-map@~0.5.1, source-map@~0.5.6:
version "0.5.7"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"

@@ -3912,8 +3907,8 @@ sshpk@^1.7.0:
tweetnacl "~0.14.0"

ssri@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/ssri/-/ssri-5.0.0.tgz#13c19390b606c821f2a10d02b351c1729b94d8cf"
version "5.1.0"
resolved "https://registry.yarnpkg.com/ssri/-/ssri-5.1.0.tgz#2cbf1df36b74d0fc91fcf89640a4b3e1d10b1899"
dependencies:
safe-buffer "^5.1.0"

@@ -3942,12 +3937,12 @@ stream-each@^1.1.0:
stream-shift "^1.0.0"

stream-http@^2.7.2:
version "2.7.2"
resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.7.2.tgz#40a050ec8dc3b53b33d9909415c02c0bf1abfbad"
version "2.8.0"
resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.0.tgz#fd86546dac9b1c91aff8fc5d287b98fafb41bc10"
dependencies:
builtin-status-codes "^3.0.0"
inherits "^2.0.1"
readable-stream "^2.2.6"
readable-stream "^2.3.3"
to-arraybuffer "^1.0.0"
xtend "^4.0.0"

@@ -4131,8 +4126,8 @@ through2@^2.0.0:
xtend "~4.0.1"

timers-browserify@^2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.4.tgz#96ca53f4b794a5e7c0e1bd7cc88a372298fa01e6"
version "2.0.6"
resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.6.tgz#241e76927d9ca05f4d959819022f5b3664b64bae"
dependencies:
setimmediate "^1.0.4"

@@ -4259,8 +4254,8 @@ util@0.10.3, util@^0.10.3:
inherits "2.0.1"

uuid@^3.0.0, uuid@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04"
version "3.2.1"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14"

validate-npm-package-license@^3.0.1:
version "3.0.1"


Cargando…
Cancelar
Guardar