Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vitejs/release-scripts
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.3.1
Choose a base ref
...
head repository: vitejs/release-scripts
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.3.2
Choose a head ref

Commits on Sep 25, 2023

  1. chore(deps): update all non-major dependencies (#33)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 25, 2023
    Copy the full SHA
    2db353c View commit details

Commits on Oct 2, 2023

  1. chore(deps): update all non-major dependencies (#34)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 2, 2023
    Copy the full SHA
    d097f3f View commit details

Commits on Oct 9, 2023

  1. chore(deps): update all non-major dependencies (#35)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 9, 2023
    Copy the full SHA
    8008f49 View commit details

Commits on Oct 16, 2023

  1. chore(deps): update all non-major dependencies (#36)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 16, 2023
    Copy the full SHA
    d424779 View commit details

Commits on Oct 23, 2023

  1. chore(deps): update all non-major dependencies (#37)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 23, 2023
    Copy the full SHA
    3dfb232 View commit details

Commits on Oct 30, 2023

  1. chore(deps): update dependency @types/node to ^18.18.7 (#38)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 30, 2023
    Copy the full SHA
    17af39b View commit details
  2. chore(deps): update actions/setup-node action to v4 (#39)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 30, 2023
    Copy the full SHA
    9012634 View commit details

Commits on Nov 6, 2023

  1. chore(deps): update dependency @types/node to ^18.18.8 (#40)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 6, 2023
    Copy the full SHA
    8ec4ede View commit details
  2. chore(deps): update dependency @types/node to v20 (#41)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 6, 2023
    Copy the full SHA
    e460945 View commit details

Commits on Nov 22, 2023

  1. Copy the full SHA
    7ed2964 View commit details

Commits on Dec 4, 2023

  1. chore(deps): update all non-major dependencies (#42)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: bluwy <bjornlu.dev@gmail.com>
    renovate[bot] and bluwy authored Dec 4, 2023
    Copy the full SHA
    e48838f View commit details

Commits on Jan 15, 2024

  1. Copy the full SHA
    665403f View commit details

Commits on Feb 9, 2024

  1. chore(deps): update all non-major dependencies (#45)

    renovate[bot] authored Feb 9, 2024
    Copy the full SHA
    8b70e72 View commit details

Commits on Feb 12, 2024

  1. chore(deps): update dependency @types/semver to ^7.5.7 (#46)

    renovate[bot] authored Feb 12, 2024
    Copy the full SHA
    982c96d View commit details

Commits on Feb 19, 2024

  1. chore(deps): update dependency @types/node to ^20.11.19 (#47)

    renovate[bot] authored Feb 19, 2024
    Copy the full SHA
    4694f37 View commit details

Commits on Feb 26, 2024

  1. chore(deps): update all non-major dependencies (#48)

    renovate[bot] authored Feb 26, 2024
    Copy the full SHA
    38dc4fd View commit details

Commits on Apr 4, 2024

  1. chore(deps): update all non-major dependencies (#49)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 4, 2024
    Copy the full SHA
    3210577 View commit details

Commits on Apr 8, 2024

  1. chore(deps): update all non-major dependencies (#50)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 8, 2024
    Copy the full SHA
    6aa85f1 View commit details

Commits on Jun 11, 2024

  1. chore(deps): update all non-major dependencies (#51)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: bluwy <bjornlu.dev@gmail.com>
    renovate[bot] and bluwy authored Jun 11, 2024
    Copy the full SHA
    990b85d View commit details

Commits on Jul 15, 2024

  1. chore(deps): update all non-major dependencies (#53)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 15, 2024
    Copy the full SHA
    98689ba View commit details

Commits on Jul 30, 2024

  1. chore(deps): update all non-major dependencies (#54)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 30, 2024
    Copy the full SHA
    8a93890 View commit details
  2. release: v1.3.2

    bluwy committed Jul 30, 2024
    Copy the full SHA
    368370d View commit details
Showing with 688 additions and 373 deletions.
  1. +11 −4 .github/renovate.json5
  2. +2 −2 .github/workflows/ci.yml
  3. +2 −2 .github/workflows/publish.yml
  4. +17 −12 package.json
  5. +652 −349 pnpm-lock.yaml
  6. +4 −4 src/publish.ts
15 changes: 11 additions & 4 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{
extends: ["config:base", "schedule:weekly", "group:allNonMajor"],
labels: ["dependencies"],
rangeStrategy: "bump",
packageRules: [{ depTypeList: ["peerDependencies"], enabled: false }],
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base", "schedule:weekly", "group:allNonMajor"],
"labels": ["dependencies"],
"ignorePaths": ["**/__tests__/**"],
"rangeStrategy": "bump",
"packageRules": [
{
"depTypeList": ["peerDependencies"],
"enabled": false,
},
],
}
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
- run: corepack enable
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
cache: "pnpm"
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -11,11 +11,11 @@ jobs:
environment: Release
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
- run: corepack enable
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: "https://registry.npmjs.org"
29 changes: 17 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vitejs/release-scripts",
"version": "1.3.1",
"version": "1.3.2",
"description": "@vitejs release scripts",
"license": "MIT",
"main": "dist/index.js",
@@ -14,6 +14,10 @@
"import": "./dist/index.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/vitejs/release-scripts.git"
},
"scripts": {
"build": "tnode scripts/build.ts",
"prettier": "pnpm prettier-ci --write",
@@ -24,18 +28,19 @@
"dependencies": {
"execa": "^8.0.1",
"mri": "^1.2.0",
"picocolors": "^1.0.0",
"picocolors": "^1.0.1",
"prompts": "^2.4.2",
"publint": "^0.2.2",
"semver": "^7.5.4"
"publint": "^0.2.9",
"semver": "^7.6.3"
},
"devDependencies": {
"@arnaud-barre/tnode": "^0.19.1",
"@types/node": "^18.17.17",
"@types/prompts": "^2.4.4",
"@types/semver": "^7.5.2",
"esbuild": "^0.19.3",
"prettier": "^3.0.3",
"typescript": "^5.2.2"
}
"@arnaud-barre/tnode": "^0.19.2",
"@types/node": "^20.14.13",
"@types/prompts": "^2.4.9",
"@types/semver": "^7.5.8",
"esbuild": "^0.23.0",
"prettier": "^3.3.3",
"typescript": "^5.5.4"
},
"packageManager": "pnpm@9.6.0"
}
1,001 changes: 652 additions & 349 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/publish.ts
Original file line number Diff line number Diff line change
@@ -37,9 +37,9 @@ export const publish: typeof def = async ({
const releaseTag = version.includes("beta")
? "beta"
: version.includes("alpha")
? "alpha"
: activeVersion && semver.lt(pkg.version, activeVersion)
? "previous"
: undefined;
? "alpha"
: activeVersion && semver.lt(pkg.version, activeVersion)
? "previous"
: undefined;
await publishPackage(pkgDir, releaseTag, provenance, packageManager);
};