Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.16.0 #407

Merged
merged 45 commits into from
Nov 27, 2023
Merged

Release 0.16.0 #407

merged 45 commits into from
Nov 27, 2023

Commits on Nov 8, 2023

  1. Enable strict mode

    bryanjtc committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    cdcc12f View commit details
    Browse the repository at this point in the history
  2. Name ci job

    bryanjtc committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    5cbce31 View commit details
    Browse the repository at this point in the history
  3. Add new tests

    bryanjtc committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    3d386a7 View commit details
    Browse the repository at this point in the history
  4. Add new test

    bryanjtc committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    cc15dc7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    44bae0d View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. refactor: Update various files

    - Update test snapshots and test files in the `csf` and `playwright` directories.
    - Update `hooks.ts`, `index.ts`, `transformPlaywright.test.ts`, `transformPlaywright.ts`, `transformPlaywrightJson.test.ts`, `transformPlaywrightJson.ts`, `setup-page.ts`, `test-storybook.ts`, `getCliOptions.test.ts`, `getCliOptions.ts`, `getParsedCliOptions.test.ts`, `getStorybookMain.ts`, `getStorybookMetadata.ts`, `getTestRunnerConfig.test.ts`, `getTestRunnerConfig.ts`, and `tsconfig.json`.
    - These changes were made to improve the codebase and ensure compatibility with the latest dependencies and standards.
    bryanjtc committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    dc692b4 View commit details
    Browse the repository at this point in the history
  2. chore: Update package.json, src/config/jest-playwright.ts, src/csf/tr…

    …ansformCsf.ts, src/playwright/transformPlaywrightJson.ts, and src/typings.d.ts
    
    - Update package.json to include new dependencies or update existing ones.
    - Modify src/config/jest-playwright.ts to configure Jest with Playwright.
    - Refactor src/csf/transformCsf.ts to improve code readability and maintainability.
    - Update src/playwright/transformPlaywrightJson.ts to handle new Playwright JSON format.
    - Update src/typings.d.ts to include new type definitions or modify existing ones.
    bryanjtc committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    ca36a3d View commit details
    Browse the repository at this point in the history
  3. feat(typings): Remove unused __getContext variable

    The __getContext variable was no longer being used in the codebase, so it was removed to improve code cleanliness and maintainability.
    bryanjtc committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    c7b4bed View commit details
    Browse the repository at this point in the history
  4. feat: optimize Storybook configuration and test runner setup

    - Updated the `storyStoreV7` feature in the Storybook configuration to use a more concise expression.
    - Modified the test runner to handle cases where the element handler is null or undefined.
    - Added JSDoc type annotation for the exported Jest configuration.
    bryanjtc committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    351db47 View commit details
    Browse the repository at this point in the history
  5. feat: Add Jest Playwright configuration and test file

    - Added Jest configuration file (jest.config.js) to project root.
    - Created a new test file (jest-playwright.test.ts) in the src/config directory.
    - This commit introduces the necessary setup for running tests using Jest Playwright.
    - The Jest configuration file allows customization of Jest's behavior.
    - The new test file will be used for writing tests using the Jest Playwright library.
    - This addition enhances the project's testing capabilities and enables UI testing with Playwright.
    bryanjtc committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    d8f698c View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2023

  1. test: add hooks test file

    This commit adds a new test file for testing the hooks functionality in Playwright.
    bryanjtc committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    8b3c664 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8247d70 View commit details
    Browse the repository at this point in the history
  3. refactor: Update getStorybookMain utility functions

    - Refactored getStorybookMain.test.ts and getStorybookMain.ts files.
    - Made improvements to the utility functions for better performance and readability.
    bryanjtc committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    1703067 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. Configuration menu
    Copy the full SHA
    50cbec2 View commit details
    Browse the repository at this point in the history
  2. Fix tests

    bryanjtc committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    a34d9e8 View commit details
    Browse the repository at this point in the history
  3. Fix types

    bryanjtc committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    1e3e564 View commit details
    Browse the repository at this point in the history
  4. refactor(transformCsf): Simplify makePlayTest function and remove unn…

    …ecessary conditional
    
    The makePlayTest function in the transformCsf file has been simplified to remove an unnecessary conditional statement. The metaOrStoryPlay parameter is now optional, indicated by the use of the "?" symbol. This change was made to improve code readability and reduce complexity.
    bryanjtc committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    de631e4 View commit details
    Browse the repository at this point in the history
  5. feat(playwright): add optional tags property to TestRunnerConfig

    The TestRunnerConfig interface in the hooks.ts file now includes an optional tags property. This property allows users to include, exclude, or skip specific tags when running tests. The tags are defined as annotations in the story or meta. This change provides more flexibility and control over test execution based on specific tags.
    bryanjtc committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    7fa52e5 View commit details
    Browse the repository at this point in the history
  6. build: Update tsup.config.ts

    - Updated the entry configuration in tsup.config.ts to include all JavaScript and TypeScript files in the src directory, excluding declaration files and test files.
    - This change was made to ensure that only the necessary source files are included in the build process, improving build performance and reducing bundle size.
    bryanjtc committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    f80f870 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e2afb66 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e73819e View commit details
    Browse the repository at this point in the history
  9. refactor(playwright): Simplify logic in transformPlaywrightJson.ts

    Simplified the logic in the `transformPlaywrightJson.ts` file to improve readability and maintainability.
    
    - Replaced the double negation with a single negation in the `makeTest` function.
    - Made the `tags` property optional in the `V4Entry` type.
    - Added a default value of `false` for the `metaOrStoryPlay` parameter in the `makeTest` function.
    - Removed the unused import of `TestRunnerConfig` in `test-storybook.ts`.
    bryanjtc committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    1cd32e7 View commit details
    Browse the repository at this point in the history
  10. refactor: Refactor transformPlaywrightJson module and its test file

    This commit includes changes to the transformPlaywrightJson module and its corresponding test file. The purpose of these changes is to refactor the code and improve its overall structure and readability.
    bryanjtc committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    ecc0d29 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. Configuration menu
    Copy the full SHA
    d58470d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef775c1 View commit details
    Browse the repository at this point in the history
  3. fix

    yannbf committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    96954de View commit details
    Browse the repository at this point in the history
  4. fix tests gh action

    yannbf committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    94f833f View commit details
    Browse the repository at this point in the history
  5. fix

    yannbf committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    1843bee View commit details
    Browse the repository at this point in the history
  6. Merge pull request #378 from storybookjs/enable-strict-mode

    Refactor: Improve internal code
    yannbf committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    85017e5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    be7b73d View commit details
    Browse the repository at this point in the history
  8. fix test

    yannbf committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    049359f View commit details
    Browse the repository at this point in the history
  9. Merge pull request #383 from storybookjs/improve-types

    Improve type safety and code quality
    yannbf committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    f4496c6 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. Configuration menu
    Copy the full SHA
    ae30b04 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Adds feedback form

    jonniebigodes committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    ca15e15 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #400 from kemuridama/bump_jest-playwright-preset_f…

    …rom_v3.0.1_to_v4.0.0
    
    Bump `jest-playwright-preset` from `v3.0.1` to `v4.0.0`
    yannbf committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    4087d3d View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

  1. Merge pull request #402 from storybookjs/docs_add_feedback_form

    Docs: Adds feedback form to migration documentation
    yannbf committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    40aaa6e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aaf882b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #403 from storybookjs/refactor/extract-setup-page-…

    …scripts
    
    Refactor: Extract the setup page scripts into a separate file
    yannbf committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    3e6681c View commit details
    Browse the repository at this point in the history
  4. fix sync issues between tests

    yannbf committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    9830af5 View commit details
    Browse the repository at this point in the history
  5. fix lint

    yannbf committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    6dbd144 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #404 from storybookjs/fix/finally-fix-the-sync-issue

    Fix sync issues between tests
    yannbf committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    5db9536 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. Configuration menu
    Copy the full SHA
    399dc2c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #405 from storybookjs/fix/filter-duplicated-error-…

    …messages
    
    Filter duplicated error messages in browser logs
    yannbf committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    ad3d401 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dd7eb64 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #406 from storybookjs/feat/log-level

    Introduce logLevel configuration
    yannbf committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    99b800b View commit details
    Browse the repository at this point in the history