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

41 Коммитов

Автор SHA1 Сообщение Дата
Ken Chau 905eb5b360 applying package updates 2022-10-01 06:41:42 +00:00
Kenneth Chau 94d8266336
Add aggregate prioritization to the target graph (#389)
* add prioritization

* adding some prioritize tests

* Change files
2022-10-01 06:36:12 +00:00
Ken Chau 3370e297b9 applying package updates 2022-10-01 05:25:29 +00:00
Kenneth Chau e850f24b77
Worker pool that accounts for stdio (#388)
* worker pool now accounts for stdio

* making pool still function

* Change files

* fix formatting

* lint
2022-10-01 05:19:57 +00:00
Ken Chau 404ee90555 applying package updates 2022-09-30 23:00:17 +00:00
Kenneth Chau a86ba91c06
No imports from "node:" for node built-ins (#387)
* get rid of node-colon imports because jest 26 doesn't allow it

* Change files
2022-09-30 15:54:23 -07:00
Ken Chau 3206037408 applying package updates 2022-09-29 21:54:45 +00:00
renovate[bot] 5f2e103b59
Update dependency workspace-tools to ^0.28.0 (#367)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-29 14:43:36 -07:00
Ken Chau e59db74150 applying package updates 2022-09-20 02:32:14 +00:00
Elizabeth Craig 8193ad27df
Hoist widely-used devDependencies to the repo root (#345)
* specify local dev deps as *

* Hoist widely-used devDependencies
2022-09-20 02:24:33 +00:00
Ken Chau b27eefaa9a applying package updates 2022-09-19 05:03:56 +00:00
Ken Chau 6b88431304 applying package updates 2022-09-17 20:20:49 +00:00
Kenneth Chau 425dc73ad8
bug fix: WorkerRunner logging out of order (#358)
* adding an await for closing the pool

* cleaning up action imports

* Change files

* get rid of timeouts in the registerWorker because it is no longer needed
2022-09-17 20:14:46 +00:00
Ken Chau d3aaa9b605 applying package updates 2022-09-17 01:09:34 +00:00
renovate[bot] f972817afd
Update dependency workspace-tools to ^0.27.0 (#354)
* Update dependency workspace-tools to ^0.27.0

* update backfill in lock

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Elizabeth Craig <elcraig@microsoft.com>
2022-09-17 01:02:15 +00:00
Ken Chau 486f2bf2ec applying package updates 2022-09-16 20:06:10 +00:00
renovate[bot] 4cc6afee8a
Update devDependency @types/node to v14.18.29 (#350)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-16 13:00:28 -07:00
Ken Chau de04947100 applying package updates 2022-09-16 03:59:54 +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
Ken Chau f7a915392e applying package updates 2022-09-16 01:59:38 +00:00
renovate[bot] 7bb3cfa39c
Pin devDependencies (#306)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-16 01:54:50 +00:00
Ken Chau 6e2ea2b74c applying package updates 2022-09-16 01:32:24 +00:00
Ken Chau 77bd3d5bb7 applying package updates 2022-09-06 20:10:16 +00:00
Ken Chau a3091e4873 applying package updates 2022-09-04 23:00:20 +00:00
Kenneth Chau 21bc0d3c79
[lage v2] Worker Runner (#336)
* 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
2022-09-04 15:55:42 -07:00
Ken Chau 1e2058ec65 applying package updates 2022-08-26 06:34:51 +00:00
Kenneth Chau 8b797903e3
Beautifying lage v2! (#331)
* restorable outputs from last cached runs

* WIP: swapping to using streams as input rather than having runners be aware of how to create a "transform" stream

* WIP: beautification

* New reporter (npmlog -> console), update snapshots

* more updates to the beautifying project

* beautify!

* beauty!

* Change files

* better colors yo

* fix formatting
2022-08-25 23:30:11 -07:00
Ken Chau 400ec38bcd applying package updates 2022-08-24 22:26:03 +00:00
renovate[bot] ae1468bf23
Update dependency @types/node to v14.18.26 (#326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-24 15:21:40 -07:00
Ken Chau ed8fba740b applying package updates 2022-08-24 16:23:48 +00:00
Ken Chau 4ab17de5b8 applying package updates 2022-08-24 15:22:38 +00:00
renovate[bot] d97182fb84
Update dependency workspace-tools to ^0.26.0 (#309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-24 08:18:03 -07:00
Ken Chau bfd65d0d6a applying package updates 2022-08-23 21:26:23 +00:00
Kenneth Chau 703195918f
[v2] adds the --profile flag support (#324)
* adding commander to replace yargs

* logging and verbosity

* make sure the error case exits with an exit code of 1

* fixed README.md

* pass the internalCacheFolder into the config

* Change files

* fixing formating

* updates the snapshots

* most e2e passed, except for transitiveDepsTests

* fixed up the transitive task deps - by adding back the default behavior of v1.x --include-dependencies

* formatting

* move e2e tests to a new package

* fixing up mocking after moving e2e tests

* Change files

* having a go at chrome trace event reporter

* profiler reporter

* adding a profiler

* added tests

* removed change files

* Change files

* filling out the correct "ts" time start for ChromeTraceEvents

* fix formatting

* don't show paths
2022-08-23 14:21:49 -07:00
Ken Chau ca660d7917 applying package updates 2022-08-23 07:53:50 +00:00
Kenneth Chau 8fb3883281
@lage-run/cli package - run command (#323)
* adding commander to replace yargs

* logging and verbosity

* make sure the error case exits with an exit code of 1

* fixed README.md

* pass the internalCacheFolder into the config

* Change files

* fixing formating

* updates the snapshots

* most e2e passed, except for transitiveDepsTests

* fixed up the transitive task deps - by adding back the default behavior of v1.x --include-dependencies

* formatting

* move e2e tests to a new package

* fixing up mocking after moving e2e tests

* Change files

* adding an entry for lage test
2022-08-23 00:49:09 -07:00
Ken Chau 1c59897a74 applying package updates 2022-08-11 23:52:59 +00:00
Kenneth Chau e7170c999e
@lage-run/reporter - Adds Reporter (#322)
* 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

* init check in of reporters

* fixing up adoreporter

* beginnings of an interactive reporter

* WIP

* WIP

* WIP 2

* converted npmlogreporter

* updating npmlogreporter with test

* npmlog testing

* adding some tests for reporters

* adding jsonreporter test

* better formatting for the snapshots

* ado reporter tests

* adding tests for adoreporter

* updated format

* fix format

* updated the summary that is emitted by scheduler

* restore

* Change files
2022-08-11 16:48:46 -07:00
Ken Chau a718e96dcb applying package updates 2022-08-09 21:16:28 +00:00
Ken 6dc38b30d1 fixing publish 2022-08-09 14:12:18 -07: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