Skip to content

Commit dbcddf4

Browse files
committed
feat!: rework for nuxt and edge deployment
1 parent f7d29b3 commit dbcddf4

24 files changed

+816
-91
lines changed
File renamed without changes.

.github/workflows/ci.yml

+2-12
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,11 @@ name: 'CI'
33
on:
44
pull_request:
55
push:
6-
release:
7-
types: [published]
86

97
jobs:
108
build:
11-
name: Build
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3
15-
- name: dargstack derive
16-
run: |
17-
mkdir ~/scripts/
18-
wget "https://raw.githubusercontent.com/dargmuesli/dargstack/master/src/dargstack" -O ~/scripts/dargstack
19-
chmod +x ~/scripts/dargstack
20-
~/scripts/dargstack derive
9+
name: DargStack rgen
10+
uses: dargmuesli/github-actions/.github/workflows/[email protected]
2111
release-semantic:
2212
needs: build
2313
name: Semantic Release

.github/workflows/release-schedule.yml

+3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ name: 'Release: Scheduled'
33
on:
44
schedule:
55
- cron: '0 0 * * 1' # Every Monday at 00:00 AM UTC on the default branch
6+
workflow_dispatch:
67

78
jobs:
89
release-schedule:
910
name: 'Release: Scheduled'
1011
uses: dargmuesli/github-actions/.github/workflows/[email protected]
1112
secrets:
1213
GH_TOKEN: ${{ secrets.GH_TOKEN }}
14+
with:
15+
IS_DEBOUNCED: ${{ github.event_name != 'workflow_dispatch' }}

.gitignore

+35-4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ npm-debug.log*
99
yarn-debug.log*
1010
yarn-error.log*
1111
lerna-debug.log*
12+
.pnpm-debug.log*
1213

1314
# Diagnostic reports (https://nodejs.org/api/report.html)
1415
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -45,8 +46,8 @@ build/Release
4546
node_modules/
4647
jspm_packages/
4748

48-
# TypeScript v1 declaration files
49-
typings/
49+
# Snowpack dependency directory (https://snowpack.dev/)
50+
web_modules/
5051

5152
# TypeScript cache
5253
*.tsbuildinfo
@@ -57,6 +58,9 @@ typings/
5758
# Optional eslint cache
5859
.eslintcache
5960

61+
# Optional stylelint cache
62+
.stylelintcache
63+
6064
# Microbundle cache
6165
.rpt2_cache/
6266
.rts2_cache_cjs/
@@ -72,15 +76,20 @@ typings/
7276
# Yarn Integrity file
7377
.yarn-integrity
7478

75-
# dotenv environment variables file
79+
# dotenv environment variable files
7680
.env
77-
.env.test
81+
.env.development.local
82+
.env.test.local
83+
.env.production.local
84+
.env.local
7885

7986
# parcel-bundler cache (https://parceljs.org/)
8087
.cache
88+
.parcel-cache
8189

8290
# Next.js build output
8391
.next
92+
out
8493

8594
# Nuxt.js build / generate output
8695
.nuxt
@@ -95,6 +104,12 @@ dist
95104
# vuepress build output
96105
.vuepress/dist
97106

107+
# vuepress v2.x temp and cache directory
108+
.temp
109+
110+
# Docusaurus cache and generated files
111+
.docusaurus
112+
98113
# Serverless directories
99114
.serverless/
100115

@@ -110,4 +125,20 @@ dist
110125
# Stores VSCode versions used for testing VSCode extensions
111126
.vscode-test
112127

128+
# yarn v2
129+
.yarn/cache
130+
.yarn/unplugged
131+
.yarn/build-state.yml
132+
.yarn/install-state.gz
133+
.pnp.*
134+
135+
### Node Patch ###
136+
# Serverless Webpack directories
137+
.webpack/
138+
139+
# Optional stylelint cache
140+
141+
# SvelteKit build / generate output
142+
.svelte-kit
143+
113144
# End of https://www.toptal.com/developers/gitignore/api/node

.husky/commit-msg

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# shellcheck source=./_/husky.sh
33
. "$(dirname "$0")/_/husky.sh"
44

5-
pnpm commitlint --edit "$1"
5+
pnpm commitlint --config .commitlintrc.cjs --edit "$1"

.releaserc

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"plugins": [
3+
"@semantic-release/commit-analyzer",
4+
"@semantic-release/release-notes-generator",
5+
"@semantic-release/changelog",
6+
"@semantic-release/npm",
7+
"@semantic-release/github",
8+
"@semantic-release/git"
9+
],
10+
"tagFormat": "${version}"
11+
}

.renovaterc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"github>dargmuesli/renovate-config"
5+
]
6+
}

0 commit comments

Comments
 (0)