Commit Graph

124 Commits

Author SHA1 Message Date
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
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
Xymorot 39be993c63 change output directory from out to dist 2019-06-04 23:55:26 +02:00
Xymorot be90b513b2 install tslint and prettier with stuff around to make them work together 2019-06-04 22:54:56 +02:00
Xymorot bc34a68b02 initial commit 2019-03-10 20:16:18 +01:00