Update examples to use version range that includes fixed release 2.0.1

This commit is contained in:
Jordan Eldredge 2025-06-18 20:38:47 -07:00
parent 624573a4d9
commit 359b3258ed
7 changed files with 15 additions and 7 deletions

View file

@ -9,7 +9,7 @@
<!-- Webamp will attempt to center itself within this div -->
</div>
<script type="module">
import Webamp from "https://unpkg.com/webamp@2.0.0";
import Webamp from "https://unpkg.com/webamp@^2";
const webamp = new Webamp({
initialTracks: [
{

View file

@ -18,7 +18,7 @@
* Changelog since the version you have can be found here:
* https://github.com/captbaritone/webamp/blob/master/packages/webamp/CHANGELOG.md
*/
import Webamp from "https://unpkg.com/webamp@2.0.0";
import Webamp from "https://unpkg.com/webamp@^2";
/**
* Butterchurn is not being actively maintained, but it is still works

View file

@ -9,7 +9,7 @@
<!-- Webamp will attempt to center itself within this div -->
</div>
<script type="module">
import Webamp from "https://unpkg.com/webamp@2.0.0";
import Webamp from "https://unpkg.com/webamp@^2";
const webamp = new Webamp({
windowLayout: {
main: {

View file

@ -9,7 +9,7 @@
<!-- Webamp will attempt to center itself within this div -->
</div>
<script type="module">
import Webamp from "https://unpkg.com/webamp@2.0.0";
import Webamp from "https://unpkg.com/webamp@^2";
const webamp = new Webamp({
// Optional. An array of objects representing skins.
// These will appear in the "Options" menu under "Skins".

View file

@ -9,7 +9,7 @@
<!-- Webamp will attempt to center itself within this div -->
</div>
<script type="module">
import Webamp from "https://unpkg.com/webamp@2.0.0";
import Webamp from "https://unpkg.com/webamp@^2";
const webamp = new Webamp({
/**
* Here we list three tracks. Note that the `metaData` fields and

View file

@ -2,7 +2,15 @@
_No changes yet._
## 2.0.0 [CURRENT]
## 2.0.1 [CURRENT]
### Bug Fixes
Fixed incorrectly built artifacts.
## 2.0.0
_Broken release. Use 2.0.1 instead._
### Features

View file

@ -26,7 +26,7 @@ Or, you can include it via a script tag:
```html
<!-- You can use this URL, or download it and check it into your own project -->
<script src="https://unpkg.com/webamp@1.4.0/built/webamp.bundle.min.js"></script>
<script src="https://unpkg.com/webamp@^2" type="module"></script>
```
## Create a container