summaryrefslogtreecommitdiff
path: root/dev/build.js
Commit message (Collapse)AuthorAge
* Switch to vitest for ESM support; other fixesDarius Jahandarie2023-11-08
|
* Modernize codebaseDarius Jahandarie2023-11-04
| | | | | | - Use ES modules - Remove vendored libs and build them from npm using esbuild - Switch from JSZip to zip.js
* Replace JsonSchema with ajv for dictionary validationDarius Jahandarie2023-11-03
|
* Remove hardcoded version from manifestDarius Jahandarie2023-09-23
| | | | | | * Dynamically set version as argument to build script * Set version using tag ref_name in CI * [Cleanup] gitignore ext/manifest.json as it's dynamically generated
* 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
|
* More Safari support (#2171)toasted-nutbread2022-06-01
| | | | | | | * Add support for not building a zip * Update gitignore * Add safari variant
* 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
* 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
* Build exclude files (#1125)toasted-nutbread2020-12-18
| | | | | | | * Add support for excluding files from the build process * Delete existing file before creating .zip * Exclude sw.js from non-MV3 builds
* Fix after index not being incremented (#1124)toasted-nutbread2020-12-18
|
* More build script improvements (#1123)toasted-nutbread2020-12-18
| | | | | * Update set action to support an assignment index * Add 'add' modification
* Improve build copy/move modifications to support property ordering (#1122)toasted-nutbread2020-12-18
|
* Add support for copy and move operations (#1111)toasted-nutbread2020-12-14
|
* 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
* Build system updates (#839)toasted-nutbread2020-09-18
| | | | | | | | | | | | | | | | | | | | | | | * Add 'remove' and 'splice' actions * Destructure * Clone values applied to the schema * Move manifest modifications * Use clone * Fix destructure * Add support for inheritance * Create build function * Add createVariantManifest * Add support for command line arguments * Enable argument passing when using the build scripts
* Create dev utility class for some shared functionality (#724)toasted-nutbread2020-08-09
|
* Build system changes (#721)toasted-nutbread2020-08-09
* Refactor manifest.json * Change end-of-line convention for built plain-text files * Ignore builds directory * Mark the "dev" directory as using the node environment * Create build script * Register build scripts * Remove old build script * Fix 64x64 icon * Add test to ensure manifest data is updated properly