Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reboot #1

Merged
merged 37 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
9610a7d
RESCAFFOLD 1
pirog Dec 17, 2023
73537e6
RESCAFFOLD 2
pirog Dec 17, 2023
bc0f2fc
RESCAFFOLD 3
pirog Dec 17, 2023
c8192dd
global components and markdown things
pirog Dec 19, 2023
43ce3e4
theme things and stuff
pirog Dec 20, 2023
5528d0e
navbar columns
pirog Dec 20, 2023
cfb26c4
navbar columns part 2
pirog Dec 20, 2023
fd57758
navbar upstream alert
pirog Dec 20, 2023
64bd267
pluginify and add internal links 2
pirog Dec 21, 2023
2576a6c
wrap contributors and team member seeding
pirog Dec 23, 2023
c8129c5
consolidate defaults, autometa 1, tracking 1
pirog Dec 24, 2023
9349e88
lets go for a first deploy
pirog Dec 26, 2023
747862e
finish layouts func
pirog Dec 27, 2023
266c255
improve code aesthetics
pirog Dec 27, 2023
f9bd282
robotstxt generation
pirog Dec 31, 2023
d64c27b
team page
pirog Jan 1, 2024
672f665
remove VPB
pirog Jan 2, 2024
02c7a27
update vitepress
pirog Jan 2, 2024
9b10de5
make commit for blog contrib info
pirog Jan 10, 2024
61828d7
rework collection stylings
pirog Jan 11, 2024
9a38a01
rework mailchimp
pirog Jan 11, 2024
f5a3b11
consolidate and normalize contrib/author/date collections info
pirog Jan 15, 2024
6f361e1
wrap useCollection composable
pirog Jan 15, 2024
eb3c733
wrap collections pages components
pirog Jan 16, 2024
3793098
wrap collections pages components part 2
pirog Jan 16, 2024
dc28546
that hurt
pirog Jan 17, 2024
a16a512
that hurt part 2
pirog Jan 17, 2024
41063b7
backlink
pirog Jan 17, 2024
fd98587
update vitepress
pirog Jan 17, 2024
b3fed26
refactor
pirog Jan 19, 2024
dc05ff3
feeds
pirog Jan 19, 2024
6c705c4
menugroup class support
pirog Jan 20, 2024
5b646a5
docs refresh 1
pirog Jan 22, 2024
e87c748
docs refresh 2
pirog Jan 23, 2024
09a8b1c
docs refresh 3
pirog Jan 23, 2024
5094f24
docs refresh 4
pirog Jan 23, 2024
d82af96
docs refresh 5
pirog Jan 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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