Skip to content

Commit

Permalink
feat: migrate off vuepress to vitepress (#4515)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
Co-authored-by: PePe Amengual <[email protected]>
  • Loading branch information
chenrui333 and jamengual authored May 14, 2024
1 parent a630646 commit 50cd3d3
Show file tree
Hide file tree
Showing 56 changed files with 1,175 additions and 4,833 deletions.
2 changes: 1 addition & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ provider/gitlab:

website:
- changed-files:
- any-glob-to-any-file: 'runatlantis.io/.vuepress/**/*'
- any-glob-to-any-file: 'runatlantis.io/.vitepress/**/*'
- any-glob-to-any-file: 'package.json'
- any-glob-to-any-file: 'pnpm-lock.yaml'
2 changes: 1 addition & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
pnpm website:build
# start http-server for integration testing
npx http-server runatlantis.io/.vuepress/dist &
npx http-server runatlantis.io/.vitepress/dist &
- name: Run Playwright E2E tests
run: |
Expand Down
12 changes: 7 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ tmp-CHANGELOG.md
# draw.io backup files
*.bkp

# vuepress
**/.vuepress/*
!runatlantis.io/.vuepress/config.*
!runatlantis.io/.vuepress/navbar.*
!runatlantis.io/.vuepress/sidebar.*
# VitePress build output & cache directory
**/.vitepress/cache
**/.vitepress/dist
**/.vitepress/config.ts.timestamp-*

# playwright
test-results/
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pnpm 8.15.8
pnpm 9.1.0
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Atlantis <!-- omit in toc -->

[![Latest Release](https://img.shields.io/github/release/runatlantis/atlantis.svg)](https://github.com/runatlantis/atlantis/releases/latest)
[![SuperDopeBadge](./runatlantis.io/.vuepress/public/hightower-super-dope.svg)](https://twitter.com/kelseyhightower/status/893260922222813184)
[![SuperDopeBadge](./runatlantis.io/.vitepress/public/hightower-super-dope.svg)](https://twitter.com/kelseyhightower/status/893260922222813184)
[![Go Report Card](https://goreportcard.com/badge/github.com/runatlantis/atlantis)](https://goreportcard.com/report/github.com/runatlantis/atlantis)
[![Go Reference](https://pkg.go.dev/badge/github.com/runatlantis/atlantis.svg)](https://pkg.go.dev/github.com/runatlantis/atlantis)
[![codecov](https://codecov.io/gh/runatlantis/atlantis/branch/main/graph/badge.svg)](https://codecov.io/gh/runatlantis/atlantis)
[![CircleCI](https://circleci.com/gh/runatlantis/atlantis/tree/main.svg?style=shield)](https://circleci.com/gh/runatlantis/atlantis/tree/main)
[![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)

<p align="center">
<img src="./runatlantis.io/.vuepress/public/hero.png" alt="Atlantis Logo"/><br><br>
<img src="./runatlantis.io/.vitepress/public/hero.png" alt="Atlantis Logo"/><br><br>
<b>Terraform Pull Request Automation</b>
</p>

Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Netlify Config, https://www.netlify.com/docs/netlify-toml-reference/
[build]
base = "/"
publish = "runatlantis.io/.vuepress/dist/"
publish = "runatlantis.io/.vitepress/dist/"
command = "pnpm website:build"

[[redirects]]
Expand Down
17 changes: 6 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
{
"license": "Apache-2.0",
"type": "module",
"devDependencies": {
"@playwright/test": "^1.44.0",
"@vuepress/bundler-webpack": "2.0.0-rc.9",
"@vuepress/plugin-docsearch": "2.0.0-rc.21",
"@vuepress/plugin-google-analytics": "2.0.0-rc.21",
"@vuepress/plugin-sitemap": "2.0.0-rc.21",
"@vuepress/theme-default": "2.0.0-rc.21",
"@vuepress/utils": "2.0.0-rc.9",
"sass-loader": "14.2.1",
"vue": "3.4.27",
"vuepress": "2.0.0-rc.9"
"@types/node": "^20.12.10",
"sass": "^1.77.0",
"vitepress": "^1.1.4"
},
"scripts": {
"website:dev": "vuepress dev --host localhost runatlantis.io",
"website:build": "NODE_OPTIONS=--openssl-legacy-provider vuepress build runatlantis.io",
"website:dev": "vitepress dev --host localhost --port 8080 runatlantis.io",
"website:build": "vitepress build runatlantis.io",
"e2e": "playwright test"
}
}
File renamed without changes.
Loading

0 comments on commit 50cd3d3

Please sign in to comment.