Skip to content

Commit

Permalink
prepare to 0.6.0 (and travis-ci for validating i18n)
Browse files Browse the repository at this point in the history
  • Loading branch information
hangxingliu committed Mar 20, 2018
1 parent 9152179 commit baa9bff
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 10 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: node_js

os:
- linux
- osx

node_js:
- "6"
- "8"
- "node" # latest stable Node.js release
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CHANGELOG

### 0.6.0

0. Upgrade server program (report page) to 0.6.0
1. Optimize for some vscode internal documents. (*Default settings, markdown preview, interactive playground*)
2. Add Español translations into extension.

**Coming soon ...**

### 0.5.0

0. Support multi-root workspace.
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ English, Russian(русский), Spanish(Español),

## Current Version

### *0.5.1 (next release)*
### 0.6.0 (**Coming soon ...**)

*Coming soon ...*
**Coming soon ...**

### 0.5.0

Expand Down Expand Up @@ -65,9 +65,9 @@ In this situation, the database files are located in `$HOME/.coding-tracker/`

0. Set your vscode configuration `codingTracker.localServerMode` to `false`
1. Open a terminal/command line
2. Change path to `%HOME%/.vscode/extensions/hangxingliu.vscode-coding-tracker-0.5.0`
- In Windows OS, enter command: `cd %HOME%/.vscode/extensions/hangxingliu.vscode-coding-tracker-0.5.0`
- In Linux/Mac OS, enter command: `cd $HOME/.vscode/extensions/hangxingliu.vscode-coding-tracker-0.5.0`
2. Change path to `%HOME%/.vscode/extensions/hangxingliu.vscode-coding-tracker-0.6.0`
- In Windows OS, enter command: `cd %HOME%/.vscode/extensions/hangxingliu.vscode-coding-tracker-0.6.0`
- In Linux/Mac OS, enter command: `cd $HOME/.vscode/extensions/hangxingliu.vscode-coding-tracker-0.6.0`
3. Execute `npm i`
4. Launch tracker server by using command: `npm start -- -t ${REPLACE_TO_YOUR_TOKEN}`
- Such as `npm start -- -t test_token`, means your upload token is `test_token`
Expand Down
4 changes: 3 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# TODO

- [ ] Update dependency `vscode-coding-tracker-server` to `0.6.0`
- [ ] Optimize upload flow (remove complex vcs queue logic)
- [ ] Add unit test and travis-ci
- [ ] Add unit tests and travis-ci
- [x] travis-ci for validating i18n files.
- Reference: <https://code.visualstudio.com/docs/extensions/testing-extensions>
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-coding-tracker",
"displayName": "Coding Tracker",
"description": "A coding activities tracker(time, file, type)",
"version": "0.5.0",
"version": "0.6.0",
"license": "GPL-3.0",
"publisher": "hangxingliu",
"author": "hangxingliu",
Expand Down Expand Up @@ -78,7 +78,9 @@
},
"scripts": {
"install-vscode-dts": "node ./lib/vscode.d.ts/FETCH.js",
"start": "./node_modules/.bin/coding-tracker-server"
"start": "./node_modules/.bin/coding-tracker-server",
"test": "npm run test-i18n",
"test-i18n": "node ./utils/validate-i18n.js"
},
"devDependencies": {
"@types/node": "^8.0.53",
Expand All @@ -100,4 +102,4 @@
"publisherDisplayName": "Liu Yue",
"publisherId": "43f8445f-f00e-4e08-ab0f-21e398616231"
}
}
}

0 comments on commit baa9bff

Please sign in to comment.