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: ryoppippi/svelte-preprocess-import-css
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.2.1
Choose a base ref
...
head repository: ryoppippi/svelte-preprocess-import-css
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.0
Choose a head ref
  • 5 commits
  • 5 files changed
  • 1 contributor

Commits on Aug 1, 2024

  1. refactor(tests): extract common code into load function

    The repetitive code for loading and preprocessing Svelte files in
    tests has been extracted into a separate async function named 'load'.
    This makes the test cases cleaner and easier to read.
    ryoppippi committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    2d5b51d View commit details
    Browse the repository at this point in the history
  2. feat: add rename css feature

    This commit introduces a change in the way CSS selectors are extracted.
    Previously, only the keys of the query object were used as filters. Now,
    both keys and values are used, allowing for more precise CSS extraction.
    The values in the query object can now be used to replace the selected
    CSS, providing more flexibility and control over the CSS extraction
    process.
    ryoppippi committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    8a17b1d View commit details
    Browse the repository at this point in the history
  3. feat(tests): Add snapshot test for renaming

    This commit introduces a new snapshot test for the svelte rename
    feature. A new test file 'Rename.svelte' has been added to the
    'test_project' directory. The test asserts the snapshot of the
    processed code against the expected output.
    ryoppippi committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    c4643d1 View commit details
    Browse the repository at this point in the history
  4. feat: Add documentation for renaming style rules

    This commit introduces a new section in the README that explains how to
    rename style rules by query selector. It includes examples of CSS and
    Svelte code, and shows how the code gets converted after renaming.
    ryoppippi committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    f9b0450 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #6 from ryoppippi/feature/rename-css

    feature/rename css
    ryoppippi authored Aug 1, 2024
    Configuration menu
    Copy the full SHA
    ee4f136 View commit details
    Browse the repository at this point in the history
Loading