Commit Graph

249 Commits

Author SHA1 Message Date
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 2ed49035c6 meta: redesign library database schema 2020-03-02 23:21:05 +01:00
Xymorot c2f3555eac meta: reject different tag names for different weights 2020-03-02 22:32:37 +01:00
Xymorot aca7eaddaf meta: consider censorship as a tag 2020-02-16 14:05:07 +01:00
Xymorot 1f920796e0 feat: implement install functionality (under windows, using electron-squirrel-startup) 2020-02-09 20:25:05 +01:00
Xymorot c829193adf meta: extend declaration of uuid/v1 2020-02-09 20:13:54 +01:00
Xymorot b3c31a4188 meta: add array-type rule to eslint
This forces array typings to be more consistent and readable.
2020-02-09 19:55:37 +01:00
Xymorot ce453380cb meta: retire "config" commit type in favor of "meta" 2020-02-09 00:42:33 +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 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