Skip to content

CLI - asc should not be assumed globally available when running local build strategy#1382

Merged
dOrgJelli merged 1 commit intoorigin-0.10-devfrom
pileks/patch/build-relies-on-global-asc
Nov 2, 2022
Merged

CLI - asc should not be assumed globally available when running local build strategy#1382
dOrgJelli merged 1 commit intoorigin-0.10-devfrom
pileks/patch/build-relies-on-global-asc

Conversation

@pileks
Copy link
Contributor

@pileks pileks commented Nov 2, 2022

While running tests, I noticed that the local build strategy was failing to build, giving me an output of asc not found.

Looking into local.sh I found out that the default build script assumes that asc is present as a global command (e.g. npm i -g typescript), whereas my setup did not have this.

I have changed the script to assume that TS is present locally (yarn should take care of that) and switched to running it using npx asc...

Let me know if this is something we don't want to have.

@pileks pileks added this to the origin-qa milestone Nov 2, 2022
@dOrgJelli
Copy link
Contributor

Using npx makes sense to me, since it will resolve local & global installs (in that order).

@dOrgJelli dOrgJelli merged commit 252e406 into origin-0.10-dev Nov 2, 2022
@dOrgJelli dOrgJelli deleted the pileks/patch/build-relies-on-global-asc branch April 10, 2023 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants