Skip to content

Commit

Permalink
chore: add update configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Yizack committed Jun 21, 2024
1 parent 687a364 commit 3da2b98
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ jobs:
- name: Run test suite
run: pnpm test

- name: Test types
run: pnpm test:types
# - name: Test types
# run: pnpm test:types
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
"release": "npm run lint && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
"lint": "eslint --fix",
"lint": "eslint .",
"test": "vitest run --reporter=verbose",
"test:types": "vue-tsc --noEmit",
"test:watch": "vitest watch"
Expand Down
8 changes: 7 additions & 1 deletion playground/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
export default defineNuxtConfig({
modules: ['../src/module'],
compatibilityDate: '2024-06-17',
modules: [
'nuxt-webhook-validators',
],
runtimeConfig: {
webhook: {
github: {
Expand All @@ -19,4 +22,7 @@ export default defineNuxtConfig({
},
},
devtools: { enabled: true },
imports: {
autoImport: true,
},
})
5 changes: 3 additions & 2 deletions playground/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"private": true,
"name": "my-module-playground",
"name": "webhook-validators-playground",
"type": "module",
"scripts": {
"dev": "nuxi dev",
"build": "nuxi build",
"generate": "nuxi generate"
},
"dependencies": {
"nuxt": "latest"
"nuxt": "^3.12.2",
"nuxt-webhook-validators": "latest"
}
}
3 changes: 3 additions & 0 deletions playground/server/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "../.nuxt/tsconfig.server.json"
}

0 comments on commit 3da2b98

Please sign in to comment.