Skip to content

Commit

Permalink
chore: fix release script (#681)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez authored Jul 10, 2024
1 parent 683f391 commit 21a99b1
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 115 deletions.
103 changes: 103 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,106 @@
## v7.0.0

[compare changes](https://github.com/nuxt-modules/storybook/compare/v7.0.0-alpha.0...v7.0.0)

## v0.2.9

[compare changes](https://github.com/nuxt-modules/storybook/compare/v0.2.8...v0.2.9)

### 🩹 Fixes

- Create nuxt instance more reliable ([#619](https://github.com/nuxt-modules/storybook/pull/619))
- Update file extensions for generated vite configs to use .json instead of .js ([#663](https://github.com/nuxt-modules/storybook/pull/663))
- Correctly provide Nuxt runtime config in storybook ([#664](https://github.com/nuxt-modules/storybook/pull/664))
- **deps:** Update storybook packages to ^8.1.11 ([#677](https://github.com/nuxt-modules/storybook/pull/677))

### 📖 Documentation

- Migrate to Nuxt UI Pro ([#668](https://github.com/nuxt-modules/storybook/pull/668))

### 🏡 Chore

- Add release script ([#655](https://github.com/nuxt-modules/storybook/pull/655))
- Move nuxt image test to showcase example ([#615](https://github.com/nuxt-modules/storybook/pull/615))
- Move router tests to showcase example ([#621](https://github.com/nuxt-modules/storybook/pull/621))
- Move nuxt link test to showcase example ([#618](https://github.com/nuxt-modules/storybook/pull/618))
- Move pinia tests to showcase example ([#616](https://github.com/nuxt-modules/storybook/pull/616))
- Remove old playground ([#622](https://github.com/nuxt-modules/storybook/pull/622))
- Update nuxt studio dependency to latest stable version ([#675](https://github.com/nuxt-modules/storybook/pull/675))
- Update renovate config to always bump storybook dependencies ([#676](https://github.com/nuxt-modules/storybook/pull/676))
- Disable shameful hoisting and improve dependency declarations ([#580](https://github.com/nuxt-modules/storybook/pull/580))

### ❤️ Contributors

- Tobias Diez <code@tobiasdiez.de>

## v0.2.8

[compare changes](https://github.com/nuxt-modules/storybook/compare/v8.1.1...v0.2.8)

### 🚀 Enhancements

- Start storybook in same process as dev server ([#592](https://github.com/nuxt-modules/storybook/pull/592))
- Declare module incompatibility for webpack ([#653](https://github.com/nuxt-modules/storybook/pull/653))

### 🩹 Fixes

- Update all non-major dependencies and fix "The entry point "vue" cannot be marked as external" error with nuxt 3.12 ([#634](https://github.com/nuxt-modules/storybook/pull/634))
- Extend storybook config types from vue3-vite framework ([#649](https://github.com/nuxt-modules/storybook/pull/649))

### 🏡 Chore

- Fix linter ([#644](https://github.com/nuxt-modules/storybook/pull/644))
- Move custom component test to showcase example ([#617](https://github.com/nuxt-modules/storybook/pull/617))
- Add shortcuts to start dev server for examples ([#646](https://github.com/nuxt-modules/storybook/pull/646))
- Indicate compatibility with new v4 major ([#645](https://github.com/nuxt-modules/storybook/pull/645))
- Move nuxt module to packages directory ([#654](https://github.com/nuxt-modules/storybook/pull/654))

### ❤️ Contributors

- Tobias Diez <code@tobiasdiez.de>
- Ryan Leckey ([@mehcode](http://github.com/mehcode))
- Daniel Roe ([@danielroe](http://github.com/danielroe))

## v0.2.6

[compare changes](https://github.com/storybook-vue/storybook-nuxt/compare/v0.2.6-alpha.0...v0.2.6)

## v0.2.1

[compare changes](https://github.com/storybook-vue/storybook-nuxt/compare/v0.2.1-alpha.1...v0.2.1)

## v0.2.0

[compare changes](https://github.com/storybook-vue/storybook-nuxt/compare/v0.2.1-alpha.0...v0.2.0)

## v0.2.0

[compare changes](https://github.com/storybook-vue/storybook-nuxt/compare/v0.2.0-alpha.4...v0.2.0)

## v0.1.9

[compare changes](https://github.com/storybook-vue/storybook-nuxt/compare/v0.1.9-alpha.0...v0.1.9)

## v0.1.8

[compare changes](https://github.com/storybook-vue/storybook-nuxt/compare/v0.1.8-alpha.0...v0.1.8)

### 📦 Build

- Storybook-static,still have nuxt inst issue ([ac15e16](https://github.com/storybook-vue/storybook-nuxt/commit/ac15e16))

### ❤️ Contributors

- ChakAs3 ([@chakAs3](http://github.com/chakAs3))

## v0.1.7

[compare changes](https://github.com/storybook-vue/storybook-nuxt/compare/v0.1.7-alpha.0...v0.1.7)

## v0.1.4

[compare changes](https://github.com/storybook-vue/storybook-nuxt/compare/v0.1.3...v0.1.4)

## v0.1.3

[compare changes](https://github.com/storybook-vue/storybook-nuxt/compare/v0.1.3-alpha.0...v0.1.3)
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"changelogen": "^0.5.5",
"chromatic": "^11.3.0",
"eslint": "^9.0.0",
"jiti": "^1.21.6",
"jsdom": "^24.0.0",
"nuxt": "^3.11.1",
"prettier": "^3.2.5",
Expand Down
104 changes: 0 additions & 104 deletions packages/storybook-addon/CHANGELOG.md

This file was deleted.

6 changes: 2 additions & 4 deletions packages/storybook-addon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@
"dev:prepare": "unbuild --stub",
"test": "vitest run",
"dev": "unbuild",
"prepack": "unbuild",
"release": "pnpm changelogen --release --push && pnpm publish"
"prepack": "unbuild"
},
"peerDependencies": {
"@vitejs/plugin-vue": "^5.0.4",
"nuxt": "^3.6 || ^3.7 || ^3.8",
"vite": "^3.0.0 || ^4.0.0 || ^5.0.0",
"vue": "^3.0.0"
Expand All @@ -85,8 +85,6 @@
"@storybook/types": "^8.1.11",
"@types/json-stable-stringify": "^1.0.36",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^4.0.0",
"changelogen": "^0.5.5",
"typescript": "^5.4.3",
"unbuild": "^2.0.0",
"vite": "^5.2.2"
Expand Down
9 changes: 3 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion prepare-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ async function writeChangelog(changelog: string) {
}

function checkGitBranch() {
const isDirtyGit = !!execSync('git status --porcelain')
const isDirtyGit = execSync('git status --porcelain').toString().trim()
if (isDirtyGit) {
consola.error(`Git repo isn't clean.`)
process.exit(1)
Expand Down

0 comments on commit 21a99b1

Please sign in to comment.