Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 5 additions & 2 deletions .github/workflows/JS_build_test_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ jobs:
- host: macos-latest
target: x86_64-apple-darwin
build: |
set -eu
set -eux
rustc --version
yarn build --target x86_64-apple-darwin
yarn build:ts
- host: windows-latest
Expand Down Expand Up @@ -78,7 +79,9 @@ jobs:
target: aarch64-unknown-linux-musl
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
build: |-
set -eu
set -eux
rustc --version
rustup update stable
rustc --version
npm install -g corepack
corepack enable
Expand Down
9 changes: 8 additions & 1 deletion js/optify-config/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
[target.aarch64-unknown-linux-musl]
linker = "aarch64-linux-musl-gcc"
rustflags = ["-C", "target-feature=-crt-static"]

[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
rustflags = ["-C", "target-feature=+crt-static"]

[target.x86_64-apple-darwin]
rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"]

[target.aarch64-apple-darwin]
rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"]
32 changes: 28 additions & 4 deletions js/optify-config/.npmignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,37 @@
# Rust build artifacts and source
target
Cargo.lock
Cargo.toml
.cargo
build.rs
src/*.rs
rustfmt.toml

# Development and CI/CD
.github
npm
.claude
.vscode
.nvmrc
.yarnrc.yml
.eslintrc
.prettierignore
rustfmt.toml
renovate.json

# Package management
npm
yarn.lock
*.node
.yarn

# Tests
__test__
renovate.json
tests
jest.config.js

# TypeScript config
tsconfig.json

# Native bindings (users will download platform-specific ones)
*.node

# TypeScript source (use compiled dist/ instead)
src/*.ts
2 changes: 1 addition & 1 deletion js/optify-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@optify/config",
"version": "1.1.3",
"version": "1.1.4",
"description": "Simplifies **configuration driven development**: getting the right configuration options for a process or request using pre-loaded configurations from files (JSON, YAML, etc.) to manage options for feature flags, experiments, or flights.",
"repository": {
"type": "git",
Expand Down
Loading