Skip to content

Commit d174379

Browse files
committed
chore: .playground -> playground
1 parent f340d8a commit d174379

Some content is hidden

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

46 files changed

+37
-39
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ node_modules
1313
**/.yarn/cache
1414
**/.yarn/*state*
1515

16-
.playground/nuxt-runtime
16+
playground/nuxt-runtime
1717

1818
# Generated dirs
1919
dist

package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,9 @@
4141
"client:build": "nuxi generate client",
4242
"client:dev": "nuxi dev client --port 3300",
4343
"build": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt-module-build build && npm run client:build",
44-
"dev": "nuxi dev .playground",
45-
"dev:devtool": "nuxi dev .playground-devtools",
46-
"dev:build": "nuxi build .playground",
47-
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare .playground",
44+
"dev": "nuxi dev playground",
45+
"dev:build": "nuxi build playground",
46+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
4847
"release": "pnpm build && bumpp && pnpm -r publish",
4948
"test": "vitest"
5049
},
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

pnpm-workspace.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
packages:
2-
- .playground
32
- client

test/unit/parsePages.test.ts

+33-33
Original file line numberDiff line numberDiff line change
@@ -6,186 +6,186 @@ const payload: NuxtPage[] = [
66
{
77
name: 'index___en',
88
path: '/',
9-
file: '.playground/pages/index.vue',
9+
file: 'playground/pages/index.vue',
1010
children: [],
1111
},
1212
{
1313
name: 'index___fr',
1414
path: '/fr',
15-
file: '.playground/pages/index.vue',
15+
file: 'playground/pages/index.vue',
1616
children: [],
1717
},
1818
{
1919
name: 'custom',
2020
path: '/custom',
21-
file: '.playground/pages/[...slug].vue',
21+
file: 'playground/pages/[...slug].vue',
2222
meta: { sitemap: { lastmod: '2021-08-24T14:00:00.000Z' } },
2323
children: [],
2424
},
2525
{
2626
name: 'slug___en',
2727
path: '/:slug(.*)*',
28-
file: '.playground/pages/[...slug].vue',
28+
file: 'playground/pages/[...slug].vue',
2929
children: [],
3030
},
3131
{
3232
name: 'slug___fr',
3333
path: '/fr/:slug(.*)*',
34-
file: '.playground/pages/[...slug].vue',
34+
file: 'playground/pages/[...slug].vue',
3535
children: [],
3636
},
3737
{
3838
name: 'about___en',
3939
path: '/about',
40-
file: '.playground/pages/about.vue',
40+
file: 'playground/pages/about.vue',
4141
children: [],
4242
},
4343
{
4444
name: 'about___fr',
4545
path: '/fr/a-propos',
46-
file: '.playground/pages/about.vue',
46+
file: 'playground/pages/about.vue',
4747
children: [],
4848
},
4949
{
5050
path: '/blog',
51-
file: '.playground/pages/blog.vue',
51+
file: 'playground/pages/blog.vue',
5252
children: [{
5353
name: 'blog-id___en',
5454
path: ':id()',
55-
file: '.playground/pages/blog/[id].vue',
55+
file: 'playground/pages/blog/[id].vue',
5656
children: [],
5757
}, {
5858
name: 'blog-categories___en',
5959
path: 'categories',
60-
file: '.playground/pages/blog/categories.vue',
60+
file: 'playground/pages/blog/categories.vue',
6161
children: [],
6262
}, {
6363
name: 'blog___en',
6464
path: '',
65-
file: '.playground/pages/blog/index.vue',
65+
file: 'playground/pages/blog/index.vue',
6666
children: [],
6767
}, {
6868
name: 'blog-tags___en',
6969
path: 'tags',
70-
file: '.playground/pages/blog/tags.vue',
70+
file: 'playground/pages/blog/tags.vue',
7171
children: [{
7272
name: 'blog-tags-edit___en',
7373
path: 'edit',
74-
file: '.playground/pages/blog/tags/edit.vue',
74+
file: 'playground/pages/blog/tags/edit.vue',
7575
children: [],
7676
}, {
7777
name: 'blog-tags-new___en',
7878
path: 'new',
79-
file: '.playground/pages/blog/tags/new.vue',
79+
file: 'playground/pages/blog/tags/new.vue',
8080
children: [],
8181
}],
8282
}],
8383
},
8484
{
8585
path: '/fr/blog',
86-
file: '.playground/pages/blog.vue',
86+
file: 'playground/pages/blog.vue',
8787
children: [{
8888
name: 'blog-id___fr',
8989
path: ':id()',
90-
file: '.playground/pages/blog/[id].vue',
90+
file: 'playground/pages/blog/[id].vue',
9191
children: [],
9292
}, {
9393
name: 'blog-categories___fr',
9494
path: 'categories',
95-
file: '.playground/pages/blog/categories.vue',
95+
file: 'playground/pages/blog/categories.vue',
9696
children: [],
9797
}, {
9898
name: 'blog___fr',
9999
path: '',
100-
file: '.playground/pages/blog/index.vue',
100+
file: 'playground/pages/blog/index.vue',
101101
children: [],
102102
}, {
103103
name: 'blog-tags___fr',
104104
path: 'tags',
105-
file: '.playground/pages/blog/tags.vue',
105+
file: 'playground/pages/blog/tags.vue',
106106
children: [{
107107
name: 'blog-tags-edit___fr',
108108
path: 'edit',
109-
file: '.playground/pages/blog/tags/edit.vue',
109+
file: 'playground/pages/blog/tags/edit.vue',
110110
children: [],
111111
}, {
112112
name: 'blog-tags-new___fr',
113113
path: 'new',
114-
file: '.playground/pages/blog/tags/new.vue',
114+
file: 'playground/pages/blog/tags/new.vue',
115115
children: [],
116116
}],
117117
}],
118118
},
119119
{
120120
name: 'hidden-path-but-in-sitemap___en',
121121
path: '/hidden-path-but-in-sitemap',
122-
file: '.playground/pages/hidden-path-but-in-sitemap/index.vue',
122+
file: 'playground/pages/hidden-path-but-in-sitemap/index.vue',
123123
children: [],
124124
},
125125
{
126126
name: 'hidden-path-but-in-sitemap___fr',
127127
path: '/fr/hidden-path-but-in-sitemap',
128-
file: '.playground/pages/hidden-path-but-in-sitemap/index.vue',
128+
file: 'playground/pages/hidden-path-but-in-sitemap/index.vue',
129129
children: [],
130130
},
131131
{
132132
name: 'index___en',
133133
path: '/',
134-
file: '.playground/pages/index.vue',
134+
file: 'playground/pages/index.vue',
135135
children: [],
136136
},
137137
{
138138
name: 'index___fr',
139139
path: '/fr',
140-
file: '.playground/pages/index.vue',
140+
file: 'playground/pages/index.vue',
141141
children: [],
142142
},
143143
{
144144
name: 'new-page___en',
145145
path: '/new-page',
146-
file: '.playground/pages/new-page.vue',
146+
file: 'playground/pages/new-page.vue',
147147
children: [],
148148
},
149149
{
150150
name: 'new-page___fr',
151151
path: '/fr/new-page',
152-
file: '.playground/pages/new-page.vue',
152+
file: 'playground/pages/new-page.vue',
153153
children: [],
154154
},
155155
{
156156
name: 'secret___en',
157157
path: '/secret',
158-
file: '.playground/pages/secret.vue',
158+
file: 'playground/pages/secret.vue',
159159
children: [],
160160
},
161161
{
162162
name: 'secret___fr',
163163
path: '/fr/secret',
164-
file: '.playground/pages/secret.vue',
164+
file: 'playground/pages/secret.vue',
165165
children: [],
166166
},
167167
{
168168
name: 'users-group-id___en',
169169
path: '/users-:group()/:id()',
170-
file: '.playground/pages/users-[group]/[id].vue',
170+
file: 'playground/pages/users-[group]/[id].vue',
171171
children: [],
172172
},
173173
{
174174
name: 'users-group-id___fr',
175175
path: '/fr/users-:group()/:id()',
176-
file: '.playground/pages/users-[group]/[id].vue',
176+
file: 'playground/pages/users-[group]/[id].vue',
177177
children: [],
178178
},
179179
{
180180
name: 'users-group___en',
181181
path: '/users-:group()',
182-
file: '.playground/pages/users-[group]/index.vue',
182+
file: 'playground/pages/users-[group]/index.vue',
183183
children: [],
184184
},
185185
{
186186
name: 'users-group___fr',
187187
path: '/fr/users-:group()',
188-
file: '.playground/pages/users-[group]/index.vue',
188+
file: 'playground/pages/users-[group]/index.vue',
189189
children: [],
190190
},
191191
]

0 commit comments

Comments
 (0)