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

66 Коммитов

Автор SHA1 Сообщение Дата
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 176f533ac3 applying package updates 2022-08-25 20:06:40 +00:00
Kenneth Chau 4ee9152949
lage v2 will be bundled, with sourcemaps for debugging! (#330)
* adding bundled lage package

* v2 of lage is bundled!

* adding a README.md

* Change files
2022-08-25 13:00:03 -07:00
Ken Chau 2e55e16671 applying package updates 2022-08-25 19:01:34 +00:00
renovate[bot] 9f99ae972f
Update dependency beachball to v2.30.1 (#329)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-25 11:56:37 -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 858c483f73 applying package updates 2022-08-24 20:50:50 +00:00
Kenneth Chau bc21cddad9
Cache command (`yarn cache`) (#325)
* adding cache prune and clear functions

* adding logger options

* cache command passed e2e tests!

* Change files

* adding cache command'
2022-08-24 13:46:22 -07:00
Ken Chau ed8fba740b applying package updates 2022-08-24 16:23:48 +00:00
Max 70f7aecc6b
Upgrade vulnerable transient dependency parse-path (#327)
* upgrade backfill-hasher and backfill

* Change files
2022-08-24 09:19:12 -07: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
Kenneth Chau 6bd2ca57ef
Implementing @lage-run/cache (#316)
* 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
2022-08-01 14:13:30 -07:00
renovate[bot] 9b9db62f4f
Update dependency beachball to v2.26.0 (#299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 08:57:50 -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 ff5b46a99e
Target graph: @lage-run/target-graph (#311)
* initial check in of target-graph - a refactored Pipeline and Target from lage v1

* adding yarn.lock change

* Change files

* fixes import for a Target type

* update to the runner

* getting rid of runner code

* getting rid of runner code

* updated the algorithm to exclude startnodes for all targets in subgraph calculations

* get rid of extra fields

* export types

* adding jsdocs for the target config

* adds some comments to clarify the complex functions in this class

* make more imports as "type" to help transpilers

* prettier
2022-07-24 01:13:10 -07:00
Ken Chau b0cdcbb135 applying package updates 2022-07-21 19:19:28 +00:00
Bilge Deniz Koçak f64e5cc8cd
React flow (#303)
* new icons for just and p-chart

* example of react flow

* addition of grapher, styling corrections

* changing js extensions to tsx

* netlify

* restructuring

* fixing the build!

* merged yarn.lock

Co-authored-by: Ken <kchau@microsoft.com>
2022-07-21 19:17:12 +00:00
Ken Chau 23c27af58f applying package updates 2022-07-19 21:14:57 +00:00
pushkargupta9807 13ee103764
assigned the default concurrency to os.cpus().length - 1 (#307)
* assigned the default concurrency to os.cpus().length - 1

* Change files

* added comments to change file

Co-authored-by: Pushkar Gupta <pushkargupta@microsoft.com>
2022-07-19 14:13:06 -07:00
Ken Chau 22c8440a1e applying package updates 2022-07-16 02:57:37 +00:00
Kenneth Chau fe9ed19e94
Prettier! (#305)
* updating per prettier

* Change files
2022-07-15 19:56:05 -07:00
Kenneth Chau 5689f8bb5b
fixes the cache Clear test (#304)
* fixes the cache Clear test

* fixes the cache clear command
2022-07-15 13:54:11 -07:00
Ken Chau 73b5bcd386 applying package updates 2022-07-15 17:10:04 +00:00
renovate[bot] f14b727c54
Update dependency workspace-tools to ^0.23.0 (#302)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-15 10:08:19 -07:00
Ken Chau 6c2408401d applying package updates 2022-07-13 16:08:30 +00:00
Kyle Ehrlich b3d6f30845
Replace stdio handler with nodejs readline interfaces to fix handling when log lines span multiple chunks (#277)
* Replace stdio handler with nodejs readline interfaces to fix handling when log lines span multiple chunks

* Change files

* chuck
2022-07-13 09:06:47 -07:00
Ken Chau 5dcda2708c applying package updates 2022-07-11 23:22:39 +00:00
brandonthomas 1e8baeb960
Ensure cache --clear respects internalCacheFolder when it's passed in (#301)
* Update getCachePath for internalCacheFolder
Add tests for

* Fixing path logic
Adding default test case

* change

* White space change

* run prettier

* prettier on change file
2022-07-11 16:21:03 -07:00
Ken Chau 99a8230797 applying package updates 2022-07-01 21:16:36 +00:00
renovate[bot] d7e83738af
Update dependency watchpack to v1.7.5 (#290)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-01 14:15:08 -07:00
Ken Chau 5b9685bd00 applying package updates 2022-07-01 16:37:19 +00:00
renovate[bot] c9d0beeee7
Update dependency mermaid to v8.14.0 (#289)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-01 09:35:51 -07:00
Ken Chau ab54341f9d applying package updates 2022-07-01 16:27:14 +00:00
Ken Chau f58725c19a applying package updates 2022-07-01 16:25:11 +00:00
renovate[bot] da29db9c23
Update dependency @marp-team/marp-cli to v0.23.3 (#286)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-01 09:24:15 -07:00
renovate[bot] 3cee217a37
Update dependency @types/node to v12.20.55 (#285)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-01 09:23:38 -07:00
Ken Chau 2f774e8c9a applying package updates 2022-07-01 16:15:39 +00:00
renovate[bot] 7ecee913b1
Pin dependencies (#283)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-01 09:14:09 -07:00
Ken Chau 5169248eff applying package updates 2022-07-01 16:11:45 +00:00