Skip to content

Commit 50cd3d3

Browse files
feat: migrate off vuepress to vitepress (runatlantis#4515)
Signed-off-by: Rui Chen <[email protected]> Co-authored-by: PePe Amengual <[email protected]>
1 parent a630646 commit 50cd3d3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1175
-4833
lines changed

.github/labeler.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ provider/gitlab:
4040

4141
website:
4242
- changed-files:
43-
- any-glob-to-any-file: 'runatlantis.io/.vuepress/**/*'
43+
- any-glob-to-any-file: 'runatlantis.io/.vitepress/**/*'
4444
- any-glob-to-any-file: 'package.json'
4545
- any-glob-to-any-file: 'pnpm-lock.yaml'

.github/workflows/website.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
pnpm website:build
6666
6767
# start http-server for integration testing
68-
npx http-server runatlantis.io/.vuepress/dist &
68+
npx http-server runatlantis.io/.vitepress/dist &
6969
7070
- name: Run Playwright E2E tests
7171
run: |

.gitignore

+7-5
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ tmp-CHANGELOG.md
3030
# draw.io backup files
3131
*.bkp
3232

33-
# vuepress
34-
**/.vuepress/*
35-
!runatlantis.io/.vuepress/config.*
36-
!runatlantis.io/.vuepress/navbar.*
37-
!runatlantis.io/.vuepress/sidebar.*
33+
# VitePress build output & cache directory
34+
**/.vitepress/cache
35+
**/.vitepress/dist
36+
**/.vitepress/config.ts.timestamp-*
37+
38+
# playwright
39+
test-results/

.tool-versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pnpm 8.15.8
1+
pnpm 9.1.0

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Atlantis <!-- omit in toc -->
22

33
[![Latest Release](https://img.shields.io/github/release/runatlantis/atlantis.svg)](https://github.com/runatlantis/atlantis/releases/latest)
4-
[![SuperDopeBadge](./runatlantis.io/.vuepress/public/hightower-super-dope.svg)](https://twitter.com/kelseyhightower/status/893260922222813184)
4+
[![SuperDopeBadge](./runatlantis.io/.vitepress/public/hightower-super-dope.svg)](https://twitter.com/kelseyhightower/status/893260922222813184)
55
[![Go Report Card](https://goreportcard.com/badge/github.com/runatlantis/atlantis)](https://goreportcard.com/report/github.com/runatlantis/atlantis)
66
[![Go Reference](https://pkg.go.dev/badge/github.com/runatlantis/atlantis.svg)](https://pkg.go.dev/github.com/runatlantis/atlantis)
77
[![codecov](https://codecov.io/gh/runatlantis/atlantis/branch/main/graph/badge.svg)](https://codecov.io/gh/runatlantis/atlantis)
88
[![CircleCI](https://circleci.com/gh/runatlantis/atlantis/tree/main.svg?style=shield)](https://circleci.com/gh/runatlantis/atlantis/tree/main)
99
[![Slack](https://img.shields.io/badge/Join-Atlantis%20Community%20Slack-red)](https://join.slack.com/t/atlantis-community/shared_invite/zt-9xlxtxtc-CUSKB1ATt_sQy6um~LDPNw)
1010

1111
<p align="center">
12-
<img src="./runatlantis.io/.vuepress/public/hero.png" alt="Atlantis Logo"/><br><br>
12+
<img src="./runatlantis.io/.vitepress/public/hero.png" alt="Atlantis Logo"/><br><br>
1313
<b>Terraform Pull Request Automation</b>
1414
</p>
1515

netlify.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Netlify Config, https://www.netlify.com/docs/netlify-toml-reference/
22
[build]
33
base = "/"
4-
publish = "runatlantis.io/.vuepress/dist/"
4+
publish = "runatlantis.io/.vitepress/dist/"
55
command = "pnpm website:build"
66

77
[[redirects]]

package.json

+6-11
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
{
22
"license": "Apache-2.0",
3+
"type": "module",
34
"devDependencies": {
45
"@playwright/test": "^1.44.0",
5-
"@vuepress/bundler-webpack": "2.0.0-rc.9",
6-
"@vuepress/plugin-docsearch": "2.0.0-rc.21",
7-
"@vuepress/plugin-google-analytics": "2.0.0-rc.21",
8-
"@vuepress/plugin-sitemap": "2.0.0-rc.21",
9-
"@vuepress/theme-default": "2.0.0-rc.21",
10-
"@vuepress/utils": "2.0.0-rc.9",
11-
"sass-loader": "14.2.1",
12-
"vue": "3.4.27",
13-
"vuepress": "2.0.0-rc.9"
6+
"@types/node": "^20.12.10",
7+
"sass": "^1.77.0",
8+
"vitepress": "^1.1.4"
149
},
1510
"scripts": {
16-
"website:dev": "vuepress dev --host localhost runatlantis.io",
17-
"website:build": "NODE_OPTIONS=--openssl-legacy-provider vuepress build runatlantis.io",
11+
"website:dev": "vitepress dev --host localhost --port 8080 runatlantis.io",
12+
"website:build": "vitepress build runatlantis.io",
1813
"e2e": "playwright test"
1914
}
2015
}
File renamed without changes.

0 commit comments

Comments
 (0)