Skip to content

Commit

Permalink
Reboot (#1)
Browse files Browse the repository at this point in the history
* RESCAFFOLD 1

* RESCAFFOLD 2

* RESCAFFOLD 3

* global components and markdown things

* theme things and stuff

* navbar columns

* navbar columns part 2

* navbar upstream alert

* pluginify and add internal links 2

* wrap contributors and team member seeding

* consolidate defaults, autometa 1, tracking 1

* lets go for a first deploy

* finish layouts func

* improve code aesthetics

* robotstxt generation

* team page

* remove VPB

* update vitepress

* make commit for blog contrib info

* rework collection stylings

* rework mailchimp

* consolidate and normalize contrib/author/date collections info

* wrap useCollection composable

* wrap collections pages components

* wrap collections pages components part 2

* that hurt

* that hurt part 2

* backlink

* update vitepress

* refactor

* feeds

* menugroup class support

* docs refresh 1

* docs refresh 2

* docs refresh 3

* docs refresh 4

* docs refresh 5
  • Loading branch information
pirog authored Jan 23, 2024
1 parent 7134d22 commit d2375b3
Show file tree
Hide file tree
Showing 199 changed files with 12,991 additions and 10,411 deletions.
5 changes: 3 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.temp
.cache
temp
cache
dist
_site
!.vitepress
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}],
"require-jsdoc": ["error", {
"require": {
"FunctionDeclaration": true,
"FunctionDeclaration": false,
"MethodDefinition": false,
"ClassDeclaration": false,
"ArrowFunctionExpression": false,
Expand Down
5 changes: 0 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

5 changes: 0 additions & 5 deletions .github/ISSUE_TEMPLATE/custom.md

This file was deleted.

5 changes: 0 additions & 5 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

16 changes: 8 additions & 8 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
strategy:
matrix:
os:
- ubuntu-20.04
- ubuntu-22.04
node-version:
- '16'
- '18'
steps:
# Install deps and cache
- name: Checkout code
Expand All @@ -20,14 +20,14 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Install Yarn dependencies
run: yarn install --prefer-offline --frozen-lockfile
cache: npm
- name: Install dependencies
run: npm clean-install --prefer-offline --frozen-lockfile

# Run tests
- name: Run linter
run: yarn lint
run: npm run lint
- name: Run tests
run: yarn test
run: npm run test
- name: Test build
run: yarn build
run: npm run build
291 changes: 123 additions & 168 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
strategy:
matrix:
os:
- ubuntu-20.04
- ubuntu-22.04
node-version:
- '16'
- '18'
# Install deps and cache
steps:
- name: Checkout code
Expand All @@ -26,19 +26,19 @@ jobs:
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
cache: npm
- name: Install dependencies
run: npm clean-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
run: npm run lint
- name: Run unit tests
run: yarn test
run: npm run test

# Deploy to NPM
- name: Prepare release
uses: lando/prepare-release-action@v2
uses: lando/prepare-release-action@v3
- name: Deploy release to npm
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_DEPLOY_TOKEN}}
Expand All @@ -53,164 +53,119 @@ jobs:
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:
# runs-on: ${{ matrix.os }}
# needs: deploy
# env:
# TERM: xterm
# strategy:
# fail-fast: false
# matrix:
# os:
# - ubuntu-22.04
# node-version:
# - '18'
# 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: npm
# - name: Install dependencies
# run: npm clean-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 }}
# # 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 }}
Loading

0 comments on commit d2375b3

Please sign in to comment.