Xymorot
bba9c2475c
update: upgrade sinon to major version 9
2020-03-02 23:52:16 +01:00
Xymorot
e7fe0ae2c0
update: upgrade nock to major version 12
2020-03-02 23:49:18 +01:00
Xymorot
738a3348c1
update: upgrade nyc to major version 15
2020-03-02 23:43:13 +01:00
Xymorot
f6190db213
update: upgrade uuid to major version 7
2020-03-02 23:31:50 +01:00
Xymorot
c83e4d90ac
update: upgrade husky to major version 4
2020-03-02 23:26:47 +01:00
Xymorot
60413e9ee7
update: run npm update and fix resulting eslint import/order errors
2020-03-02 23:21:10 +01:00
Xymorot
1f920796e0
feat: implement install functionality (under windows, using electron-squirrel-startup)
2020-02-09 20:25:05 +01:00
Xymorot
00ebd0e5c8
refactor: re-do source structure with InversifyJS (dependency injection) and adjust meta processes
2020-02-08 23:26:57 +01:00
Xymorot
598f0d4888
config: use ignore files to completely define file patterns for eslint and prettier (instead of in the command)
2020-02-03 22:38:25 +01:00
Xymorot
39af36bf52
config: add an npm script to output current electron versions
2020-01-08 21:08:56 +01:00
Xymorot
cef724aa21
config: rename lint:check to prelint so it runs before every lint
2019-12-16 21:25:50 +01:00
Xymorot
8cc332f804
update: run npm update
2019-12-16 21:22:29 +01:00
Xymorot
b2a4bb1b76
config: add npm audit to forge script
...
This is meant to take place in the pipeline of releasing the application.
2019-12-15 02:05:35 +01:00
Xymorot
ecab5d6552
config: use pre- and post-hooks of npm scripts for testing
...
This fixes the coverage reporting of nyc.
2019-12-15 01:35:33 +01:00
Xymorot
a8b9ccf832
refactor: replace tslint with @typescript-eslint/eslint-plugin as tslint will be deprecated in 2020
...
Some code refactoring and slight rule changes are done in this commit.
2019-12-15 01:14:39 +01:00
Xymorot
8c27962011
update: update dependencies and run npm audit fix
2019-12-13 04:07:25 +01:00
Xymorot
32b2c7e9bd
update: remove webpack-stream (was needed in gulp, not needed anymore)
2019-12-13 04:00:35 +01:00
Xymorot
8a5472e9ee
config: universally define the app name in the package.json as "productName"
...
The goal is to have this as the only truth, as well as the version string.
2019-12-10 23:36:34 +01:00
Xymorot
e02e0d97e0
feat: use userData electron path for database (subfolder with version)
...
This has the side effect of no more ormconfig.yml file, and the database connections are now only loaded on demand (as well as running the migrations).
BREAKING CHANGE: there is no migration for the old database
2019-12-10 23:33:48 +01:00
Xymorot
b705fd19a2
config: add build script in front of test script inside pre-push script
2019-12-07 00:59:08 +01:00
Xymorot
6d680cf5fb
config: make watch:ts output more usable in watch script
2019-12-05 21:03:14 +01:00
Xymorot
e6a480a805
update: run npm update
2019-12-05 19:04:39 +01:00
Xymorot
482e5bd343
config: remove gulp and realize build process with concurrently
2019-12-04 03:51:28 +01:00
Xymorot
b5846b49c5
meta: create documents for application design, make repository ready for publishing on git.fuwawa.moe
2019-12-04 01:33:41 +01:00
Xymorot
b73e14f0ab
test: add test setup files for backing up store and database folders before tests
2019-11-26 22:51:54 +01:00
Xymorot
8bfaba185b
config: refactor and add some lint scripts
2019-11-26 22:51:53 +01:00
Xymorot
4f28d63136
update: run npm update
2019-11-26 22:51:53 +01:00
Xymorot
423df953fb
config: add build script to pre-commit script to test for typescript errors
2019-11-20 23:21:35 +01:00
Xymorot
c2179ac580
update: run npm update
2019-11-20 23:21:35 +01:00
Xymorot
fce8e95a0e
feat: install and use fs-extra instead of fs, implement groundwork for more sophisticated error reporting
...
also add tests and mocking framework
2019-11-20 23:21:34 +01:00
Xymorot
1392532b7e
config: extract nyc into own npm scripts because it makes debugging impossible
2019-11-20 23:21:34 +01:00
Xymorot
a7d125bfaf
refactor: use handlebars template engine to render the index html conditionally
2019-11-20 23:21:33 +01:00
Xymorot
934b3eea64
config: use exec instead of gulp-typescript to compile typescript with the standard tsc compiler
...
The main reason for this is to fix nyc html coverage reporting which had some weird problems with the generated source-maps.
2019-11-20 23:21:33 +01:00
Xymorot
47a164169d
config: adjust pre-commit script to run prettier and not prettier:write since the written changes are not staged
2019-11-20 23:21:31 +01:00
Xymorot
b71a15536d
config: install fast-check for property based testing
2019-11-20 23:21:30 +01:00
Xymorot
d2c40cee18
config: add specific tslint file for tests, adjust eslint/tslint to fail on broken rule (error severity)
2019-11-20 23:21:28 +01:00
Xymorot
946fe6f487
config: add instanbuljs/nyc for code coverage
2019-11-20 23:21:28 +01:00
Xymorot
33c2f9de6f
test: remove split between integration and unit tests, use tags instead
2019-11-20 23:21:27 +01:00
Xymorot
59f2ce6f5f
config: add lint script to pre-commit script
2019-11-20 23:21:27 +01:00
Xymorot
fa976cac9a
test: add simple unit test with sinon and nock, also refactor 'test' directory to 'tests', split tests into integration and unit
2019-11-20 23:21:27 +01:00
Xymorot
f3123264be
config: install @types/gulp
2019-11-20 23:21:26 +01:00
Xymorot
8038525ad0
config: add pre-push hook (including linting and testing)
2019-11-20 23:21:26 +01:00
Xymorot
db1c79a384
test: install chai as assertion library
2019-11-20 23:21:25 +01:00
Xymorot
cd22df6f07
test: add test framework (spectron + mocha), combined with refactoring of the directory structures
2019-11-20 23:21:24 +01:00
Xymorot
ad5d59cef9
config: remove lint processes from typescript and move prettier commit hooks via husky
2019-11-20 23:21:24 +01:00
Xymorot
3e15732362
config: fix eslint-check script
2019-11-20 23:21:23 +01:00
Xymorot
f4c17b9d36
update: run npm update and upgrade electron from 5 to 6
2019-11-20 23:21:22 +01:00
Xymorot
28c755435d
config: implement webpack dev mode by unifying gulp and webpack
...
Now gulp does everything and can be started with the 'build' task with optional --dev and --watch flags for those modes respectively.
2019-11-20 23:21:22 +01:00
Xymorot
3079c33d37
feat: use uuid to get the correct ipc response only in the promise call that the request came from
2019-07-30 23:58:58 +02:00
Xymorot
56b09bda92
update: run npm update (svelte, svelte-loader)
2019-07-30 23:00:15 +02:00