Skip to content

Commit

Permalink
chore: updated packages
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAegis committed Dec 28, 2023
1 parent 820411c commit 1cc6400
Show file tree
Hide file tree
Showing 47 changed files with 4,778 additions and 3,441 deletions.
3 changes: 2 additions & 1 deletion .config/.ncurc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"dep": ["prod", "dev", "optional", "packageManager"],
"peer": true,
"deep": true,
"upgrade": true
"upgrade": true,
"reject": ["unified-prettier"]
}
1 change: 1 addition & 0 deletions .config/workspace-only.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public/build
public/index.js
.svelte-kit
typedoc
**/.vitepress/cache

# test artifacts
coverage
Expand Down
1 change: 1 addition & 0 deletions .depcheckrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"prettier*",
"publint",
"remark",
"remark-cli",
"stylelint",
"stylelint-config-*",
"svelte",
Expand Down
21 changes: 0 additions & 21 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

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

This file was deleted.

21 changes: 12 additions & 9 deletions .github/funding.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# managed-by-autotool

# These are supported funding model platforms
# https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/displaying-a-sponsor-button-in-your-repository

github: [] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
github: [AlexAegis] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
# patreon: # Replace with a single Patreon username
# open_collective: # Replace with a single Open Collective username
ko_fi: AlexAegis
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: AlexAegis
custom: ['https://paypal.me/alexaegis'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
# 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
# custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
1 change: 0 additions & 1 deletion .github/version.txt

This file was deleted.

111 changes: 92 additions & 19 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
lint-kind: [tsc, es, md, format, style, svelte, depcheck]
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: setup node.js ${{ matrix.node-version }}
Expand Down Expand Up @@ -67,10 +67,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
if: vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'typedoc'
with:
fetch-depth: 1
Expand Down Expand Up @@ -115,30 +115,98 @@ jobs:
run: |
cp ${{ vars.PAGES_DEPLOY_ARTIFACT_DIR }}/index.html ${{ vars.PAGES_DEPLOY_ARTIFACT_DIR }}/404.html
- name: setup pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v3
if: |
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'typedoc' &&
vars.PAGES_DEPLOY_ARTIFACT_DIR != '' &&
github.ref_name == github.event.repository.default_branch &&
github.event_name != 'pull_request'
- name: upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
if: |
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'typedoc' &&
vars.PAGES_DEPLOY_ARTIFACT_DIR != '' &&
github.ref_name == github.event.repository.default_branch &&
github.event_name != 'pull_request'
with:
path: ${{ vars.PAGES_DEPLOY_ARTIFACT_DIR }}
vitepress:
name: vitepress
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: checkout
uses: actions/checkout@v4
if: vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'vitepress'
with:
fetch-depth: 1
- name: setup node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
if: vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'vitepress'
with:
node-version: ${{ matrix.node-version }}
- name: pnpm setup
uses: pnpm/action-setup@v2
if: vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'vitepress'
with:
run_install: false
- name: get pnpm store directory
id: pnpm-cache
if: vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'vitepress'
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: cache
id: cache
if: vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'vitepress'
uses: actions/cache@v3
with:
path: |
${{ steps.pnpm-cache.outputs.STORE_PATH }}
.cache
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- name: install
if: vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'vitepress'
run: pnpm install
- name: vitepress
if: vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'vitepress'
run: pnpm run vitepress
- name: prepare pages (use index.html as 404.html)
if: |
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'vitepress' &&
vars.PAGES_DEPLOY_ARTIFACT_DIR != '' &&
github.ref_name == github.event.repository.default_branch &&
github.event_name != 'pull_request'
run: |
cp ${{ vars.PAGES_DEPLOY_ARTIFACT_DIR }}/index.html ${{ vars.PAGES_DEPLOY_ARTIFACT_DIR }}/404.html
- name: setup pages
uses: actions/configure-pages@v3
if: |
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'vitepress' &&
vars.PAGES_DEPLOY_ARTIFACT_DIR != '' &&
github.ref_name == github.event.repository.default_branch &&
github.event_name != 'pull_request'
- name: upload artifact
uses: actions/upload-pages-artifact@v2
if: |
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'vitepress' &&
vars.PAGES_DEPLOY_ARTIFACT_DIR != '' &&
github.ref_name == github.event.repository.default_branch &&
github.event_name != 'pull_request'
with:
path: ${{ vars.PAGES_DEPLOY_ARTIFACT_DIR }}
test:
name: test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: setup node.js ${{ matrix.node-version }}
Expand Down Expand Up @@ -187,14 +255,14 @@ jobs:
run: |
cp ${{ vars.PAGES_DEPLOY_ARTIFACT_DIR }}/index.html ${{ vars.PAGES_DEPLOY_ARTIFACT_DIR }}/404.html
- name: setup pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v3
if: |
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'test' &&
vars.PAGES_DEPLOY_ARTIFACT_DIR != '' &&
github.ref_name == github.event.repository.default_branch &&
github.event_name != 'pull_request'
- name: upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
if: |
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'test' &&
vars.PAGES_DEPLOY_ARTIFACT_DIR != '' &&
Expand All @@ -207,10 +275,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: setup node.js ${{ matrix.node-version }}
Expand Down Expand Up @@ -253,14 +321,14 @@ jobs:
run: |
cp ${{ vars.PAGES_DEPLOY_ARTIFACT_DIR }}/index.html ${{ vars.PAGES_DEPLOY_ARTIFACT_DIR }}/404.html
- name: setup pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v3
if: |
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'build' &&
vars.PAGES_DEPLOY_ARTIFACT_DIR != '' &&
github.ref_name == github.event.repository.default_branch &&
github.event_name != 'pull_request'
- name: upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
if: |
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'build' &&
vars.PAGES_DEPLOY_ARTIFACT_DIR != '' &&
Expand All @@ -273,9 +341,14 @@ jobs:
if: |
github.ref_name == github.event.repository.default_branch &&
github.event_name != 'pull_request' &&
vars.PAGES_DEPLOY_ARTIFACT_DIR
vars.PAGES_DEPLOY_ARTIFACT_DIR && (
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'build' ||
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'test' ||
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'typedoc' ||
vars.PAGES_DEPLOY_ARTIFACT_BUILDING_JOB == 'vitepress'
)
runs-on: ubuntu-latest
needs: [build, test, lint, typedoc]
needs: [build, test, lint, typedoc, vitepress]
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand All @@ -290,7 +363,7 @@ jobs:
${{ steps.collect_packages.outputs.non_published_packages }}
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: collect public packages
Expand All @@ -304,13 +377,13 @@ jobs:
github.ref_name == github.event.repository.default_branch &&
github.event_name != 'pull_request'
runs-on: ubuntu-latest
needs: [collect, build, test, lint, typedoc]
needs: [collect, build, test, lint, typedoc, vitepress]
strategy:
matrix:
package: ${{ fromJSON(needs.collect.outputs.non_published_packages) }}
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup node.js
uses: actions/setup-node@v3
with:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ typedoc
vite.config.ts.*
vitest.config.ts.*

# vitepress
**/.vitepress/cache

# parcel
dist*
tmp*
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ build
.svelte-kit
.vercel
typedoc
**/.vitepress/cache

# test artifacts
coverage
Expand Down
12 changes: 6 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"editor.defaultFormatter": "unifiedjs.vscode-remark"
},
"[python]": {
"editor.defaultFormatter": "ms-python.python"
"editor.defaultFormatter": "ms-python.autopep8"
},
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
Expand All @@ -29,10 +29,10 @@
},
"editor.autoIndent": "full",
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.fixAll.eslint": true,
"source.fixAll.stylelint": true,
"source.organizeImports": true
"source.fixAll": "explicit",
"source.fixAll.eslint": "explicit",
"source.fixAll.stylelint": "explicit",
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.fontLigatures": true,
Expand All @@ -58,7 +58,7 @@
"editor.suggest.localityBonus": true,
"editor.tabSize": 4,
"editor.useTabStops": true,
"editor.wordBasedSuggestions": true,
"editor.wordBasedSuggestions": "matchingDocuments",
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact", "svelte"],
"editor.linkedEditing": true,
"explorer.fileNesting.enabled": true,
Expand Down
11 changes: 9 additions & 2 deletions apps/svelte/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"$schema": "https://json.schemastore.org/typings?mark=managed-by-autotool",
"ignores": ["@alexaegis/*", "@sveltejs/*", "autoprefixer", "eslint*", "tailwindcss"],
"$schema": "https://json.schemastore.org/typings",
"ignores": [
"@alexaegis/*",
"@sveltejs/*",
"autoprefixer",
"eslint*",
"tailwindcss",
"postcss-load-config"
],
"skip-missing": true
}
1 change: 1 addition & 0 deletions apps/svelte/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ build
.svelte-kit
.vercel
typedoc
**/.vitepress/cache

# test artifacts
coverage
Expand Down
Loading

0 comments on commit 1cc6400

Please sign in to comment.