Commit Graph

15 Commits

Author SHA1 Message Date
toasted-nutbread
e61edc387c
More Safari support (#2171)
* Add support for not building a zip

* Update gitignore

* Add safari variant
2022-06-01 17:29:41 -04:00
toasted-nutbread
89ac85afd0
Update copyright date (#2062)
* Update eslint settings

* Update 2021 files

* Update other files
2022-02-02 20:43:10 -05:00
toasted-nutbread
003cf791b1
Update build script (#1722)
* 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.
2021-05-31 13:24:40 -04:00
toasted-nutbread
d6332d2bc7
Test html script ordering (#1396)
* Simplify getAllFiles

* Add test to validate script order

* Update script include order

* Update content script order

* Update sw.js and corresponding lint

* Update manifest
2021-02-14 20:25:41 -05:00
toasted-nutbread
a02891e52c
Update copyright year (#1194)
* Update copyright year

* Remove redundant Author info
2021-01-01 14:50:41 -05:00
toasted-nutbread
e54a2297e8
Build dry run test (#1129)
* 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
2020-12-18 20:51:22 -05:00
toasted-nutbread
0d0728fac0
Build exclude files (#1125)
* Add support for excluding files from the build process

* Delete existing file before creating .zip

* Exclude sw.js from non-MV3 builds
2020-12-18 16:46:00 -05:00
toasted-nutbread
fd91a5b383
Fix after index not being incremented (#1124) 2020-12-18 15:46:39 -05:00
toasted-nutbread
df7834a880
More build script improvements (#1123)
* Update set action to support an assignment index

* Add 'add' modification
2020-12-18 15:24:12 -05:00
toasted-nutbread
5dc7bc0e15
Improve build copy/move modifications to support property ordering (#1122) 2020-12-18 15:16:07 -05:00
toasted-nutbread
cd82fe8aac
Add support for copy and move operations (#1111) 2020-12-14 22:32:21 -05:00
toasted-nutbread
51d4e5b0ff
Dev/test script organization (#846)
* 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
2020-09-19 19:04:28 -04:00
toasted-nutbread
e9d6c4cc92
Build system updates (#839)
* 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
2020-09-18 20:03:56 -04:00
toasted-nutbread
7b1838a282
Create dev utility class for some shared functionality (#724) 2020-08-09 21:00:37 -04:00
toasted-nutbread
04d47bf8a9
Build system changes (#721)
* 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
2020-08-09 13:09:06 -04:00