summaryrefslogtreecommitdiff
path: root/dev/util.js
Commit message (Collapse)AuthorAge
* remove getArgs in favor of node:util.parseArgs (#476)Cashew2023-12-29
| | | | | | | * remove getArgs * kebab-case to camelCase * update app/deployment
* switch updates (#459)Cashew2023-12-27
| | | | | | | | | * switch updates * revert to if-else * revert to if-else * remove empty default
* JSON validation (#394)toasted-nutbread2023-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Set up JSON testing * Add schema validation * Use parseJson * Finish types * Disambiguate ext/json-schema from node dependency with the same name * Add support for specifying the jsconfig file * Don't expose types * Update types * Use dictionary map type * Fix types * Fix AJV warnings * Move types * Move anb rename file * Move common mocks * Simplify types
* Make JSON.parse usage safer (#373)toasted-nutbread2023-12-19
| | | | | | | | | | | | | | | * Make JSON.parse usage safer * Fix any type * Add readResponseJson * Use readResponseJson * Additional updates * Rename files * Add types
* Add some JSDoc annotations to describe code functionality. (#355)Cashew2023-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | * lesen-tan initial commit * update README.md * tidy up code * opt for Map<K, V> instead of Object * Document dev/* * add docs for deinflector.js * update deinflector example * Annotate * Revert "Merge branch 'development' of https://github.com/Scrub1492/lesen-tan into development" This reverts commit b92348f702bc031b36f24462adfa940d17f9ecdd, reversing changes made to 3255e6d963281af3533dcf1e893df39032d29fec. * Lint error fix * Lint error fix
* Update eslint spacing rules (#366)toasted-nutbread2023-12-17
| | | | | | | | | * Add space-infix-ops rule * Add no-multi-spaces --------- Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
* Update typestoasted-nutbread2023-11-29
|
* Switch to vitest for ESM support; other fixesDarius Jahandarie2023-11-08
|
* fixed eslint, changed header to only use 2 spaces, added missing headers to testAustin Siew2023-03-22
|
* Updated LICENSE to full license, added Yomitan 2023 to all license headersAustin Siew2023-03-21
|
* Update copyright date (#2062)toasted-nutbread2022-02-02
| | | | | | | * Update eslint settings * Update 2021 files * Update other files
* Update build script (#1722)toasted-nutbread2021-05-31
| | | | | | | | | | | | | | | | | | | | | | | * Add support for making non-buildable variants * Add support for running a command to assign a value * Update chrome-dev inheritance * Add base variant * Update manifest to auto-fill the version based on most recent git tag * Add support for changing the default manifest * Change the default manifest * Move some manifest utility functions into manifest-util.js * Move more manifest functionality into ManifestUtil * Revert "Update manifest to auto-fill the version based on most recent git tag" This reverts commit 2a66e40ff24f9dc545783503bcf3404f21148356.
* Test html script ordering (#1396)toasted-nutbread2021-02-14
| | | | | | | | | | | | | * Simplify getAllFiles * Add test to validate script order * Update script include order * Update content script order * Update sw.js and corresponding lint * Update manifest
* Move mixed/lib/ to lib/ (#1382)toasted-nutbread2021-02-13
|
* Update copyright year (#1194)toasted-nutbread2021-01-01
| | | | | * Update copyright year * Remove redundant Author info
* Build dry run test (#1129)toasted-nutbread2020-12-18
| | | | | | | | | | | | | * Update testMain to support function args * Add support for dry run and basic validation * Don't log progress if not a TTY * Ignore errors from fs.unlinkSync * Add --dry-run-build-zip option to build zip in memory * Add test-build
* Return an error code when promise main() functions fail (#1002)toasted-nutbread2020-11-07
|
* Dev/test script organization (#846)toasted-nutbread2020-09-19
* Move lint scripts * Move dictionary-validate.js * Move schema-validate.js * Move createTestDictionaryArchive, remove yomichan-test.js * Rename yomichan-util.js to util.js * Move test/yomichan-vm.js to dev/vm.js * Move getArgs into util.js (and fix name) * Create test-all.js * Update test-code script