Skip to content

Commit 3397b78

Browse files
authored
chore: Make adapters prublic so publishing on npm work (#969)
## Description The package is scoped (@react-native-executorch/...) so npm treats it as private by default. Need to add `--access public` to the publish command in both workflows. ### Introduces a breaking change? - [ ] Yes - [x] No ### Type of change - [ ] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [ ] Documentation update (improves or adds clarity to existing documentation) - [x] Other (chores, tests, code style improvements etc.) ### Tested on - [ ] iOS - [ ] Android ### Testing instructions <!-- Provide step-by-step instructions on how to test your changes. Include setup details if necessary. --> ### Screenshots <!-- Add screenshots here, if applicable --> ### Related issues <!-- Link related issues here using #issue-number --> ### Checklist - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [ ] My changes generate no new warnings ### Additional notes <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. -->
1 parent 04af197 commit 3397b78

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/npm-publish-bare-resource-fetcher.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,4 @@ jobs:
118118
run: mv ${{ env.PACKAGE_DIR }}/${{ env.PACKAGE_NAME }} .
119119

120120
- name: Publish package to npm
121-
run: npm publish $PACKAGE_NAME --tag ${{ env.TAG }} --provenance
121+
run: npm publish $PACKAGE_NAME --tag ${{ env.TAG }} --provenance --access public

.github/workflows/npm-publish-expo-resource-fetcher.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,4 @@ jobs:
118118
run: mv ${{ env.PACKAGE_DIR }}/${{ env.PACKAGE_NAME }} .
119119

120120
- name: Publish package to npm
121-
run: npm publish $PACKAGE_NAME --tag ${{ env.TAG }} --provenance
121+
run: npm publish $PACKAGE_NAME --tag ${{ env.TAG }} --provenance --access public

0 commit comments

Comments
 (0)