Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

Commit

Permalink
update dependencies and bump v2.2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimiry committed Jun 8, 2019
1 parent 7b5a223 commit 77ddec1
Show file tree
Hide file tree
Showing 9 changed files with 510 additions and 699 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
node_modules
npm-debug.log

/dist/
/lib/
/output/
6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/*

!/lib/
!/LICENSE
!/package.json
!/README.md
25 changes: 15 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,23 @@

if: tag IS blank
os:
- linux
- osx
- linux
- osx
sudo: false
language: node_js
node_js:
- "6"
- "8"
- "10"
- "8"
- "10"
- "lts/*"
before_install:
- | # installing the most recent yarn version
curl -o- -L https://yarnpkg.com/install.sh | bash;
export PATH="$HOME/.yarn/bin:$PATH";
install:
- yarn install
- yarn install
script:
- node --version
- npm --version
- yarn --version
- yarn run dist
- node --version
- npm --version
- yarn --version
- npx envinfo
- yarn run lib
24 changes: 13 additions & 11 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
environment:
matrix:
- nodejs_version: "6"
- nodejs_version: "8"
- nodejs_version: "9"
- nodejs_version: "10"
matrix:
- nodejs_version: "8"
- nodejs_version: "10"
install:
- ps: Install-Product node $env:nodejs_version
- yarn install
- ps: Install-Product node $env:nodejs_version
- ps: | # installing the most recent yarn version
(New-Object Net.WebClient).DownloadFile("https://yarnpkg.com/latest.msi", "$env:temp\yarn.msi")
cmd /c start /wait msiexec.exe /i $env:temp\yarn.msi /quiet /qn /norestart
- yarn install
build: off
test_script:
- node --version
- npm --version
- yarn --version
- yarn run dist
- node --version
- npm --version
- yarn --version
- npx envinfo
- yarn run lib
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "keepasshttp-client",
"version": "2.2.10",
"version": "2.2.11",
"description": "Node.js module for interaction with KeePassHTTP",
"author": "Vladimir Yakovlev <dev.vladimir.y@gmail.com> (https://github.com/vladimiry)",
"license": "MIT",
Expand All @@ -11,13 +11,14 @@
"security",
"client"
],
"main": "./index.js",
"main": "./lib/index.js",
"scripts": {
"dist:compile": "tsc -p ./src/lib/tsconfig.json --listEmittedFiles",
"dist:compile:watch": "tsc -p ./src/lib/tsconfig.json -w",
"dist:clean": "rimraf ./dist",
"dist:copy": "cpx \"{package.json,README.md,LICENSE}\" ./dist",
"dist": "npm-run-all lint dist:clean dist:compile dist:copy test",
"postinstall": "npm-run-all yarn:audit",
"yarn:audit": "yarn audit",
"lib:compile": "tsc -p ./src/lib/tsconfig.json --listEmittedFiles",
"lib:compile:watch": "tsc -p ./src/lib/tsconfig.json -w",
"lib:clean": "rimraf ./lib",
"lib": "npm-run-all lint lib:clean lib:compile test",
"lint:src": "tslint -p ./src/lib/tsconfig.json -c ./tslint.json \"./src/{lib,@types}/**/*.ts\"",
"lint:test": "tslint -p ./src/test/tsconfig.json -c ./src/test/tslint.json \"./src/test/**/*.ts\"",
"lint": "npm-run-all lint:src lint:test",
Expand All @@ -37,22 +38,21 @@
]
},
"devDependencies": {
"@types/node": "^11.9.5",
"@types/node-fetch": "^2.1.6",
"@types/node": "^12.0.7",
"@types/node-fetch": "^2.3.5",
"ava": "^1.2.1",
"cpx": "^1.5.0",
"cross-env": "^5.2.0",
"npm-run-all": "^4.1.5",
"pre-commit": "^1.2.2",
"rimraf": "^2.6.3",
"ts-node": "^8.0.2",
"ts-node": "^8.2.0",
"tsconfig-paths": "^3.8.0",
"tslint": "^5.13.0",
"tslint-rules-bunch": "^0.0.7",
"typescript": "^3.3.3333"
"tslint": "^5.17.0",
"tslint-rules-bunch": "^0.0.8",
"typescript": "^3.5.1"
},
"dependencies": {
"node-fetch": "^2.3.0",
"node-fetch": "^2.6.0",
"tslib": "^1.9.3"
}
}
2 changes: 1 addition & 1 deletion src/test/client.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from "ava";

import {KeePassHttpClient, Model} from "dist";
import {KeePassHttpClient, Model} from "lib";
import {encrypt, generateRandomBase64, IV_SIZE, KEY_SIZE} from "../lib/private/util";

const clientOpts = {
Expand Down
2 changes: 1 addition & 1 deletion src/test/tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{
"target": "src/test/**/*",
"from": [
"dist/**/*",
"lib/**/*",
"src/lib",
"src/lib/**/*",
"!src/lib/private/util"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"es2015"
],
"baseUrl": ".",
"outDir": "./dist",
"outDir": "./lib",
"typeRoots": [
"./node_modules/@types",
"./src/@types"
Expand Down
Loading

0 comments on commit 77ddec1

Please sign in to comment.