* adding sourcemaps when doing compile
* sync version of shouldRun
* support async shouldRun checks
* wip!
* replaced the async being on the addTargetConfig side, but to the graph build time.
* Change files
* fixing format
* yarn 4
* husky reinit
* bumping lint-staged
* fixing up the yarn 4 dlx jest
* fix script for prettier
* use auto line ending
* point to exact yarn path
* escape yarn path as well
* filter out the line that says "Done ..."
* WIP: moving runners to another package
* moving runners to its own package, fixing up imports
* fixing up the test to use the right path
* Change files
* updated runners package readme.md
* get rid of unused deps
* fixing up another one
* fixing the deps for runners package according to depcheck
* adding task-reporter instead of using ink
* renamed progressreporter back to .ts
* WIP: task-reporter but not as .cjs
* making progress on progress reporter
* reporter
* Change files
* get rid of unused external
* fixed the depcheck issue
* allows global script cache
* sorting the cache to be consistent
* adding correct deps for lage + glob-hasher
* fixed salt test
* updating snapshot with a reasoning
* fixing the packages
* Change files
* fixing lint issues
* get rid of unused dep
* fixing depchecks
* fixing depchecker!
* Fixing the ChromeTraceEventsReporter to use real threadId
* update snapshot
* wip: making a "progress" reporter
* creating the beginnings of a progress reporter - it's in beta
* adding a wip progress reporter
* Change files
* making some progress on the looks of the progress
* adding prebuilt yoga as a dep (cry!)
* Change files
* fixing depcheck chbecker
* WIP: initial refactor of worker pool
* updated how the availability tracking is done
* get rid of a "eventarget leak" by removing listeners for the abortSignal
* fixing lint errors
* Change files
* start of swc
* docs are skipped in transpilation
* more replace
* moving the build to bundle for lage v2
* added fixes in pr & release
* fixing the types worker to only generate d.ts files
* swcrc instead of individual hacks
* change what "build" means
* transpile fixes the path from src to lib
* making swc the transpiler of choice
* Change files
* force color = 0 in the setup rather than individual test files
* fixed monorepo fixture and targetrunnerpicker to pick out runner transpiled by swc
* Change files
* fixed the tsconfig.lage2.json to output node16 moduleRes
* Change files
* we are going to inline the dynamic imports!
* forcing a single typescript version in the repo
* Change files
* deleted a test that cannot be run inside jest for now
* adding a depcheck worker
* adding an ignore for the monorepo-scripts
* fixing all the depcheck failures!
* fixing to have PRs check for deps
* Change files
* fixing up lage deps
* Change files
* adds a weight for tests
* add jest worker change
* making everything faster in cookbook!
* fastest everything!
* docs
* unique fixture
* make unique IDs for tests
* try to do e2e tests one by one for now
* forgot to add the same dependsOn
* lage e2e also
* enable cache for lage repo itself
* get rid of extra inherited process.env
* update e2e tests to accommodate new env
* show errors and caching
* do not extend process.env
* prettier
* also get rid of process.env extend with lage v1 e2e tests
* fixes the monorepo mock to not use process.env of the pipeline
* updated the process env setting in spawn a lage run test in e2e
* deletes process.env
* formatting
* update the lage version
* revert the hacks, and use a single setup
* fixing the config to use the right setupFilesAfterEnv
* silly log level to check the cache put sitch
* fixing the bundle for lage so it uses the right uuid impl
* Change files
* updating various aspects of codebase before the scheduler rework
* Change files
* fixing lint and format errors
* not ready yet for the lage index.js to over write the registerWorker()
* removed unused change file
* try out exclusions
* powershell
* sigh
* adding github workspace to exclusion
* env
* adding an exclusion rule to make windows runs a bit faster
* add concurrency instead of trying to make exclusions
* runinband for jest for lage runs of tests
* 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>
* WIP: adding worker runner
* WIP: starting to measure how to put WorkerRunner in CLI
* fixed run action command to use the workerRunner
* adding cleanup
* WIP: trying to figure out stdout/stdin
* worker pool + process working!
* WIP: using lage-run's own worker-threads-pool
* format and refactoring
* adding support for the bundle
* Change files
* fixing up the lint script to actually fail
* allowing for setup / teardown of a worker thread - useful for setting up streams
* get rid of unused event emits
* formatting
* some basic test to pass
* get rid of unneeded storing of logs
* get rid unneeded imports
* Change files
* lint fix
* fixing eslint issues
* 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
* cache implementation, salt fn tested
* updated for remote cache provider
* polishing the branch a bit
* Polishing PR
* adding monorepo-fixture
* fixing up and polishing
* polishing with lint
* refactored to have remoteFallbackCacheProvider take in providers to assist in testing and better separation of concerns
* some documentation for when we implement the consumer of this library!
* Change files
* fixing up prettier formatting
* cleaning up linting issues
* adding some nice comments
* fixing the tests
* using lage itself to build itself!
* get all the jest config in one spot
* added some imports in examples
* added index.ts exports to make it easier to use this library