Skip to content
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

fix(build): make package public #3403

Merged
merged 1 commit into from
Oct 21, 2024
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
5 changes: 5 additions & 0 deletions .changeset/selfish-ways-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rnx-kit/build": patch
---

Make `@rnx-kit/build` public
21 changes: 20 additions & 1 deletion incubator/build/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"private": true,
"name": "@rnx-kit/build",
"version": "0.7.2",
"description": "EXPERIMENTAL - USE WITH CAUTION - @rnx-kit/build builds your app in the cloud",
Expand All @@ -21,14 +20,34 @@
"types": "./lib/index.d.ts",
"import": "./lib/index.js"
},
"./build": {
"types": "./lib/build.d.ts",
"import": "./lib/build.js"
},
"./constants": {
"types": "./lib/constants.d.ts",
"import": "./lib/constants.js"
},
"./distribution": {
"types": "./lib/distribution.d.ts",
"import": "./lib/distribution.js"
},
"./git": {
"types": "./lib/git.d.ts",
"import": "./lib/git.js"
},
"./packageManager": {
"types": "./lib/packageManager.d.ts",
"import": "./lib/packageManager.js"
},
"./qrcode": {
"types": "./lib/qrcode.d.ts",
"import": "./lib/qrcode.js"
},
"./remotes": {
"types": "./lib/remotes.d.ts",
"import": "./lib/remotes.js"
},
"./types": {
"types": "./lib/types.d.ts"
},
Expand Down
10 changes: 10 additions & 0 deletions incubator/build/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
export { startBuild } from "./build.js";
export {
DEPLOYMENT,
DEVICE_TYPES,
PLATFORMS,
USER_CONFIG_FILE,
} from "./constants.js";
export { getDistribution } from "./distribution.js";
export { getRemoteUrl, getRepositoryRoot, stage } from "./git.js";
export { detectPackageManager } from "./packageManager.js";
export { renderQRCode } from "./qrcode.js";
export { getRemoteInfo } from "./remotes.js";
export type {
BuildParams,
Context,
Expand Down
Loading