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: vuepress/core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.0-rc.0
Choose a base ref
...
head repository: vuepress/core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.0-rc.1
Choose a head ref

Commits on Nov 16, 2023

  1. Copy the full SHA
    009501d View commit details

Commits on Nov 29, 2023

  1. Copy the full SHA
    d2d5dce View commit details
  2. build: bump dependencies

    meteorlxy committed Nov 29, 2023
    Copy the full SHA
    4cd54f4 View commit details

Commits on Dec 3, 2023

  1. Copy the full SHA
    8c1b8da View commit details
  2. Copy the full SHA
    1ce755a View commit details
  3. Copy the full SHA
    16e80b1 View commit details

Commits on Dec 6, 2023

  1. build: bump dependencies

    meteorlxy committed Dec 6, 2023
    Copy the full SHA
    5575424 View commit details
  2. chore: clean up files (#1448)

    Co-authored-by: meteorlxy <meteor.lxy@foxmail.com>
    Mister-Hope and meteorlxy authored Dec 6, 2023
    Copy the full SHA
    0cf4a1e View commit details

Commits on Dec 8, 2023

  1. build: bump dependencies

    meteorlxy committed Dec 8, 2023
    Copy the full SHA
    1d24c2a View commit details
  2. feat(markdown): bump to markdown-it 14

    BREAKING CHANGE: bump to markdown-it 14
    meteorlxy committed Dec 8, 2023
    Copy the full SHA
    5abdcdf View commit details

Commits on Dec 10, 2023

  1. build: setup e2e tests

    meteorlxy committed Dec 10, 2023
    Copy the full SHA
    7820399 View commit details
  2. ci: fix script name

    meteorlxy committed Dec 10, 2023
    Copy the full SHA
    b148e5a View commit details
  3. ci: cache cypress binary

    meteorlxy committed Dec 10, 2023
    Copy the full SHA
    43866c9 View commit details
  4. Copy the full SHA
    e2dcb43 View commit details
  5. Copy the full SHA
    b82d48e View commit details

Commits on Dec 12, 2023

  1. feat(markdown): update default anchor permalink function (close #1363) (

    #1452)
    
     BREAKING CHANGE: the default permalink function of markdown-it-anchor has been changed from `ariaHidden` to `headerLink` for better accessibility, which would be a potential breaking change for theme authors
    
    ---------
    
    Co-authored-by: Xinyu Liu <meteor.lxy@foxmail.com>
    nruffing and meteorlxy authored Dec 12, 2023
    Copy the full SHA
    f7d6dde View commit details

Commits on Dec 13, 2023

  1. Copy the full SHA
    75f32e3 View commit details
  2. Copy the full SHA
    0a4cc04 View commit details

Commits on Dec 14, 2023

  1. Copy the full SHA
    2fe35bb View commit details
  2. fix(client): avoid updating existing head tags (close #1268) (#1314)

    Co-authored-by: meteorlxy <meteor.lxy@foxmail.com>
    Mister-Hope and meteorlxy authored Dec 14, 2023
    Copy the full SHA
    bfbab28 View commit details

Commits on Dec 19, 2023

  1. Copy the full SHA
    b8d345d View commit details
  2. build: bump dependencies

    meteorlxy committed Dec 19, 2023
    Copy the full SHA
    6c1c93e View commit details

Commits on Dec 20, 2023

  1. Copy the full SHA
    d0b4062 View commit details
  2. build: fix e2e clean script

    meteorlxy committed Dec 20, 2023
    Copy the full SHA
    1f54a5f View commit details
  3. Copy the full SHA
    634af03 View commit details
  4. Copy the full SHA
    84b5c80 View commit details
  5. build: bump dependencies

    meteorlxy committed Dec 20, 2023
    Copy the full SHA
    d8f15f2 View commit details

Commits on Dec 21, 2023

  1. Copy the full SHA
    66d20fc View commit details

Commits on Dec 27, 2023

  1. feat(vuepress): add more exports and bin shorthands (close #1446) (#1449

    )
    
    BREAKING CHANGE: `vuepress-vite` and `vuepress-webpack` packages have been removed, and the corresponding commands have been moved to `vuepress` package. With `vuepress` command, you need to install bundler package and set bundler in config file manually. With `vuepress-vite` and `vuepress-webpack` command, you still need to install bundler package, but you can omit bundler option in config file.
    
    Co-authored-by: meteorlxy <meteor.lxy@foxmail.com>
    Mister-Hope and meteorlxy authored Dec 27, 2023
    Copy the full SHA
    3a32e0a View commit details
  2. build: bump dependencies

    meteorlxy committed Dec 27, 2023
    Copy the full SHA
    3fa2511 View commit details

Commits on Dec 28, 2023

  1. Copy the full SHA
    9292b11 View commit details
  2. Copy the full SHA
    30dc252 View commit details

Commits on Dec 29, 2023

  1. feat: bump to vue 3.4

    meteorlxy committed Dec 29, 2023
    Copy the full SHA
    7f192ea View commit details
  2. Copy the full SHA
    aeafcfa View commit details
  3. test: enable coverage.all

    meteorlxy committed Dec 29, 2023
    Copy the full SHA
    c5fcb7a View commit details
  4. Copy the full SHA
    f23e6e1 View commit details
  5. Copy the full SHA
    eefa59d View commit details
  6. Copy the full SHA
    3619e0e View commit details
  7. Copy the full SHA
    d0af927 View commit details
  8. Copy the full SHA
    213cbb6 View commit details
  9. Copy the full SHA
    5d34fa6 View commit details
  10. Copy the full SHA
    100ba64 View commit details

Commits on Dec 31, 2023

  1. feat(markdown): add title support for code blocks (close #1277) (#1456)

    Co-authored-by: meteorlxy <meteor.lxy@foxmail.com>
    nruffing and meteorlxy authored Dec 31, 2023
    Copy the full SHA
    706a427 View commit details
  2. Copy the full SHA
    57bb91b View commit details

Commits on Jan 2, 2024

  1. Copy the full SHA
    9baae50 View commit details
  2. chore: tweaks

    meteorlxy committed Jan 2, 2024
    Copy the full SHA
    28f1dce View commit details
  3. Copy the full SHA
    70d0c58 View commit details
  4. Copy the full SHA
    49f6f48 View commit details

Commits on Jan 24, 2024

  1. build: bump dependencies

    meteorlxy committed Jan 24, 2024
    Copy the full SHA
    2195ca6 View commit details
  2. style: format code

    meteorlxy committed Jan 24, 2024
    Copy the full SHA
    1cec73a View commit details
Showing 575 changed files with 5,928 additions and 35,443 deletions.
7 changes: 2 additions & 5 deletions .commitlintrc.cjs
Original file line number Diff line number Diff line change
@@ -5,15 +5,12 @@ const getSubDirectories = (dir) =>
fs
.readdirSync(dir)
.filter((item) => fs.statSync(path.join(dir, item)).isDirectory())
const corePackages = getSubDirectories(path.resolve(__dirname, 'packages'))
const ecosystemPackages = getSubDirectories(
path.resolve(__dirname, 'ecosystem'),
)
const packages = getSubDirectories(path.resolve(__dirname, 'packages'))

module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'scope-enum': [2, 'always', [...corePackages, ...ecosystemPackages]],
'scope-enum': [2, 'always', packages],
'footer-max-line-length': [0],
},
}
17 changes: 2 additions & 15 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
module.exports = {
root: true,
extends: 'vuepress',
globals: {
__VUEPRESS_VERSION__: 'readonly',
__VUEPRESS_BASE__: 'readonly',
__VUEPRESS_DEV__: 'readonly',
__VUEPRESS_SSR__: 'readonly',
__VUE_HMR_RUNTIME__: 'readonly',
__VUE_OPTIONS_API__: 'readonly',
__VUE_PROD_DEVTOOLS__: 'readonly',
// workaround for vue3.3 slots, should be removed once eslint-plugin-vue supports this
defineSlots: 'readonly',
},
overrides: [
{
files: ['*.ts', '*.vue', '*.cts'],
@@ -26,10 +15,8 @@ module.exports = {
},
},
{
files: ['**/client/config.ts'],
rules: {
'vue/match-component-file-name': 'off',
},
files: ['**/e2e/**/*.cy.ts', '**/e2e/cypress/**/*.ts'],
extends: 'plugin:cypress/recommended',
},
{
files: ['**/tests/**/*.ts', 'tsup.config.ts'],
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Question & Discussion
url: https://github.com/vuepress/vuepress-next/discussions
url: https://github.com/vuepress/core/discussions
about: Please ask and answer questions here.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

### Before submitting the PR, please make sure you do the following <!-- (put an "X" next to an item) -->

- [ ] Read the [Contributing Guidelines](https://github.com/vuepress/vuepress-next/blob/main/docs/contributing.md).
- [ ] Read the [Contributing Guidelines](https://github.com/vuepress/core/blob/main/CONTRIBUTING.md).
- [ ] Provide a description in this PR that addresses **what** the PR is solving. If this PR is going to solve an existing issue, please reference the issue (e.g. `close #123`).

### What is the purpose of this pull request? <!-- (put an "X" next to an item) -->
56 changes: 0 additions & 56 deletions .github/workflows/check-docs.yml

This file was deleted.

5 changes: 1 addition & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -4,9 +4,6 @@ on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- '**.md'
pull_request:
branches:
- main
@@ -43,7 +40,7 @@ jobs:
- name: Lint
run: pnpm lint

- name: Test
- name: Unit test
run: pnpm test

check-result:
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ on:
branches:
- main
paths-ignore:
- 'docs/**'
- e2e/**
- '**.md'
pull_request:
branches:
@@ -37,7 +37,7 @@ jobs:
- name: Build source code
run: pnpm build

- name: Test coverage
- name: Unit test coverage
run: pnpm test:cov

- name: Coveralls
46 changes: 0 additions & 46 deletions .github/workflows/docs.yml

This file was deleted.

82 changes: 82 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: e2e

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:
e2e:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: ['18', '20']
base: ['/', '/e2e/']
bundler: ['vite', 'webpack']

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Get cypress cache path
working-directory: ./e2e
shell: bash
run: |
echo "CYPRESS_CACHE_PATH=$(pnpm cypress cache path)" >> $GITHUB_ENV
- name: Setup cypress cache
uses: actions/cache@v3
with:
path: ${{ env.CYPRESS_CACHE_PATH }}
key: cypress-${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
cypress-${{ runner.os }}-node-${{ matrix.node }}-
cypress-${{ runner.os }}-
- name: Install cypress binary
working-directory: ./e2e
run: pnpm cypress install

- name: Build source files
run: pnpm build

- name: E2E dev
working-directory: ./e2e
run: pnpm e2e:ci:dev
env:
E2E_BASE: ${{ matrix.base }}
E2E_BUNDLER: ${{ matrix.bundler }}

- name: E2E build
working-directory: ./e2e
run: pnpm e2e:ci:build
env:
E2E_BASE: ${{ matrix.base }}
E2E_BUNDLER: ${{ matrix.bundler }}

e2e-result:
if: ${{ always() }}
name: e2e result
runs-on: ubuntu-latest
needs: [e2e]
steps:
- if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
run: exit 1
10 changes: 6 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
# VuePress files
docs/.vuepress/.temp/
docs/.vuepress/.cache/
docs/.vuepress/dist/
**/.vuepress/.cache/
**/.vuepress/.temp/
**/.vuepress/dist/

# Dist files
dist/
lib/

# Test temp files
**/__fixtures__/.temp/

# Test coverage files
coverage/

# E2E temp files
e2e/cypress/screenshots/

# Node modules
node_modules/

2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
CHANGELOG.md
pnpm-lock.yaml
*.html
*.md
32 changes: 0 additions & 32 deletions .vscode/launch.json

This file was deleted.

Loading