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
{{ message }}
This repository was archived by the owner on Apr 13, 2025. It is now read-only.
feat(generate): Add support for generating bundles with dev installs (#62)
* Add npm util to find all packages inside a directory
* Add support for generating bundles with dev installs
* Fix tests
* Clean code
* Test whether bundles generated with dev installs fetch the packages using tarballs
* Update readme
Copy file name to clipboardExpand all lines: README.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,8 @@ Uses your installed nodecg-io version and services, meaning you need to have the
48
48
These generated bundles are only meant as a starting point, you may probably do more things like creating a git repository for your bundle,
49
49
add a licence, or add other tools like linters.
50
50
51
-
Also, this command currently only works with installs of released versions and not with development installs. This is because all bundles using nodecg-io depend on `nodecg-io-core` and if you use typescript each used service as well. For development installs these are not published on npm, and you would need some way of linking the packages locally.
51
+
If you are using a released version of nodecg-io (aka. a production install) the nodecg-io packages get fetched directly from npm.
52
+
If you are using a development version of nodecg-io these get fetched as tarballs from the [nodecg-io-publish repository](https://github.com/codeoverflow-org/nodecg-io-publish).
52
53
53
54
## A note about versioning
54
55
@@ -59,9 +60,7 @@ The following table show which versions of the CLI are compatible with which nod
59
60
| CLI versions | nodecg-io versions |
60
61
| ------------ | ------------------ |
61
62
|`0.1`|`0.1`|
62
-
|`0.2`|`0.2`, `0.1`|
63
-
64
-
Currently, they are the same, but we will follow [semver2](https://semver.org/) using [semantic-release](https://semantic-release.gitbook.io/semantic-release/) and the versions will diverge at some point.
0 commit comments