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

Update package.json to make the dist avaliable again #23991

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

jchen351
Copy link
Contributor

@jchen351 jchen351 commented Mar 11, 2025

Description

Adding back missing dist folder

Motivation and Context

"bootstrap": "npm run pack-common && npm run unpack-common && npm run pack-libs && npm run unpack-libs && npm run e2e && npm run pods",
"test": "jest",
"pack-common": "cd ../common && npm pack && mv -f onnxruntime-common-*.tgz ../react_native/e2e/onnxruntime-common.tgz",
"unpack-common": "cd e2e && npm install --no-save ./onnxruntime-common.tgz",
"unpack-common": "cd e2e && npm install ./onnxruntime-common.tgz",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm install --no-save doesn't update package-lock.json nor package.json

"dependencies": {
"buffer": "^6.0.3"
},
"scripts": {
"typescript": "tsc --noEmit",
"bootstrap": "npm run pack-common && npm run unpack-common && npm run pack-libs && npm run unpack-libs && npm run e2e && npm run pods",
"prepare": "npx bob build",
"bootstrap-no-pods": "npm run pack-common && npm run unpack-common && npm run pack-libs && npm run unpack-libs && npm run e2e",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create this script so both Android and iOS can use it.

@@ -62,44 +61,7 @@ jobs:
targetFolder: $(Build.SourcesDirectory)/js/react_native/android/libs
displayName: Copy Android package to React Native directory

- script: |
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been moved to react-native-bootstrap-steps.yml

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.

1 participant