-
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into install_docs
- Loading branch information
Showing
45 changed files
with
9,394 additions
and
12,665 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
github: [tobiasdiez, chakAs3] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: "\U0001F41E Bug report" | ||
description: Create a report to help us improve Nuxt | ||
labels: ['type: bug'] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: " | ||
### Search for existing issues | ||
Please carefully [search for related issues (open and closed)](https://github.com/nuxt-modules/storybook/issues?q=is%3Aissue) and make sure you're not submitting a duplicate issue. | ||
If you find anything that seems like the same bug, it's much better to comment on an existing thread than create a duplicate. | ||
### Check nightly builds | ||
We are constantly improving the module and it's possible that the issue you're experiencing has already been fixed in the latest nightly build. | ||
Please try to reproduce the issue with the [latest nightly build](https://storybook.nuxtjs.org/getting-started/setup#nightly-builds) and see if it still persists. | ||
" | ||
- type: textarea | ||
id: bug-env | ||
attributes: | ||
label: Environment | ||
description: You can use `npx nuxi info` to fill this section | ||
placeholder: Environment | ||
validations: | ||
required: true | ||
- type: input | ||
id: reproduction | ||
attributes: | ||
label: Reproduction | ||
description: | ||
It is important to provide a minimal reproduction of the issue you're experiencing. This makes it easier to understand the problem and to find a solution. | ||
Issues without a reproduction might be closed immediately. | ||
|
||
The best way to create a minimal reproduction is by modifying the [Showcase example](https://github.com/nuxt-modules/storybook/tree/main/examples/showcase), | ||
and open a PR with the minimal changes that reproduce the issue. | ||
Alternatively, you can use the [StackBlitz template](https://stackblitz.com/github/nuxt-modules/storybook/tree/main/examples/starter) to create a minimal reproduction. | ||
placeholder: URL to the reproduction | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: bug-description | ||
attributes: | ||
label: Describe the bug | ||
description: A clear and concise description of what the bug is. | ||
Please try not to insert an image but copy paste the error text. | ||
placeholder: Bug description | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: additional | ||
attributes: | ||
label: Additional context | ||
description: If applicable, add any other context about the problem here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: 📚 Documentation | ||
url: https://storybook.nuxtjs.org/getting-started/setup | ||
about: Check the documentation for usage and troubleshooting. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: E2E tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
e2e-tests: | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.node }} | ||
cancel-in-progress: true | ||
name: 'Starter' | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# Keep this in sync with the oldest Node.js version supported by the storybook | ||
node: [18, 19, 20] | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
cache: pnpm | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Build packages | ||
run: pnpm package | ||
env: | ||
NODE_ENV: 'production' | ||
|
||
- name: Create Sample Project | ||
shell: pwsh | ||
run: | | ||
$packages=Get-ChildItem -Path packages -Recurse -Filter "*.tgz" | ||
echo "$packages" | ||
New-Item -Path ${{ runner.temp }}/example -ItemType Directory | ||
pnpm dlx nuxt init ${{ runner.temp }}/example --packageManager pnpm | ||
cd ${{ runner.temp }}/example | ||
pnpm dlx storybook@0.0.0-pr-28607-sha-b9bf7d39 init | ||
pnpm add $packages | ||
- name: Build Storybook | ||
run: pnpm build-storybook | ||
working-directory: ${{ runner.temp }}/example |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"eslint.experimental.useFlatConfig": true, | ||
"cSpell.words": ["composables", "dedupe", "nuxt", "ofetch", "Pinia"] | ||
"cSpell.words": ["composables", "dedupe", "nuxt", "nuxtjs", "ofetch", "Pinia"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.