From b6f1231e611252975ab02af849645739041acfd4 Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Tue, 13 Jun 2023 16:58:27 +0800 Subject: Automatically bump example deps versions on release (#195) --- .changeset/config.json | 2 +- .npmrc | 2 ++ pnpm-lock.yaml | 9 +++++++++ pnpm-workspace.yaml | 1 + 4 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .npmrc diff --git a/.changeset/config.json b/.changeset/config.json index dc750e1b..6cfedb43 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -9,5 +9,5 @@ "access": "public", "baseBranch": "main", "updateInternalDependencies": "patch", - "ignore": ["starlight-docs"] + "ignore": ["starlight-docs", "@example/*"] } diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..f4c92139 --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +prefer-workspace-packages=true +link-workspace-packages=true diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fc7803f1..6a006dd0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -51,6 +51,15 @@ importers: specifier: ^4.1.2 version: 4.1.2 + examples/basics: + dependencies: + '@astrojs/starlight': + specifier: ^0.1.0 + version: link:../../packages/starlight + astro: + specifier: ^2.5.0 + version: 2.5.0(@types/node@18.15.11) + packages/starlight: dependencies: '@astrojs/mdx': diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index e1dad60c..bf7d3781 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,4 @@ packages: - 'packages/**/*' + - 'examples/**/*' - 'docs' -- cgit