Commit Graph

169 Commits

Author SHA1 Message Date
Amin Yahyaabadi 0b45dac798
fix: fix the rcPath for setup-cpp 2024-08-15 14:54:05 -07:00
Amin Yahyaabadi 77e643057d
feat: add os-env package for managing path, env, rc files 2024-08-14 18:22:33 -07:00
Amin Yahyaabadi a993cd60c0
fix: polyfill diagnostics_channel for backwards compatibility 2024-08-07 12:00:15 -07:00
Amin Yahyaabadi 36e7f447d4
fix: polyfill util/types for backwards compatibility 2024-08-07 11:55:06 -07:00
Amin Yahyaabadi d5ec3ff06e
fix: polyfill web streams for backwards compatibility 2024-08-07 11:52:15 -07:00
Amin Yahyaabadi ff2af8ebc9
fix: transform private methods for Node 12 2024-08-07 11:45:28 -07:00
Amin Yahyaabadi 1c6c8db5a9
fix: update dependencies 2024-08-07 11:28:08 -07:00
Amin Yahyaabadi 4ab758d47f
fix: add biome linter + fix the issues 2024-08-06 23:44:32 -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 36d895f6c6
fix: improve compatibility with Node 12 2024-02-17 02:01:57 -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 5465644a17
feat: skip graphviz installation on older MacOS
f
2024-02-16 15:15:14 -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 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 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 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 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 5126444593 fix: optimize the build with terser-config-atomic 2023-09-07 13:46:37 -07:00
Amin Yahyaabadi 662daca0bf fix: remove unused dependencies + list bundled ones [skip test] 2023-08-31 23:01:58 -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 0b79280662 test: use swc as the jest transformer 2023-07-24 13:20:39 -07:00
Amin Yahyaabadi f0d23edbf1 fix: update dependencies 2023-07-24 13:20:13 -07:00
Amin Yahyaabadi b2cf91c9df fix: use node 20 instead of node 18 2023-07-15 15:41:58 -07:00
Amin Yahyaabadi f6ebfc1d77 fix: memoize addPythonBaseExecPrefix 2023-06-28 15:22:03 -07:00
Amin Yahyaabadi 49b6a080cc chore: update dependencies 2023-06-27 17:09:14 -07:00
Amin Yahyaabadi b736d88166 chore: v0.28.1 [skip test] 2023-05-26 13:08:18 -07:00
Amin Yahyaabadi 77b7ec30b7 fix: override whatwg-url to be the latest version 2023-05-26 12:42:10 -07:00
Amin Yahyaabadi 297213111d fix: remove the unused update-notifier 2023-05-26 12:06:06 -07:00
Amin Yahyaabadi cb8940d945 fix: update parcel 2023-05-26 12:00:04 -07:00
Amin Yahyaabadi 5c3b317006 fix: use simple-update-notifier instead of update-notifier 2023-05-24 22:07:48 -07:00
Amin Yahyaabadi f5342df15b feat: check if update-notifier is installed before using it 2023-05-24 22:06:37 -07:00
Amin Yahyaabadi 3797303356 fix: do not use fs/promises 2023-05-24 22:06:24 -07:00
Amin Yahyaabadi d60cc6ac6f fix: update dependencies 2023-05-24 16:45:05 -07:00
Amin Yahyaabadi 11b44434f5 fix: fix all the linting errors 2023-05-24 14:57:08 -07:00
Amin Yahyaabadi 00c09d28e6 fix: update path-exists 2023-04-23 01:09:38 -07:00
Amin Yahyaabadi f785f1ada7 fix: remove pnpm overrides 2023-04-23 01:06:16 -07:00
Amin Yahyaabadi ea04bfe6af fix: replace npmcli/ci-detect with ci-info 2023-04-22 02:31:04 -07:00