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

feat(build): switch to vite 3 and support clean urls #856

Merged
merged 125 commits into from
Aug 17, 2022
Merged

Commits on Jun 23, 2022

  1. chore: update deps

    brc-dd committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    75dcaa2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c90baae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7573246 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. Configuration menu
    Copy the full SHA
    5dbca1f View commit details
    Browse the repository at this point in the history
  2. chore: don't remove temp dir

    brc-dd committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    3dcb64c View commit details
    Browse the repository at this point in the history
  3. feat: use ESM in SSR

    brc-dd committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    bedd7af View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2022

  1. fix: ESM SSR (#855)

    sapphi-red committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    57d782c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    53a24ad View commit details
    Browse the repository at this point in the history
  3. chore: update deps

    brc-dd committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    dc0e1b3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dddcf15 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7557701 View commit details
    Browse the repository at this point in the history
  6. fix: #412

    brc-dd committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    288dfa4 View commit details
    Browse the repository at this point in the history
  7. chore: update ports

    brc-dd committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    0227e0e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7787bbe View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7ad269d View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2022

  1. Configuration menu
    Copy the full SHA
    8d101ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a59b7e View commit details
    Browse the repository at this point in the history
  3. chore: update deps

    brc-dd committed Jun 26, 2022
    Configuration menu
    Copy the full SHA
    3ab7fe3 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. Configuration menu
    Copy the full SHA
    20450ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2b0df0 View commit details
    Browse the repository at this point in the history
  3. chore: update deps

    brc-dd committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    8d09a8c View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. chore: update deps

    brc-dd committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    d3fbbb9 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. chore: update pnpm

    brc-dd committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    fb0bac8 View commit details
    Browse the repository at this point in the history
  2. chore(ci): update versions

    brc-dd committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    1e82501 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4c17cc7 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2022

  1. chore: update pnpm

    brc-dd committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    95b9a28 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    36a87b6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f5b54d8 View commit details
    Browse the repository at this point in the history
  4. chore: update deps

    brc-dd committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    ee4c9f1 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2022

  1. Configuration menu
    Copy the full SHA
    6adf9b4 View commit details
    Browse the repository at this point in the history
  2. chore: update docsearch

    brc-dd committed Jul 1, 2022
    Configuration menu
    Copy the full SHA
    1d097ce View commit details
    Browse the repository at this point in the history
  3. chore: simplify

    brc-dd committed Jul 1, 2022
    Configuration menu
    Copy the full SHA
    057ae5e View commit details
    Browse the repository at this point in the history
  4. chore: format

    brc-dd committed Jul 1, 2022
    Configuration menu
    Copy the full SHA
    50bb7ba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6155238 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    88a3982 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2022

  1. Configuration menu
    Copy the full SHA
    3702e04 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7b662a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b387aff View commit details
    Browse the repository at this point in the history
  4. chore: lint

    brc-dd committed Jul 2, 2022
    Configuration menu
    Copy the full SHA
    a647bec View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2022

  1. Configuration menu
    Copy the full SHA
    fdb42cf View commit details
    Browse the repository at this point in the history
  2. refactor: remove type casts

    brc-dd committed Jul 3, 2022
    Configuration menu
    Copy the full SHA
    4e4dd55 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fff3af8 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2022

  1. Configuration menu
    Copy the full SHA
    ba9aa72 View commit details
    Browse the repository at this point in the history
  2. refactor: remove @theme aliases

    brc-dd committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    952de91 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    37b89c0 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2022

  1. Configuration menu
    Copy the full SHA
    d6a9968 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c4c141e View commit details
    Browse the repository at this point in the history
  3. fix: wrong tsconfig path

    brc-dd committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    e9788e7 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2022

  1. chore: update vite

    brc-dd committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    2a0ccc2 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2022

  1. feat/clean-urls (#929)

    * clean urls
    
    * Better comment for option
    
    Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
    
    * Remove typing because implicit
    
    Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
    
    * suggestion to simplify check
    
    * clean urls in next/previous and sidebar
    
    * accept suggestion
    
    Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
    
    * accept suggestion
    
    Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
    
    * documentation of option
    
    * nicer without trailing slash
    
    * trailing slash option
    
    * Fixing trailing slash setup
    
    * new options + improved documentation
    
    * feat: add without subfolders option for clean urls
    
    * fix: remove .html from algolia results
    
    * chore: update deps
    
    Co-authored-by: Georges Gomes <georges.gomes@gmail.com>
    brc-dd and georges-gomes committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    56229e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d83e640 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    57e9603 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5d337ca View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2022

  1. Configuration menu
    Copy the full SHA
    4e5d2c4 View commit details
    Browse the repository at this point in the history
  2. chore: update deps

    brc-dd committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    11bfd20 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c7bedfa View commit details
    Browse the repository at this point in the history
  4. chore: update deps

    brc-dd committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    18997b1 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2022

  1. Configuration menu
    Copy the full SHA
    afeb388 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    88ceca1 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2022

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

Commits on Jul 11, 2022

  1. chore: update deps

    brc-dd committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    fbff315 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    88fe9a0 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2022

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

Commits on Jul 13, 2022

  1. Configuration menu
    Copy the full SHA
    506bd13 View commit details
    Browse the repository at this point in the history
  2. chore: update deps

    brc-dd committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    f73f766 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    466a113 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Configuration menu
    Copy the full SHA
    773e2e5 View commit details
    Browse the repository at this point in the history
  2. chore: update pnpm

    brc-dd committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    40730f1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a2c9395 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    608bc71 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0e522e7 View commit details
    Browse the repository at this point in the history
  6. revert: 952de91

    brc-dd committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    5c2854f View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2022

  1. feat: support using config.cjs/cts (#1000)

    Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
    CHOYSEN and brc-dd committed Jul 17, 2022
    Configuration menu
    Copy the full SHA
    66be1de View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2022

  1. Configuration menu
    Copy the full SHA
    0297b00 View commit details
    Browse the repository at this point in the history
  2. chore: update deps

    brc-dd committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    085e09e View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. chore: update vite

    brc-dd committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    2ebeaf6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6039f23 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2022

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

Commits on Jul 21, 2022

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

Commits on Jul 23, 2022

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

    brc-dd committed Jul 23, 2022
    Configuration menu
    Copy the full SHA
    9300f6b View commit details
    Browse the repository at this point in the history
  3. chore: update deps

    brc-dd committed Jul 23, 2022
    Configuration menu
    Copy the full SHA
    0f5a8ec View commit details
    Browse the repository at this point in the history
  4. refactor: remove ts comment

    brc-dd committed Jul 23, 2022
    Configuration menu
    Copy the full SHA
    38c281a View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

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

Commits on Jul 27, 2022

  1. chore: update deps

    brc-dd committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    73ef948 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    96b4af8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1c7b4ae View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

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

Commits on Jul 29, 2022

  1. Configuration menu
    Copy the full SHA
    b12a730 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9a7d30d View commit details
    Browse the repository at this point in the history
  3. chore: update deps

    brc-dd committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    1a73349 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2022

  1. chore: update engines

    brc-dd committed Jul 30, 2022
    Configuration menu
    Copy the full SHA
    6053d83 View commit details
    Browse the repository at this point in the history
  2. chore: update deps

    brc-dd committed Jul 30, 2022
    Configuration menu
    Copy the full SHA
    e925283 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2022

  1. merge

    brc-dd committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    771ca62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9b1d30 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0e8a096 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

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

Commits on Aug 4, 2022

  1. Configuration menu
    Copy the full SHA
    3a19be7 View commit details
    Browse the repository at this point in the history
  2. chore: update deps

    brc-dd committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    e3fdf4b View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

  1. Configuration menu
    Copy the full SHA
    a63346b View commit details
    Browse the repository at this point in the history
  2. chore: update deps

    brc-dd committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    f105a2d View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2022

  1. Configuration menu
    Copy the full SHA
    49e74b8 View commit details
    Browse the repository at this point in the history
  2. chore: cleanup

    brc-dd committed Aug 7, 2022
    Configuration menu
    Copy the full SHA
    53c7484 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bbbda30 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3b6f7aa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ba4f724 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    eab8b87 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2022

  1. chore: remove engines field

    brc-dd committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    afa3aa8 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2022

  1. Configuration menu
    Copy the full SHA
    58174fe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef227d1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    25ef797 View commit details
    Browse the repository at this point in the history
  4. chore: update deps

    brc-dd committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    6504c41 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ef548a9 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2022

  1. chore: update deps

    brc-dd committed Aug 14, 2022
    Configuration menu
    Copy the full SHA
    0469ac6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8499005 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dfa2ae1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1bd1894 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2022

  1. chore: restore vuePath alias

    brc-dd committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    8636218 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ea12c3f View commit details
    Browse the repository at this point in the history
  3. chore: update deps

    brc-dd committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    d874c20 View commit details
    Browse the repository at this point in the history
  4. chore: fix type

    yyx990803 committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    e0c04f9 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. fix: fix build for vite 3 + "type": "module"

    Background: pnpm injects `NODE_PATH` when installing npm script binaries
    in order to simulate flat install structure when running npm scripts.
    This previously made files outside of VitePress to be able to import
    transitive deps (e.g. `vue`), but this breaks when upgrading to Vite 3
    or in esm mode, because:
    
    - "type": "module", aka ESM mode doesn't support `NODE_PATH`, so now
      project files can't resolve `vue` which is a transitive dep.
    
    - Vite 3 now auto-resolves SSR externals, but it requires the
      dep to be resolvable first. Since it can't resovle `vue`, the Rollup
      build will fail.
    
    The fix: detect if `vue` is resolvable from project root's node_modules.
    If not, create a symlink to the version of `vue` from VitePress' own
    deps.
    yyx990803 committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    3b2d90a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a501da View commit details
    Browse the repository at this point in the history
  3. chore: more type fix

    yyx990803 committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    7e919f9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    38f987b View commit details
    Browse the repository at this point in the history