diff --git a/.gitignore b/.gitignore index e2cc384b..471f3285 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,13 @@ +.coveralls.yml +.env +.npmrc +.nyc_output +coverage +dist +docs +guaribas.log +guaribas.sqlite node_modules packages/default.gbui/build -dist -guaribas.sqlite -guaribas.log -work tmp -docs -.env -.coveralls.yml -coverage -.npmrc \ No newline at end of file +work \ No newline at end of file diff --git a/.npmignore b/.npmignore index 871ae43b..2e154f7f 100644 --- a/.npmignore +++ b/.npmignore @@ -1,9 +1,13 @@ -node_modules -guaribas.sqlite -guaribas.log -work -tmp -.env +# This file must be a copy of .gitignore except for the WILLSHIP commented lines below. .coveralls.yml +.env +.npmrc +.nyc_output coverage -BotServer-*.tgz +# WILLSHIP dist +guaribas.log +guaribas.sqlite +node_modules +# WILLSHIP packages/default.gbui/build +tmp +work \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index f46eacbf..7dedc2fa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,8 +16,8 @@ before_script: - npm run build script: -#- npm run build-docs -#- npm run coveralls +- npm run build-docs +- npm run coveralls branches: only: @@ -28,7 +28,7 @@ branches: after_success: - npm run travis-deploy-once "npm run semantic-release" -#- npm run typedoc +- npm run typedoc - npm pack deploy: @@ -39,20 +39,4 @@ deploy: github_token: $GITHUB_TOKEN on: tags: false - - - provider: releases - api_key: $GITHUB_TOKEN - file_glob: true - file: "BotServer-*.tgz" - skip_cleanup: true - on: - tags: false - branch: master - - - provider: npm - skip_cleanup: true - email: "operations@pragmatismo.io" - api_key: $NPM_TOKEN - on: - tags: false branch: master diff --git a/package.json b/package.json index b76c7e55..24d30a8c 100644 --- a/package.json +++ b/package.json @@ -192,16 +192,22 @@ "verifyConditions": [ "@semantic-release/github" ], + "plugins": [ + "@semantic-release/commit-analyzer", + "@semantic-release/release-notes-generator", + "@semantic-release/changelog" + ], "prepare": [ "@semantic-release/npm", { "path": "@semantic-release/exec", "cmd": "git status" }, + "@semantic-release/changelog", { "path": "@semantic-release/git", "assets": [ - "**" + "package.json" ] } ],