这是indexloc提供的服务,不要输入任何密码
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: yamlresume/yamlresume
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.1
Choose a base ref
...
head repository: yamlresume/yamlresume
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.6.0
Choose a head ref
  • 13 commits
  • 62 files changed
  • 1 contributor

Commits on Jul 16, 2025

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

Commits on Jul 20, 2025

  1. feat: aliasing sections with new titles

    Issue: #11
    xiaohanyu committed Jul 20, 2025
    Configuration menu
    Copy the full SHA
    e9b955b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9be8909 View commit details
    Browse the repository at this point in the history
  3. refactor: reposition layout.margins schemas

    The schema are used used by `layout.margins`, so I move them out of
    primitives.ts
    xiaohanyu committed Jul 20, 2025
    Configuration menu
    Copy the full SHA
    66e0295 View commit details
    Browse the repository at this point in the history
  4. feat: support section reordering

    Users could specify `layout.sections.order` if they want to prioritize
    some sections to the front of the final PDF output.
    
    Issue: #12
    xiaohanyu committed Jul 20, 2025
    Configuration menu
    Copy the full SHA
    4841635 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    363830f View commit details
    Browse the repository at this point in the history
  6. feat: tolerate invalid date and fallback to string

    When users are intented to write a customized date that cannot be parsed
    by `Date.parse()`, then we should respect users' intention.
    xiaohanyu committed Jul 20, 2025
    Configuration menu
    Copy the full SHA
    8c72cb3 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2025

  1. docs: update README

    - buymeacoffee links
    - compiler/schema demo
    xiaohanyu committed Jul 21, 2025
    Configuration menu
    Copy the full SHA
    bd5758c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb40283 View commit details
    Browse the repository at this point in the history
  3. refactor: get rid of magic-string thing in prod build

    Originally the build output:
    
    ```
    $ pnpm core build:prod
    
    > @yamlresume/yamlresume@0.5.0 core
    /Users/hanyu/work/yamlresume/yamlresume
    > pnpm --filter @yamlresume/core build\:prod
    
    > @yamlresume/core@0.5.0 build:prod
    /Users/hanyu/work/yamlresume/yamlresume/packages/core
    > tsup --dts --minify --sourcemap --tsconfig tsconfig.prod.json
    
    CLI Building entry: src/index.ts
    CLI Using tsconfig: tsconfig.prod.json
    CLI tsup v8.4.0
    CLI Using tsup config:
    /Users/hanyu/work/yamlresume/yamlresume/packages/core/tsup.config.ts
    CLI Target: esnext
    CLI Cleaning output folder
    ESM Build start
    DTS Build start
    ESM dist/magic-string.es-PGO5ZCT3.js     21.44 KB
    ESM dist/index.js                        99.37 KB
    ESM dist/magic-string.es-PGO5ZCT3.js.map 95.28 KB
    ESM dist/index.js.map                    334.78 KB
    ```
    
    So it seems that rollup/tree-shaking will generate `magic-string-xxx`
    thing in the build output.
    
    A possible reason:
    
    ```
    The issue was that production code was importing nullifySchema from
    utils.ts, which also contained test utilities that imported vitest. This
    caused vitest (and its dependency magic-string) to be included in the
    production bundle. By separating the production schema utilities into
    their own file, we've eliminated this dependency leak.
    ```
    
    This refactor get rid of magic-string thing in the final bundle output.
    xiaohanyu committed Jul 21, 2025
    Configuration menu
    Copy the full SHA
    3bbbf77 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    07de6d4 View commit details
    Browse the repository at this point in the history
  5. chore(release): 0.6.0

    xiaohanyu committed Jul 21, 2025
    Configuration menu
    Copy the full SHA
    ce62d31 View commit details
    Browse the repository at this point in the history
Loading