From: Eduardo San Martin Morote Date: Tue, 11 Feb 2025 14:28:37 +0000 (+0100) Subject: ci: use v3 too X-Git-Tag: @pinia/nuxt@0.10.0~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8fe07ed2dd510730310a186792250a7f6d327a5d;p=thirdparty%2Fvuejs%2Fpinia.git ci: use v3 too --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5195184a..05d11e78 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ on: - 'packages/docs/**' - 'packages/playground/**' pull_request: - branches: [v2] + branches: [v2, v3] paths-ignore: - 'packages/docs/**' - 'packages/playground/**' diff --git a/.github/workflows/pkg.pr.new.yml b/.github/workflows/pkg.pr.new.yml index e9f0287f..a966c538 100644 --- a/.github/workflows/pkg.pr.new.yml +++ b/.github/workflows/pkg.pr.new.yml @@ -2,7 +2,7 @@ name: Publish Any Commit on: pull_request: - branches: [v2] + branches: [v2, v3] paths-ignore: - 'packages/docs/**' - 'packages/playground/**' diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index c7c1bdc6..b0c42b1e 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -9,7 +9,7 @@ "vuex", "store" ], - "homepage": "https://github.com/vuejs/pinia/tree/v2/packages/nuxt#readme", + "homepage": "https://github.com/vuejs/pinia/tree/v3/packages/nuxt#readme", "bugs": { "url": "https://github.com/vuejs/pinia/issues" }, diff --git a/packages/online-playground/src/Header.vue b/packages/online-playground/src/Header.vue index 50eb5796..3d73b1fe 100644 --- a/packages/online-playground/src/Header.vue +++ b/packages/online-playground/src/Header.vue @@ -114,7 +114,7 @@ function toggleDark() { { if (route.name) { - return `https://github.com/vuejs/pinia/blob/v2/packages/playground/src/views/${String( + return `https://github.com/vuejs/pinia/blob/v3/packages/playground/src/views/${String( route.name )}.vue` } else { - return `https://github.com/vuejs/pinia/blob/v2/packages/playground/src/` + return `https://github.com/vuejs/pinia/blob/v3/packages/playground/src/` } }) diff --git a/packages/testing/package.json b/packages/testing/package.json index 55f3da4c..ae762ab6 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -11,7 +11,7 @@ "mock", "testing" ], - "homepage": "https://github.com/vuejs/pinia/tree/v2/packages/testing#readme", + "homepage": "https://github.com/vuejs/pinia/tree/v3/packages/testing#readme", "bugs": { "url": "https://github.com/vuejs/pinia/issues" }, diff --git a/scripts/release.mjs b/scripts/release.mjs index c11de9ae..e7ddbd24 100644 --- a/scripts/release.mjs +++ b/scripts/release.mjs @@ -46,7 +46,7 @@ Flags: // const preId = // args.preId || // (semver.prerelease(currentVersion) && semver.prerelease(currentVersion)[0]) -const EXPECTED_BRANCH = 'v2' +const EXPECTED_BRANCH = 'v3' // this package will use tags like v1.0.0 while the rest will use the full package name like @pinia/testing@1.0.0 const MAIN_PKG_NAME = 'pinia' // whether the main package is at the root of the mono repo or this is not a mono repo