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

759 Коммитов

Автор SHA1 Сообщение Дата
renovate[bot] f9d6e51525
Update docusaurus monorepo to v2.2.0 (#460)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 21:42:58 -08:00
renovate[bot] 31727ec764
Update devDependency husky to v8.0.2 (#479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 21:41:31 -08:00
Ken Chau 3757e32f39 applying package updates 2022-11-10 22:52:47 +00:00
renovate[bot] 64afbef3c5
Pin devDependencies (#465)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 14:47:18 -08:00
renovate[bot] e56eff8034
Update devDependency lage-npm to v2.5.13 (#471)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 14:17:30 -08:00
Kenneth Chau d08b99eb6d
fixing the monorepo fixture package (#482) 2022-11-10 13:31:42 -08:00
Ken Chau 48cf231177 applying package updates 2022-11-10 20:20:45 +00:00
Ken b1a42cb963 adjusting lage config maxWorkers 2022-11-10 12:15:27 -08:00
Ken 5b06e6e2eb Merge branch 'simple-graph' 2022-11-10 12:15:03 -08:00
Kenneth Chau 723a8d6c0d
Create a new "simplified" TargetGraphBuilder that isn't used for workspaces (#481)
* adding a simpler targetgraphbuilder

* refactoring workspace target graph builder - using ts-jest for snapshots

* update api call

* Change files
2022-11-10 12:01:30 -08:00
Ken e1105d653f update readme for instructions 2022-11-10 11:35:01 -08:00
Ken 3e5729d895 Change files 2022-11-10 10:57:39 -08:00
Ken ea74fce338 update api call 2022-11-10 10:55:13 -08:00
Ken 5f36b712ee refactoring workspace target graph builder - using ts-jest for snapshots 2022-11-10 10:48:32 -08:00
Ken 68b71753a7 Merge branch 'master' into simple-graph 2022-11-09 11:33:05 -08:00
Kenneth Chau 735b0483e4
Fix dynamic import() for cjs format in rollup + get rid of getPackageAndTask usage outside target-graph package (#480)
* fixing real imports with rollup as well as getting rid of getPackageAndTask implementation details

* revert changes to basic test

* fixing test

* Change files
2022-11-09 11:32:46 -08:00
Ken Chau 7ffce6eab9 adding a simpler targetgraphbuilder 2022-11-04 19:55:04 -07:00
Kenneth Chau 9a11cfd194
Switch transpilation to swc for build performance (#477)
* 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
2022-11-04 18:02:31 -07:00
Ken Chau c391641b2a applying package updates 2022-11-04 21:14:01 +00:00
Kenneth Chau 6dba6df4c6
fixed the tsconfig.lage2.json to output node16 moduleRes (#476)
* 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
2022-11-04 14:08:35 -07:00
Ken Chau 837f88d302 applying package updates 2022-11-02 20:45:00 +00:00
Kenneth Chau e64f7bfdd1
Import() instead of require() everywhere (#475)
* switching from require() to import() where possible

* Change files

* get rid of comments that are not need to disable eslint rule
2022-11-02 13:38:13 -07:00
Ken Chau 3636b66a41 applying package updates 2022-11-02 06:27:27 +00:00
Kenneth Chau ffb4fc2ceb
Hasher: porting the package-deps-hash code to @lage-run/hasher (#474)
* pass build

* fixed the package-deps-hash unit tests

* adding fixtures

* Change files

* adding fixtures

* Change files

* deleting some files

* fixing lint issues

* added some cleanups

* adding a specific taskArgs for hasher tests
2022-11-01 23:21:57 -07:00
Ken Chau dfb1bc1848 applying package updates 2022-11-01 22:48:33 +00:00
Kenneth Chau 97b306418a
Get rid of third party abort-controller package (#473)
* get rid of third party abort-controller impl

* Change files

* fix typeo
2022-11-01 15:42:18 -07:00
Ken Chau 920095c97b applying package updates 2022-11-01 22:25:59 +00:00
Kenneth Chau 1664f38eca
Import extensions - add .js to all the import specifiers! (#472)
* adding import extensions and enforced in linter

* Change files

* fixing import extensions

* Change files

* fixing according to ts-jest esm-support
2022-11-01 15:18:33 -07:00
Ken Chau 8295ceaf9c applying package updates 2022-11-01 20:43:17 +00:00
renovate[bot] 92379d166d
Update devDependency lage-npm to v2.5.6 (#455)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-01 13:41:11 -07:00
renovate[bot] ca36e69a9c
Update dependency @xmldom/xmldom to v0.8.4 [SECURITY] (#467)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-01 13:40:33 -07:00
Kenneth Chau d93ffd227f
cleaning up the tsconfig files (#470)
* cleaning up the tsconfig files

* Change files
2022-11-01 13:38:56 -07:00
Kenneth Chau 632880c64a
reducing the need to run builds on windows (#469) 2022-11-01 13:22:21 -07:00
Ken Chau ec56bfdd62 applying package updates 2022-11-01 20:12:49 +00:00
Kenneth Chau 2d8af6ca7f
Syncpack - making sure everything is consistent in package.json deps an devDeps (#468)
* Change files

* fixed to use consistent package dep versions
2022-11-01 13:07:06 -07:00
Ken Chau e564769385 applying package updates 2022-10-31 21:56:09 +00:00
Kenneth Chau 6d1d50bdb9
Add taskArgs to WorkerRunner scripts (#466)
* adding support for taskArgs to workers

* added options for contructor to include taskArgs for workerRunner

* Change files
2022-10-31 14:48:58 -07:00
Ken Chau 4921061e07 applying package updates 2022-10-31 21:27:52 +00:00
Kenneth Chau e8946dc08f
Depcheck and fixes! (#464)
* 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
2022-10-31 14:20:42 -07:00
Ken Chau fce3faf910 applying package updates 2022-10-29 18:42:49 +00:00
Kenneth Chau 06a9d752fd
Bump workspace tools (#461)
* Bumps workspace-tools to 0.29.0

* bumps workspace-tools

* force a single version of workspace-tools

* Change files
2022-10-29 11:35:59 -07:00
Ken Chau 0cd656dd0c applying package updates 2022-10-29 01:06:17 +00:00
Kenneth Chau 15f4763e0a
Memory limits: adding a mechanism for worker pool to restart workers + do memory checks (#458)
* show maxmemory usage in log-level silly

* just doing a memory check on the scheduler instead

* adding summary info

* send down the config

* fix lint issues

* Change files

* fixing up the existing test to fit the new process

* fixing tests

* updated reporters test to account for summary data including memory information

* added some tests to check restarts and max memory usage

* fixing tests
2022-10-28 18:00:19 -07:00
Kenneth Chau 224e7db14f
Docs update & jest-worker (#456)
* 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
2022-10-26 17:34:19 -07:00
Ken Chau 0a7af89c82 applying package updates 2022-10-26 22:48:35 +00:00
pushkargupta9807 d7788f1c92
Microsoft/run modified packages ahead with since (#439)
* run modified packages and their deps first if running with since option and hitting repoWideChanges

* Change files

* run modified packages and their deps first if running with since option and hitting repoWideChanges 2

Co-authored-by: Pushkar Gupta <pushkargupta@microsoft.com>
2022-10-26 15:43:14 -07:00
renovate[bot] f965c7c8c6
Lock file maintenance (#446)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-26 15:38:07 -07:00
renovate[bot] 8b86dc8fe5
Update devDependency lage-npm to v2.5.0 (#449)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-26 15:37:26 -07:00
Ken Chau 1518802e4d applying package updates 2022-10-26 22:01:13 +00:00
Kenneth Chau d4f959e1c4
Adds the Weighted Target option (#453)
* Adds the Weighted Target option

* Change files

* Change files

* fixing lint issues

* adding weight to the workerpool test

* fixing tests to have weights in runner.run calls

* adds weight to fix tests

* added a tiny test to make sure availability is updated during setup.
2022-10-26 14:57:01 -07:00