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

♻️ Chore: Add blog section for the LP. Useful for adding updates and stuff for LP. #291

Merged
merged 34 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
e4e8c74
Create draft PR for #290
create-issue-branch[bot] Sep 14, 2024
5caa242
move features and testimonals to content collections and create new b…
Adammatthiesen Sep 14, 2024
39d1be1
Merge branch 'main' into issue-0290
Adammatthiesen Sep 15, 2024
03c16ce
adds basic blog page and card
jdtjenkins Sep 16, 2024
1913ffa
Merge branch 'main' into issue-0290
Adammatthiesen Sep 20, 2024
093c529
update actions
Adammatthiesen Sep 20, 2024
9ea82a5
lint
Adammatthiesen Sep 20, 2024
f30f102
update domains for docs and landing page. will do demo in a different PR
Adammatthiesen Sep 20, 2024
4d348b1
more updates to blog
jdtjenkins Sep 21, 2024
5c14015
Merge branch 'issue-0290' of https://github.com/astrolicious/studiocm…
jdtjenkins Sep 21, 2024
0b64174
lint fix
jdtjenkins Sep 21, 2024
f328a60
change only blog title to change colour on hover
jdtjenkins Sep 21, 2024
5be993d
Update biome.json and .editorconfig
Adammatthiesen Sep 21, 2024
16dbb55
add my blog post, and fix some of the data stuff so it shows properly
Adammatthiesen Sep 22, 2024
d59f2f9
fix
Adammatthiesen Sep 22, 2024
b6523c9
remove "testing" post and rename v2 to primary
Adammatthiesen Sep 22, 2024
1d4a08c
replace blog text with icon and update image loading
Adammatthiesen Sep 22, 2024
d505fd4
update logo to be color responsive
Adammatthiesen Sep 22, 2024
4e6b969
update moon project list
Adammatthiesen Sep 22, 2024
231aa77
add roadmap redirect page
Adammatthiesen Sep 22, 2024
a49f07a
update titles and seo
Adammatthiesen Sep 22, 2024
2613ce9
update titles
Adammatthiesen Sep 22, 2024
6c80413
update header
Adammatthiesen Sep 22, 2024
b48a447
update docs analytics to new url
Adammatthiesen Sep 22, 2024
829729a
add new post
Adammatthiesen Sep 23, 2024
07a72c5
remove extra bold
Adammatthiesen Sep 23, 2024
ad404f7
update head
Adammatthiesen Sep 23, 2024
50ee083
update header
Adammatthiesen Sep 23, 2024
8e2a65d
fix SEO and update image
Adammatthiesen Sep 23, 2024
0487b8a
remove astro-seo dep
Adammatthiesen Sep 23, 2024
0dc0cc5
fix post og images
Adammatthiesen Sep 23, 2024
5253a0a
test
Adammatthiesen Sep 23, 2024
2be90c4
update deployment helper to use new url
Adammatthiesen Sep 23, 2024
967ee58
update deployment helper
Adammatthiesen Sep 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
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Bug report
about: Create a report to help us improve
title: 'Bug:'
title: 'Bug: [NAME]'
labels: bug
assignees: ''
---
Expand Down
7 changes: 2 additions & 5 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@
"lockFileMaintenance": {
"enabled": true
},
"ignorePaths": [
"**/node_modules/**",
"**/bower_components/**",
"packages/ghost-to-studio/package.json"
],
"postUpdateOptions": ["pnpmDedupe"],
"ignorePaths": ["**/node_modules/**", "**/bower_components/**"],
"labels": ["dependencies"],
"additionalBranchPrefix": "{{parentDir}}-",
"gitIgnoredAuthors": ["[email protected]"],
Expand Down
62 changes: 62 additions & 0 deletions .github/workflows/changeset-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Changeset Release

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

permissions:
contents: write
pull-requests: write
issues: write
id-token: write
actions: read
checks: read
deployments: read
discussions: read
packages: read
pages: read
repository-projects: read
security-events: read
statuses: read

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4

