-
Notifications
You must be signed in to change notification settings - Fork 11
refactor: Package structure overhaul #118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Deploying with
|
| 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 |
There was a problem hiding this 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
Uses Step: changesets
834b804 to
f4dada9
Compare
svelte-maplibre-gl
@svelte-maplibre-gl/contour
@svelte-maplibre-gl/deckgl
@svelte-maplibre-gl/pmtiles
@svelte-maplibre-gl/terradraw
commit: |
146690f to
6b9caa7
Compare
6b9caa7 to
7d1c2de
Compare
svelte-maplibre-glpackage and extensions (@svelte-maplibre-gl/pmtiles,@svelte-maplibre-gl/contour,@svelte-maplibre-gl/deckgl,@svelte-maplibre-gl/terradraw)