Derrick Hammer
|
4475f122f1
|
fix: use regex
|
2023-07-07 10:08:16 -04:00 |
Derrick Hammer
|
ecb2990572
|
fix: bad for loop
|
2023-07-07 09:58:11 -04:00 |
Derrick Hammer
|
5a01ee6cec
|
refactor: rewrite arg parsing
|
2023-07-07 09:52:03 -04:00 |
Derrick Hammer
|
b2ec0fe5e3
|
refactor: don't export as default
|
2023-07-04 03:48:10 -04:00 |
Derrick Hammer
|
e5dc651b79
|
style: fix import order
|
2023-07-04 03:47:34 -04:00 |
Derrick Hammer
|
1b5a7c0605
|
fix: fix or disable errors in eslint
|
2023-07-04 02:15:05 -04:00 |
Derrick Hammer
|
e1c57ea40b
|
*Make the config property meta
|
2023-04-18 23:36:10 -04:00 |
Derrick Hammer
|
9e8e44b9c5
|
*Heavily simplify config loading and just pass it to the set method, don't try to handle arrays special
|
2022-12-22 09:44:40 -05:00 |
Derrick Hammer
|
792ec3976f
|
*Bug fix, setting data property directly
|
2022-12-22 09:43:58 -05:00 |
Derrick Hammer
|
6e0608c9a9
|
*Add savePath utility method
|
2022-12-21 15:15:55 -05:00 |
Derrick Hammer
|
618ab73d14
|
*Remove the need to add a file extension since all files should be JSON
|
2022-12-21 15:08:51 -05:00 |
Derrick Hammer
|
8875bdd2a7
|
*Bug fix
|
2022-12-19 13:58:01 -05:00 |
Derrick Hammer
|
a3f3e157b9
|
*improve object path check
|
2022-12-19 13:48:39 -05:00 |
Derrick Hammer
|
785e0b836c
|
*Pass fallback to objectPath.get
|
2022-12-19 13:48:12 -05:00 |
Derrick Hammer
|
e535abd2ff
|
*Need to use the _ property
|
2022-12-19 11:35:24 -05:00 |
Derrick Hammer
|
afb5389243
|
*Heavily refactor and simplification
*Support dot notation in accessing and creating settings
*Ensure we only load .json files
|
2022-12-19 11:29:03 -05:00 |
Derrick Hammer
|
6e37b22988
|
*Do mkdir on just configdir
|
2022-12-06 16:48:30 -05:00 |
Derrick Hammer
|
7c631f3af5
|
*Force create of config directory if it does not exist
|
2022-12-06 16:38:58 -05:00 |
Derrick Hammer
|
c416218d88
|
*Switch case needs to be on true not the value
|
2022-09-21 17:36:30 -04:00 |
Derrick Hammer
|
438c3df467
|
*Merge arrays with splat, don't push
|
2022-09-21 17:28:16 -04:00 |
Derrick Hammer
|
ea0e7a3696
|
*add error including path if json parse fails
|
2022-09-21 17:20:54 -04:00 |
Derrick Hammer
|
1491fa7567
|
*openJson needs to be bound
|
2022-09-21 17:18:45 -04:00 |
Derrick Hammer
|
e49ce56cb8
|
*Remove getFile call
|
2022-09-21 17:16:38 -04:00 |
Derrick Hammer
|
8b49a6ed6b
|
*Ensure key is both not undefined and not null
|
2022-09-21 16:55:46 -04:00 |
Derrick Hammer
|
cf07c6074e
|
*set options to empty object
|
2022-09-21 16:44:01 -04:00 |
Derrick Hammer
|
c98b544689
|
*Process json after saving to store in active config
|
2022-09-21 16:37:56 -04:00 |
Derrick Hammer
|
c893ddd428
|
*add missing file argument
|
2022-09-21 16:30:03 -04:00 |
Derrick Hammer
|
d50269aac7
|
*add saveConfigJson method
|
2022-09-21 16:27:38 -04:00 |
Derrick Hammer
|
d260933384
|
*Update LoadOptions
|
2022-09-21 15:56:34 -04:00 |
Derrick Hammer
|
19891e34f8
|
*Export Config class
|
2022-09-21 15:47:42 -04:00 |
Derrick Hammer
|
334078669a
|
*add api to read files from dir and parse as JSON
|
2022-09-21 15:46:01 -04:00 |
Derrick Hammer
|
82dddc75cf
|
*Initial port to typescript
|
2022-09-21 14:16:00 -04:00 |