diff --git a/.changeset/README.md b/.changeset/README.md deleted file mode 100644 index e5b6d8d6..00000000 --- a/.changeset/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# Changesets - -Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works -with multi-package repos, or single-package repos to help you version and publish your code. You can -find the full documentation for it [in our repository](https://github.com/changesets/changesets) - -We have a quick list of common questions to get you started engaging with this project in -[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) diff --git a/.changeset/config.json b/.changeset/config.json index 092f6fb9..f5935c77 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -7,5 +7,5 @@ "access": "public", "baseBranch": "main", "updateInternalDependencies": "patch", - "ignore": ["playground"] + "ignore": ["playground","@ts-ghost/tsconfig"] } diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index c71d7a68..c492b00e 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,13 +1,3 @@ # These are supported funding model platforms -github: #[adammatthiesen] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry custom: ['https://www.buymeacoffee.com/adammatthiesen/membership'] diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 78ffc8af..34fd11b9 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -10,5 +10,4 @@ updates: schedule: interval: "weekly" labels: - - "npm" - "dependencies" diff --git a/.github/workflows/changeset-dependabot.yml b/.github/workflows/changeset-dependabot.yml index 3d13338e..3e500c07 100644 --- a/.github/workflows/changeset-dependabot.yml +++ b/.github/workflows/changeset-dependabot.yml @@ -1,4 +1,4 @@ -name: "Dependabot Changesets" +name: "Changesets: Build Changesets for Dependabot" on: pull_request diff --git a/.github/workflows/release.yml b/.github/workflows/changeset-main.yml similarity index 87% rename from .github/workflows/release.yml rename to .github/workflows/changeset-main.yml index 5e454f59..3cc3495e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/changeset-main.yml @@ -1,4 +1,4 @@ -name: Changesets +name: "Changesets: Publish Packages from main" on: push: branches: @@ -33,6 +33,6 @@ jobs: version: pnpm ci:version commit: "chore: update versions" title: "chore: update versions" - publish: pnpm changeset publish + publish: pnpm ci:publish env: GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/gitlab-sync.yml b/.github/workflows/gitlab-sync.yml index 67a978a0..0eaea557 100644 --- a/.github/workflows/gitlab-sync.yml +++ b/.github/workflows/gitlab-sync.yml @@ -1,4 +1,4 @@ -name: GitLab Sync +name: "Sync: GitHub => GitLab" on: - push diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml deleted file mode 100644 index 08233a07..00000000 --- a/.github/workflows/lighthouse.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Unlighthouse - WIP - -on: - workflow_dispatch: - -jobs: - Unlighthouse-demo: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./unlighthouse - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Install Dependencies - run: npm install -g @unlighthouse/cli puppeteer netlify-cli - - - name: Unlighthouse assertions and client - run: unlighthouse-ci --site demo.astro-ghostcms.xyz --budget 75 --build-static - - - name: Deploy - run: netlify deploy --dir=.unlighthouse --prod --message="New Release Deploy from GitHub Actions" - env: - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} diff --git a/.github/workflows/npm-astro-ghostcms-rendercontent.yml b/.github/workflows/npm-astro-ghostcms-rendercontent.yml deleted file mode 100644 index bc75a232..00000000 --- a/.github/workflows/npm-astro-ghostcms-rendercontent.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: Publish Content Render Util - -on: - workflow_dispatch: - -jobs: - publishnpm: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/astro-ghostcms-rendercontent - steps: - - name: checkout - uses: actions/checkout@v4 - - name: node - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: https://registry.npmjs.org/ - - name: publish-npm - run: | - # Change publish registry - echo "$(jq '.publishConfig.registry = "https://registry.npmjs.org"' package.json)" > package.json - # Publish package - npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - - githubpackage: - permissions: - contents: read - packages: write - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/astro-ghostcms-rendercontent - steps: - - name: checkout - uses: actions/checkout@v4 - - name: node - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: https://npm.pkg.github.com - - name: publish-github - run: | - # Change publish registry - echo "$(jq '.publishConfig.registry = "https://npm.pkg.github.com"' package.json)" > package.json - # Publish package - npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.ACTION_TOKEN}} diff --git a/.github/workflows/npm-astro-ghostcms.yml b/.github/workflows/npm-astro-ghostcms.yml deleted file mode 100644 index 06597d7e..00000000 --- a/.github/workflows/npm-astro-ghostcms.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: Publish Astro-GhostCMS - -on: - workflow_dispatch: - -jobs: - publishnpm: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/astro-ghostcms - steps: - - name: checkout - uses: actions/checkout@v4 - - name: node - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: https://registry.npmjs.org/ - - name: publish-npm - run: | - # Change publish registry - echo "$(jq '.publishConfig.registry = "https://registry.npmjs.org"' package.json)" > package.json - # Publish package - npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - - githubpackage: - permissions: - contents: read - packages: write - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/astro-ghostcms - steps: - - name: checkout - uses: actions/checkout@v4 - - name: node - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: https://npm.pkg.github.com - - name: publish-github - run: | - # Change publish registry - echo "$(jq '.publishConfig.registry = "https://npm.pkg.github.com"' package.json)" > package.json - # Publish package - npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.ACTION_TOKEN}} diff --git a/.github/workflows/npm-create.yml b/.github/workflows/npm-create.yml deleted file mode 100644 index a5c6ca6d..00000000 --- a/.github/workflows/npm-create.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: Publish Create Utility - -on: - workflow_dispatch: - -jobs: - publishnpm: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/create-astro-ghostcms - steps: - - name: checkout - uses: actions/checkout@v4 - - name: node - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: https://registry.npmjs.org/ - - name: publish-npm - run: | - # Change publish registry - echo "$(jq '.publishConfig.registry = "https://registry.npmjs.org"' package.json)" > package.json - # Publish package - npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - - githubpackage: - permissions: - contents: read - packages: write - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/create-astro-ghostcms - steps: - - name: checkout - uses: actions/checkout@v4 - - name: node - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: https://npm.pkg.github.com - - name: publish-github - run: | - # Change publish registry - echo "$(jq '.publishConfig.registry = "https://npm.pkg.github.com"' package.json)" > package.json - # Publish package - npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.ACTION_TOKEN}} diff --git a/.github/workflows/npm-theme-brutalbyelian.yml b/.github/workflows/npm-theme-brutalbyelian.yml deleted file mode 100644 index 4710918b..00000000 --- a/.github/workflows/npm-theme-brutalbyelian.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: Publish Theme Brutal By Elian - -on: - workflow_dispatch: - -jobs: - publishnpm: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/astro-ghostcms-brutalbyelian - steps: - - name: checkout - uses: actions/checkout@v4 - - name: node - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: https://registry.npmjs.org/ - - name: publish-npm - run: | - # Change publish registry - echo "$(jq '.publishConfig.registry = "https://registry.npmjs.org"' package.json)" > package.json - # Publish package - npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - - githubpackage: - permissions: - contents: read - packages: write - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/astro-ghostcms-brutalbyelian - steps: - - name: checkout - uses: actions/checkout@v4 - - name: node - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: https://npm.pkg.github.com - - name: publish-github - run: | - # Change publish registry - echo "$(jq '.publishConfig.registry = "https://npm.pkg.github.com"' package.json)" > package.json - # Publish package - npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.ACTION_TOKEN}} diff --git a/.github/workflows/npm-theme-catppuccin.yml b/.github/workflows/npm-theme-catppuccin.yml deleted file mode 100644 index 391bd47d..00000000 --- a/.github/workflows/npm-theme-catppuccin.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: Publish Theme Catppuccin - -on: - workflow_dispatch: - -jobs: - publishnpm: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/astro-ghostcms-catppuccin - steps: - - name: checkout - uses: actions/checkout@v4 - - name: node - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: https://registry.npmjs.org/ - - name: publish-npm - run: | - # Change publish registry - echo "$(jq '.publishConfig.registry = "https://registry.npmjs.org"' package.json)" > package.json - # Publish package - npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - - githubpackage: - permissions: - contents: read - packages: write - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/astro-ghostcms-catppuccin - steps: - - name: checkout - uses: actions/checkout@v4 - - name: node - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: https://npm.pkg.github.com - - name: publish-github - run: | - # Change publish registry - echo "$(jq '.publishConfig.registry = "https://npm.pkg.github.com"' package.json)" > package.json - # Publish package - npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.ACTION_TOKEN}} diff --git a/.github/workflows/npm-theme-default.yml b/.github/workflows/npm-theme-default.yml deleted file mode 100644 index 3c502157..00000000 --- a/.github/workflows/npm-theme-default.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: Publish Theme Default (Casper) - -on: - workflow_dispatch: - -jobs: - publishnpm: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/astro-ghostcms-theme-default - steps: - - name: checkout - uses: actions/checkout@v4 - - name: node - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: https://registry.npmjs.org/ - - name: publish-npm - run: | - # Change publish registry - echo "$(jq '.publishConfig.registry = "https://registry.npmjs.org"' package.json)" > package.json - # Publish package - npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - - githubpackage: - permissions: - contents: read - packages: write - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./packages/astro-ghostcms-theme-default - steps: - - name: checkout - uses: actions/checkout@v4 - - name: node - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: https://npm.pkg.github.com - - name: publish-github - run: | - # Change publish registry - echo "$(jq '.publishConfig.registry = "https://npm.pkg.github.com"' package.json)" > package.json - # Publish package - npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.ACTION_TOKEN}} diff --git a/.gitignore b/.gitignore index b512c09d..d4a7a16d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -node_modules \ No newline at end of file +node_modules +.archive \ No newline at end of file diff --git a/LICENSE b/LICENSE index 848a13f2..592eb27d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 Adam Matthiesen +Copyright (c) 2024 MatthiesenXYZ - Astro-GhostCMS Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/package.json b/package.json index f382902b..b07a04d3 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "scripts": { "lint": "biome check .", "ci:version": "pnpm changeset version", - "vi:publish": "pnpm publish -r", + "ci:publish": "pnpm changeset publish", "lint:fix": "biome check --apply .", "playground:dev": "pnpm --filter playground dev", "api:test": "pnpm --filter astro-ghostcms test", diff --git a/packages/astro-ghostcms-brutalbyelian/LICENSE b/packages/astro-ghostcms-brutalbyelian/LICENSE index 22853011..713b574a 100644 --- a/packages/astro-ghostcms-brutalbyelian/LICENSE +++ b/packages/astro-ghostcms-brutalbyelian/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 Elian Van Cutsem +Copyright (c) 2024 MatthiesenXYZ - Astro-GhostCMS & Elian Van Cutsem Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/packages/astro-ghostcms-catppuccin/LICENSE b/packages/astro-ghostcms-catppuccin/LICENSE index 848a13f2..592eb27d 100644 --- a/packages/astro-ghostcms-catppuccin/LICENSE +++ b/packages/astro-ghostcms-catppuccin/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 Adam Matthiesen +Copyright (c) 2024 MatthiesenXYZ - Astro-GhostCMS Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/packages/astro-ghostcms-rendercontent/LICENSE b/packages/astro-ghostcms-rendercontent/LICENSE new file mode 100644 index 00000000..592eb27d --- /dev/null +++ b/packages/astro-ghostcms-rendercontent/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 MatthiesenXYZ - Astro-GhostCMS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/astro-ghostcms-theme-default/LICENSE b/packages/astro-ghostcms-theme-default/LICENSE index 848a13f2..592eb27d 100644 --- a/packages/astro-ghostcms-theme-default/LICENSE +++ b/packages/astro-ghostcms-theme-default/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 Adam Matthiesen +Copyright (c) 2024 MatthiesenXYZ - Astro-GhostCMS Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/packages/astro-ghostcms/LICENSE b/packages/astro-ghostcms/LICENSE index 848a13f2..592eb27d 100644 --- a/packages/astro-ghostcms/LICENSE +++ b/packages/astro-ghostcms/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 Adam Matthiesen +Copyright (c) 2024 MatthiesenXYZ - Astro-GhostCMS Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/packages/create-astro-ghostcms/LICENSE b/packages/create-astro-ghostcms/LICENSE index 848a13f2..592eb27d 100644 --- a/packages/create-astro-ghostcms/LICENSE +++ b/packages/create-astro-ghostcms/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 Adam Matthiesen +Copyright (c) 2024 MatthiesenXYZ - Astro-GhostCMS Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/playground/LICENSE b/playground/LICENSE index 88dd1335..592eb27d 100644 --- a/playground/LICENSE +++ b/playground/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 Matthiesen XYZ +Copyright (c) 2024 MatthiesenXYZ - Astro-GhostCMS Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal