Skip to content

Commit 0dfecfa

Browse files
committed
Merge branch 'master' of github.com:perryrh0dan/taskline
2 parents 4e8009a + 6e911fd commit 0dfecfa

File tree

17 files changed

+1144
-867
lines changed

17 files changed

+1144
-867
lines changed

.eslintignore

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
node_modules/
2-
parts/
3-
prime/
4-
stage/
5-
dist/
1+
/node_modules/
2+
/parts/
3+
/prime/
4+
/stage/
5+
/dist/
6+
/gulpfile.js

.releaserc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"branch": "master",
44
"plugins": [
55
"@semantic-release/commit-analyzer",
6-
"@semantic-release/release-notes-generator"
6+
"@semantic-release/release-notes-generator",
7+
["@semantic-release/npm", {
8+
"pkgRoot": "dist"
9+
}]
710
]
811
}

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ node_js:
33
- 12
44
- 10
55
- 8
6-
before_install:
7-
- npm install --global npm@6.4.0
8-
- npm --version
96
install:
107
- npm install
118
- npm install -g codecov

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
"autoFix": true
77
}
88
],
9+
"editor.codeActionsOnSave": {
10+
"source.fixAll.eslint": true
11+
},
912
}

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
Changelog for npm and snapcraft
44

5+
## Version 1.3.0
6+
7+
- Dependency updates
8+
- Add new logger module for better debugging
9+
510
## Version 1.2.2
611

712
- Removed debug commands

cli.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
#!/usr/bin/env node
2-
3-
'use strict';
42
import * as program from 'commander';
3+
54
// START SNAPCRAFT IGNORE
65
import { UpdateNotifier } from 'update-notifier';
76
// END SNAPCRAFT IGNORE
8-
const pkg = require('./package.json');
7+
98
import { Taskline } from './src/taskline';
9+
import logger from './src/utils/logger';
10+
import pkg = require('./package.json');
1011
const taskline = new Taskline();
1112

1213
program.version(pkg.version);
1314
program.description(pkg.description);
1415

16+
logger.info('Starting in Debug Mode');
17+
1518
program.name('tl').usage('[command] [options]');
1619

1720
program

commitlint.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ module.exports = {
1313
'refactor',
1414
'perf',
1515
'test',
16-
'revert'
16+
'revert',
17+
'ci',
18+
'chore'
1719
]
1820
]
1921
}

gulpfile.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const gulp = require('gulp');
22
const ts = require('gulp-typescript');
33
const sourcemaps = require('gulp-sourcemaps');
4-
const jeditor = require("gulp-json-editor");
4+
const jeditor = require('gulp-json-editor');
55
const merge = require('merge-stream');
66
var del = require('del');
77

@@ -14,11 +14,11 @@ const dirs = {
1414
const editPackageSnapcraft = () => {
1515
return gulp.src('package.json')
1616
.pipe(jeditor(function(json) {
17-
json.devDependencies = {}
18-
return json
17+
json.devDependencies = {};
18+
return json;
1919
}))
20-
.pipe(gulp.dest('./'))
21-
}
20+
.pipe(gulp.dest('./'));
21+
};
2222

2323
const movePackage = () => {
2424
return gulp.src('package.json')
@@ -32,8 +32,8 @@ const moveReadme = () => {
3232

3333
const moveLocals = () => {
3434
return gulp.src('i18n/**/*.json')
35-
.pipe(gulp.dest(dirs.dist + '/i18n'))
36-
}
35+
.pipe(gulp.dest(dirs.dist + '/i18n'));
36+
};
3737

3838
const compileProd = () => {
3939
return tsProject.src()
@@ -52,11 +52,11 @@ const compileTest = () => {
5252

5353
const watch = () => {
5454
gulp.watch(['src/**/*.ts', 'cli.ts', 'i18n/**/*.json'], buildTest);
55-
}
55+
};
5656

5757
const delDist = () => {
5858
return del(['dist/**/*']);
59-
}
59+
};
6060

6161
const build = gulp.series(delDist, compileProd, moveLocals);
6262
const buildMeta = gulp.parallel(movePackage, moveReadme);

i18n/de.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@
99
"due_in": "Fällig in {0}",
1010
"today": "Heute",
1111
"days": {
12-
12+
"monday": "Montag",
13+
"thuesday": "Dienstag",
14+
"wednesday": "Mittwoch",
15+
"thursday": "Donnerstag",
16+
"friday": "Freitag",
17+
"saturday": "Samstag",
18+
"sunday": "Sonntag"
1319
},
1420
"units": {
1521
"second": "Sekunde | Sekunden",

0 commit comments

Comments
 (0)