Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
d37c506
feat: set up msvc variables for cross-compilation
aminya Apr 7, 2025
e13d197
fix: fix cross-compile arch
aminya Apr 7, 2025
97af51f
fix: set the cmake generator platform for cross-compile
aminya Apr 7, 2025
b3530ae
fix: fix parsing of Visual studio generators
aminya Apr 9, 2025
665d1e8
fix: prefer MSVC dev variables over CMake generator platform
aminya Apr 9, 2025
ebe688c
fix: ensure parallel builds with CMake
aminya Apr 9, 2025
ea5420d
fix: do not set cmake variables in zeromq CMake
aminya Apr 9, 2025
a964777
fix: fix the node.lib path for arm64
aminya Apr 9, 2025
04507a9
test: refactor running the zeromq tests
aminya Apr 10, 2025
27251b7
build: fix caching of the build
aminya Apr 10, 2025
ac57387
build: build lib and main independently
aminya Apr 10, 2025
4a7304e
fix: return the built configs in the build function
aminya Apr 10, 2025
96df43f
test: make zeromq build tests parallel
aminya Apr 10, 2025
c194604
feat: support overriding paths from the commandline
aminya Apr 10, 2025
9453b51
test: run tests in series in CI
aminya Apr 10, 2025
40f21c7
test: pass the vcpkg triplet as lower
aminya Apr 10, 2025
37fa6c6
test: update zeromq to 6.4.2
aminya Apr 10, 2025
cc46146
test: use msvc generator for windows tests
aminya Apr 10, 2025
0ca4c3f
fix: set the generator platform to the target arch
aminya Apr 10, 2025
3673423
fix: improve cmake command arg parsing
aminya Apr 10, 2025
fa55b71
fix: use ninja if available on Windows
aminya Apr 11, 2025
24e762f
fix: set generator platform only for visual studio
aminya Apr 11, 2025
0b530bd
fix: add generator platform fallback for msvc
aminya Apr 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "eslint-config-atomic",
"ignorePatterns": ["build/", "dist/", "node_modules/", "coverage/", "stats.html", ".cache/", ".turbo/"],
"ignorePatterns": ["build/", "dist/", "node_modules/", "coverage/", "stats.html", ".cache/", ".turbo/", "html/"],
"overrides": [
{
"files": ["**/*.ts"],
Expand All @@ -13,7 +13,7 @@
}
},
{
"files": ["**/*.test.ts"],
"files": ["**/*.ts"],
"rules": {
"import/no-extraneous-dependencies": "off"
}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ coverage/
.turbo/
.cache/
.DS_Store
html/
*.tsbuildinfo
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules
package.json
.cache/
.turbo/
html/
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"dependi.npm.lockFileEnabled": true
"dependi.npm.lockFileEnabled": true,
"cSpell.words": ["vcvars", "vcvarsall", "vsvars", "vsversion", "vswhere"]
}
4 changes: 3 additions & 1 deletion biome.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"**/.*cache/**",
"**/.turbo/**",
"coverage/**",
"**/coverage/**"
"**/coverage/**",
"**/stats.html",
"**/html/**"
],
"ignoreUnknown": true
},
Expand Down
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@
"build.tsc.lib": "tsc --pretty --project ./src/tsconfig.json && shx cp -r ./src/*.d.mts ./build/",
"build.legacy-main": "vite build --mode legacy-main",
"build.modern-main": "vite build --mode modern-main",
"build": "turbo run build.tsc build.tsc.lib build.legacy-main build.modern-main",
"build.legacy-library": "vite build --mode legacy-library",
"build.modern-library": "vite build --mode modern-library",
"build": "turbo run build.tsc build.tsc.lib build.legacy-main build.modern-main build.legacy-library build.modern-library",
"test.install": "cd test && npm i && cd ..",
"test": "run-s test.install && cross-env NODE_OPTIONS=--enable-source-maps pnpx vitest --watch false",
"coverage": "run-s test.install && cross-env NODE_OPTIONS=--enable-source-maps pnpx vitest --coverage --watch false"
Expand Down Expand Up @@ -88,6 +90,7 @@
"@types/which": "3.0.4",
"@types/escape-quotes": "1.0.0",
"@upleveled/babel-plugin-remove-node-prefix": "1.0.5",
"@types/memoizee": "0.4.7",
"turbo": "2.5.0",
"cross-env": "7.0.3",
"eslint": "^8",
Expand All @@ -100,6 +103,7 @@
"vitest": "3.1.1",
"vite-plugin-babel": "1.3.0",
"@vitest/coverage-v8": "3.1.1",
"@vitest/ui": "3.1.1",
"@biomejs/biome": "1.9.4",
"prettier": "3.5.3",
"prettier-config-atomic": "4.0.0",
Expand All @@ -109,15 +113,16 @@
"fs-extra": "^10",
"resolve": "^1.22.10",
"semver": "^7.7.1",
"splitargs2": "^0.1.3",
"tar": "^6",
"url-join": "^4.0.1",
"which": "^2",
"node-downloader-helper": "^2.1.9",
"escape-quotes": "^1.0.2",
"commander": "^13.1.0"
"commander": "^13.1.0",
"msvc-dev-cmd": "github:aminya/msvc-dev-cmd#c01f519bd995460228ed3dec4df51df92dc290fd",
"memoizee": "0.4.17"
},
"packageManager": "pnpm@10.7.1",
"packageManager": "pnpm@10.8.0",
"$schema": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/package.json",
"pnpm": {
"onlyBuiltDependencies": ["@biomejs/biome", "core-js", "esbuild"]
Expand Down
Loading
Loading