From dc0a90b9d5f96b033bb45bf67bf126b1e9a93b2f Mon Sep 17 00:00:00 2001 From: jesse Date: Sat, 20 Apr 2019 14:30:22 +0900 Subject: [PATCH 1/3] chore: bump version and added prepare script --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 45b03ae..8708038 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "power-crypt", - "version": "0.1.4", + "version": "0.2.1", "description": "", "repository": "https://github.com/phenyl-js/power-crypt", "license": "Apache-2.0", @@ -17,6 +17,8 @@ "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { + "clean": "rm -rf lib", + "prepare": "yarn clean && yarn build", "build": "tsc --declaration", "ci-test": "nyc mocha --require ts-node/register 'test/**/*.ts' --color always", "test": "mocha --require ts-node/register 'test/**/*.ts' --color always", From f28e85c35669f0ea9223cf950869aaaf78f914ea Mon Sep 17 00:00:00 2001 From: jesse Date: Sat, 20 Apr 2019 14:47:50 +0900 Subject: [PATCH 2/3] fix: modify tsconfig to only include src --- .circleci/config.yml | 1 - tsconfig.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index dca2b11..f29e599 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -39,7 +39,6 @@ jobs: key: v{{ .Environment.CIRCLECI_CACHE_VERSION }}-dependencies-{{ .Branch }}-{{ checksum "deps.txt" }} - run: yarn ci-test - run: yarn type-check - - run: yarn build workflows: version: 2.1 test_deploy: diff --git a/tsconfig.json b/tsconfig.json index 08a03c6..0c5fa5e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -60,5 +60,5 @@ // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ }, - "exclude": ["test"] + "include": ["src/**/*"] } From 62c79846dc92750cab2328c154281e2cd6cd2b03 Mon Sep 17 00:00:00 2001 From: jesse Date: Sat, 20 Apr 2019 14:47:55 +0900 Subject: [PATCH 3/3] 0.2.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8708038..bfff9f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "power-crypt", - "version": "0.2.1", + "version": "0.2.2", "description": "", "repository": "https://github.com/phenyl-js/power-crypt", "license": "Apache-2.0",