Skip to content

Commit

Permalink
Update dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
kitschpatrol committed Dec 23, 2023
1 parent 32ca945 commit 9c252cc
Show file tree
Hide file tree
Showing 13 changed files with 579 additions and 463 deletions.
7 changes: 7 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ module.exports = {
'link.no-such-reference': 'off' // Starlight note titles
}
},
{
files: ['*.html'],
rules: {
'@html-eslint/no-inline-styles': 'off',
'@html-eslint/require-title': 'off'
}
},
{
files: ['*.svelte'],
rules: {
Expand Down
58 changes: 54 additions & 4 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,81 @@
name: Create Release
name: Create GitHub Release

on:
push:
tags:
- "v*"
- 'v[0-9]*'

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
env:
ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
IS_VALID_COMMIT: false
TAG_NAME: ''

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Log Token Type
run: |
if [ ${{ env.ACCESS_TOKEN }} == ${{ secrets.GITHUB_TOKEN }} ]; then
echo "🗝️ Authenticated with GitHub Token"
else
echo "🔑 Authenticated with Personal Access token"
fi
- name: Validate Tag and Branch
id: validation
run: |
TAG=$(git tag --contains HEAD | grep '^v[0-9]' | head -n 1)
echo "🏷️ Tag for commit is: $TAG"
BRANCH=$(git branch -r --contains tags/${GITHUB_REF_NAME} | grep 'origin/main' | xargs)
if [[ -z "$BRANCH" ]]; then
echo "🚨 Tag is not on main branch"
else
echo "🕊️ Current branch is: $BRANCH"
fi
if [[ -z "$TAG" || -z "$BRANCH" ]]; then
echo "IS_VALID_COMMIT=false" >> $GITHUB_ENV
echo "TAG_NAME=''" >> $GITHUB_ENV
else
echo "IS_VALID_COMMIT=true" >> $GITHUB_ENV
echo "TAG_NAME=$TAG" >> $GITHUB_ENV
fi
- name: Release Notes
if: env.IS_VALID_COMMIT == 'true'
id: release-notes
uses: Bullrich/generate-release-changelog@master
id: ReleaseNotes

- name: Release
if: env.IS_VALID_COMMIT == 'true'
id: release
uses: softprops/action-gh-release@v1
with:
token: ${{ env.ACCESS_TOKEN }}
draft: false
prerelease: false
name: ${{ env.TAG_NAME }}
tag_name: ${{ env.TAG_NAME }}
body: |
${{ steps.ReleaseNotes.outputs.changelog }}
${{ steps.release-notes.outputs.changelog }}
files: |
readme.md
README.md
LICENSE
license.txt
CHANGELOG
CHANGELOG.md
changelog.md
- name: Log Release Details
if: env.IS_VALID_COMMIT == 'true'
run: |
echo "📦 Successfully released: ${{ env.TAG_NAME }}"
echo "🔗 Release URL: ${{ steps.release.outputs.url }}"
echo "🪪 Release ID: ${{ steps.release.outputs.id }}"
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Git Ignore
# Also used by CSpell and Stylelint

# @kitschpatrol/shared-config boilerplate
# @kitschpatrol/repo-config boilerplate
!.env.example
.astro/
.DS_Store
Expand All @@ -16,7 +16,6 @@ build/
coverage/
dist/
node_modules/
package/
vendor/

# Customizations
Expand Down
9 changes: 3 additions & 6 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
publish-branch=main

# required for pnpm
# public-hoist-pattern[]=@types* TBD
public-hoist-pattern[]=@kitschpatrol/npm-config
# Required for using @kitschpatrol/shared-config with pnpm
public-hoist-pattern[]=@kitschpatrol/repo-config
public-hoist-pattern[]=@kitschpatrol/vscode-config
public-hoist-pattern[]=*cspell*
public-hoist-pattern[]=*remark*
public-hoist-pattern[]=*eslint*
public-hoist-pattern[]=*markdownlint*
public-hoist-pattern[]=*prettier*
public-hoist-pattern[]=*remark*
public-hoist-pattern[]=*stylelint*

public-hoist-pattern[]=*shared-config*
9 changes: 8 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,12 @@
"stylelint.enable": true,
"stylelint.validate": ["css", "html", "svelte", "astro"],
"stylelint.configBasedir": ".",
"rewrap.wrappingColumn": 100
"rewrap.wrappingColumn": 100,
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": false,
"explorer.fileNesting.patterns": {
".env": ".env.*",
"package.json": ".*.js, .*.json, .*.cjs, .*rc, .*ignore, pnpm-lock.yaml, pnpm-workspace.yaml",
"readme.md": "license*, changelog*"
}
}
37 changes: 18 additions & 19 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
# build output
dist/
# generated types
.astro/

# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# Git Ignore
# Also used by CSpell and Stylelint

# environment variables
.env
.env.production

# macOS-specific files
# @kitschpatrol/repo-config boilerplate
!.env.example
.astro/
.DS_Store
.env
.env.*
.svelte-kit/
{tmp,temp}/
**/*.min.js
/scratch/
bower_components/
build/
coverage/
dist/
node_modules/
vendor/

# generated files ignored in workspace .gitignore
# Customizations
10 changes: 5 additions & 5 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"validate-links-live": "npx linkinator https://kitschpatrol.com/svelte-tweakpane-ui --recurse --verbosity error --retry-errors-count 2 --retry-errors true --retry true --concurrency 1 --timeout 10000 --retry-errors-jitter 50 --skip www.linkedin.com"
},
"dependencies": {
"@astrojs/check": "^0.3.3",
"@astrojs/starlight": "^0.15.0",
"@astrojs/svelte": "^5.0.1",
"astro": "^4.0.6",
"@astrojs/check": "^0.3.4",
"@astrojs/starlight": "^0.15.1",
"@astrojs/svelte": "^5.0.2",
"astro": "^4.0.7",
"astro-compress": "^2.2.5",
"github-slugger": "^2.0.0",
"gray-matter": "^4.0.3",
Expand All @@ -38,7 +38,7 @@
},
"devDependencies": {
"linkedom": "^0.16.5",
"linkinator": "^6.0.2",
"linkinator": "^6.0.3",
"marked": "^11.1.0"
}
}
1 change: 1 addition & 0 deletions docs/src/content/docs/docs/acknowledgments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ The documentation website for this project was created using [Astro Starlight](h
This project and its documentation teeters upon a considerable pile of dependencies. The authors are named below:

<br />

<em>
<Acknowledgments scope="all" />
</em>
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,24 +224,24 @@
"@0b5vr/tweakpane-plugin-rotation": "^0.2.0",
"@kitschpatrol/tweakpane-image-plugin": "^2.0.0",
"@kitschpatrol/tweakpane-textarea-plugin": "^2.0.1",
"@tweakpane/core": "^2.0.2",
"@tweakpane/core": "^2.0.3",
"@tweakpane/plugin-camerakit": "^0.3.0",
"@tweakpane/plugin-essentials": "^0.2.1",
"esm-env": "^1.0.0",
"nanoid": "^5.0.4",
"svelte-local-storage-store": "^0.6.4",
"tweakpane": "^4.0.2",
"tweakpane": "^4.0.3",
"tweakpane-plugin-waveform": "^1.0.0"
},
"devDependencies": {
"@kitschpatrol/shared-config": "^4.0.0",
"@kitschpatrol/shared-config": "^4.3.1",
"@phenomnomnominal/tsquery": "^6.1.3",
"@stkb/rewrap": "^0.1.0",
"@sveltejs/adapter-static": "^3.0.0",
"@sveltejs/kit": "^2.0.1",
"@sveltejs/package": "^2.2.3",
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.0.6",
"@sveltejs/package": "^2.2.4",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@types/eslint": "^8.44.9",
"@types/eslint": "^8.56.0",
"@types/fs-extra": "^11.0.4",
"@types/node": "^20.10.5",
"bumpp": "^9.2.1",
Expand All @@ -250,22 +250,22 @@
"glob": "^10.3.10",
"npm-run-all": "^4.1.5",
"postcss-html": "^1.5.0",
"publint": "^0.2.6",
"publint": "^0.2.7",
"read-package-up": "^11.0.0",
"svelte": "^4.2.8",
"svelte-check": "^3.6.2",
"svelte-language-server": "^0.16.1",
"svelte2tsx": "^0.6.27",
"ts-morph": "^21.0.1",
"tslib": "^2.6.2",
"tsx": "^4.6.2",
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"vite": "^5.0.10",
"yaml": "^2.3.4"
},
"pnpm": {
"patchedDependencies": {
"@astrojs/[email protected].0": "patches/@[email protected].0.patch"
"@astrojs/[email protected].1": "patches/@[email protected].1.patch"
}
}
}
File renamed without changes.
Loading

0 comments on commit 9c252cc

Please sign in to comment.