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
This should start a local dev server, go to [http://localhost:3000/](http://localhost:3000/) to inspect the examples. To stop the server, hit `CONTROL-C`.
102
102
103
-
### Distribution
103
+
## Contributing
104
+
105
+
PRs are welcome. Opening an issue to discuss large changes beforehand is a good idea.
106
+
107
+
For more information, take a look at [A-Frame's contributing guide](https://github.com/aframevr/aframe/blob/master/CONTRIBUTING.md), specifically the [steps for contributing code](https://github.com/aframevr/aframe/blob/master/CONTRIBUTING.md#contribute-code-to-a-frame).
108
+
109
+
## Publishing
110
+
111
+
1. Add a new entry to `./CHANGELOG.md`.
112
+
113
+
2. Increment `"version"` in `./package.json` following [SEMVER](https://semver.org/).
114
+
115
+
```bash
116
+
# Where <update_type> is one of (patch, major, or minor)
117
+
npm version <update_type>
118
+
```
119
+
120
+
3.`npm publish`
121
+
122
+
4. Update the `unpkg.com/aframe-cubemap-component@VERSION/index.js` link in this README.
123
+
124
+
### A note about Browserify
104
125
105
126
Prior to version 3.0.0, this component used a Browserify workflow. This was fine until it prevented upgrading to A-Frame v 1.3.0 which was needed to [resolve a rendering issue](https://github.com/bryik/aframe-cubemap-component/issues/39#issuecomment-1312806990). Since this component has no external dependencies and webpack is annoying to setup, I decided to go for a low-tech solution.
106
127
@@ -109,9 +130,3 @@ Users can pin specific versions by altering the unpkg URL:
PRs are welcome. Opening an issue to discuss large changes beforehand is a good idea.
116
-
117
-
For more information, take a look at [A-Frame's contributing guide](https://github.com/aframevr/aframe/blob/master/CONTRIBUTING.md), specifically the [steps for contributing code](https://github.com/aframevr/aframe/blob/master/CONTRIBUTING.md#contribute-code-to-a-frame).
0 commit comments