@quilted/create 0.1.58 → 0.1.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/build/cjs/app.cjs +4 -1
- package/build/esm/app.mjs +4 -1
- package/build/esnext/app.esnext +4 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/typescript/shared.d.ts +1 -1
- package/build/typescript/shared.d.ts.map +1 -1
- package/package.json +1 -1
- package/source/app.ts +8 -1
- package/source/shared.ts +2 -0
- package/templates/app-basic/shared/context.ts +14 -0
- package/templates/app-basic/tests/render.tsx +12 -9
- package/templates/app-graphql/shared/context.ts +14 -0
- package/templates/app-graphql/tests/render.tsx +18 -8
- package/templates/app-trpc/App.tsx +46 -0
- package/templates/app-trpc/browser.tsx +15 -0
- package/templates/app-trpc/features/Start/Start.module.css +3 -0
- package/templates/app-trpc/features/Start/Start.test.tsx +12 -0
- package/templates/app-trpc/features/Start/Start.tsx +16 -0
- package/templates/app-trpc/features/Start.tsx +3 -0
- package/templates/app-trpc/foundation/Head/Head.test.tsx +25 -0
- package/templates/app-trpc/foundation/Head/Head.tsx +34 -0
- package/templates/app-trpc/foundation/Head.tsx +1 -0
- package/templates/app-trpc/foundation/Http/Http.test.tsx +24 -0
- package/templates/app-trpc/foundation/Http/Http.tsx +118 -0
- package/templates/app-trpc/foundation/Http.tsx +1 -0
- package/templates/app-trpc/foundation/Metrics/Metrics.tsx +23 -0
- package/templates/app-trpc/foundation/Metrics.tsx +1 -0
- package/templates/app-trpc/package.json +43 -0
- package/templates/app-trpc/quilt.project.ts +14 -0
- package/templates/app-trpc/server.tsx +37 -0
- package/templates/app-trpc/shared/context.ts +14 -0
- package/templates/app-trpc/shared/trpc.ts +16 -0
- package/templates/app-trpc/tests/render.tsx +76 -0
- package/templates/app-trpc/trpc.ts +13 -0
- package/templates/app-trpc/tsconfig.json +13 -0
- package/templates/app-basic/shared/types.ts +0 -1
- package/templates/app-graphql/shared/types.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @quilted/create
|
|
2
2
|
|
|
3
|
+
## 0.1.60
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`977a2fac`](https://github.com/lemonmade/quilt/commit/977a2faca2a3f819e29529dc88e5e80766e552ae) Thanks [@lemonmade](https://github.com/lemonmade)! - Add tRPC template
|
|
8
|
+
|
|
9
|
+
## 0.1.59
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`ab07f855`](https://github.com/lemonmade/quilt/commit/ab07f855c65011cd437d198ba7b7eec590b6c8c3) Thanks [@lemonmade](https://github.com/lemonmade)! - Improve app templates
|
|
14
|
+
|
|
3
15
|
## 0.1.58
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/build/cjs/app.cjs
CHANGED
|
@@ -290,7 +290,7 @@ async function getDirectory(argv, {
|
|
|
290
290
|
}
|
|
291
291
|
return directory;
|
|
292
292
|
}
|
|
293
|
-
const VALID_TEMPLATES = new Set(['basic', 'graphql', 'single-file', 'empty']);
|
|
293
|
+
const VALID_TEMPLATES = new Set(['basic', 'graphql', 'trpc', 'single-file', 'empty']);
|
|
294
294
|
async function getTemplate(argv) {
|
|
295
295
|
if (argv['--template'] && VALID_TEMPLATES.has(argv['--template'])) {
|
|
296
296
|
return argv['--template'];
|
|
@@ -311,6 +311,9 @@ async function getTemplate(argv) {
|
|
|
311
311
|
}, {
|
|
312
312
|
title: `${index.bold('GraphQL')}, a web app with a GraphQL API, fetched using @tanstack/react-query`,
|
|
313
313
|
value: 'graphql'
|
|
314
|
+
}, {
|
|
315
|
+
title: `${index.bold('tRPC')}, a web app with a tRPC API, fetched using @tanstack/react-query`,
|
|
316
|
+
value: 'trpc'
|
|
314
317
|
}]
|
|
315
318
|
});
|
|
316
319
|
return template;
|
package/build/esm/app.mjs
CHANGED
|
@@ -268,7 +268,7 @@ async function getDirectory(argv, {
|
|
|
268
268
|
}
|
|
269
269
|
return directory;
|
|
270
270
|
}
|
|
271
|
-
const VALID_TEMPLATES = new Set(['basic', 'graphql', 'single-file', 'empty']);
|
|
271
|
+
const VALID_TEMPLATES = new Set(['basic', 'graphql', 'trpc', 'single-file', 'empty']);
|
|
272
272
|
async function getTemplate(argv) {
|
|
273
273
|
if (argv['--template'] && VALID_TEMPLATES.has(argv['--template'])) {
|
|
274
274
|
return argv['--template'];
|
|
@@ -289,6 +289,9 @@ async function getTemplate(argv) {
|
|
|
289
289
|
}, {
|
|
290
290
|
title: `${bold_1('GraphQL')}, a web app with a GraphQL API, fetched using @tanstack/react-query`,
|
|
291
291
|
value: 'graphql'
|
|
292
|
+
}, {
|
|
293
|
+
title: `${bold_1('tRPC')}, a web app with a tRPC API, fetched using @tanstack/react-query`,
|
|
294
|
+
value: 'trpc'
|
|
292
295
|
}]
|
|
293
296
|
});
|
|
294
297
|
return template;
|
package/build/esnext/app.esnext
CHANGED
|
@@ -268,7 +268,7 @@ async function getDirectory(argv, {
|
|
|
268
268
|
}
|
|
269
269
|
return directory;
|
|
270
270
|
}
|
|
271
|
-
const VALID_TEMPLATES = new Set(['basic', 'graphql', 'single-file', 'empty']);
|
|
271
|
+
const VALID_TEMPLATES = new Set(['basic', 'graphql', 'trpc', 'single-file', 'empty']);
|
|
272
272
|
async function getTemplate(argv) {
|
|
273
273
|
if (argv['--template'] && VALID_TEMPLATES.has(argv['--template'])) {
|
|
274
274
|
return argv['--template'];
|
|
@@ -289,6 +289,9 @@ async function getTemplate(argv) {
|
|
|
289
289
|
}, {
|
|
290
290
|
title: `${bold_1('GraphQL')}, a web app with a GraphQL API, fetched using @tanstack/react-query`,
|
|
291
291
|
value: 'graphql'
|
|
292
|
+
}, {
|
|
293
|
+
title: `${bold_1('tRPC')}, a web app with a tRPC API, fetched using @tanstack/react-query`,
|
|
294
|
+
value: 'trpc'
|
|
292
295
|
}]
|
|
293
296
|
});
|
|
294
297
|
return template;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/@quilted/typescript/definitions/assets.d.ts","../../../node_modules/@quilted/typescript/definitions/styles.d.ts","../../../node_modules/.pnpm/arg@5.0.1/node_modules/arg/index.d.ts","../../../node_modules/.pnpm/colorette@2.0.16/node_modules/colorette/index.d.ts","../../../node_modules/.pnpm/@types+common-tags@1.8.1/node_modules/@types/common-tags/index.d.ts","../../../node_modules/.pnpm/colorette@2.0.19/node_modules/colorette/index.d.ts","../../events/build/typescript/abort.d.ts","../../events/build/typescript/types.d.ts","../../events/build/typescript/on.d.ts","../../events/build/typescript/once.d.ts","../../events/build/typescript/listeners.d.ts","../../events/build/typescript/emitter.d.ts","../../events/build/typescript/timeouts.d.ts","../../events/build/typescript/index.d.ts","../../../node_modules/.pnpm/arg@5.0.2/node_modules/arg/index.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/@types+prompts@2.4.1/node_modules/@types/prompts/index.d.ts","../../cli-kit/build/typescript/prompt.d.ts","../../cli-kit/build/typescript/template.d.ts","../../cli-kit/build/typescript/package-manager.d.ts","../../cli-kit/build/typescript/index.d.ts","../source/help.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/index.d.ts","../../../node_modules/.pnpm/pkg-dir@6.0.1/node_modules/pkg-dir/index.d.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/standalone.d.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/parser-babel.d.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/parser-typescript.d.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/parser-yaml.d.ts","../source/shared.ts","../source/shared/prompts.ts","../source/shared/tsconfig.ts","../../../node_modules/.pnpm/@types+minimatch@3.0.5/node_modules/@types/minimatch/index.d.ts","../source/shared/package-manager.ts","../source/app.ts","../source/module.ts","../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/types/index.d.ts","../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts","../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.d.ts","../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.d.ts","../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.d.ts","../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/types/index.d.ts","../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts","../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.d.ts","../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts","../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.d.ts","../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/types/index.d.ts","../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.d.ts","../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts","../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.d.ts","../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.d.ts","../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.d.ts","../../../node_modules/.pnpm/fast-glob@3.2.11/node_modules/fast-glob/out/types/index.d.ts","../../../node_modules/.pnpm/fast-glob@3.2.11/node_modules/fast-glob/out/settings.d.ts","../../../node_modules/.pnpm/fast-glob@3.2.11/node_modules/fast-glob/out/managers/tasks.d.ts","../../../node_modules/.pnpm/fast-glob@3.2.11/node_modules/fast-glob/out/index.d.ts","../../../node_modules/.pnpm/globby@13.1.1/node_modules/globby/index.d.ts","../source/package.ts","../source/cli.ts","../source/index.ts","../../../node_modules/.pnpm/@types+fs-extra@9.0.13/node_modules/@types/fs-extra/index.d.ts","../../../node_modules/.pnpm/@types+prompts@2.0.14/node_modules/@types/prompts/index.d.ts","../../../node_modules/.pnpm/@types+react@18.0.26/node_modules/@types/react/global.d.ts","../../../node_modules/.pnpm/csstype@3.1.0/node_modules/csstype/index.d.ts","../../../node_modules/.pnpm/@types+prop-types@15.7.5/node_modules/@types/prop-types/index.d.ts","../../../node_modules/.pnpm/@types+scheduler@0.16.2/node_modules/@types/scheduler/tracing.d.ts","../../../node_modules/.pnpm/@types+react@18.0.26/node_modules/@types/react/index.d.ts","../../../node_modules/.pnpm/@types+react-dom@18.0.10/node_modules/@types/react-dom/index.d.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","f4e736d6c8d69ae5b3ab0ddfcaa3dc365c3e76909d6660af5b4e979b3934ac20","eeeb3aca31fbadef8b82502484499dfd1757204799a6f5b33116201c810676ec",{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"9a60b92bca4c1257db03b349d58e63e4868cfc0d1c8d0ba60c2dbc63f4e6c9f6","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"61ed9b6d07af959e745fb11f9593ecd743b279418cc8a99448ea3cd5f3b3eb22","affectsGlobalScope":true},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true},{"version":"b7feb7967c6c6003e11f49efa8f5de989484e0a6ba2e5a6c41b55f8b8bd85dba","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"25de46552b782d43cb7284df22fe2a265de387cf0248b747a7a1b647d81861f6","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"95f22ce5f9dbcfc757ff850e7326a1ba1bc69806f1e70f48caefa824819d6f4f","affectsGlobalScope":true},"7e9f54acdee22b52308c4040b668e6f3d83c6795469802a10c7685151f8f137f","e578fd01e69fb19a5b4ad95f193128ef0a142ead8b61d9149cd767762f0cf27d","5fd321c200cd8891db9851493872f01075a3f1032349ed37c458d7f67d8051e2","c8adda9f45d2f7ec9fb28c59859db32da6c2835f1fec96433e2729e5805fa46f","c5590caef278ad8ba2532ec93e29a32ac354dfb333277348acce18512891d3b2","c8adda9f45d2f7ec9fb28c59859db32da6c2835f1fec96433e2729e5805fa46f","c2de627775d0d98242b8843b49c3e2054e062da60e08cf21e73b8a7958f0fc66","7bd8813324d615717cad768f6ff9696a93a1a4d64dd889d6554967ff67f9bff4","0245f1183127c6a30f5c48f84016ae53e479a8f51b1c57853f0b4798574ee77d","f64924609cd6f1b8740d3f8e773e19bb260570807766c00e34acaea011160cf2","6044b5d637cf8c5bea9264bb58d953e91dcc5ac678754f46a7ca92f7a388007b","c679e059e201d2fc0d2bb3135e2784089a98f2691973c2a7fc96fcf0759ebd86","7ec353ebe9e9f32053d49d7af46ced7d58e5641cc1c2d94ae39162f47e666efc","877b5cce742a9c5e6921521dcb0235cbd3df56e24604d15d024a83a1ad8d7307","5faa5a81d34228d0ecb70b59ffca5b04fc5f6ec259f008d4d74098a6f0eeba91","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"2f6c9750131d5d2fdaba85c164a930dc07d2d7e7e8970b89d32864aa6c72620c","affectsGlobalScope":true},"56d13f223ab40f71840795f5bef2552a397a70666ee60878222407f3893fb8d0",{"version":"aeeee3998c5a730f8689f04038d41cf4245c9edbf6ef29a698e45b36e399b8ed","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","90b94d3d2aa3432cc9dd2d15f56a38b166163fc555404c74243e1af29c5549d8","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","c993aac3b6d4a4620ef9651497069eb84806a131420e4f158ea9396fb8eb9b8c","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","e3b886bacdd1fbf1f72e654596c80a55c7bc1d10bdf464aaf52f45ecd243862f","d2f5c67858e65ebb932c2f4bd2af646f5764e8ad7f1e4fbe942a0b5ea05dc0e7","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","7f249c599e7a9335dd8e94a4bfe63f00e911756c3c23f77cdb6ef0ec4d479e4a",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"2cabc86ea4f972f2c8386903eccb8c19e2f2370fb9808b66dd8759c1f2ab30c7","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","945a841f9a591197154c85386bc5a1467d42d325104bb36db51bc566bbb240be","10c39ce1df102994b47d4bc0c71aa9a6aea76f4651a5ec51914431f50bc883a1",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","02b3239cf1b1ff8737e383ed5557f0247499d15f5bd21ab849b1a24687b6100c","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"127803f77e0dfee84b031b83ea7776875c6c4c89e11a81d00299ff58f163f0e2","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"dd9ea469d1bfaf589c6a196275d35cb1aa14014707c2c46d920c7b921e8f5bca","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1503a452a67127e5c2da794d1c7c44344d5038373aae16c9b03ac964db159edd","2d17c0dd1d8b821c4e43c9b68ce0619c44f8aabd8fb050b2921048f0e6161b72","3ba288dddd9c8e58c1436689ca2ce903aa5356e857c35accb241474dc44773f3","624264def7ec12e9a141acb5652ce3ea4c43bd58bc72382b65ec068a9c24fdb5","9c3e89a69645b83452a0ce0b4b711cb652e436503542e66543b796ce6e28d9a9","d745622d5997c49ae8120cefd24114de01d6bdbb90660b3fb4af4ef997a059be",{"version":"b51765d8717ca7783f3dda6970102b98d96cfd43b556819870f5049725b128eb","signature":"ea17591cec4bc5f1546d37c885b0c6efd92abb575461ef5cd56dc24b348ad865"},"f1d8b21cdf08726021c8cce0cd6159486236cf1d633eeabbc435b5b2e5869c2e","c58eb580d75b517e64396a9aac843bad347f38481a1e64ca12998e92e12ceb08","88a3183e8e099a405861299a83ac855b99fef3985ed31e73016f61914b3a09ea","8592b3ee11de8e3d3257868571f52dfdcb973ec8af799c23681b41744934e3fd","2f49e129648fd071896ba9e98b59bd70f6ebad232507b95bbe06bce18ca36fa3","f83148c8ce30f74fd32c8e2d1d0ea5b1c2517ce78b6271bffa09fb9c482ee35c",{"version":"09812a8bd46a76d2f98a4544e7d72b88846cd50203cb0117172c602b4855549c","signature":"382db12372de9a4bce75d16a001381a447048ccb281b27dc0054bde425a2d398"},{"version":"60d8d066e52ee7072b26ef9bac4d5c0f0c5270b601041175e0e735fc4d0b4e41","signature":"7bf501870ffc4792d1af6b899243ccb290e8af3c0cf344c6030e27fcf31cac0c"},{"version":"cf67809c9ae61ff0b374aba8b0584b3b233bdc1a4994dbedd89b8824ee17efdd","signature":"032b7320f292e2bbb09a9867892082b373a328556de09c3ecb3bfb132d556380"},"8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649",{"version":"a231a20443cb852e07d277f49dc559f0679330499809067f8a0f36728e4fe39c","signature":"64f9812d39dce04d3c38b6aa20b741ddb7ab62ac9c8bda253678f539803f9da1"},{"version":"6a61856616f172aba7ef30de5be1ea56822ff0fc6d76b5ec47b311c9c0789c09","signature":"a0fb1ca421ef9e52a14869f0070dfc14f61b82b0f364d2303281cb312d4f72e4"},{"version":"f228fc266f18acfc432d55a09d0b7ee2a2874320c8d293eb0d2f26a8b924c17a","signature":"5d915047409506b19d4466effea2015ff3ad75f13fb9a16dd90738c04d183805"},"46324183533e34fad2461b51174132e8e0e4b3ac1ceb5032e4952992739d1eab","d3fa0530dfb1df408f0abd76486de39def69ca47683d4a3529b2d22fce27c693","d9be977c415df16e4defe4995caeca96e637eeef9d216d0d90cdba6fc617e97e","98e0c2b48d855a844099123e8ec20fe383ecd1c5877f3895b048656befe268d0","ff53802a97b7d11ab3c4395aa052baa14cd12d2b1ed236b520a833fdd2a15003","fce9262f840a74118112caf685b725e1cc86cd2b0927311511113d90d87cc61e","d7a7cac49af2a3bfc208fe68831fbfa569864f74a7f31cc3a607f641e6c583fd","9a80e3322d08274f0e41b77923c91fe67b2c8a5134a5278c2cb60a330441554e","2460af41191009298d931c592fb6d4151beea320f1f25b73605e2211e53e4e88","2f87ea988d84d1c617afdeba9d151435473ab24cd5fc456510c8db26d8bd1581","b7336c1c536e3deaedbda956739c6250ac2d0dd171730c42cb57b10368f38a14","6fb67d664aaab2f1d1ad4613b58548aecb4b4703b9e4c5dba6b865b31bd14722","4414644199b1a047b4234965e07d189781a92b578707c79c3933918d67cd9d85","04a4b38c6a1682059eac00e7d0948d99c46642b57003d61d0fe9ccc9df442887","f12ea658b060da1752c65ae4f1e4c248587f6cd4cb4acabbf79a110b6b02ff75","011b2857871a878d5eae463bedc4b3dd14755dc3a67d5d10f8fbb7823d119294","e175549fe57dbff5cd68c1a5ccf33717584d7db9afb8ec216fd2c0daa3b06931","ea68c312e1eb9b48f7064a8dda348594769ba8f9c8596315827c559734a60205","6ddb5fb4476ca702ecff9e5ff0295cde6ce138d71f817da65e118a2a3c534106","6dfff2e65f10158f5a868e642a2e74d2d1bd76f15291552f389f2b8c829a9a86","d10870b52d5b4f5683007f352ce9cd52555dfe0f36ce45ca1c0ea57c0dbe9bff",{"version":"3f743387618453482934acc6e29842312fcba0d772bb5741831723921e90d65d","signature":"faaadd501e12491f830501082ff3fac925a863ad3521e25b1aa5b2612c369a23"},{"version":"bcf0ac1635b992aa2c84b5e8987d03d98b448be1aeadba08d308d715cf6b7904","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"9d9a825f61091f91daff0a681e51dc5dbf3af234b29bc804a474177df9eceb6d","signature":"e51c5ce84e6391a0fb4143244720619e722a6a98d721a5fce770a561a7787609"},"ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","5f7614d60b32dc66e5d665eafd10d7619eedca3a20f0e876e9ec73141735e364",{"version":"bbdf156fea2fabed31a569445835aeedcc33643d404fcbaa54541f06c109df3f","affectsGlobalScope":true},"ba7617784f6b9aeac5e20c5eea869bbc3ef31b905f59c796b0fd401dae17c111","6a386ff939f180ae8ef064699d8b7b6e62bc2731a62d7fbf5e02589383838dea","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"ef8a481f9f2205fcc287eef2b4e461d2fc16bc8a0e49a844681f2f742d69747e","affectsGlobalScope":true},"e4dd91dd4789a109aab51d8a0569a282369fcda9ba6f2b2297bc61bacfb1a042"],"root":[62,63,133,[140,142],[144,146],[168,170]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":1,"module":99,"noEmitOnError":false,"noImplicitAny":true,"noImplicitReturns":false,"noImplicitThis":true,"noPropertyAccessFromIndexSignature":false,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./typescript","rootDir":"../source","skipLibCheck":true,"sourceMap":false,"strict":true,"target":99},"fileIdsList":[[65,67,120,151,152],[65,67,120,152,153,154,155],[65,67,120,127,152,154],[65,67,120,151,153],[65,67,93,120,127],[65,67,93,120,127,147],[65,67,120,147,148,149,150],[65,67,120,147,149],[65,67,120,148],[65,67,109,120,127,156,157,158,161],[65,67,120,157,158,160],[65,67,92,120,127,156,157,158,159],[65,67,120,158],[65,67,120,156,157],[65,67,120,127,156],[65,67,120],[65,67,77,120],[65,67,80,120],[65,67,81,86,120],[65,67,82,92,93,100,109,119,120],[65,67,82,83,92,100,120],[65,67,84,120],[65,67,85,86,93,101,120],[65,67,86,109,116,120],[65,67,87,89,92,100,120],[65,67,88,120],[65,67,89,90,120],[65,67,91,92,120],[65,67,92,120],[65,67,92,93,94,109,119,120],[65,67,92,93,94,109,120],[65,67,95,100,109,119,120],[65,67,92,93,95,96,100,109,116,119,120],[65,67,95,97,109,116,119,120],[65,67,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126],[65,67,92,98,120],[65,67,99,119,120],[65,67,89,92,100,109,120],[65,67,101,120],[65,67,102,120],[65,67,80,103,120],[65,67,104,118,120,124],[65,67,105,120],[65,67,106,120],[65,67,92,107,120],[65,67,107,108,120,122],[65,67,92,109,110,111,120],[65,67,109,111,120],[65,67,109,110,120],[65,67,112,120],[65,67,113,120],[65,67,92,114,115,120],[65,67,114,115,120],[65,67,86,100,116,120],[65,67,117,120],[65,67,100,118,120],[65,67,81,95,106,119,120],[65,67,86,120],[65,67,109,120,121],[65,67,120,122],[65,67,120,123],[65,67,81,86,92,94,103,109,119,120,122,124],[65,67,109,120,125],[65,67,120,134],[65,67,109,120,127],[65,67,120,177],[65,67,120,173,174,175,176],[67,120],[65,120],[65,67,120,127,163,164,165],[65,67,120,163,164],[65,67,120,163],[65,67,120,127,162],[65,67,119,120,166],[65,66,67,75,76,120,129,130,131],[65,67,120,128],[64,65,66,67,93,102,120,133,140,141,142,144],[65,67,120,132,133,140,145,146,168],[65,67,120,132],[65,67,120,145,146,168],[65,67,93,102,120,132,133,140,141,142,144,167],[65,67,93,102,119,120,132,134,135,136,137,138,139],[65,67,102,120,140,143],[64,65,67,93,120,132],[65,67,102,120,140],[65,67,68,120],[65,67,68,69,70,71,72,73,74,120],[65,67,69,120],[65,67,68,69,120],[145,146,168],[132,134],[140],[64,132]],"referencedMap":[[153,1],[156,2],[155,3],[154,4],[152,5],[148,6],[151,7],[150,8],[149,9],[147,5],[162,10],[161,11],[160,12],[159,13],[158,14],[157,15],[66,16],[171,5],[143,16],[77,17],[78,17],[80,18],[81,19],[82,20],[83,21],[84,22],[85,23],[86,24],[87,25],[88,26],[89,27],[90,27],[91,28],[92,29],[93,30],[94,31],[79,16],[126,16],[95,32],[96,33],[97,34],[127,35],[98,36],[99,37],[100,38],[101,39],[102,40],[103,41],[104,42],[105,43],[106,44],[107,45],[108,46],[109,47],[111,48],[110,49],[112,50],[113,51],[114,52],[115,53],[116,54],[117,55],[118,56],[119,57],[120,58],[121,59],[122,60],[123,61],[124,62],[125,63],[134,16],[137,64],[138,64],[139,64],[136,64],[172,65],[128,65],[175,16],[178,66],[173,16],[177,67],[176,16],[64,16],[76,16],[65,68],[67,69],[174,16],[166,70],[165,71],[164,72],[163,73],[167,74],[135,16],[60,16],[61,16],[12,16],[13,16],[15,16],[14,16],[2,16],[16,16],[17,16],[18,16],[19,16],[20,16],[21,16],[22,16],[23,16],[3,16],[4,16],[27,16],[24,16],[25,16],[26,16],[28,16],[29,16],[30,16],[5,16],[31,16],[32,16],[33,16],[34,16],[6,16],[38,16],[35,16],[36,16],[37,16],[39,16],[7,16],[40,16],[45,16],[46,16],[41,16],[42,16],[43,16],[44,16],[8,16],[50,16],[47,16],[48,16],[49,16],[51,16],[9,16],[52,16],[53,16],[54,16],[57,16],[55,16],[56,16],[58,16],[10,16],[1,16],[11,16],[59,16],[62,16],[63,16],[132,75],[131,16],[129,76],[130,16],[145,77],[169,78],[133,79],[170,80],[146,77],[168,81],[140,82],[144,83],[141,84],[142,85],[68,16],[73,86],[75,87],[72,88],[70,89],[71,89],[74,16],[69,16]],"exportedModulesMap":[[153,1],[156,2],[155,3],[154,4],[152,5],[148,6],[151,7],[150,8],[149,9],[147,5],[162,10],[161,11],[160,12],[159,13],[158,14],[157,15],[66,16],[171,5],[143,16],[77,17],[78,17],[80,18],[81,19],[82,20],[83,21],[84,22],[85,23],[86,24],[87,25],[88,26],[89,27],[90,27],[91,28],[92,29],[93,30],[94,31],[79,16],[126,16],[95,32],[96,33],[97,34],[127,35],[98,36],[99,37],[100,38],[101,39],[102,40],[103,41],[104,42],[105,43],[106,44],[107,45],[108,46],[109,47],[111,48],[110,49],[112,50],[113,51],[114,52],[115,53],[116,54],[117,55],[118,56],[119,57],[120,58],[121,59],[122,60],[123,61],[124,62],[125,63],[134,16],[137,64],[138,64],[139,64],[136,64],[172,65],[128,65],[175,16],[178,66],[173,16],[177,67],[176,16],[64,16],[76,16],[65,68],[67,69],[174,16],[166,70],[165,71],[164,72],[163,73],[167,74],[135,16],[60,16],[61,16],[12,16],[13,16],[15,16],[14,16],[2,16],[16,16],[17,16],[18,16],[19,16],[20,16],[21,16],[22,16],[23,16],[3,16],[4,16],[27,16],[24,16],[25,16],[26,16],[28,16],[29,16],[30,16],[5,16],[31,16],[32,16],[33,16],[34,16],[6,16],[38,16],[35,16],[36,16],[37,16],[39,16],[7,16],[40,16],[45,16],[46,16],[41,16],[42,16],[43,16],[44,16],[8,16],[50,16],[47,16],[48,16],[49,16],[51,16],[9,16],[52,16],[53,16],[54,16],[57,16],[55,16],[56,16],[58,16],[10,16],[1,16],[11,16],[59,16],[62,16],[63,16],[132,75],[131,16],[129,76],[130,16],[170,90],[140,91],[144,92],[141,93],[142,92],[68,16],[73,86],[75,87],[72,88],[70,89],[71,89],[74,16],[69,16]],"semanticDiagnosticsPerFile":[153,156,155,154,152,148,151,150,149,147,162,161,160,159,158,157,66,171,143,77,78,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,79,126,95,96,97,127,98,99,100,101,102,103,104,105,106,107,108,109,111,110,112,113,114,115,116,117,118,119,120,121,122,123,124,125,134,137,138,139,136,172,128,175,178,173,177,176,64,76,65,67,174,166,165,164,163,167,135,60,61,12,13,15,14,2,16,17,18,19,20,21,22,23,3,4,27,24,25,26,28,29,30,5,31,32,33,34,6,38,35,36,37,39,7,40,45,46,41,42,43,44,8,50,47,48,49,51,9,52,53,54,57,55,56,58,10,1,11,59,62,63,132,131,129,130,145,169,133,170,146,168,140,144,141,142,68,73,75,72,70,71,74,69],"latestChangedDtsFile":"./typescript/index.d.ts"},"version":"5.0.2"}
|
|
1
|
+
{"program":{"fileNames":["../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/@quilted/typescript/definitions/assets.d.ts","../../../node_modules/@quilted/typescript/definitions/styles.d.ts","../../../node_modules/.pnpm/arg@5.0.1/node_modules/arg/index.d.ts","../../../node_modules/.pnpm/colorette@2.0.16/node_modules/colorette/index.d.ts","../../../node_modules/.pnpm/@types+common-tags@1.8.1/node_modules/@types/common-tags/index.d.ts","../../../node_modules/.pnpm/colorette@2.0.19/node_modules/colorette/index.d.ts","../../events/build/typescript/abort.d.ts","../../events/build/typescript/types.d.ts","../../events/build/typescript/on.d.ts","../../events/build/typescript/once.d.ts","../../events/build/typescript/listeners.d.ts","../../events/build/typescript/emitter.d.ts","../../events/build/typescript/timeouts.d.ts","../../events/build/typescript/index.d.ts","../../../node_modules/.pnpm/arg@5.0.2/node_modules/arg/index.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@16.11.36/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/@types+prompts@2.4.1/node_modules/@types/prompts/index.d.ts","../../cli-kit/build/typescript/prompt.d.ts","../../cli-kit/build/typescript/template.d.ts","../../cli-kit/build/typescript/package-manager.d.ts","../../cli-kit/build/typescript/index.d.ts","../source/help.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/index.d.ts","../../../node_modules/.pnpm/pkg-dir@6.0.1/node_modules/pkg-dir/index.d.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/standalone.d.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/parser-babel.d.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/parser-typescript.d.ts","../../../node_modules/.pnpm/@types+prettier@2.6.3/node_modules/@types/prettier/parser-yaml.d.ts","../source/shared.ts","../source/shared/prompts.ts","../source/shared/tsconfig.ts","../../../node_modules/.pnpm/@types+minimatch@3.0.5/node_modules/@types/minimatch/index.d.ts","../source/shared/package-manager.ts","../source/app.ts","../source/module.ts","../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/types/index.d.ts","../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts","../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.d.ts","../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.d.ts","../../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.d.ts","../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/types/index.d.ts","../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts","../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.d.ts","../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts","../../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.d.ts","../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/types/index.d.ts","../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.d.ts","../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts","../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.d.ts","../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.d.ts","../../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.d.ts","../../../node_modules/.pnpm/fast-glob@3.2.11/node_modules/fast-glob/out/types/index.d.ts","../../../node_modules/.pnpm/fast-glob@3.2.11/node_modules/fast-glob/out/settings.d.ts","../../../node_modules/.pnpm/fast-glob@3.2.11/node_modules/fast-glob/out/managers/tasks.d.ts","../../../node_modules/.pnpm/fast-glob@3.2.11/node_modules/fast-glob/out/index.d.ts","../../../node_modules/.pnpm/globby@13.1.1/node_modules/globby/index.d.ts","../source/package.ts","../source/cli.ts","../source/index.ts","../../../node_modules/.pnpm/@types+fs-extra@9.0.13/node_modules/@types/fs-extra/index.d.ts","../../../node_modules/.pnpm/@types+prompts@2.0.14/node_modules/@types/prompts/index.d.ts","../../../node_modules/.pnpm/@types+react@18.0.26/node_modules/@types/react/global.d.ts","../../../node_modules/.pnpm/csstype@3.1.0/node_modules/csstype/index.d.ts","../../../node_modules/.pnpm/@types+prop-types@15.7.5/node_modules/@types/prop-types/index.d.ts","../../../node_modules/.pnpm/@types+scheduler@0.16.2/node_modules/@types/scheduler/tracing.d.ts","../../../node_modules/.pnpm/@types+react@18.0.26/node_modules/@types/react/index.d.ts","../../../node_modules/.pnpm/@types+react-dom@18.0.10/node_modules/@types/react-dom/index.d.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","f4e736d6c8d69ae5b3ab0ddfcaa3dc365c3e76909d6660af5b4e979b3934ac20","eeeb3aca31fbadef8b82502484499dfd1757204799a6f5b33116201c810676ec",{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"9a60b92bca4c1257db03b349d58e63e4868cfc0d1c8d0ba60c2dbc63f4e6c9f6","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"61ed9b6d07af959e745fb11f9593ecd743b279418cc8a99448ea3cd5f3b3eb22","affectsGlobalScope":true},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true},{"version":"b7feb7967c6c6003e11f49efa8f5de989484e0a6ba2e5a6c41b55f8b8bd85dba","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"25de46552b782d43cb7284df22fe2a265de387cf0248b747a7a1b647d81861f6","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"95f22ce5f9dbcfc757ff850e7326a1ba1bc69806f1e70f48caefa824819d6f4f","affectsGlobalScope":true},"7e9f54acdee22b52308c4040b668e6f3d83c6795469802a10c7685151f8f137f","e578fd01e69fb19a5b4ad95f193128ef0a142ead8b61d9149cd767762f0cf27d","5fd321c200cd8891db9851493872f01075a3f1032349ed37c458d7f67d8051e2","c8adda9f45d2f7ec9fb28c59859db32da6c2835f1fec96433e2729e5805fa46f","c5590caef278ad8ba2532ec93e29a32ac354dfb333277348acce18512891d3b2","c8adda9f45d2f7ec9fb28c59859db32da6c2835f1fec96433e2729e5805fa46f","c2de627775d0d98242b8843b49c3e2054e062da60e08cf21e73b8a7958f0fc66","7bd8813324d615717cad768f6ff9696a93a1a4d64dd889d6554967ff67f9bff4","0245f1183127c6a30f5c48f84016ae53e479a8f51b1c57853f0b4798574ee77d","f64924609cd6f1b8740d3f8e773e19bb260570807766c00e34acaea011160cf2","6044b5d637cf8c5bea9264bb58d953e91dcc5ac678754f46a7ca92f7a388007b","c679e059e201d2fc0d2bb3135e2784089a98f2691973c2a7fc96fcf0759ebd86","7ec353ebe9e9f32053d49d7af46ced7d58e5641cc1c2d94ae39162f47e666efc","877b5cce742a9c5e6921521dcb0235cbd3df56e24604d15d024a83a1ad8d7307","5faa5a81d34228d0ecb70b59ffca5b04fc5f6ec259f008d4d74098a6f0eeba91","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"2f6c9750131d5d2fdaba85c164a930dc07d2d7e7e8970b89d32864aa6c72620c","affectsGlobalScope":true},"56d13f223ab40f71840795f5bef2552a397a70666ee60878222407f3893fb8d0",{"version":"aeeee3998c5a730f8689f04038d41cf4245c9edbf6ef29a698e45b36e399b8ed","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","90b94d3d2aa3432cc9dd2d15f56a38b166163fc555404c74243e1af29c5549d8","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","c993aac3b6d4a4620ef9651497069eb84806a131420e4f158ea9396fb8eb9b8c","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","e3b886bacdd1fbf1f72e654596c80a55c7bc1d10bdf464aaf52f45ecd243862f","d2f5c67858e65ebb932c2f4bd2af646f5764e8ad7f1e4fbe942a0b5ea05dc0e7","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","7f249c599e7a9335dd8e94a4bfe63f00e911756c3c23f77cdb6ef0ec4d479e4a",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"2cabc86ea4f972f2c8386903eccb8c19e2f2370fb9808b66dd8759c1f2ab30c7","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","945a841f9a591197154c85386bc5a1467d42d325104bb36db51bc566bbb240be","10c39ce1df102994b47d4bc0c71aa9a6aea76f4651a5ec51914431f50bc883a1",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","02b3239cf1b1ff8737e383ed5557f0247499d15f5bd21ab849b1a24687b6100c","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"127803f77e0dfee84b031b83ea7776875c6c4c89e11a81d00299ff58f163f0e2","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"dd9ea469d1bfaf589c6a196275d35cb1aa14014707c2c46d920c7b921e8f5bca","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1503a452a67127e5c2da794d1c7c44344d5038373aae16c9b03ac964db159edd","2d17c0dd1d8b821c4e43c9b68ce0619c44f8aabd8fb050b2921048f0e6161b72","3ba288dddd9c8e58c1436689ca2ce903aa5356e857c35accb241474dc44773f3","624264def7ec12e9a141acb5652ce3ea4c43bd58bc72382b65ec068a9c24fdb5","9c3e89a69645b83452a0ce0b4b711cb652e436503542e66543b796ce6e28d9a9","d745622d5997c49ae8120cefd24114de01d6bdbb90660b3fb4af4ef997a059be",{"version":"b51765d8717ca7783f3dda6970102b98d96cfd43b556819870f5049725b128eb","signature":"ea17591cec4bc5f1546d37c885b0c6efd92abb575461ef5cd56dc24b348ad865"},"f1d8b21cdf08726021c8cce0cd6159486236cf1d633eeabbc435b5b2e5869c2e","c58eb580d75b517e64396a9aac843bad347f38481a1e64ca12998e92e12ceb08","88a3183e8e099a405861299a83ac855b99fef3985ed31e73016f61914b3a09ea","8592b3ee11de8e3d3257868571f52dfdcb973ec8af799c23681b41744934e3fd","2f49e129648fd071896ba9e98b59bd70f6ebad232507b95bbe06bce18ca36fa3","f83148c8ce30f74fd32c8e2d1d0ea5b1c2517ce78b6271bffa09fb9c482ee35c",{"version":"7576ec7cdb9b0f8b49e2263fda6b6ec24eece2ad24e9b40c4bbf2756480a8b3e","signature":"88970b794ab6947ee46ff99bc82a05d630fb132cfe8e1f8826742d6d9a492bb0"},{"version":"60d8d066e52ee7072b26ef9bac4d5c0f0c5270b601041175e0e735fc4d0b4e41","signature":"7bf501870ffc4792d1af6b899243ccb290e8af3c0cf344c6030e27fcf31cac0c"},{"version":"cf67809c9ae61ff0b374aba8b0584b3b233bdc1a4994dbedd89b8824ee17efdd","signature":"032b7320f292e2bbb09a9867892082b373a328556de09c3ecb3bfb132d556380"},"8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649",{"version":"a231a20443cb852e07d277f49dc559f0679330499809067f8a0f36728e4fe39c","signature":"64f9812d39dce04d3c38b6aa20b741ddb7ab62ac9c8bda253678f539803f9da1"},{"version":"c52430e9c66f2185debce5f9708e2053f8cdd8dae250ee21824418461cf6eb1b","signature":"a0fb1ca421ef9e52a14869f0070dfc14f61b82b0f364d2303281cb312d4f72e4"},{"version":"f228fc266f18acfc432d55a09d0b7ee2a2874320c8d293eb0d2f26a8b924c17a","signature":"5d915047409506b19d4466effea2015ff3ad75f13fb9a16dd90738c04d183805"},"46324183533e34fad2461b51174132e8e0e4b3ac1ceb5032e4952992739d1eab","d3fa0530dfb1df408f0abd76486de39def69ca47683d4a3529b2d22fce27c693","d9be977c415df16e4defe4995caeca96e637eeef9d216d0d90cdba6fc617e97e","98e0c2b48d855a844099123e8ec20fe383ecd1c5877f3895b048656befe268d0","ff53802a97b7d11ab3c4395aa052baa14cd12d2b1ed236b520a833fdd2a15003","fce9262f840a74118112caf685b725e1cc86cd2b0927311511113d90d87cc61e","d7a7cac49af2a3bfc208fe68831fbfa569864f74a7f31cc3a607f641e6c583fd","9a80e3322d08274f0e41b77923c91fe67b2c8a5134a5278c2cb60a330441554e","2460af41191009298d931c592fb6d4151beea320f1f25b73605e2211e53e4e88","2f87ea988d84d1c617afdeba9d151435473ab24cd5fc456510c8db26d8bd1581","b7336c1c536e3deaedbda956739c6250ac2d0dd171730c42cb57b10368f38a14","6fb67d664aaab2f1d1ad4613b58548aecb4b4703b9e4c5dba6b865b31bd14722","4414644199b1a047b4234965e07d189781a92b578707c79c3933918d67cd9d85","04a4b38c6a1682059eac00e7d0948d99c46642b57003d61d0fe9ccc9df442887","f12ea658b060da1752c65ae4f1e4c248587f6cd4cb4acabbf79a110b6b02ff75","011b2857871a878d5eae463bedc4b3dd14755dc3a67d5d10f8fbb7823d119294","e175549fe57dbff5cd68c1a5ccf33717584d7db9afb8ec216fd2c0daa3b06931","ea68c312e1eb9b48f7064a8dda348594769ba8f9c8596315827c559734a60205","6ddb5fb4476ca702ecff9e5ff0295cde6ce138d71f817da65e118a2a3c534106","6dfff2e65f10158f5a868e642a2e74d2d1bd76f15291552f389f2b8c829a9a86","d10870b52d5b4f5683007f352ce9cd52555dfe0f36ce45ca1c0ea57c0dbe9bff",{"version":"3f743387618453482934acc6e29842312fcba0d772bb5741831723921e90d65d","signature":"faaadd501e12491f830501082ff3fac925a863ad3521e25b1aa5b2612c369a23"},{"version":"bcf0ac1635b992aa2c84b5e8987d03d98b448be1aeadba08d308d715cf6b7904","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"9d9a825f61091f91daff0a681e51dc5dbf3af234b29bc804a474177df9eceb6d","signature":"e51c5ce84e6391a0fb4143244720619e722a6a98d721a5fce770a561a7787609"},"ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","5f7614d60b32dc66e5d665eafd10d7619eedca3a20f0e876e9ec73141735e364",{"version":"bbdf156fea2fabed31a569445835aeedcc33643d404fcbaa54541f06c109df3f","affectsGlobalScope":true},"ba7617784f6b9aeac5e20c5eea869bbc3ef31b905f59c796b0fd401dae17c111","6a386ff939f180ae8ef064699d8b7b6e62bc2731a62d7fbf5e02589383838dea","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"ef8a481f9f2205fcc287eef2b4e461d2fc16bc8a0e49a844681f2f742d69747e","affectsGlobalScope":true},"e4dd91dd4789a109aab51d8a0569a282369fcda9ba6f2b2297bc61bacfb1a042"],"root":[62,63,133,[140,142],[144,146],[168,170]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":1,"module":99,"noEmitOnError":false,"noImplicitAny":true,"noImplicitReturns":false,"noImplicitThis":true,"noPropertyAccessFromIndexSignature":false,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./typescript","rootDir":"../source","skipLibCheck":true,"sourceMap":false,"strict":true,"target":99},"fileIdsList":[[65,67,120,151,152],[65,67,120,152,153,154,155],[65,67,120,127,152,154],[65,67,120,151,153],[65,67,93,120,127],[65,67,93,120,127,147],[65,67,120,147,148,149,150],[65,67,120,147,149],[65,67,120,148],[65,67,109,120,127,156,157,158,161],[65,67,120,157,158,160],[65,67,92,120,127,156,157,158,159],[65,67,120,158],[65,67,120,156,157],[65,67,120,127,156],[65,67,120],[65,67,77,120],[65,67,80,120],[65,67,81,86,120],[65,67,82,92,93,100,109,119,120],[65,67,82,83,92,100,120],[65,67,84,120],[65,67,85,86,93,101,120],[65,67,86,109,116,120],[65,67,87,89,92,100,120],[65,67,88,120],[65,67,89,90,120],[65,67,91,92,120],[65,67,92,120],[65,67,92,93,94,109,119,120],[65,67,92,93,94,109,120],[65,67,95,100,109,119,120],[65,67,92,93,95,96,100,109,116,119,120],[65,67,95,97,109,116,119,120],[65,67,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126],[65,67,92,98,120],[65,67,99,119,120],[65,67,89,92,100,109,120],[65,67,101,120],[65,67,102,120],[65,67,80,103,120],[65,67,104,118,120,124],[65,67,105,120],[65,67,106,120],[65,67,92,107,120],[65,67,107,108,120,122],[65,67,92,109,110,111,120],[65,67,109,111,120],[65,67,109,110,120],[65,67,112,120],[65,67,113,120],[65,67,92,114,115,120],[65,67,114,115,120],[65,67,86,100,116,120],[65,67,117,120],[65,67,100,118,120],[65,67,81,95,106,119,120],[65,67,86,120],[65,67,109,120,121],[65,67,120,122],[65,67,120,123],[65,67,81,86,92,94,103,109,119,120,122,124],[65,67,109,120,125],[65,67,120,134],[65,67,109,120,127],[65,67,120,177],[65,67,120,173,174,175,176],[67,120],[65,120],[65,67,120,127,163,164,165],[65,67,120,163,164],[65,67,120,163],[65,67,120,127,162],[65,67,119,120,166],[65,66,67,75,76,120,129,130,131],[65,67,120,128],[64,65,66,67,93,102,120,133,140,141,142,144],[65,67,120,132,133,140,145,146,168],[65,67,120,132],[65,67,120,145,146,168],[65,67,93,102,120,132,133,140,141,142,144,167],[65,67,93,102,119,120,132,134,135,136,137,138,139],[65,67,102,120,140,143],[64,65,67,93,120,132],[65,67,102,120,140],[65,67,68,120],[65,67,68,69,70,71,72,73,74,120],[65,67,69,120],[65,67,68,69,120],[145,146,168],[132,134],[140],[64,132]],"referencedMap":[[153,1],[156,2],[155,3],[154,4],[152,5],[148,6],[151,7],[150,8],[149,9],[147,5],[162,10],[161,11],[160,12],[159,13],[158,14],[157,15],[66,16],[171,5],[143,16],[77,17],[78,17],[80,18],[81,19],[82,20],[83,21],[84,22],[85,23],[86,24],[87,25],[88,26],[89,27],[90,27],[91,28],[92,29],[93,30],[94,31],[79,16],[126,16],[95,32],[96,33],[97,34],[127,35],[98,36],[99,37],[100,38],[101,39],[102,40],[103,41],[104,42],[105,43],[106,44],[107,45],[108,46],[109,47],[111,48],[110,49],[112,50],[113,51],[114,52],[115,53],[116,54],[117,55],[118,56],[119,57],[120,58],[121,59],[122,60],[123,61],[124,62],[125,63],[134,16],[137,64],[138,64],[139,64],[136,64],[172,65],[128,65],[175,16],[178,66],[173,16],[177,67],[176,16],[64,16],[76,16],[65,68],[67,69],[174,16],[166,70],[165,71],[164,72],[163,73],[167,74],[135,16],[60,16],[61,16],[12,16],[13,16],[15,16],[14,16],[2,16],[16,16],[17,16],[18,16],[19,16],[20,16],[21,16],[22,16],[23,16],[3,16],[4,16],[27,16],[24,16],[25,16],[26,16],[28,16],[29,16],[30,16],[5,16],[31,16],[32,16],[33,16],[34,16],[6,16],[38,16],[35,16],[36,16],[37,16],[39,16],[7,16],[40,16],[45,16],[46,16],[41,16],[42,16],[43,16],[44,16],[8,16],[50,16],[47,16],[48,16],[49,16],[51,16],[9,16],[52,16],[53,16],[54,16],[57,16],[55,16],[56,16],[58,16],[10,16],[1,16],[11,16],[59,16],[62,16],[63,16],[132,75],[131,16],[129,76],[130,16],[145,77],[169,78],[133,79],[170,80],[146,77],[168,81],[140,82],[144,83],[141,84],[142,85],[68,16],[73,86],[75,87],[72,88],[70,89],[71,89],[74,16],[69,16]],"exportedModulesMap":[[153,1],[156,2],[155,3],[154,4],[152,5],[148,6],[151,7],[150,8],[149,9],[147,5],[162,10],[161,11],[160,12],[159,13],[158,14],[157,15],[66,16],[171,5],[143,16],[77,17],[78,17],[80,18],[81,19],[82,20],[83,21],[84,22],[85,23],[86,24],[87,25],[88,26],[89,27],[90,27],[91,28],[92,29],[93,30],[94,31],[79,16],[126,16],[95,32],[96,33],[97,34],[127,35],[98,36],[99,37],[100,38],[101,39],[102,40],[103,41],[104,42],[105,43],[106,44],[107,45],[108,46],[109,47],[111,48],[110,49],[112,50],[113,51],[114,52],[115,53],[116,54],[117,55],[118,56],[119,57],[120,58],[121,59],[122,60],[123,61],[124,62],[125,63],[134,16],[137,64],[138,64],[139,64],[136,64],[172,65],[128,65],[175,16],[178,66],[173,16],[177,67],[176,16],[64,16],[76,16],[65,68],[67,69],[174,16],[166,70],[165,71],[164,72],[163,73],[167,74],[135,16],[60,16],[61,16],[12,16],[13,16],[15,16],[14,16],[2,16],[16,16],[17,16],[18,16],[19,16],[20,16],[21,16],[22,16],[23,16],[3,16],[4,16],[27,16],[24,16],[25,16],[26,16],[28,16],[29,16],[30,16],[5,16],[31,16],[32,16],[33,16],[34,16],[6,16],[38,16],[35,16],[36,16],[37,16],[39,16],[7,16],[40,16],[45,16],[46,16],[41,16],[42,16],[43,16],[44,16],[8,16],[50,16],[47,16],[48,16],[49,16],[51,16],[9,16],[52,16],[53,16],[54,16],[57,16],[55,16],[56,16],[58,16],[10,16],[1,16],[11,16],[59,16],[62,16],[63,16],[132,75],[131,16],[129,76],[130,16],[170,90],[140,91],[144,92],[141,93],[142,92],[68,16],[73,86],[75,87],[72,88],[70,89],[71,89],[74,16],[69,16]],"semanticDiagnosticsPerFile":[153,156,155,154,152,148,151,150,149,147,162,161,160,159,158,157,66,171,143,77,78,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,79,126,95,96,97,127,98,99,100,101,102,103,104,105,106,107,108,109,111,110,112,113,114,115,116,117,118,119,120,121,122,123,124,125,134,137,138,139,136,172,128,175,178,173,177,176,64,76,65,67,174,166,165,164,163,167,135,60,61,12,13,15,14,2,16,17,18,19,20,21,22,23,3,4,27,24,25,26,28,29,30,5,31,32,33,34,6,38,35,36,37,39,7,40,45,46,41,42,43,44,8,50,47,48,49,51,9,52,53,54,57,55,56,58,10,1,11,59,62,63,132,131,129,130,145,169,133,170,146,168,140,144,141,142,68,73,75,72,70,71,74,69],"latestChangedDtsFile":"./typescript/shared.d.ts"},"version":"5.0.2"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BuiltInParserName } from 'prettier';
|
|
2
2
|
export { prompt } from '@quilted/cli-kit';
|
|
3
|
-
export declare function loadTemplate(name: 'package' | 'app-basic' | 'app-single-file' | 'app-empty' | 'app-graphql' | 'module' | 'workspace' | 'github' | 'vscode'): {
|
|
3
|
+
export declare function loadTemplate(name: 'package' | 'app-basic' | 'app-single-file' | 'app-empty' | 'app-graphql' | 'app-trpc' | 'module' | 'workspace' | 'github' | 'vscode'): {
|
|
4
4
|
copy(to: string, handleFile?: ((file: string) => boolean) | undefined): Promise<void>;
|
|
5
5
|
read(file: string): Promise<string>;
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../source/shared.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,UAAU,CAAC;AAChD,OAAO,EAAC,MAAM,EAAC,MAAM,kBAAkB,CAAC;AAExC,wBAAgB,YAAY,CAC1B,IAAI,EACA,SAAS,GACT,WAAW,GACX,iBAAiB,GACjB,WAAW,GACX,aAAa,GACb,QAAQ,GACR,WAAW,GACX,QAAQ,GACR,QAAQ;aAKK,MAAM,uBAAsB,MAAM,KAAK,OAAO;eAwB5C,MAAM;EAO1B;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACpC,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACrD;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,YAAY,CAY/D;
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../source/shared.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,UAAU,CAAC;AAChD,OAAO,EAAC,MAAM,EAAC,MAAM,kBAAkB,CAAC;AAExC,wBAAgB,YAAY,CAC1B,IAAI,EACA,SAAS,GACT,WAAW,GACX,iBAAiB,GACjB,WAAW,GACX,aAAa,GACb,UAAU,GACV,QAAQ,GACR,WAAW,GACX,QAAQ,GACR,QAAQ;aAKK,MAAM,uBAAsB,MAAM,KAAK,OAAO;eAwB5C,MAAM;EAO1B;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACpC,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACrD;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,YAAY,CAY/D;AAkCD,wBAAgB,kBAAkB,CAAC,WAAW,EAAE,MAAM,UAOrD;AAoBD,wBAAsB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,iBAE5D;AAED,wBAAsB,OAAO,CAAC,IAAI,EAAE,MAAM,oBAEzC;AAED,wBAAsB,cAAc,CAAC,GAAG,EAAE,MAAM,iBAQ/C;AAED,wBAAgB,2BAA2B,CAAC,iBAAiB,EAAE,MAAM,UAIpE;AAED,wBAAsB,MAAM,CAC1B,OAAO,EAAE,MAAM,EACf,EAAC,EAAE,EAAE,MAAM,EAAC,EAAE;IAAC,EAAE,EAAE,iBAAiB,CAAA;CAAC,mBAyBtC;AAED,wBAAgB,iBAAiB,CAC/B,KAAK,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,EAClC,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,0BAYpC;AAeD,wBAAgB,oCAAoC,CAClD,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC3C,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,2BAsC9C"}
|
package/package.json
CHANGED
package/source/app.ts
CHANGED
|
@@ -382,10 +382,11 @@ async function getDirectory(argv: Arguments, {name}: {name: string}) {
|
|
|
382
382
|
return directory;
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
-
type Template = 'basic' | 'graphql' | 'single-file' | 'empty';
|
|
385
|
+
type Template = 'basic' | 'graphql' | 'trpc' | 'single-file' | 'empty';
|
|
386
386
|
const VALID_TEMPLATES = new Set<Template>([
|
|
387
387
|
'basic',
|
|
388
388
|
'graphql',
|
|
389
|
+
'trpc',
|
|
389
390
|
'single-file',
|
|
390
391
|
'empty',
|
|
391
392
|
]);
|
|
@@ -426,6 +427,12 @@ async function getTemplate(argv: Arguments) {
|
|
|
426
427
|
)}, a web app with a GraphQL API, fetched using @tanstack/react-query`,
|
|
427
428
|
value: 'graphql',
|
|
428
429
|
},
|
|
430
|
+
{
|
|
431
|
+
title: `${color.bold(
|
|
432
|
+
'tRPC',
|
|
433
|
+
)}, a web app with a tRPC API, fetched using @tanstack/react-query`,
|
|
434
|
+
value: 'trpc',
|
|
435
|
+
},
|
|
429
436
|
],
|
|
430
437
|
})) as Template;
|
|
431
438
|
|
package/source/shared.ts
CHANGED
|
@@ -11,6 +11,7 @@ export function loadTemplate(
|
|
|
11
11
|
| 'app-single-file'
|
|
12
12
|
| 'app-empty'
|
|
13
13
|
| 'app-graphql'
|
|
14
|
+
| 'app-trpc'
|
|
14
15
|
| 'module'
|
|
15
16
|
| 'workspace'
|
|
16
17
|
| 'github'
|
|
@@ -81,6 +82,7 @@ async function templateDirectory(
|
|
|
81
82
|
| 'app-single-file'
|
|
82
83
|
| 'app-empty'
|
|
83
84
|
| 'app-graphql'
|
|
85
|
+
| 'app-trpc'
|
|
84
86
|
| 'module'
|
|
85
87
|
| 'workspace'
|
|
86
88
|
| 'github'
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createOptionalContext,
|
|
3
|
+
createUseContextHook,
|
|
4
|
+
createUseOptionalValueHook,
|
|
5
|
+
} from '@quilted/quilt';
|
|
6
|
+
|
|
7
|
+
export interface AppContext {}
|
|
8
|
+
|
|
9
|
+
export const AppContextReact = createOptionalContext<AppContext>();
|
|
10
|
+
export const useAppContext = createUseContextHook(AppContextReact);
|
|
11
|
+
|
|
12
|
+
export function createUseAppContextHook<T>(hook: (context: AppContext) => T) {
|
|
13
|
+
return createUseOptionalValueHook<T>(() => hook(useAppContext()));
|
|
14
|
+
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import '@quilted/quilt/matchers';
|
|
2
2
|
|
|
3
|
-
import {type PropsWithChildren} from '@quilted/quilt';
|
|
4
3
|
import {
|
|
5
4
|
createRender,
|
|
6
5
|
QuiltAppTesting,
|
|
7
6
|
createTestRouter,
|
|
8
7
|
} from '@quilted/quilt/testing';
|
|
9
8
|
|
|
9
|
+
import {
|
|
10
|
+
AppContextReact,
|
|
11
|
+
type AppContext as AppContextType,
|
|
12
|
+
} from '~/shared/context.ts';
|
|
13
|
+
|
|
10
14
|
type Router = ReturnType<typeof createTestRouter>;
|
|
11
15
|
|
|
12
16
|
export {createTestRouter};
|
|
@@ -26,7 +30,7 @@ export interface RenderOptions {
|
|
|
26
30
|
locale?: string;
|
|
27
31
|
}
|
|
28
32
|
|
|
29
|
-
export interface RenderContext {
|
|
33
|
+
export interface RenderContext extends AppContextType {
|
|
30
34
|
/**
|
|
31
35
|
* The router used for this component test.
|
|
32
36
|
*/
|
|
@@ -52,10 +56,14 @@ export const renderWithAppContext = createRender<
|
|
|
52
56
|
return {router};
|
|
53
57
|
},
|
|
54
58
|
// Render all of our app-wide context providers around each component under test.
|
|
55
|
-
render(element,
|
|
59
|
+
render(element, context, {locale}) {
|
|
60
|
+
const {router} = context;
|
|
61
|
+
|
|
56
62
|
return (
|
|
57
63
|
<QuiltAppTesting routing={router} localization={locale}>
|
|
58
|
-
<
|
|
64
|
+
<AppContextReact.Provider value={context}>
|
|
65
|
+
{element}
|
|
66
|
+
</AppContextReact.Provider>
|
|
59
67
|
</QuiltAppTesting>
|
|
60
68
|
);
|
|
61
69
|
},
|
|
@@ -66,8 +74,3 @@ export const renderWithAppContext = createRender<
|
|
|
66
74
|
// once the data is ready.
|
|
67
75
|
},
|
|
68
76
|
});
|
|
69
|
-
|
|
70
|
-
// This component renders any app-wide context needed for component tests.
|
|
71
|
-
function TestAppContext({children}: PropsWithChildren) {
|
|
72
|
-
return <>{children}</>;
|
|
73
|
-
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createOptionalContext,
|
|
3
|
+
createUseContextHook,
|
|
4
|
+
createUseOptionalValueHook,
|
|
5
|
+
} from '@quilted/quilt';
|
|
6
|
+
|
|
7
|
+
export interface AppContext {}
|
|
8
|
+
|
|
9
|
+
export const AppContextReact = createOptionalContext<AppContext>();
|
|
10
|
+
export const useAppContext = createUseContextHook(AppContextReact);
|
|
11
|
+
|
|
12
|
+
export function createUseAppContextHook<T>(hook: (context: AppContext) => T) {
|
|
13
|
+
return createUseOptionalValueHook<T>(() => hook(useAppContext()));
|
|
14
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import '@quilted/quilt/matchers';
|
|
2
2
|
|
|
3
|
-
import {type Router} from '@quilted/quilt';
|
|
4
3
|
import {
|
|
5
4
|
createRender,
|
|
6
5
|
QuiltAppTesting,
|
|
@@ -8,6 +7,11 @@ import {
|
|
|
8
7
|
} from '@quilted/quilt/testing';
|
|
9
8
|
import {QueryClient, QueryClientProvider} from '@tanstack/react-query';
|
|
10
9
|
|
|
10
|
+
import {
|
|
11
|
+
AppContextReact,
|
|
12
|
+
type AppContext as AppContextType,
|
|
13
|
+
} from '~/shared/context.ts';
|
|
14
|
+
|
|
11
15
|
import {
|
|
12
16
|
TestGraphQL,
|
|
13
17
|
fillGraphQL,
|
|
@@ -15,6 +19,8 @@ import {
|
|
|
15
19
|
type GraphQLController,
|
|
16
20
|
} from './graphql.ts';
|
|
17
21
|
|
|
22
|
+
type Router = ReturnType<typeof createTestRouter>;
|
|
23
|
+
|
|
18
24
|
export {createTestRouter, fillGraphQL, createGraphQLController};
|
|
19
25
|
|
|
20
26
|
export interface RenderOptions {
|
|
@@ -53,7 +59,7 @@ export interface RenderOptions {
|
|
|
53
59
|
locale?: string;
|
|
54
60
|
}
|
|
55
61
|
|
|
56
|
-
export interface RenderContext {
|
|
62
|
+
export interface RenderContext extends AppContextType {
|
|
57
63
|
/**
|
|
58
64
|
* The router used for this component test.
|
|
59
65
|
*/
|
|
@@ -89,14 +95,18 @@ export const renderWithAppContext = createRender<
|
|
|
89
95
|
return {router, graphql, queryClient: new QueryClient()};
|
|
90
96
|
},
|
|
91
97
|
// Render all of our app-wide context providers around each component under test.
|
|
92
|
-
render(element,
|
|
98
|
+
render(element, context, {locale}) {
|
|
99
|
+
const {router, graphql, queryClient} = context;
|
|
100
|
+
|
|
93
101
|
return (
|
|
94
102
|
<QuiltAppTesting routing={router} localization={locale}>
|
|
95
|
-
<
|
|
96
|
-
<
|
|
97
|
-
{
|
|
98
|
-
|
|
99
|
-
|
|
103
|
+
<AppContextReact.Provider value={context}>
|
|
104
|
+
<TestGraphQL controller={graphql}>
|
|
105
|
+
<QueryClientProvider client={queryClient}>
|
|
106
|
+
{element}
|
|
107
|
+
</QueryClientProvider>
|
|
108
|
+
</TestGraphQL>
|
|
109
|
+
</AppContextReact.Provider>
|
|
100
110
|
</QuiltAppTesting>
|
|
101
111
|
);
|
|
102
112
|
},
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import {QuiltApp, useRoutes, type PropsWithChildren} from '@quilted/quilt';
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
AppContextReact,
|
|
5
|
+
type AppContext as AppContextType,
|
|
6
|
+
} from '~/shared/context.ts';
|
|
7
|
+
|
|
8
|
+
import {Http} from './foundation/Http.tsx';
|
|
9
|
+
import {Head} from './foundation/Head.tsx';
|
|
10
|
+
import {Metrics} from './foundation/Metrics.tsx';
|
|
11
|
+
|
|
12
|
+
import {Start} from './features/Start.tsx';
|
|
13
|
+
|
|
14
|
+
export interface Props extends AppContextType {}
|
|
15
|
+
|
|
16
|
+
// The root component for your application. You will typically render any
|
|
17
|
+
// app-wide context in this component.
|
|
18
|
+
export default function App(props: Props) {
|
|
19
|
+
return (
|
|
20
|
+
<QuiltApp http={<Http />} html={<Head />}>
|
|
21
|
+
<AppContext {...props}>
|
|
22
|
+
<Routes />
|
|
23
|
+
</AppContext>
|
|
24
|
+
</QuiltApp>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// This component renders the routes for your application. If you have a lot
|
|
29
|
+
// of routes, you may want to split this component into its own file.
|
|
30
|
+
function Routes() {
|
|
31
|
+
return useRoutes([
|
|
32
|
+
{match: '/', render: <Start />, renderPreload: <Start.Preload />},
|
|
33
|
+
]);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// This component renders any app-wide context.
|
|
37
|
+
function AppContext({
|
|
38
|
+
children,
|
|
39
|
+
...appContext
|
|
40
|
+
}: PropsWithChildren<AppContextType>) {
|
|
41
|
+
return (
|
|
42
|
+
<AppContextReact.Provider value={appContext}>
|
|
43
|
+
<Metrics>{children}</Metrics>
|
|
44
|
+
</AppContextReact.Provider>
|
|
45
|
+
);
|
|
46
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import '@quilted/quilt/global';
|
|
2
|
+
import {hydrateRoot} from 'react-dom/client';
|
|
3
|
+
import {httpBatchLink} from '@trpc/client';
|
|
4
|
+
|
|
5
|
+
import {trpc} from '~/shared/trpc.ts';
|
|
6
|
+
|
|
7
|
+
import App from './App.tsx';
|
|
8
|
+
|
|
9
|
+
const element = document.querySelector('#app')!;
|
|
10
|
+
|
|
11
|
+
const trpcClient = trpc.createClient({
|
|
12
|
+
links: [httpBatchLink({url: new URL('/api', window.location.href).href})],
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
hydrateRoot(element, <App trpc={trpcClient} />);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {describe, it, expect} from '@quilted/quilt/testing';
|
|
2
|
+
|
|
3
|
+
import {renderWithAppContext} from '~/tests/render.tsx';
|
|
4
|
+
|
|
5
|
+
import Start from './Start.tsx';
|
|
6
|
+
|
|
7
|
+
describe('<Start />', () => {
|
|
8
|
+
it('includes a welcome message', async () => {
|
|
9
|
+
const start = await renderWithAppContext(<Start />);
|
|
10
|
+
expect(start).toContainReactText('Hello world!');
|
|
11
|
+
});
|
|
12
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {usePerformanceNavigation} from '@quilted/quilt';
|
|
2
|
+
|
|
3
|
+
import {trpc} from '~/shared/trpc.ts';
|
|
4
|
+
|
|
5
|
+
import styles from './Start.module.css';
|
|
6
|
+
|
|
7
|
+
export default function Start() {
|
|
8
|
+
const [data] = trpc.message.useSuspenseQuery('world');
|
|
9
|
+
|
|
10
|
+
// This hook indicates that the page has loaded. It is used as part of Quilt’s
|
|
11
|
+
// navigation performance tracking feature. If you have disabled this feature,
|
|
12
|
+
// you can remove this hook.
|
|
13
|
+
usePerformanceNavigation();
|
|
14
|
+
|
|
15
|
+
return <div className={styles.Start}>{data}</div>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {Viewport, SearchRobots} from '@quilted/quilt/html';
|
|
2
|
+
import {describe, it, expect} from '@quilted/quilt/testing';
|
|
3
|
+
|
|
4
|
+
import {renderWithAppContext} from '~/tests/render.tsx';
|
|
5
|
+
|
|
6
|
+
import {Head} from './Head.tsx';
|
|
7
|
+
|
|
8
|
+
describe('<Head />', () => {
|
|
9
|
+
it('includes a responsive viewport tag', async () => {
|
|
10
|
+
const head = await renderWithAppContext(<Head />);
|
|
11
|
+
|
|
12
|
+
expect(head).toContainReactComponent(Viewport, {
|
|
13
|
+
cover: true,
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
it('prevents search robots from indexing the application', async () => {
|
|
18
|
+
const head = await renderWithAppContext(<Head />);
|
|
19
|
+
|
|
20
|
+
expect(head).toContainReactComponent(SearchRobots, {
|
|
21
|
+
index: false,
|
|
22
|
+
follow: false,
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
});
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import {Title, Viewport, Favicon, SearchRobots} from '@quilted/quilt/html';
|
|
2
|
+
|
|
3
|
+
// This component sets details of the HTML page. If you need to customize
|
|
4
|
+
// any of these details based on conditions like the active route, or some
|
|
5
|
+
// state about the user, you can move these components to wherever in your
|
|
6
|
+
// application you can read that state.
|
|
7
|
+
//
|
|
8
|
+
// @see https://github.com/lemonmade/quilt/blob/main/documentation/features/html.md
|
|
9
|
+
export function Head() {
|
|
10
|
+
return (
|
|
11
|
+
<>
|
|
12
|
+
{/* Sets the default `<title>` for this application. */}
|
|
13
|
+
<Title>App</Title>
|
|
14
|
+
|
|
15
|
+
{/*
|
|
16
|
+
* Sets the default favicon used by the application. You can
|
|
17
|
+
* change this to a different emoji, make it `blank`, or pass
|
|
18
|
+
* a URL with the `source` prop.
|
|
19
|
+
*/}
|
|
20
|
+
<Favicon emoji="🧶" />
|
|
21
|
+
|
|
22
|
+
{/* Adds a responsive-friendly `viewport` `<meta>` tag. */}
|
|
23
|
+
<Viewport cover />
|
|
24
|
+
|
|
25
|
+
{/*
|
|
26
|
+
* Disables all search indexing for this application. If you are
|
|
27
|
+
* building an unauthenticated app, you probably want to remove
|
|
28
|
+
* this component, or update it to control how your site is indexed
|
|
29
|
+
* by search engines.
|
|
30
|
+
*/}
|
|
31
|
+
<SearchRobots index={false} follow={false} />
|
|
32
|
+
</>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {Head} from './Head/Head.tsx';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {CacheControl, ContentSecurityPolicy} from '@quilted/quilt/http';
|
|
2
|
+
import {describe, it, expect} from '@quilted/quilt/testing';
|
|
3
|
+
|
|
4
|
+
import {renderWithAppContext} from '~/tests/render.tsx';
|
|
5
|
+
|
|
6
|
+
import {Http} from './Http.tsx';
|
|
7
|
+
|
|
8
|
+
describe('<Http />', () => {
|
|
9
|
+
it('does not cache the response', async () => {
|
|
10
|
+
const http = await renderWithAppContext(<Http />);
|
|
11
|
+
|
|
12
|
+
expect(http).toContainReactComponent(CacheControl, {
|
|
13
|
+
cache: false,
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
it('adds a content security policy with a strict default policy', async () => {
|
|
18
|
+
const http = await renderWithAppContext(<Http />);
|
|
19
|
+
|
|
20
|
+
expect(http).toContainReactComponent(ContentSecurityPolicy, {
|
|
21
|
+
defaultSources: ["'self'"],
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
});
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import Env from '@quilted/quilt/env';
|
|
2
|
+
import {useCurrentUrl} from '@quilted/quilt';
|
|
3
|
+
import {
|
|
4
|
+
CacheControl,
|
|
5
|
+
ResponseHeader,
|
|
6
|
+
ContentSecurityPolicy,
|
|
7
|
+
PermissionsPolicy,
|
|
8
|
+
StrictTransportSecurity,
|
|
9
|
+
} from '@quilted/quilt/http';
|
|
10
|
+
|
|
11
|
+
// This component sets details on the HTTP response for all HTML server-rendering
|
|
12
|
+
// requests. If you need to customize any of these details based on conditions like
|
|
13
|
+
// the active route, or some state about the user, you can move these components to
|
|
14
|
+
// wherever in your application you can read that state.
|
|
15
|
+
//
|
|
16
|
+
// @see https://github.com/lemonmade/quilt/blob/main/documentation/features/http.md
|
|
17
|
+
export function Http() {
|
|
18
|
+
const isHttps = useCurrentUrl().protocol === 'https:';
|
|
19
|
+
|
|
20
|
+
return (
|
|
21
|
+
<>
|
|
22
|
+
{/*
|
|
23
|
+
* Disables the cache for this page, which is generally the best option
|
|
24
|
+
* when dealing with authenticated content. If your site doesn’t have
|
|
25
|
+
* authentication, or you have a better cache policy that works for your
|
|
26
|
+
* app or deployment, make sure to update this component accordingly!
|
|
27
|
+
*
|
|
28
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
|
|
29
|
+
*/}
|
|
30
|
+
<CacheControl cache={false} />
|
|
31
|
+
|
|
32
|
+
{/*
|
|
33
|
+
* Sets a strict content security policy for this page. If you load
|
|
34
|
+
* assets from other origins, or want to allow some more dangerous
|
|
35
|
+
* resource loading techniques like `eval`, you can change the
|
|
36
|
+
* `defaultSources` to be less restrictive, or add additional items
|
|
37
|
+
* to the allowlist for more specific directives.
|
|
38
|
+
*
|
|
39
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
|
|
40
|
+
*/}
|
|
41
|
+
<ContentSecurityPolicy
|
|
42
|
+
reportOnly={Env.MODE === 'development'}
|
|
43
|
+
// By default, only allow sources from the page’s origin.
|
|
44
|
+
defaultSources={["'self'"]}
|
|
45
|
+
// In development, allow connections to local websockets for hot reloading.
|
|
46
|
+
connectSources={
|
|
47
|
+
Env.MODE === 'development'
|
|
48
|
+
? ["'self'", `${isHttps ? 'ws' : 'wss'}://localhost:*`]
|
|
49
|
+
: undefined
|
|
50
|
+
}
|
|
51
|
+
// Includes `'unsafe-inline'` because CSS is often necessary in development,
|
|
52
|
+
// and can be difficult to avoid in production.
|
|
53
|
+
styleSources={["'self'", "'unsafe-inline'"]}
|
|
54
|
+
// Includes `data:` so that an inline image can be used for the favicon.
|
|
55
|
+
// If you do not use the `emoji` or `blank` favicons in your app, and you
|
|
56
|
+
// do not load any other images as data URIs, you can remove this directive.
|
|
57
|
+
imageSources={["'self'", 'data:']}
|
|
58
|
+
// Don’t allow this page to be rendered as a frame from a different origin.
|
|
59
|
+
frameAncestors={false}
|
|
60
|
+
// Ensure that all requests made by this page are made over https, unless
|
|
61
|
+
// it is being served over http (typically, during local development)
|
|
62
|
+
upgradeInsecureRequests={isHttps}
|
|
63
|
+
/>
|
|
64
|
+
|
|
65
|
+
{/*
|
|
66
|
+
* Sets a strict permissions policy for this page, which limits access
|
|
67
|
+
* to some native browser features.
|
|
68
|
+
*
|
|
69
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy
|
|
70
|
+
*/}
|
|
71
|
+
<PermissionsPolicy
|
|
72
|
+
// Disables Google’s Federated Learning of Cohorts (“FLoC”) tracking initiative.
|
|
73
|
+
// @see https://www.eff.org/deeplinks/2021/03/googles-floc-terrible-idea
|
|
74
|
+
interestCohort={false}
|
|
75
|
+
// Don’t use synchronous XHRs!
|
|
76
|
+
// @see https://featurepolicy.info/policies/sync-xhr
|
|
77
|
+
syncXhr={false}
|
|
78
|
+
// Disables access to a few device APIs that are infrequently used
|
|
79
|
+
// and prone to abuse. If your application uses these APIs intentionally,
|
|
80
|
+
// feel free to remove the prop, or pass an array containing the origins
|
|
81
|
+
// that should be allowed to use this feature (e.g., `['self']` to allow
|
|
82
|
+
// only the main page’s origin).
|
|
83
|
+
camera={false}
|
|
84
|
+
microphone={false}
|
|
85
|
+
geolocation={false}
|
|
86
|
+
/>
|
|
87
|
+
|
|
88
|
+
{/*
|
|
89
|
+
* Instructs browsers to only load this page over HTTPS using the
|
|
90
|
+
* `Strict-Transport-Security` header.
|
|
91
|
+
*
|
|
92
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
|
|
93
|
+
*/}
|
|
94
|
+
{isHttps && <StrictTransportSecurity />}
|
|
95
|
+
|
|
96
|
+
{/*
|
|
97
|
+
* Controls how much information about the current page is included in
|
|
98
|
+
* requests (through the `Referer` header). The default value
|
|
99
|
+
* (strict-origin-when-cross-origin) means that only the origin is included
|
|
100
|
+
* for cross-origin requests, while the origin, path, and querystring
|
|
101
|
+
* are included for same-origin requests.
|
|
102
|
+
*
|
|
103
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy
|
|
104
|
+
*/}
|
|
105
|
+
<ResponseHeader
|
|
106
|
+
name="Referrer-Policy"
|
|
107
|
+
value="strict-origin-when-cross-origin"
|
|
108
|
+
/>
|
|
109
|
+
|
|
110
|
+
{/*
|
|
111
|
+
* Instructs browsers to respect the MIME type in the `Content-Type` header.
|
|
112
|
+
*
|
|
113
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options
|
|
114
|
+
*/}
|
|
115
|
+
<ResponseHeader name="X-Content-Type-Options" value="nosniff" />
|
|
116
|
+
</>
|
|
117
|
+
);
|
|
118
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {Http} from './Http/Http.tsx';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
usePerformanceNavigationEvent,
|
|
3
|
+
type PropsWithChildren,
|
|
4
|
+
} from '@quilted/quilt';
|
|
5
|
+
import Env from '@quilted/quilt/env';
|
|
6
|
+
|
|
7
|
+
// This component records metrics about your application.
|
|
8
|
+
export function Metrics({children}: PropsWithChildren) {
|
|
9
|
+
usePerformanceNavigationEvent(async (navigation) => {
|
|
10
|
+
if (Env.MODE === 'development') {
|
|
11
|
+
// eslint-disable-next-line no-console
|
|
12
|
+
console.log('Navigation:');
|
|
13
|
+
// eslint-disable-next-line no-console
|
|
14
|
+
console.log(navigation);
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// If you have a service that collects metrics, you can send navigation
|
|
19
|
+
// data to them here.
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
return <>{children}</>;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {Metrics} from './Metrics/Metrics.tsx';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "template-app-basic",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"private": true,
|
|
6
|
+
"scripts": {
|
|
7
|
+
"start": "node ./build/server/server.js"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {},
|
|
10
|
+
"devDependencies": {
|
|
11
|
+
"@quilted/quilt": "^0.5.0",
|
|
12
|
+
"@quilted/react-query": "^0.1.0",
|
|
13
|
+
"@quilted/trpc": "^0.1.0",
|
|
14
|
+
"@tanstack/react-query": "^4.22.4",
|
|
15
|
+
"@trpc/client": "^10.31.0",
|
|
16
|
+
"@trpc/react-query": "^10.31.0",
|
|
17
|
+
"@trpc/server": "^10.31.0",
|
|
18
|
+
"@types/react": "^18.0.0",
|
|
19
|
+
"@types/react-dom": "^18.0.0",
|
|
20
|
+
"preact": "^10.14.0",
|
|
21
|
+
"react": "npm:@quilted/react@^18.2.0",
|
|
22
|
+
"react-dom": "npm:@quilted/react-dom@^18.2.0",
|
|
23
|
+
"zod": "^3.21.0"
|
|
24
|
+
},
|
|
25
|
+
"sideEffects": [
|
|
26
|
+
"*.css",
|
|
27
|
+
"browser.tsx"
|
|
28
|
+
],
|
|
29
|
+
"browserslist": {
|
|
30
|
+
"defaults": [
|
|
31
|
+
"extends @quilted/browserslist-config/defaults"
|
|
32
|
+
],
|
|
33
|
+
"modules": [
|
|
34
|
+
"extends @quilted/browserslist-config/modules"
|
|
35
|
+
],
|
|
36
|
+
"evergreen": [
|
|
37
|
+
"extends @quilted/browserslist-config/evergreen"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"eslintConfig": {
|
|
41
|
+
"extends": "@quilted/eslint-config/app"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import '@quilted/quilt/global';
|
|
2
|
+
import {createRequestRouter, createServerRender} from '@quilted/quilt/server';
|
|
3
|
+
import {createBrowserAssets} from '@quilted/quilt/magic/assets';
|
|
4
|
+
import {createDirectClient} from '@quilted/trpc/server';
|
|
5
|
+
import {fetchRequestHandler} from '@trpc/server/adapters/fetch';
|
|
6
|
+
|
|
7
|
+
import {appRouter} from './trpc.ts';
|
|
8
|
+
|
|
9
|
+
const router = createRequestRouter();
|
|
10
|
+
|
|
11
|
+
router.any(
|
|
12
|
+
'api',
|
|
13
|
+
(request) => {
|
|
14
|
+
return fetchRequestHandler({
|
|
15
|
+
endpoint: '/api',
|
|
16
|
+
req: request,
|
|
17
|
+
router: appRouter,
|
|
18
|
+
createContext: () => ({}),
|
|
19
|
+
});
|
|
20
|
+
},
|
|
21
|
+
{exact: false},
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
// For all GET requests, render our React application.
|
|
25
|
+
router.get(
|
|
26
|
+
createServerRender(
|
|
27
|
+
async () => {
|
|
28
|
+
const {default: App} = await import('./App.tsx');
|
|
29
|
+
return <App trpc={createDirectClient(appRouter)} />;
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
assets: createBrowserAssets(),
|
|
33
|
+
},
|
|
34
|
+
),
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
export default router;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createOptionalContext,
|
|
3
|
+
createUseContextHook,
|
|
4
|
+
createUseOptionalValueHook,
|
|
5
|
+
} from '@quilted/quilt';
|
|
6
|
+
|
|
7
|
+
export interface AppContext {}
|
|
8
|
+
|
|
9
|
+
export const AppContextReact = createOptionalContext<AppContext>();
|
|
10
|
+
export const useAppContext = createUseContextHook(AppContextReact);
|
|
11
|
+
|
|
12
|
+
export function createUseAppContextHook<T>(hook: (context: AppContext) => T) {
|
|
13
|
+
return createUseOptionalValueHook<T>(() => hook(useAppContext()));
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {type TRPCClient} from '@trpc/client';
|
|
2
|
+
import {createTRPCReact, type CreateTRPCReact} from '@trpc/react-query';
|
|
3
|
+
|
|
4
|
+
// Get access to our app’s router type signature, which will
|
|
5
|
+
// provide strong typing on the queries and mutations we can
|
|
6
|
+
// perform.
|
|
7
|
+
import {type AppRouter} from '../trpc.ts';
|
|
8
|
+
|
|
9
|
+
export const trpc: CreateTRPCReact<AppRouter, unknown, null> =
|
|
10
|
+
createTRPCReact<AppRouter>();
|
|
11
|
+
|
|
12
|
+
declare module '~/shared/context.ts' {
|
|
13
|
+
interface AppContext {
|
|
14
|
+
trpc: TRPCClient<AppRouter>;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import '@quilted/quilt/matchers';
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
createRender,
|
|
5
|
+
QuiltAppTesting,
|
|
6
|
+
createTestRouter,
|
|
7
|
+
} from '@quilted/quilt/testing';
|
|
8
|
+
|
|
9
|
+
import {
|
|
10
|
+
AppContextReact,
|
|
11
|
+
type AppContext as AppContextType,
|
|
12
|
+
} from '~/shared/context.ts';
|
|
13
|
+
|
|
14
|
+
type Router = ReturnType<typeof createTestRouter>;
|
|
15
|
+
|
|
16
|
+
export {createTestRouter};
|
|
17
|
+
|
|
18
|
+
export interface RenderOptions {
|
|
19
|
+
/**
|
|
20
|
+
* A custom router to use for this component test. You can use a
|
|
21
|
+
* custom router to simulate a particular URL, and you can spy on
|
|
22
|
+
* its navigation method to check that components navigate as
|
|
23
|
+
* you expect.
|
|
24
|
+
*/
|
|
25
|
+
router?: Router;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* A custom locale to use for this component test.
|
|
29
|
+
*/
|
|
30
|
+
locale?: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface RenderContext extends AppContextType {
|
|
34
|
+
/**
|
|
35
|
+
* The router used for this component test.
|
|
36
|
+
*/
|
|
37
|
+
router: Router;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface RenderActions extends Record<string, never> {}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Renders a component with test-friendly versions of all global
|
|
44
|
+
* context available to the application.
|
|
45
|
+
*/
|
|
46
|
+
export const renderWithAppContext = createRender<
|
|
47
|
+
RenderOptions,
|
|
48
|
+
RenderContext,
|
|
49
|
+
RenderActions,
|
|
50
|
+
true
|
|
51
|
+
>({
|
|
52
|
+
// Create context that can be used by the `render` function, and referenced by test
|
|
53
|
+
// authors on the `root.context` property. Context is used to share data between your
|
|
54
|
+
// React tree and your test code, and is ideal for mocking out global context providers.
|
|
55
|
+
context({router = createTestRouter()}) {
|
|
56
|
+
return {router};
|
|
57
|
+
},
|
|
58
|
+
// Render all of our app-wide context providers around each component under test.
|
|
59
|
+
render(element, context, {locale}) {
|
|
60
|
+
const {router} = context;
|
|
61
|
+
|
|
62
|
+
return (
|
|
63
|
+
<QuiltAppTesting routing={router} localization={locale}>
|
|
64
|
+
<AppContextReact.Provider value={context}>
|
|
65
|
+
{element}
|
|
66
|
+
</AppContextReact.Provider>
|
|
67
|
+
</QuiltAppTesting>
|
|
68
|
+
);
|
|
69
|
+
},
|
|
70
|
+
async afterRender() {
|
|
71
|
+
// If your components need to resolve data before they can render, you can
|
|
72
|
+
// use this hook to wait for that data to be ready. This will cause the
|
|
73
|
+
// `render` function to return a promise, so that the component is only usable
|
|
74
|
+
// once the data is ready.
|
|
75
|
+
},
|
|
76
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {z} from 'zod';
|
|
2
|
+
import {initTRPC} from '@trpc/server';
|
|
3
|
+
|
|
4
|
+
const t = initTRPC.create();
|
|
5
|
+
|
|
6
|
+
export const appRouter = t.router({
|
|
7
|
+
message: t.procedure.input(z.string()).query(({input}) => `Hello ${input}!`),
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
// Export type router type signature, not the router itself.
|
|
11
|
+
// Our client-side code will use this type to infer the
|
|
12
|
+
// procedures that are defined.
|
|
13
|
+
export type AppRouter = typeof appRouter;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "@quilted/typescript/project.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"outDir": "build/typescript",
|
|
5
|
+
"paths": {
|
|
6
|
+
"~/shared/*": ["./shared/*"],
|
|
7
|
+
"~/tests/*": ["./tests/*"]
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"include": ["**/*"],
|
|
11
|
+
"exclude": ["build"],
|
|
12
|
+
"references": []
|
|
13
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|