Commit Graph

282 Commits

Author SHA1 Message Date
Amin Yahyaabadi 1cbbd6c740 feat: generate binaries for MacOS Arm 2024-04-03 01:03:49 -07:00
Amin Yahyaabadi f1bbf95a2d fix: upstream the msvc-dev-cmd types from upstream 2024-04-03 00:19:00 -07:00
Amin Yahyaabadi 0ea92a8664 fix: fix msvc-dev-cmd types 2024-04-03 00:15:46 -07:00
Amin Yahyaabadi 15f5776d5f lint: use dprint for formatting 2024-04-03 00:15:43 -07:00
Amin Yahyaabadi d6950a396f
feat: build and publish docker images 2024-03-24 00:20:20 -07:00
Amin Yahyaabadi 2908244529
chore: v0.37.0 [skip test] 2024-02-19 01:13:26 -08:00
Amin Yahyaabadi 36d895f6c6
fix: improve compatibility with Node 12 2024-02-17 02:01:57 -08:00
Amin Yahyaabadi 8ce16c2fbc
fix: add stream/promises compat layer 2024-02-17 00:37:14 -08:00
Amin Yahyaabadi 1c7c39221b
test: fix importing @shockpkg/archive-files in jest 2024-02-17 00:31:11 -08:00
Amin Yahyaabadi c0f0580956
fix: fix shockpkg/archive-files usage for jest and windows 2024-02-16 23:36:54 -08:00
Amin Yahyaabadi 9a5a9cc5b5
fix: fix extracting dmg files 2024-02-16 23:11:59 -08:00
Amin Yahyaabadi d0aafc239f
fix: update dependencies 2024-02-16 23:07:54 -08:00
Amin Yahyaabadi f2828c7aeb
feat: install doxygen via official Dmg files 2024-02-16 21:47:47 -08:00
Amin Yahyaabadi f9b35199a3
feat: use Node 20 in GitHub Actions 2024-02-16 15:15:35 -08:00
Amin Yahyaabadi 5465644a17
feat: skip graphviz installation on older MacOS
f
2024-02-16 15:15:14 -08:00
Amin Yahyaabadi 4e8c2f8bfb
chore: v0.36.2 [skip test] 2024-01-24 17:08:05 -08:00
Amin Yahyaabadi cc30e9b1d5
fix: ensure existence of the pipx folders 2024-01-24 12:46:28 -08:00
Amin Yahyaabadi 47e4597aa4
test: remove .js extension for typescript files for jest 2024-01-22 02:07:57 -08:00
Amin Yahyaabadi 8b2ab43823
fix: add fs/promises compat for node 12 2024-01-22 01:54:10 -08:00
Amin Yahyaabadi 649bb63b16
fix: update admina to the latest with execa 7 2024-01-22 01:43:45 -08:00
Amin Yahyaabadi 23929dfd4b
chore: update parcel 2024-01-22 01:41:22 -08:00
Amin Yahyaabadi a823e49204
chore: downgrade prettier 2024-01-22 01:41:21 -08:00
Amin Yahyaabadi 4c125e89f7
fix: update dependencies 2024-01-22 01:41:20 -08:00
Amin Yahyaabadi 6e563b8e5f chore: v0.36.1 [skip test] 2023-11-15 11:04:51 -08:00
Amin Yahyaabadi baac8c6db3 chore: v0.36.0 [skip test] 2023-10-22 17:12:39 -07:00
Amin Yahyaabadi a296e2c916 chore: v0.35.7 [skip test] 2023-10-20 11:32:28 -07:00
Amin Yahyaabadi ce47e106b8 fix: support finding BuildTools msvc 2023-10-19 10:12:36 -07:00
Amin Yahyaabadi e85adb2ac6 docs: update the docs for exec-powershell [skip ci] 2023-10-19 09:57:34 -07:00
Amin Yahyaabadi 436e27cecb chore: v0.35.6 [skip test] 2023-09-11 11:48:10 -07:00
Amin Yahyaabadi 6a37ff7253 fix: fix grantUserWriteAccess for cpprc 2023-09-11 11:47:10 -07:00
Amin Yahyaabadi 4f69ae3519 feat: use grantUserWriteAccess from admina and await it 2023-09-11 11:05:16 -07:00
Amin Yahyaabadi 5f4cbc86cd chore: v0.35.5 [skip test] 2023-09-11 09:47:45 -07:00
Amin Yahyaabadi 15f7626551 chore: v0.35.4 [skip test] 2023-09-11 01:21:58 -07:00
Amin Yahyaabadi 96396ce7c5 perf: add dynamically loaded cache-dependencies for actions python
This reduces the main bundle size by ⚠️  1.28 MB minified! This bundle is loaded only when caching is enabled.

`setup-python` is used in [`setup-cpp`](https://github.com/aminya/setup-cpp) as a library. This optimization reduces the bundle size for that package as well. The build system of `setup-python` uses `ncc`, which doesn't immediately benefit from this change, but setup-cpp uses `Parcel`, which shows this huge improvement.

The reason for this huge reduction is that caching the dependencies uses the `@actions/cache` package, which is an extremely large package with big dependencies. The bundle size before this separation shows this:
![Screenshot_20230907_230625](https://github.com/actions/setup-python/assets/16418197/ec1baf34-85c3-459d-b8cf-894899959b2c)
2023-09-07 23:21:19 -07:00
Amin Yahyaabadi ffff3ab313 chore: v0.35.3 [skip test] 2023-09-07 14:15:08 -07:00
Amin Yahyaabadi 5126444593 fix: optimize the build with terser-config-atomic 2023-09-07 13:46:37 -07:00
Amin Yahyaabadi 1f91d9621c chore: v0.35.2 [skip test] 2023-09-05 12:32:01 -07:00
Amin Yahyaabadi 14a1b4d654 test: run the tests serially 2023-09-05 01:11:18 -07:00
Amin Yahyaabadi 5e87b7794a chore: v0.35.1 [skip test] 2023-09-01 11:44:03 -07:00
Amin Yahyaabadi fd3d46ef75 fix: do not bundle node_modules in the package 2023-09-01 11:43:14 -07:00
Amin Yahyaabadi 99ca8d9642 chore: v0.35.0 [skip test] 2023-09-01 11:40:33 -07:00
Amin Yahyaabadi 662daca0bf fix: remove unused dependencies + list bundled ones [skip test] 2023-08-31 23:01:58 -07:00
Amin Yahyaabadi 0dd681ea14 chore: v0.34.0 [skip test] 2023-08-21 22:11:28 -07:00
Amin Yahyaabadi d93dc2b536 feat: add timeout for installation of the tools 2023-08-21 20:11:21 -07:00
Amin Yahyaabadi 7449a7e89e fix: update dependencies 2023-08-01 14:06:23 -07:00
Amin Yahyaabadi 4eb56b89c0 test: run the jest tests in parallel 2023-07-24 15:28:48 -07:00
Amin Yahyaabadi 5c246f1986 ci: separate the lint tests from the tests 2023-07-24 14:28:48 -07:00
Amin Yahyaabadi 4e58b250d7 ci: fix placing the built artifacts 2023-07-24 14:11:16 -07:00
Amin Yahyaabadi 697fc17c87 ci: shared build for all the tests - rewrite the CI workflow 2023-07-24 13:59:56 -07:00
Amin Yahyaabadi 0b79280662 test: use swc as the jest transformer 2023-07-24 13:20:39 -07:00