- name: Setup pnpm (corepack enabled)
uses: pnpm/action-setup@v2

- name: Setup Node.js 20.x
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version-file: '.node-version'
cache: 'pnpm'

- name: Install Dependencies
run: pnpm ci:install

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: matthiesenxyz/changeset@v1
with:
commit: "👷 [ci]: Version Packages"
title: "👷 [ci]: Ready for Release"
version: pnpm ci:version
publish: pnpm ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Add Label to CI PR
if: ${{ steps.changesets.outputs.hasChangesets == 'true' }}
run: gh pr edit "$PR_URL" --add-label "ci"
env:
PR_URL: ${{ steps.changesets.outputs.pull_request_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@ name: Changeset Release and Snapshot

on:
workflow_dispatch:
inputs:
runRelease:
default: 'false'
required: false
type: boolean
description: Enable, if you want to run the release workflow
push:
branches:
- main
issue_comment:
types: [created]

Expand Down Expand Up @@ -39,45 +30,6 @@ permissions:
statuses: read

jobs:
release:
name: Release
if: ${{ github.event.inputs.runRelease == 'true' || github.event_name == 'push' && github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4

- name: Setup pnpm (corepack enabled)
uses: pnpm/action-setup@v2

- name: Setup Node.js 20.x
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version-file: '.node-version'
cache: 'pnpm'

- name: Install Dependencies
run: pnpm ci:install

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: matthiesenxyz/changeset@v1
with:
commit: "👷 [ci]: Version Packages"
title: "👷 [ci]: Ready for Release"
version: pnpm ci:version
publish: pnpm ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Add Label to CI PR
if: ${{ steps.changesets.outputs.hasChangesets == 'true' }}
run: gh pr edit "$PR_URL" --add-label "ci"
env:
PR_URL: ${{ steps.changesets.outputs.pull_request_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

snapshot-release:
name: Create a snapshot release of a pull request
if: ${{ github.repository_owner == 'astrolicious' && github.event.issue.pull_request && (contains(github.event.comment.body, '!preview') || contains(github.event.comment.body, '/preview') || contains(github.event.comment.body, '!snapshot') || contains(github.event.comment.body, '/snapshot')) }}
Expand Down
19 changes: 16 additions & 3 deletions .moon/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,24 @@ $schema: 'https://moonrepo.dev/schemas/workspace.json'

projects:
root: '.'
studioCMS: 'packages/studioCMS'
studioCMSBlog: 'packages/studioCMSBlog'
ghost-to-studio: 'packages/ghost-to-studio'
# Packages
studiocms: 'packages/studioCMS'
studiocms_assets: 'packages/studiocms_assets'
studiocms_auth: 'packages/studiocms_auth'
studiocms_betaresources: 'packages/studiocms_betaresources'
studiocms_blog: 'packages/studiocms_blog'
studiocms_core: 'packages/studiocms_core'
studiocms_dashboard: 'packages/studiocms_dashboard'
studiocms_frontend: 'packages/studiocms_frontend'
studiocms_imagehandler: 'packages/studiocms_imagehandler'
studiocms_renderers: 'packages/studiocms_renderers'
studiocms_robotstxt: 'packages/studiocms_robotstxt'

# Playgrounds
playground: 'playgrounds/node'
cloudflare-playground: 'playgrounds/cloudflare'

# Web Sites & Docs
web: 'www/web'
docs: 'www/docs'

Expand Down
5 changes: 3 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
},
"files": {
"ignoreUnknown": true,
"ignore": ["**/.astro/**", "**/package.json"]
"ignore": ["**/.astro/**", "**/package.json", "**/dist/**"]
},
"formatter": {
"lineWidth": 100
"lineWidth": 100,
"lineEnding": "lf"
},
"javascript": {
"formatter": {
Expand Down
Loading