Commit Graph

53 Commits

Author SHA1 Message Date
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
Xymorot 61b4bf2cdb feat: install electron-forge and define build process 2019-07-26 22:28:22 +02:00
Xymorot 4c6037f72a refactor: prepare code for more than one database 2019-07-05 22:51:05 +02:00
Xymorot f926cbb398 config: add typescript compile to postinstall script 2019-07-02 23:21:46 +02:00
Xymorot 67fd4c2880 update: set typescript tslint plugin to use latest instead of version 2019-07-02 22:18:26 +02:00
Xymorot aa0e6a1e7f run npm update and set version of non-critical packages to latest 2019-07-02 21:36:03 +02:00
Xymorot c0fbc4fce4 adjust prettier config 2019-06-30 02:00:26 +02:00
Xymorot 35b778bd0b implement nhentai login 2019-06-30 01:18:21 +02:00
Xymorot e814cb1292 add source maps back to typescript transpilation via gulp-sourcemaps 2019-06-24 00:01:50 +02:00
Xymorot ba670c31ad use gulp for typescript compiling to delete migrations folder for each new transpilation 2019-06-23 19:03:16 +02:00
Xymorot f2d30d00f6 add database migrations 2019-06-23 03:33:48 +02:00
Xymorot 74f76a83fb install sqlite3 and typeorm together with electron-rebuild, create first entities 2019-06-23 02:30:24 +02:00
Xymorot 8679ecb1f8 add markdown to prettier scripts 2019-06-22 18:34:23 +02:00
Xymorot 79a1847eda remove inspect flag from electron dev script 2019-06-18 23:48:20 +02:00
Xymorot ff68a35505 update electron dev script to include logging 2019-06-18 00:35:23 +02:00
Xymorot 2106789512 update electron and lint files 2019-06-16 03:39:33 +02:00
Xymorot be39755762 uninstall electron-forge, switch to manual webpack for frontend/tsc for backend, install eslint 2019-06-16 00:41:43 +02:00
Xymorot 609803ff23 add some more code for general architecture 2019-06-10 10:47:26 +02:00
Xymorot 55f1b585e9 put typescript and svelte back in the mix 2019-06-08 05:06:21 +02:00
Xymorot 1b345af4ca install electron-forge 2019-06-08 02:18:50 +02:00
Xymorot e6ffde7b5e fix prettier script 2019-06-08 01:01:50 +02:00
Xymorot 09bd286db7 switch to electron 2019-06-08 00:53:51 +02:00
Xymorot 9ef5b80980 decide on sveltejs/sapper as framework 2019-06-07 00:35:19 +02:00
Xymorot 748392c9d6 remove license 2019-06-05 00:52:34 +02:00
Xymorot 67aeb46aab install express 2019-06-05 00:47:05 +02:00