You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or, use the file `Packages/com.benoitfreslon.vibration/.npmrc` that already exists in this repository:
309
+
Or, use the file `Packages/<PACKAGE_NAME>/.npmrc` that already exists in this repository:
310
310
311
311
```bash
312
312
# Export the environment variable "$GITHUB_TOKEN"
@@ -325,12 +325,12 @@ vibration using haptic engine
325
325
326
326
# Run the npm scripts
327
327
npm install
328
-
npm run pack:package # Pack in a .tgz for testing (optional)
329
328
npm run publish:package # Publish from repository ROOT path
330
329
331
-
cd Packages/com.benoitfreslon.vibration
332
-
npm package:publish-from-local # Publish from package path
333
-
npm publish:from-local # Or use this another script alias for publishing (optional)
330
+
cd Packages/<PACKAGE_NAME>
331
+
npm run pack:package # Pack in a .tgz for testing (optional)
332
+
npm run package:publish-from-local # Publish from package path
333
+
npm run publish:from-local # Or use this another script alias for publishing (optional)
334
334
``````
335
335
336
336
> **WARNING:** Avoid use the common **`npm publish`** directly, because the hooks `prepare`, `prepublish` ... aren't triggered in this package. They have conflicts with [OpenUPM Azure pipelines](https://dev.azure.com/openupm/openupm/_build?definitionId=1&_a=summary) and fail when try run automation publishing tags to OpenUPM :(
@@ -341,7 +341,7 @@ Optionally, you can run specific npm scripts inside of `Packages/<PACKAGE_NAME>`
0 commit comments