@freqhole/playlistz 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,9 @@
1
1
  # on every push to main, run the changesets action:
2
2
  # - changesets pending -> open/update the "Version Packages" PR on
3
3
  # changeset-release/main (runs `npm run version` = changeset version).
4
- # - no changesets pending (version PR just merged + tag pushed) ->
5
- # npm-publish.yml handles the actual registry publish on the tag event.
4
+ # - no changesets pending (version PR just merged) -> run `npm run release:publish`
5
+ # which publishes to npm, creates the git tag, and creates the GitHub release.
6
+ # changesets/action generates the release body from changeset markdown.
6
7
  name: changesets
7
8
 
8
9
  on:
@@ -16,10 +17,11 @@ concurrency:
16
17
  permissions:
17
18
  contents: write
18
19
  pull-requests: write
20
+ id-token: write
19
21
 
20
22
  jobs:
21
- version:
22
- name: open / update version PR
23
+ version-or-publish:
24
+ name: version PR or publish
23
25
  runs-on: ubuntu-24.04
24
26
  steps:
25
27
  - uses: actions/checkout@v4
@@ -30,21 +32,29 @@ jobs:
30
32
  uses: actions/setup-node@v4
31
33
  with:
32
34
  node-version: 24
35
+ registry-url: "https://registry.npmjs.org"
33
36
 
34
37
  - name: install deps
35
38
  run: npm ci
36
39
 
40
+ - name: build (needed for publish)
41
+ run: npm run build
42
+
37
43
  - name: configure git identity
38
44
  run: |
39
45
  git config user.name "github-actions[bot]"
40
46
  git config user.email "github-actions[bot]@users.noreply.github.com"
41
47
 
42
- - name: changesets - open/update version PR
48
+ - name: changesets - version PR or publish
43
49
  uses: changesets/action@v1
44
50
  with:
45
51
  version: npm run version
46
- # no publish here - npm-publish.yml handles it on the version tag
52
+ # publish runs when version PR is merged (no more changesets pending).
53
+ # changesets/action creates the git tag and github release automatically,
54
+ # using the accumulated changeset markdown as the release body.
55
+ publish: npm run release:publish
47
56
  commit: "chore: version packages"
48
57
  title: "chore: version packages"
49
58
  env:
50
59
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -59,8 +59,6 @@ jobs:
59
59
  - name: publish
60
60
  if: steps.exists.outputs.published == 'false'
61
61
  run: npm publish --access public --provenance
62
- env:
63
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
64
62
 
65
63
  # ---- bump @freqhole/playlistz in tomb/ ----
66
64
  bump-tomb:
package/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # @freqhole/playlistz
2
+
3
+ ## 0.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 8ebed07: iron out some CI issues
8
+
9
+ ## 0.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 3ef6837: zomg, hello world! listen to more playlistz! 💖
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freqhole/playlistz",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "make some music playlistz in yr browser!",
5
5
  "type": "module",
6
6
  "repository": {
@@ -63,6 +63,7 @@
63
63
  "changeset": "changeset",
64
64
  "changeset:status": "changeset status",
65
65
  "version": "changeset version",
66
+ "release:publish": "npm publish --access public --provenance",
66
67
  "use-local": "node scripts/use-local.mjs",
67
68
  "use-published": "node scripts/use-published.mjs"
68
69
  },
@@ -470,7 +470,6 @@ function PlaylistRow(props: {
470
470
  setDownloading(true);
471
471
  try {
472
472
  await downloadPlaylistAsZip(props.playlist, {
473
- includeMetadata: true,
474
473
  includeImages: true,
475
474
  generateM3U: true,
476
475
  includeHTML: true,
@@ -1,4 +1,3 @@
1
-
2
1
  import {
3
2
  createSignal,
4
3
  Show,
@@ -117,7 +116,6 @@ export function PlaylistCoverModal(props: PlaylistCoverModalProps) {
117
116
  setIsDownloading(true);
118
117
  try {
119
118
  await downloadPlaylistAsZip(props.playlist, {
120
- includeMetadata: true,
121
119
  includeImages: true,
122
120
  generateM3U: true,
123
121
  includeHTML: true,
@@ -54,11 +54,9 @@ export function PlaylistContainer(props: { playlist: Accessor<Playlist> }) {
54
54
  const {
55
55
  playlists,
56
56
  playlistSongs,
57
- isDownloading,
58
57
  isCaching,
59
58
  allSongsCached,
60
59
  handlePlaylistUpdate,
61
- handleDownloadPlaylist,
62
60
  handleCachePlaylist,
63
61
  handleRemoveSong,
64
62
  handleReorderSongs,
@@ -1,5 +0,0 @@
1
- ---
2
- "@freqhole/playlistz": patch
3
- ---
4
-
5
- zomg, hello world! listen to more playlistz! 💖