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
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
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
8c27962011
update: update dependencies and run npm audit fix
2019-12-13 04:07:25 +01:00
32b2c7e9bd
update: remove webpack-stream (was needed in gulp, not needed anymore)
2019-12-13 04:00:35 +01:00
5f3da78721
feat: only open development tools in development mode (add new service to determine dev mode)
2019-12-11 14:24:00 +01:00
f28e938a4d
test: update before and after scripts to not include old database folder
2019-12-11 14:22:22 +01:00
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
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
41fc16c1c8
doc: describe workflow for pull requests
2019-12-08 13:28:40 +01:00
b705fd19a2
config: add build script in front of test script inside pre-push script
2019-12-07 00:59:08 +01:00
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
77274d42fd
meta: clarify original = canon
2019-12-06 21:20:27 +01:00
6d680cf5fb
config: make watch:ts output more usable in watch script
2019-12-05 21:03:14 +01:00
b672aca7f0
config: add missing files to ignore list (remove gulpfile from the same)
2019-12-05 20:05:53 +01:00
e6a480a805
update: run npm update
2019-12-05 19:04:39 +01:00
49642e9ea4
meta: add question for reader, remove a comma
2019-12-04 19:03:15 +01:00
7b09f44d17
meta: write an example for multiple inheritance
2019-12-04 19:01:44 +01:00
482e5bd343
config: remove gulp and realize build process with concurrently
2019-12-04 03:51:28 +01:00
95de66a3c9
doc: add third section to license and extend first section
2019-12-04 01:55:12 +01:00
b5846b49c5
meta: create documents for application design, make repository ready for publishing on git.fuwawa.moe
2019-12-04 01:33:41 +01:00
d83660ee30
remove: remove rateable trait from book entity
2019-12-01 15:12:41 +01:00
cdae3160df
meta: move draw.io files into own folder and add documentation md file
2019-11-29 23:23:26 +01:00
ef7938266f
doc: add second section to license
2019-11-29 23:19:49 +01:00
a8ef7a5628
doc: rename license file from md to txt
2019-11-29 23:19:47 +01:00
8a16067ce1
doc: create a CHANGELOG.md file
2019-11-27 20:21:10 +01:00
b2120d9ef3
refactor: move mock file (containing mock interface) into a new types folder inside tests
2019-11-27 16:41:21 +01:00
5d84985551
refactor: remove redundant initialization
2019-11-27 16:27:45 +01:00
237ae2079c
doc: add a "license" file
2019-11-26 22:51:55 +01:00
cfc14ef1a3
config: add database-backup and store-backup folders to forge ignore list
2019-11-26 22:51:55 +01:00
442174e462
refactor: remove @Entity annotation from abstract entities
2019-11-26 22:51:55 +01:00
0ac84df449
refactor: remove options from one-to-many relations because it is not necessary
2019-11-26 22:51:54 +01:00
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
b73e14f0ab
test: add test setup files for backing up store and database folders before tests
2019-11-26 22:51:54 +01:00
7c2aaacf13
doc: clarify mocks documentation
2019-11-26 22:51:54 +01:00
2006815b2b
feat: refactor entity classes to use mixins, add rateable mixin to book and copy
2019-11-26 22:51:53 +01:00
8bfaba185b
config: refactor and add some lint scripts
2019-11-26 22:51:53 +01:00
4f28d63136
update: run npm update
2019-11-26 22:51:53 +01:00
0b5906e757
meta: add schema folder in workspace with draw.io and pdf file
2019-11-26 22:51:52 +01:00
96deb54d1a
config: add mocks folder to eslint
2019-11-26 22:51:52 +01:00
b19be09303
meta: add workspace folder with application icon files
2019-11-26 22:51:32 +01:00
0101e02345
doc: display commit types in a table with some better explanations
2019-11-20 23:35:50 +01:00
e79a94191e
fix: reformat forge config and add an escape \ before a dot in a regex
2019-11-20 23:21:36 +01:00
550e65dedb
test: implement tests for 100% coverage of store service
2019-11-20 23:21:36 +01:00
423df953fb
config: add build script to pre-commit script to test for typescript errors
2019-11-20 23:21:35 +01:00
69f06b2e0c
fix: fix typescript errors (coming from update)
2019-11-20 23:21:35 +01:00
c02046817e
doc: put update commit type above test commit type
2019-11-20 23:21:35 +01:00
c2179ac580
update: run npm update
2019-11-20 23:21:35 +01:00
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
1392532b7e
config: extract nyc into own npm scripts because it makes debugging impossible
2019-11-20 23:21:34 +01:00