Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Kenneth Chau 353cb7b156
Esbuild: switching from rollup to esbuild (#661)
* switching to using esbuild to bundle instead to make the bundling super fast

* reverting some change that isn't required

* Change files

* adding a banner for lage.js
2023-05-09 13:00:00 -07:00
Kenneth Chau c4bd97fb49
Target Hasher rework (#642)
* WIP: creating a target hasher outside of the cache dir

* WIP: adding missing files from cache

* WIP: exploring moving the target hasher to the hasher package

* wip

* WIP: on filehasher

* updated to use glob-hasher's stat fn

* WIP

* target hasher

* prevent infinite loop, but very slow

* test hash WIP

* adding the read from git thing

* adding a package tree class

* skip sorting for a hashing

* completed integration of new target hasher

* get main thread to send memory hashes, but only from a request from inside a worker

* adding cleanup to simple scheduler

* causing the reporter not to output things after summary

* adding new fixtures

* cleaning up unused files

* fixing up tests

* Change files

* fixing depcheck

* fixing a test in simplescheduler watchmode

* fixing tests to not use root dir

* updated per feedback
2023-05-08 14:53:34 -07:00
Elizabeth Craig 56910ce2ef
Add back the init command (#645)
* Add back the init command

* fix eslint
2023-04-25 21:51:19 -07:00
Elizabeth Craig fad4d8a6cb
Add bundled config types to lage package (#606) 2023-03-22 10:23:02 -07:00
Kenneth Chau 1d21a0e79d
Adds an unstable watch mode (--unstable-watch) (#424)
* watchmode init commit

* fixing watching

* adding a watch mode action

* Change files

* adding a fsevents dependency for lage bundle package because it is native

* adding optional dep instead and locked a certain version of chokidar to make sure optional deps are matched

* turn the --watch to --unstable-watch for now
2022-10-08 17:37:56 +00:00
renovate[bot] feb30c988c
Update jest monorepo to v29 (major) (#346)
* Update jest monorepo to v29

* remove unused jest setup in docs-beta

* update configs

* update snapshots and fix typescript errors

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Elizabeth Craig <elcraig@microsoft.com>
2022-09-16 03:53:50 +00:00
Kenneth Chau 74c34a0e19
@lage-run/scheduler (#320)
* scheduler init checkin

* simple scheduler is functionality complete

* polish on types

* adding a simple test

* simple scheduler test

* WIP

* wip: working on abortsignals

* Figured out the abort controller pattern

* abort signal handled!

* added a way for targets to specify a node option

* learn how to launch npm

* only run npm script when there IS a script in the package.json

* adding formatduration test

* clearing up responsibility

* made sure the abort signal works in a unit test

* wip on testing npmscriptrunner

* abort signal test work!

* testing the environment variables

* wrapped target tests started

* test that wrapped target can cache

* tests written about aborting earlier vs not

* Change files

* comments

* less exposed functions, and added more comments

* adding a cmd file for the fakeNpm

* adding fixes for windows to be able to test this

* use a matrix to make sure builds and tests are okay with all os's

* fixing formatting according to prettier

* updating test to exhibit correct behavior

* fixed tests to be able to run very quickly and in parallel

* Don't publish monorepo-scripts!

* make sure to ignore the generated and node_modules with prettier

* forget about enforcing the endofline

* include an inline snapshot to show what is in the dependencies instead
2022-08-09 12:10:23 -07:00
Kenneth Chau c0bc72904f
Adds monorepo-scripts and linting (#312)
* Do linting!

* fixed formatting

* Change files
2022-07-25 08:49:55 -07:00
Kenneth Chau fff2953a94
adding a flag to turn off local cache population (#211)
* adding a flag to turn off local cache population

* Change files

* added a test

* fixing some envglob bug as well
2022-01-28 16:06:34 -08:00