Skip to content

Commit fca1c3f

Browse files
committed
chore: reorganize under playgrounds/
1 parent 50fab71 commit fca1c3f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+29
-29
lines changed

.github/workflows/module.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,25 +58,25 @@ jobs:
5858
- name: Build
5959
run: pnpm run build
6060

61-
- name: Build playground
61+
- name: Build Nuxt playground
6262
run: pnpm run dev:build
6363

64-
- name: Build playground (vue)
64+
- name: Build Vue playground
6565
run: pnpm run dev:vue:build
6666

6767
- name: Publish
6868
# Only publish preview package on ubuntu during PRs
6969
if: matrix.os == 'ubuntu-latest'
7070
run: pnpx pkg-pr-new publish --compact --no-template --pnpm
7171

72-
playground:
72+
playground-nuxt:
7373
needs: build
7474

7575
runs-on: ${{ matrix.os }}
7676

7777
defaults:
7878
run:
79-
working-directory: ./playground
79+
working-directory: ./playgrounds/nuxt
8080

8181
permissions:
8282
contents: read

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ logs
2626
.env.*
2727
!.env.example
2828

29-
playground-vue/auto-imports.d.ts
30-
playground-vue/components.d.ts
31-
playground-vue/tsconfig.app.tsbuildinfo
32-
playground-vue/tsconfig.node.tsbuildinfo
29+
playgrounds/vue/auto-imports.d.ts
30+
playgrounds/vue/components.d.ts
31+
playgrounds/vue/tsconfig.app.tsbuildinfo
32+
playgrounds/vue/tsconfig.node.tsbuildinfo

cli/templates.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const playground = ({ name, pro }) => {
55
const kebabName = kebabCase(name)
66

77
return {
8-
filename: `playground/app/pages/components/${kebabName}.vue`,
8+
filename: `playgrounds/nuxt/app/pages/components/${kebabName}.vue`,
99
contents: pro
1010
? undefined
1111
: `

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,16 @@
9696
"scripts": {
9797
"build": "nuxt-module-build build",
9898
"prepack": "pnpm build",
99-
"dev": "nuxt dev playground --uiDev",
100-
"dev:build": "nuxt build playground",
101-
"dev:vue": "pnpm --filter playground-vue dev -- --uiDev",
102-
"dev:vue:build": "pnpm --filter playground-vue build",
103-
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground && nuxt prepare docs && pnpm dev:vue:build",
99+
"dev": "nuxt dev playgrounds/nuxt --uiDev",
100+
"dev:build": "nuxt build playgrounds/nuxt",
101+
"dev:vue": "pnpm --filter './playgrounds/vue' dev -- --uiDev",
102+
"dev:vue:build": "pnpm --filter './playgrounds/vue' build",
103+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playgrounds/nuxt && nuxt prepare docs && pnpm dev:vue:build",
104104
"docs": "nuxt dev docs --uiDev",
105105
"docs:build": "nuxt build docs",
106106
"lint": "eslint .",
107107
"lint:fix": "eslint . --fix",
108-
"typecheck": "vue-tsc --noEmit && nuxt typecheck playground && nuxt typecheck docs && cd playground-vue && vue-tsc --noEmit",
108+
"typecheck": "vue-tsc --noEmit && nuxt typecheck playgrounds/nuxt && nuxt typecheck docs && cd playgrounds/vue && vue-tsc --noEmit",
109109
"test": "vitest",
110110
"test:vue": "vitest -c vitest.vue.config.ts",
111111
"release": "release-it"
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)