From b6a9dd91db957bb6dd1c71b225706dc183b18522 Mon Sep 17 00:00:00 2001 From: Mike Pirog Date: Tue, 23 Jan 2024 09:25:47 -0500 Subject: [PATCH] DEPRECATION WARNING (#64) --- .github/ISSUE_TEMPLATE/bug_report.md | 5 - .github/ISSUE_TEMPLATE/custom.md | 5 - .github/ISSUE_TEMPLATE/feature_request.md | 5 - .github/workflows/release.yml | 216 ---------------------- README.md | 4 + docs/.vuepress/config.js | 5 + 6 files changed, 9 insertions(+), 231 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 .github/ISSUE_TEMPLATE/custom.md delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md delete mode 100644 .github/workflows/release.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index c3d3326..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -labels: bug ---- diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md deleted file mode 100644 index fd01fa4..0000000 --- a/.github/ISSUE_TEMPLATE/custom.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -name: Other tasks -about: Basically everything else -labels: misc ---- diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index af8af83..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -labels: feature ---- diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 4422fc4..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,216 +0,0 @@ -name: Publish to NPM and auto deploy to dependents - -on: - release: - types: - - published - -jobs: - deploy: - runs-on: ${{ matrix.os }} - env: - TERM: xterm - PRERELEASE_TAG: edge - strategy: - matrix: - os: - - ubuntu-20.04 - node-version: - - '16' - # Install deps and cache - steps: - - name: Checkout code - uses: actions/checkout@v3 - - name: Install node ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - registry-url: https://registry.npmjs.org - cache: yarn - - name: Install Yarn dependencies - run: yarn install --prefer-offline --frozen-lockfile - - # Let's do tests rq just to make sure we dont push something that is fundamentally broken - - name: Lint code - run: yarn lint - - name: Run unit tests - run: yarn test - - # Deploy to NPM - - name: Prepare release - uses: lando/prepare-release-action@v2 - - name: Deploy release to npm - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_DEPLOY_TOKEN}} - run: | - if [ "${{ github.event.release.prerelease }}" == "false" ]; then - npm publish --access public --dry-run - npm publish --access public - echo "::notice title=Published ${{ github.ref_name }} to @${{ github.repository }}::This is a stable release published to the default 'latest' npm tag" - else - npm publish --access public --tag ${{ env.PRERELEASE_TAG }} --dry-run - npm publish --access public --tag ${{ env.PRERELEASE_TAG }} - echo "::notice title=Published ${{ github.ref_name }} to @${{ github.repository }}@${{ env.PRERELEASE_TAG }}::This is a pre-release published to the '${{ env.PRERELEASE_TAG }}' npm tag" - fi - - auto-deploy: - runs-on: ${{ matrix.os }} - needs: deploy - env: - TERM: xterm - strategy: - fail-fast: false - matrix: - os: - - ubuntu-20.04 - node-version: - - '16' - auto-deploy-repos: - - name: lando/acquia - dirs: ./ - - name: lando/apache - dirs: ./ - - name: lando/backdrop - dirs: ./ - - name: lando/cli - dirs: ./ - - name: lando/compose - dirs: ./ - - name: lando/core - dirs: ./ - - name: lando/core-next - dirs: ./ - - name: lando/docs - dirs: ./ - - name: lando/dotnet - dirs: ./ - - name: lando/drupal - dirs: ./ - - name: lando/elasticsearch - dirs: ./ - - name: lando/go - dirs: ./ - - name: lando/joomla - dirs: ./ - - name: lando/lagoon - dirs: ./ - - name: lando/lamp - dirs: ./ - - name: lando/laravel - dirs: ./ - - name: lando/lemp - dirs: ./ - - name: lando/mailhog - dirs: ./ - - name: lando/mariadb - dirs: ./ - - name: lando/mean - dirs: ./ - - name: lando/memcached - dirs: ./ - - name: lando/mongo - dirs: ./ - - name: lando/mssql - dirs: ./ - - name: lando/mysql - dirs: ./ - - name: lando/nginx - dirs: ./ - - name: lando/node - dirs: ./ - - name: lando/pantheon - dirs: ./ - - name: lando/php - dirs: ./ - - name: lando/phpmyadmin - dirs: ./ - - name: lando/platformsh - dirs: ./ - - name: lando/postgres - dirs: ./ - - name: lando/python - dirs: ./ - - name: lando/redis - dirs: ./ - - name: lando/ruby - dirs: ./ - - name: lando/symfony - dirs: ./ - - name: lando/tomcat - dirs: ./ - - name: lando/solr - dirs: ./ - - name: lando/varnish - dirs: ./ - - name: lando/wordpress - dirs: ./ - steps: - # Install deps and cache - # NOTE that we use ref: main because we need to get the code that was updated from the prepare-release-action - - name: Checkout code - uses: actions/checkout@v3 - with: - ref: main - - name: Install node ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - registry-url: https://registry.npmjs.org - cache: yarn - - name: Install Yarn dependencies - run: yarn install --prefer-offline --frozen-lockfile - - # Auto deploy to everything else - - name: Auto deploy to ${{ matrix.auto-deploy-repos.name }} - uses: lando/auto-deploy-action@v2 - with: - branch: main - slug: ${{ matrix.auto-deploy-repos.name }} - token: ${{ secrets.PIROG_TOKEN }} - pr: false - dirs: ${{ matrix.auto-deploy-repos.dirs }} - - pr-deploy: - runs-on: ${{ matrix.os }} - needs: deploy - env: - TERM: xterm - strategy: - fail-fast: false - matrix: - os: - - ubuntu-20.04 - node-version: - - '16' - pr-deploy-repos: - - name: lando/blog - dirs: ./ - - name: lando/events - dirs: ./ - - name: lando/website - dirs: ./ - - steps: - # Install deps and cache - # NOTE that we use ref: main because we need to get the code that was updated from the prepare-release-action - - name: Checkout code - uses: actions/checkout@v3 - with: - ref: main - - name: Install node ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - registry-url: https://registry.npmjs.org - cache: yarn - - name: Install Yarn dependencies - run: yarn install --prefer-offline --frozen-lockfile - - # Auto deploy to everything else - - name: PR deploy to ${{ matrix.auto-deploy-repos.name }} - uses: lando/auto-deploy-action@v2 - with: - slug: ${{ matrix.pr-deploy-repos.name }} - token: ${{ secrets.PIROG_TOKEN }} - pr: true - dirs: ${{ matrix.pr-deploy-repos.dirs }} diff --git a/README.md b/README.md index 4bbf6b7..9f234d7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # VuePress 2 Default Theme + +## DEPRECATED! + +**[VitePress](https://vitepress.dev) has gained considerable traction since we first started working on this and appears to be the winner vs VuePress2. As a consequence we have switched over to VitePress and will no longer be maintaining this theme. We recommend you do the same. If you are interested in similar-ish features for VitePress we have [a theme for that](https://vitepress-theme-default-plus.lando.dev/) as well.** + This extends the [default VuePress 2 theme](https://v2.vuepress.vuejs.org/reference/default-theme/config.html#basic-config) with some extra power and features such as: * Easily distributable default config sets and shared navbar items diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 086b0d3..6ce1c54 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -26,6 +26,11 @@ export default defineUserConfig({ docsBranch: 'main', repo: 'lando/vuepress-theme-default-plus', + alert: { + content: 'VitePress won. This theme is now DEPRECATED. Switch to our VitePress theme.', + closeable: false, + }, + // THEME CONFIG // Use automatic metatag generation autometa: {