You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement this by git branching for each EMSDK version. Branches are named v2.0.11, v2.0.10, etc. In each branch, store a default_version.js file that contains the EMSDK version string. This file sets the release to download for the rest of the package. Don't make the version string modifiable by the user. package.json is also edited to reflect the version.
Install EMSDK on npm install step when version is hardcoded
Investigate whether NPM recognizes +build version syntax and ranges them correctly. The +build part will track each main code merge. (e.g. v2.0.11+1609425262 represents the main revision dated 12/31/2020 that serves EMSDK 2.0.11)
+build information is skipped per semver spec, see StackOverflow and NPM. This has induced the "workaround" convention of using -prerelease info to denote precedence (see: vscode).
Resolution: Use v2.0.11-1609425262 version format Use v2.0.11-0 format
To follow this versioning scheme, make the NPM releases consistent with EMSDK. (This concerns emsdk-npm only).
v2.0.11,v2.0.10, etc. In each branch, store adefault_version.jsfile that contains the EMSDK version string. This file sets the release to download for the rest of the package. Don't make the version string modifiable by the user.package.jsonis also edited to reflect the version.mainchanges to each version branchlatestonly for the latest possible SDK version (don't publishlatesttag for older versions)+buildversion syntax and ranges them correctly. The+buildpart will track eachmaincode merge. (e.g.v2.0.11+1609425262represents themainrevision dated 12/31/2020 that serves EMSDK 2.0.11)+buildinformation is skipped persemverspec, see StackOverflow and NPM. This has induced the "workaround" convention of using-prereleaseinfo to denote precedence (see: vscode).Resolution: UseUsev2.0.11-1609425262version formatv2.0.11-0formatnpm install -D emscripten-sdk ~2.0.11-0emscripten-sdk: Versioned packages in llvm backend, e.g.,emscripten-sdk@2.0.11,emscripten-sdk@2.0.10, etc.emscripten-sdk-npm: Generic package for full control: e.g., requestinglatest,fastcomp,totVersioning syntax