Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/vector-style-compiler-ide-metadata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
4 changes: 2 additions & 2 deletions docs/development/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ CI verifies pending changesets with `pnpm changeset status --since=main`.
the [release workflow](https://github.com/open-mapsight/mapsight/blob/main/.github/workflows/ci.yml) (
`changesets/action`):

1. Opens or updates a “Version Packages” PR (`pnpm run version-packages`: version bumps, changelogs, and refreshed
starter `@mapsight/*` pins), or
1. Opens or updates a “Version Packages” PR (`pnpm run version-packages`: version bumps, changelogs, refreshed
starter `@mapsight/*` pins, and regenerated vector-style-compiler IDE metadata), or
2. When that PR merges, runs `pnpm run release` (`turbo build` + `changeset publish`) to publish to npm (OIDC — no
manual `npm publish` from package directories).

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"typecheck:scripts:root": "tsc --noEmit -p scripts/tsconfig.json",
"typecheck:scripts:starters": "run-s sync:workspace-mapsight typecheck:scripts:starters:tsc",
"typecheck:scripts:starters:tsc": "tsc --noEmit -p starters/tsconfig.json",
"version-packages": "changeset version && pnpm run sync:starter-pins",
"version-packages": "changeset version && pnpm run sync:starter-pins && pnpm --filter @mapsight/vector-style-compiler generate:ide-metadata",
"watch": "turbo watch watch",
"worktrees:stale": "node scripts/list-stale-worktrees.mts"
}
Expand Down
6 changes: 4 additions & 2 deletions packages/vector-style-compiler/docs/IDE_SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,10 @@ pnpm --filter @mapsight/vector-style-compiler generate:ide-metadata
```

The generator creates both editor metadata formats from the same property list.
`pnpm --filter @mapsight/vector-style-compiler build` also regenerates and
copies the files into `dist/`.
Web Types embed the package version from `package.json`, so
`pnpm run version-packages` regenerates this metadata after Changesets bumps
versions. `pnpm --filter @mapsight/vector-style-compiler build` also regenerates
and copies the files into `dist/`.

## Current Limits

Expand Down
Loading