Skip to content

Commit

Permalink
chore(playground): use workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Apr 2, 2024
1 parent d0f8416 commit c295817
Show file tree
Hide file tree
Showing 4 changed files with 301 additions and 781 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"prepack": "pnpm build",
"dev": "nuxi dev playground",
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
"lint": "eslint .",
"typecheck": "vue-tsc --noEmit",
"release": "pnpm lint && standard-version && git push --follow-tags"
Expand All @@ -46,5 +46,8 @@
},
"publishConfig": {
"access": "public"
},
"resolutions": {
"@nuxtjs/strapi": "workspace:*"
}
}
14 changes: 8 additions & 6 deletions playground/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview"
"dev": "nuxi dev",
"build": "nuxi build",
"generate": "nuxi generate"
},
"devDependencies": {
"nuxt": "latest"
"dependencies": {
"@nuxtjs/strapi": "latest",
"nuxt": "latest",
"vue": "latest",
"vue-router": "latest"
}
}
Loading

0 comments on commit c295817

Please sign in to comment.