Commit Graph

62 Commits

Author SHA1 Message Date
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
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