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 15, 2023
1 parent 19cd886 commit e5897d1
Show file tree
Hide file tree
Showing 19 changed files with 1,541 additions and 1,809 deletions.
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
75 changes: 72 additions & 3 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,74 @@ jobs:
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
Expand Down Expand Up @@ -276,10 +344,11 @@ jobs:
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 == '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 Down Expand Up @@ -308,7 +377,7 @@ 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) }}
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
1 change: 1 addition & 0 deletions fixtures/custom-bins/.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 fixtures/custom-bins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@
"pakk-fixture-custom-bins-postinstall": "./shims/postinstall.js"
},
"devDependencies": {
"@alexaegis/eslint-config-vitest": "^0.8.4",
"@alexaegis/ts": "^0.8.4",
"@types/node": "^20.10.1",
"@vitest/coverage-v8": "^0.34.6",
"vite": "^5.0.4",
"@alexaegis/eslint-config-vitest": "^0.9.2",
"@alexaegis/ts": "^0.9.2",
"@types/node": "^20.10.4",
"@vitest/coverage-v8": "^1.0.4",
"vite": "^5.0.9",
"vite-plugin-pakk": "workspace:^",
"vitest": "^0.34.6"
"vitest": "^1.0.4"
}
}
1 change: 1 addition & 0 deletions fixtures/deep-export/.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 fixtures/deep-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@
}
},
"devDependencies": {
"@alexaegis/eslint-config-vitest": "^0.8.4",
"@alexaegis/ts": "^0.8.4",
"@types/node": "^20.10.1",
"@vitest/coverage-v8": "^0.34.6",
"vite": "^5.0.4",
"@alexaegis/eslint-config-vitest": "^0.9.2",
"@alexaegis/ts": "^0.9.2",
"@types/node": "^20.10.4",
"@vitest/coverage-v8": "^1.0.4",
"vite": "^5.0.9",
"vite-plugin-pakk": "workspace:^",
"vitest": "^0.34.6"
"vitest": "^1.0.4"
}
}
1 change: 1 addition & 0 deletions fixtures/svelte-library/.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
20 changes: 10 additions & 10 deletions fixtures/svelte-library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,23 +60,23 @@
"./readme": "./readme.md"
},
"dependencies": {
"svelte": "^4.2.7"
"svelte": "^4.2.8"
},
"peerDependencies": {
"svelte": "~4.0.0"
},
"devDependencies": {
"@alexaegis/eslint-config-svelte": "^0.8.4",
"@alexaegis/eslint-config-vitest": "^0.8.4",
"@alexaegis/svelte-config": "^0.8.4",
"@alexaegis/ts": "^0.8.4",
"@alexaegis/eslint-config-svelte": "^0.9.2",
"@alexaegis/eslint-config-vitest": "^0.9.2",
"@alexaegis/svelte-config": "^0.9.2",
"@alexaegis/ts": "^0.9.2",
"@pakk/cli": "workspace:^",
"@sveltejs/package": "^2.2.3",
"@types/node": "^20.10.1",
"@vitest/coverage-v8": "^0.34.6",
"svelte": "^4.2.7",
"@types/node": "^20.10.4",
"@vitest/coverage-v8": "^1.0.4",
"svelte": "^4.2.8",
"svelte-check": "^3.6.2",
"svelte-preprocess": "^5.1.1",
"vitest": "^0.34.6"
"svelte-preprocess": "^5.1.2",
"vitest": "^1.0.4"
}
}
88 changes: 44 additions & 44 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"node": ">=18.10.0",
"pnpm": ">=8.0.0"
},
"packageManager": "pnpm@8.10.4",
"packageManager": "pnpm@8.12.1",
"workspaces": [
"apps/*",
"fixtures/*",
Expand Down Expand Up @@ -83,60 +83,60 @@
"typedoc_": "typedoc"
},
"devDependencies": {
"@alexaegis/autotool-plugin-commitlint": "^0.8.4",
"@alexaegis/autotool-plugin-depcheck": "^0.8.4",
"@alexaegis/autotool-plugin-editorconfig": "^0.8.4",
"@alexaegis/autotool-plugin-eslint": "^0.8.4",
"@alexaegis/autotool-plugin-git": "^0.8.4",
"@alexaegis/autotool-plugin-github": "^0.8.4",
"@alexaegis/autotool-plugin-husky": "^0.8.4",
"@alexaegis/autotool-plugin-ncu": "^0.8.4",
"@alexaegis/autotool-plugin-prettier": "^0.8.4",
"@alexaegis/autotool-plugin-publint": "^0.8.4",
"@alexaegis/autotool-plugin-remark": "^0.8.4",
"@alexaegis/autotool-plugin-standard-version": "^0.8.4",
"@alexaegis/autotool-plugin-stylelint": "^0.8.4",
"@alexaegis/autotool-plugin-svelte": "^0.8.4",
"@alexaegis/autotool-plugin-ts": "^0.8.4",
"@alexaegis/autotool-plugin-turbo": "^0.8.4",
"@alexaegis/autotool-plugin-typedoc": "^0.8.4",
"@alexaegis/autotool-plugin-vitest": "^0.8.4",
"@alexaegis/autotool-plugin-vscode": "^0.8.4",
"@alexaegis/coverage-tools": "^0.7.3",
"@alexaegis/eslint-config-core": "^0.8.4",
"@alexaegis/nuke": "^0.8.4",
"@alexaegis/stylelint-config": "^0.8.4",
"@alexaegis/ts": "^0.8.4",
"@alexaegis/autotool-plugin-commitlint": "^0.9.2",
"@alexaegis/autotool-plugin-depcheck": "^0.9.2",
"@alexaegis/autotool-plugin-editorconfig": "^0.9.2",
"@alexaegis/autotool-plugin-eslint": "^0.9.2",
"@alexaegis/autotool-plugin-git": "^0.9.2",
"@alexaegis/autotool-plugin-github": "^0.9.2",
"@alexaegis/autotool-plugin-husky": "^0.9.2",
"@alexaegis/autotool-plugin-ncu": "^0.9.2",
"@alexaegis/autotool-plugin-prettier": "^0.9.2",
"@alexaegis/autotool-plugin-publint": "^0.9.2",
"@alexaegis/autotool-plugin-remark": "^0.9.2",
"@alexaegis/autotool-plugin-standard-version": "^0.9.2",
"@alexaegis/autotool-plugin-stylelint": "^0.9.2",
"@alexaegis/autotool-plugin-svelte": "^0.9.2",
"@alexaegis/autotool-plugin-ts": "^0.9.2",
"@alexaegis/autotool-plugin-turbo": "^0.9.2",
"@alexaegis/autotool-plugin-typedoc": "^0.9.2",
"@alexaegis/autotool-plugin-vitest": "^0.9.2",
"@alexaegis/autotool-plugin-vscode": "^0.9.2",
"@alexaegis/coverage-tools": "^0.8.1",
"@alexaegis/eslint-config-core": "^0.9.2",
"@alexaegis/nuke": "^0.9.2",
"@alexaegis/stylelint-config": "^0.9.2",
"@alexaegis/ts": "^0.9.2",
"@lcov-viewer/cli": "^1.3.0",
"@types/eslint": "^8.44.8",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"@vitest/coverage-v8": "^0.34.6",
"autotool": "^0.3.0",
"@types/eslint": "^8.44.9",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitest/coverage-v8": "^1.0.4",
"autotool": "^0.4.1",
"commit-and-tag-version": "^12.0.0",
"commitlint": "^18.4.3",
"depcheck": "^1.4.7",
"eslint": "^8.54.0",
"eslint-config-next": "^14.0.3",
"eslint-config-prettier": "^9.0.0",
"eslint-config-turbo": "^1.10.16",
"eslint": "^8.55.0",
"eslint-config-next": "^14.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-config-turbo": "^1.11.2",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-unicorn": "^49.0.0",
"husky": "^8.0.3",
"lint-staged": "^15.1.0",
"npm-check-updates": "^16.14.11",
"prettier": "^3.1.0",
"lint-staged": "^15.2.0",
"npm-check-updates": "^16.14.12",
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.1.2",
"prettier-plugin-tailwindcss": "^0.5.7",
"prettier-plugin-tailwindcss": "^0.5.9",
"remark": "^15.0.1",
"remark-cli": "^12.0.0",
"stylelint": "^15.11.0",
"stylelint": "^16.0.2",
"svelte-check": "^3.6.2",
"ts-node": "^10.9.1",
"turbo": "^1.10.16",
"turbo-ignore": "^1.10.16",
"ts-node": "^10.9.2",
"turbo": "^1.11.2",
"turbo-ignore": "^1.11.2",
"typedoc": "^0.25.4",
"typescript": "^5.3.2",
"vitest": "^0.34.6"
"typescript": "^5.3.3",
"vitest": "^1.0.4"
}
}
1 change: 1 addition & 0 deletions packages/cli/.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 e5897d1

Please sign in to comment.