Skip to content

Conversation

@ciscorn
Copy link
Member

@ciscorn ciscorn commented Jun 12, 2025

  • Use changesets for version management and automated releases
  • Split the package into the core svelte-maplibre-gl package and extensions (@svelte-maplibre-gl/pmtiles, @svelte-maplibre-gl/contour, @svelte-maplibre-gl/deckgl, @svelte-maplibre-gl/terradraw)

Copilot AI review requested due to automatic review settings June 12, 2025 14:14
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jun 12, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
svelte-maplibre-gl 34e315b Commit Preview URL Jun 13 2025, 12:22 AM

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the package structure by splitting the monolithic package into a core package and several extension packages, and updates the CI/CD workflows to support changesets and automated releases.

  • Added new extension packages (deckgl, contour) with their associated configuration and source files.
  • Updated SvelteKit, TypeScript, and workflow configurations to streamline building, packaging, and releasing.

Reviewed Changes

Copilot reviewed 360 out of 360 changed files in this pull request and generated no comments.

Show a summary per file
File Description
extensions/deckgl/package.json Added deckgl extension package metadata and dependency configuration.
extensions/deckgl/.svelte-kit/* Introduced SvelteKit packaging files (types, tsconfig, package) for deckgl.
extensions/deckgl/.svelte-kit/package/DeckGLOverlay.svelte Updated import for getMapContext to reflect the new package structure.
extensions/contour/* Added contour extension package files including its Svelte source, configuration, and packaging settings.
.prettierignore Extended ignore patterns to include build output and SvelteKit directories.
.github/workflows/release.yml Revised release workflow for automated publishing and enhanced permissions.
.github/workflows/preview.yml Modified preview workflow to build and publish package previews.
.changeset/* Added changesets configuration and documentation to manage versioning and releases.
Comments suppressed due to low confidence (2)

extensions/deckgl/.svelte-kit/package/DeckGLOverlay.svelte:5

  • Confirm that the updated import path for getMapContext aligns with the restructured package and that the exported API remains consistent with its previous usage.
import { getMapContext } from 'svelte-maplibre-gl';

extensions/deckgl/package.json:50

  • Verify that the use of the version specifier 'catalog:' for deck.gl dependencies is intentional and supported by your dependency management setup.
"@deck.gl/core": "catalog:"


- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Release' step
Uses Step: changesets
uses 'changesets/action' with ref 'v1', not a pinned commit hash
@ciscorn ciscorn force-pushed the refactor-package-overhaul branch 2 times, most recently from 834b804 to f4dada9 Compare June 12, 2025 14:30
@pkg-pr-new
Copy link

pkg-pr-new bot commented Jun 12, 2025

Open in StackBlitz

svelte-maplibre-gl

npm i https://pkg.pr.new/MIERUNE/svelte-maplibre-gl@118

@svelte-maplibre-gl/contour

npm i https://pkg.pr.new/MIERUNE/svelte-maplibre-gl/@svelte-maplibre-gl/contour@118

@svelte-maplibre-gl/deckgl

npm i https://pkg.pr.new/MIERUNE/svelte-maplibre-gl/@svelte-maplibre-gl/deckgl@118

@svelte-maplibre-gl/pmtiles

npm i https://pkg.pr.new/MIERUNE/svelte-maplibre-gl/@svelte-maplibre-gl/pmtiles@118

@svelte-maplibre-gl/terradraw

npm i https://pkg.pr.new/MIERUNE/svelte-maplibre-gl/@svelte-maplibre-gl/terradraw@118

commit: 34e315b

@ciscorn ciscorn force-pushed the refactor-package-overhaul branch 2 times, most recently from 146690f to 6b9caa7 Compare June 12, 2025 23:22
@ciscorn ciscorn force-pushed the refactor-package-overhaul branch from 6b9caa7 to 7d1c2de Compare June 12, 2025 23:32
@ciscorn ciscorn merged commit 82737a8 into main Jun 13, 2025
7 checks passed
@ciscorn ciscorn deleted the refactor-package-overhaul branch June 13, 2025 00:25
ciscorn added a commit that referenced this pull request Jun 13, 2025
ciscorn added a commit that referenced this pull request Jun 13, 2025
ciscorn added a commit that referenced this pull request Jun 13, 2025
ciscorn added a commit that referenced this pull request Jun 13, 2025
ciscorn added a commit that referenced this pull request Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use 'changesets'

2 participants