Commit Graph

188 Commits

Author SHA1 Message Date
Xymorot 00ebd0e5c8 refactor: re-do source structure with InversifyJS (dependency injection) and adjust meta processes 2020-02-08 23:26:57 +01:00
Xymorot 19c11312c5 config: fix building of index.html in watch mode (do not cache data.json) 2020-02-08 22:27:43 +01:00
Xymorot 21ac8602ff meta: add "with" and oxford comma to sentence 2020-02-08 18:43:21 +01:00
Xymorot b6081f1a64 meta: document simplified start command 2020-02-03 22:50:59 +01:00
Xymorot 6b4f4b089a meta: describe path to coverage index.html instead of linking (since it won't be there most of the time) 2020-02-03 22:48:50 +01:00
Xymorot 50396ea0a9 meta: link to folder instead of readme 2020-02-03 22:48:04 +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 e270b9d018 meta: clarify the meaning of "fork" in section 2 of LICENSE.txt 2020-01-05 14:01:06 +01:00
Xymorot d399628928 meta: retire "doc" commit type (replaced by "meta") 2020-01-05 14:00:21 +01:00
Xymorot 07f117b752 config: reformat lint file 2019-12-18 01:07:54 +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 f290cac744 config: configure import/core-modules setting of the import eslint plugin to include 'electron'
This makes it possible to not have to ignore the 'import/no-extraneous-dependencies' rule every time electron is imported.
2019-12-15 15:23:24 +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 5f3da78721 feat: only open development tools in development mode (add new service to determine dev mode) 2019-12-11 14:24:00 +01:00
Xymorot f28e938a4d test: update before and after scripts to not include old database folder 2019-12-11 14:22:22 +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 41fc16c1c8 doc: describe workflow for pull requests 2019-12-08 13:28:40 +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 d2b772a899 config: disable object-literal-sort-keys
The main reason is that its option 'match-declaration-order-only' doesn't work with type inheritance.
2019-12-07 00:56:51 +01:00
Xymorot 77274d42fd meta: clarify original = canon 2019-12-06 21:20:27 +01:00
Xymorot 6d680cf5fb config: make watch:ts output more usable in watch script 2019-12-05 21:03:14 +01:00
Xymorot b672aca7f0 config: add missing files to ignore list (remove gulpfile from the same) 2019-12-05 20:05:53 +01:00
Xymorot e6a480a805 update: run npm update 2019-12-05 19:04:39 +01:00
Xymorot 49642e9ea4 meta: add question for reader, remove a comma 2019-12-04 19:03:15 +01:00
Xymorot 7b09f44d17 meta: write an example for multiple inheritance 2019-12-04 19:01:44 +01:00
Xymorot 482e5bd343 config: remove gulp and realize build process with concurrently 2019-12-04 03:51:28 +01:00
Xymorot 95de66a3c9 doc: add third section to license and extend first section 2019-12-04 01:55:12 +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 d83660ee30 remove: remove rateable trait from book entity 2019-12-01 15:12:41 +01:00
Xymorot cdae3160df meta: move draw.io files into own folder and add documentation md file 2019-11-29 23:23:26 +01:00
Xymorot ef7938266f doc: add second section to license 2019-11-29 23:19:49 +01:00
Xymorot a8ef7a5628 doc: rename license file from md to txt 2019-11-29 23:19:47 +01:00
Xymorot 8a16067ce1 doc: create a CHANGELOG.md file 2019-11-27 20:21:10 +01:00
Xymorot b2120d9ef3 refactor: move mock file (containing mock interface) into a new types folder inside tests 2019-11-27 16:41:21 +01:00
Xymorot 5d84985551 refactor: remove redundant initialization 2019-11-27 16:27:45 +01:00
Xymorot 237ae2079c doc: add a "license" file 2019-11-26 22:51:55 +01:00
Xymorot cfc14ef1a3 config: add database-backup and store-backup folders to forge ignore list 2019-11-26 22:51:55 +01:00
Xymorot 442174e462 refactor: remove @Entity annotation from abstract entities 2019-11-26 22:51:55 +01:00
Xymorot 0ac84df449 refactor: remove options from one-to-many relations because it is not necessary 2019-11-26 22:51:54 +01:00
Xymorot 34bd46d376 feat: add indexable multi-name entities, add check constraints to rateable and multi-named entity mixin
BREAKING CHANGE: delete old migrations for a new initial_migration
2019-11-26 22:51:54 +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 7c2aaacf13 doc: clarify mocks documentation 2019-11-26 22:51:54 +01:00
Xymorot 2006815b2b feat: refactor entity classes to use mixins, add rateable mixin to book and copy 2019-11-26 22:51:53 +01:00