-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrating @matrixai/events
into ESM 2.x
#32
Conversation
The |
All the commits here https://github.com/MatrixAI/js-async-init/commits/feature-events will need to be redone on |
When migrating to ESM, we might as well change over to #22 too. |
some notes regarding windows failing CI/CD due to chocolatey v2.0 The windows before_build script should have this include so that before_script:
- mkdir -Force "$CI_PROJECT_DIR/tmp"
# so that refreshenv will resolve to the correct Powershell alias
- Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1 choco-install.ps1 should have the package name changed to # Install nodejs v20.5.1 (will use cache if exists)
$nodejs = "nodejs"
choco install "$nodejs" --version="20.5.1" --require-checksums -y related: chocolatey/choco#3176 |
Yes that needs to be applied across the repos otherwise CI on windows will start failing. |
So the This PR needs to merge into staging and release another 2.x version in order to keep up to date with the 1.x version that is being branched off in |
I've just done this in MatrixAI/js-events@849bc20 |
Actually it might not work anymore. We might need to also change our windows build tags to:
At the time I saw the pipeline run, no windows runners were available. This may be a temporary change until we move to GitHub actions. |
Yep now it works: MatrixAI/js-events@9de0ee5 - this needs to be done for all repos @tegefaulkes @amydevs. |
@aryanjassal how fast are we changing to github so we don't have to do this? |
Merging, this will be released as 2.1.0 in staging. |
Description
The ESM branch needs events and keep up with the 1.9.x.
This currently doesn't yet work because
js-events
isn't ESM native yet. So have to wait until that is the case.This branch must be kept up to date with the branch
feature-events
. https://github.com/MatrixAI/js-async-init/tree/feature-eventsTasks
@matrixai/events
to the ESM-native version when availableFinal checklist