@quilted/rollup 0.1.0
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/LICENSE.md +21 -0
- package/README.md +1 -0
- package/build/cjs/app.cjs +137 -0
- package/build/cjs/constants.cjs +13 -0
- package/build/cjs/env.cjs +130 -0
- package/build/cjs/index.cjs +16 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/TemplateTag/TemplateTag.cjs +168 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/commaLists/commaLists.cjs +8 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/commaListsAnd/commaListsAnd.cjs +8 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/commaListsOr/commaListsOr.cjs +8 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/html/html.cjs +10 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.cjs +48 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/inlineLists/inlineLists.cjs +8 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLine/oneLine.cjs +7 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.cjs +8 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.cjs +8 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.cjs +8 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.cjs +8 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLineTrim/oneLineTrim.cjs +7 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.cjs +23 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.cjs +22 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.cjs +22 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/safeHtml/safeHtml.cjs +10 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.cjs +20 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/stripIndent/stripIndent.cjs +11 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.cjs +37 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/stripIndents/stripIndents.cjs +7 -0
- package/build/cjs/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.cjs +33 -0
- package/build/cjs/request-router.cjs +30 -0
- package/build/cjs/shared/magic-module.cjs +44 -0
- package/build/cjs/shared/strings.cjs +16 -0
- package/build/esm/app.mjs +130 -0
- package/build/esm/constants.mjs +7 -0
- package/build/esm/env.mjs +108 -0
- package/build/esm/index.mjs +3 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/TemplateTag/TemplateTag.mjs +164 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/commaLists/commaLists.mjs +6 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/commaListsAnd/commaListsAnd.mjs +6 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/commaListsOr/commaListsOr.mjs +6 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/html/html.mjs +8 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.mjs +44 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/inlineLists/inlineLists.mjs +6 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLine/oneLine.mjs +5 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.mjs +6 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.mjs +6 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.mjs +6 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.mjs +6 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLineTrim/oneLineTrim.mjs +5 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.mjs +19 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.mjs +18 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.mjs +18 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/safeHtml/safeHtml.mjs +8 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.mjs +16 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/stripIndent/stripIndent.mjs +7 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.mjs +33 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/stripIndents/stripIndents.mjs +5 -0
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.mjs +29 -0
- package/build/esm/request-router.mjs +28 -0
- package/build/esm/shared/magic-module.mjs +41 -0
- package/build/esm/shared/strings.mjs +14 -0
- package/build/esnext/app.esnext +130 -0
- package/build/esnext/constants.esnext +7 -0
- package/build/esnext/env.esnext +108 -0
- package/build/esnext/index.esnext +3 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/TemplateTag/TemplateTag.esnext +164 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/commaLists/commaLists.esnext +6 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/commaListsAnd/commaListsAnd.esnext +6 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/commaListsOr/commaListsOr.esnext +6 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/html/html.esnext +8 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/inlineArrayTransformer/inlineArrayTransformer.esnext +44 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/inlineLists/inlineLists.esnext +6 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLine/oneLine.esnext +5 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLineCommaLists/oneLineCommaLists.esnext +6 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLineCommaListsAnd/oneLineCommaListsAnd.esnext +6 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLineCommaListsOr/oneLineCommaListsOr.esnext +6 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLineInlineLists/oneLineInlineLists.esnext +6 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/oneLineTrim/oneLineTrim.esnext +5 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/removeNonPrintingValuesTransformer/removeNonPrintingValuesTransformer.esnext +19 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/replaceResultTransformer/replaceResultTransformer.esnext +18 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/replaceSubstitutionTransformer/replaceSubstitutionTransformer.esnext +18 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/safeHtml/safeHtml.esnext +8 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.esnext +16 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/stripIndent/stripIndent.esnext +7 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/stripIndentTransformer/stripIndentTransformer.esnext +33 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/stripIndents/stripIndents.esnext +5 -0
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/trimResultTransformer/trimResultTransformer.esnext +29 -0
- package/build/esnext/request-router.esnext +28 -0
- package/build/esnext/shared/magic-module.esnext +41 -0
- package/build/esnext/shared/strings.esnext +14 -0
- package/build/tsconfig.tsbuildinfo +1 -0
- package/build/typescript/app.d.ts +163 -0
- package/build/typescript/app.d.ts.map +1 -0
- package/build/typescript/constants.d.ts +6 -0
- package/build/typescript/constants.d.ts.map +1 -0
- package/build/typescript/env.d.ts +51 -0
- package/build/typescript/env.d.ts.map +1 -0
- package/build/typescript/index.d.ts +4 -0
- package/build/typescript/index.d.ts.map +1 -0
- package/build/typescript/request-router.d.ts +15 -0
- package/build/typescript/request-router.d.ts.map +1 -0
- package/build/typescript/shared/magic-module.d.ts +32 -0
- package/build/typescript/shared/magic-module.d.ts.map +1 -0
- package/build/typescript/shared/strings.d.ts +2 -0
- package/build/typescript/shared/strings.d.ts.map +1 -0
- package/package.json +52 -0
- package/quilt.project.ts +5 -0
- package/source/app.ts +217 -0
- package/source/constants.ts +5 -0
- package/source/env.ts +153 -0
- package/source/index.ts +13 -0
- package/source/request-router.ts +33 -0
- package/source/shared/magic-module.ts +53 -0
- package/source/shared/strings.ts +17 -0
- package/tsconfig.json +10 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* strips indentation from a template literal
|
|
5
|
+
* @param {String} type = 'initial' - whether to remove all indentation or just leading indentation. can be 'all' or 'initial'
|
|
6
|
+
* @return {Object} - a TemplateTag transformer
|
|
7
|
+
*/
|
|
8
|
+
var stripIndentTransformer = function stripIndentTransformer() {
|
|
9
|
+
var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'initial';
|
|
10
|
+
return {
|
|
11
|
+
onEndResult: function onEndResult(endResult) {
|
|
12
|
+
if (type === 'initial') {
|
|
13
|
+
// remove the shortest leading indentation from each line
|
|
14
|
+
var match = endResult.match(/^[^\S\n]*(?=\S)/gm);
|
|
15
|
+
var indent = match && Math.min.apply(Math, _toConsumableArray(match.map(function (el) {
|
|
16
|
+
return el.length;
|
|
17
|
+
})));
|
|
18
|
+
if (indent) {
|
|
19
|
+
var regexp = new RegExp('^.{' + indent + '}', 'gm');
|
|
20
|
+
return endResult.replace(regexp, '');
|
|
21
|
+
}
|
|
22
|
+
return endResult;
|
|
23
|
+
}
|
|
24
|
+
if (type === 'all') {
|
|
25
|
+
// remove all indentation from each line
|
|
26
|
+
return endResult.replace(/^[^\S\n]+/gm, '');
|
|
27
|
+
}
|
|
28
|
+
throw new Error('Unknown type: ' + type);
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export { stripIndentTransformer as default };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import TemplateTag from '../TemplateTag/TemplateTag.esnext';
|
|
2
|
+
import stripIndentTransformer from '../stripIndentTransformer/stripIndentTransformer.esnext';
|
|
3
|
+
import trimResultTransformer from '../trimResultTransformer/trimResultTransformer.esnext';
|
|
4
|
+
|
|
5
|
+
new TemplateTag(stripIndentTransformer('all'), trimResultTransformer);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TemplateTag transformer that trims whitespace on the end result of a tagged template
|
|
3
|
+
* @param {String} side = '' - The side of the string to trim. Can be 'start' or 'end' (alternatively 'left' or 'right')
|
|
4
|
+
* @return {Object} - a TemplateTag transformer
|
|
5
|
+
*/
|
|
6
|
+
var trimResultTransformer = function trimResultTransformer() {
|
|
7
|
+
var side = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
8
|
+
return {
|
|
9
|
+
onEndResult: function onEndResult(endResult) {
|
|
10
|
+
if (side === '') {
|
|
11
|
+
return endResult.trim();
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
side = side.toLowerCase();
|
|
15
|
+
|
|
16
|
+
if (side === 'start' || side === 'left') {
|
|
17
|
+
return endResult.replace(/^\s*/, '');
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
if (side === 'end' || side === 'right') {
|
|
21
|
+
return endResult.replace(/\s*$/, '');
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
throw new Error('Side not supported: ' + side);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export { trimResultTransformer as default };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { MAGIC_MODULE_REQUEST_ROUTER } from './constants.esnext';
|
|
2
|
+
import { createMagicModuleEntryPlugin } from './shared/magic-module.esnext';
|
|
3
|
+
import { multiline } from './shared/strings.esnext';
|
|
4
|
+
|
|
5
|
+
function magicModuleRequestRouterEntry({
|
|
6
|
+
host,
|
|
7
|
+
port
|
|
8
|
+
} = {}) {
|
|
9
|
+
return createMagicModuleEntryPlugin({
|
|
10
|
+
name: '@quilted/request-router',
|
|
11
|
+
sideEffects: true,
|
|
12
|
+
async source() {
|
|
13
|
+
const initialContent = multiline`
|
|
14
|
+
import requestRouter from ${JSON.stringify(MAGIC_MODULE_REQUEST_ROUTER)};
|
|
15
|
+
|
|
16
|
+
import {createHttpServer} from '@quilted/quilt/request-router/node';
|
|
17
|
+
|
|
18
|
+
const port = ${port ?? 'Number.parseInt(process.env.PORT, 10)'};
|
|
19
|
+
const host = ${host ? JSON.stringify(host) : 'process.env.HOST'};
|
|
20
|
+
|
|
21
|
+
createHttpServer(requestRouter).listen(port, host);
|
|
22
|
+
`;
|
|
23
|
+
return initialContent;
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { magicModuleRequestRouterEntry };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { MAGIC_MODULE_ENTRY } from '../constants.esnext';
|
|
2
|
+
|
|
3
|
+
const VIRTUAL_MODULE_PREFIX = '\0';
|
|
4
|
+
const VIRTUAL_MODULE_POSTFIX = '/module.js';
|
|
5
|
+
function createMagicModulePlugin({
|
|
6
|
+
name,
|
|
7
|
+
module,
|
|
8
|
+
alias = `${VIRTUAL_MODULE_PREFIX}${module}${VIRTUAL_MODULE_POSTFIX}`,
|
|
9
|
+
source: getSource,
|
|
10
|
+
sideEffects = false
|
|
11
|
+
}) {
|
|
12
|
+
return {
|
|
13
|
+
name,
|
|
14
|
+
resolveId(id) {
|
|
15
|
+
if (id !== module) return null;
|
|
16
|
+
return {
|
|
17
|
+
id: alias,
|
|
18
|
+
moduleSideEffects: sideEffects ? 'no-treeshake' : undefined
|
|
19
|
+
};
|
|
20
|
+
},
|
|
21
|
+
load: getSource ? async function load(source) {
|
|
22
|
+
if (source !== alias) return null;
|
|
23
|
+
const code = await getSource.call(this);
|
|
24
|
+
return {
|
|
25
|
+
code,
|
|
26
|
+
moduleSideEffects: sideEffects ? 'no-treeshake' : undefined
|
|
27
|
+
};
|
|
28
|
+
} : undefined
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function createMagicModuleEntryPlugin({
|
|
32
|
+
module = MAGIC_MODULE_ENTRY,
|
|
33
|
+
...options
|
|
34
|
+
}) {
|
|
35
|
+
return createMagicModulePlugin({
|
|
36
|
+
...options,
|
|
37
|
+
module
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { createMagicModuleEntryPlugin, createMagicModulePlugin };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
function multiline(strings, ...values) {
|
|
2
|
+
let result = strings.reduce((combined, string, index) => `${combined}${string}${values[index] ?? ''}`, '');
|
|
3
|
+
|
|
4
|
+
// Inspired by https://github.com/zspecza/common-tags/blob/master/src/stripIndentTransformer/stripIndentTransformer.js#L8
|
|
5
|
+
const match = result.match(/^[^\S\n]*(?=\S)/gm);
|
|
6
|
+
const indent = match && Math.min(...match.map(indent => indent.length));
|
|
7
|
+
if (indent) {
|
|
8
|
+
const regexp = new RegExp(`^.{${indent}}`, 'gm');
|
|
9
|
+
result = result.replace(regexp, '');
|
|
10
|
+
}
|
|
11
|
+
return result.trim();
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { multiline };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../typescript/definitions/assets.d.ts","../../typescript/definitions/styles.d.ts","../../../node_modules/.pnpm/rollup@4.0.2/node_modules/rollup/dist/rollup.d.ts","../source/constants.ts","../../../node_modules/.pnpm/@types+common-tags@1.8.1/node_modules/@types/common-tags/index.d.ts","../source/shared/magic-module.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@18.17.0/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/dotenv@16.0.1/node_modules/dotenv/lib/main.d.ts","../source/env.ts","../source/shared/strings.ts","../source/request-router.ts","../source/app.ts","../source/index.ts","../../../node_modules/.pnpm/@types+prettier@2.7.0/node_modules/@types/prettier/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":"2ac9cdcfb8f8875c18d14ec5796a8b029c426f73ad6dc3ffb580c228b58d1c44","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","bed7b7ba0eb5a160b69af72814b4dde371968e40b6c5e73d3a9f7bee407d158c",{"version":"0075fa5ceda385bcdf3488e37786b5a33be730e8bc4aa3cf1e78c63891752ce8","affectsGlobalScope":true},{"version":"35299ae4a62086698444a5aaee27fc7aa377c68cbb90b441c9ace246ffd05c97","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"09226e53d1cfda217317074a97724da3e71e2c545e18774484b61562afc53cd2","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"8b41361862022eb72fcc8a7f34680ac842aca802cf4bc1f915e8c620c9ce4331","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","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":"bc496ef4377553e461efcf7cc5a5a57cf59f9962aea06b5e722d54a36bf66ea1","affectsGlobalScope":true},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true},{"version":"930b0e15811f84e203d3c23508674d5ded88266df4b10abee7b31b2ac77632d2","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"65be38e881453e16f128a12a8d36f8b012aa279381bf3d4dc4332a4905ceec83","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"e1913f656c156a9e4245aa111fbb436d357d9e1fe0379b9a802da7fe3f03d736","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"f35a831e4f0fe3b3697f4a0fe0e3caa7624c92b78afbecaf142c0f93abfaf379","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"7e9f54acdee22b52308c4040b668e6f3d83c6795469802a10c7685151f8f137f","e578fd01e69fb19a5b4ad95f193128ef0a142ead8b61d9149cd767762f0cf27d","7887c5db11992146758f4575c190aff3c1543e13668a6bc85501b80bd8d17941",{"version":"47e4c1f5f5da0dcf054a083706251336d39aaf71032724ec0d9b011e2a3bc8ef","signature":"83cea833eba6e32d45a9d7276a0e1453bc324a0f52fad7513b3b16cf5ed83562"},"c5590caef278ad8ba2532ec93e29a32ac354dfb333277348acce18512891d3b2",{"version":"a68da0bf4672ef650a9956478aa36fbfacfeb9e77215e856ccee4e80f5daab58","signature":"56550dd1dd58c16713ce613343dea47f7a12a0d5a835a044275ff02f3c4b07c0"},"ba8691cf6bea9d53e6bf6cbc22af964a9633a21793981a1be3dce65e7a714d8b","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"bce910d9164785c9f0d4dcea4be359f5f92130c7c7833dea6138ab1db310a1f9","affectsGlobalScope":true},"7d2e3fea24c712c99c03ad8f556abedbfe105f87f1be10b95dbd409d24bc05a3",{"version":"7c387a02bf156d8d45667134d32518ac3ca1b99ca50ca9deff2c1a03eb6d1a81","affectsGlobalScope":true},"3719525a8f6ab731e3dfd585d9f87df55ec7d50d461df84f74eb4d68bb165244","f993522fd7d01ae1ead930091fe35130b8415720d6c2123dc2a7e8eb11bb3cba",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","b787b5b54349a24f07d089b612a9fb8ff024dbbe991ff52ea2b188a6b1230644","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","1cdcfc1f624d6c08aa12c73935f6e13f095919cd99edf95752951796eb225729","df6d4b6ba1e64f682091862faa30104e93891f9e7202d006bf5e7a88ab4a0dbe","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"c2fcbd6fad600e96fee8c5df1a62e908d477f5b47a9374b2bab7e74f52cfcc92","affectsGlobalScope":true},"5e3f2470ce8038c4005ff1baff18a69848383f431d6817d453e70d66e037f4a2","cc68e79b99f80e4dfd01967ec96be69efb0ff5bd7f779d9a2cc09dfe590ffd28","91d3d8f536f22dcaeeace0fc6f3544d3562e266a27cf3a2fe280b8051af5d006","9503113febdd737095465792cc074d541902c82c0aea3922f940de18784812ad","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true},"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"0715e4cd28ad471b2a93f3e552ff51a3ae423417a01a10aa1d3bc7c6b95059d6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","b28adf3fee5d3caf55b45bcbb01ade346059359239e21e774b224fb535b09d14","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda",{"version":"d9b4afd96c3c0ff70e90d05ef022e582b102e665e9029d34940472dc3058360e","affectsGlobalScope":true},{"version":"3c4ba1dd9b12ffa284b565063108f2f031d150ea15b8fafbdc17f5d2a07251f3","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","1422cd9e705adcc09088fda85a900c2b70e3ad36ea85846f68bd1a884cdf4e2b","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"22d7b95cb63dead43834ae20ee492c9c8b6d90db3957d21665199f0efb1d3e26","affectsGlobalScope":true},{"version":"a9fc1469744055a3435f203123246b96c094e7ff8c4e1c3863829d9b705b7a34","affectsGlobalScope":true},"868831cab82b65dfe1d68180e898af1f2101e89ba9b754d1db6fb8cc2fac1921","0fe8985a28f82c450a04a6edf1279d7181c0893f37da7d2a27f8efd4fd5edb03","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"52120bb7e4583612225bdf08e7c12559548170f11e660d33a33623bae9bbdbba","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"d5be4343a9ace4611f04a6fffd91ceba91265fa15bfb0149306e0a6963e1a015","cfdd927a5eae7a7e623b9745722ef3f2b7a2997fddc5d32b7e3dcaeeb15ff4a3",{"version":"612b66268a5c9473216ca72002802bc26a8b0de0d67e5d738ff9bef123a6eff8","signature":"78ef3bc25932ceb93c878ac27e850effe8f88d53ee306b6e1dd73faae73bfe9c"},{"version":"c5e81a5697261a95e15f62bae1f51885a5ca92a82e021ceb91a7ca5a36d9a853","signature":"7081d17cda224798270e87549969d8d30fd1d06efc4432eb7358b9180cda5694"},{"version":"20e0fb80d6761303fd121abc71e4f84cb4ea7213a0dc130f371d9377997eca75","signature":"c580e36cf009d7a05416f1919c0f2a8617d749ca088d4773de642ca2008a71c4"},{"version":"2ed08d832e7ed4c3498e7cc70f379e04609990e856cbab1d97b61043aefd954f","signature":"03e1d2fc3647407b37e9c55a9640ff4a2ce53d0f568bd496eadd0fad29286349"},{"version":"62cc1967f3b621a15e9dcbb1311d55dca8626c804b274f3ea66070cded35117f","signature":"fc01ae60aa7d9e1427fb7d79df613f99ffc6b30d1749cffd4316b2a710b904a2"},"93c4fc5b5237c09bc9ed65cb8f0dc1d89034406ab40500b89701341994897142",{"version":"bbdf156fea2fabed31a569445835aeedcc33643d404fcbaa54541f06c109df3f","affectsGlobalScope":true},"ba7617784f6b9aeac5e20c5eea869bbc3ef31b905f59c796b0fd401dae17c111","6a386ff939f180ae8ef064699d8b7b6e62bc2731a62d7fbf5e02589383838dea","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"ef8a481f9f2205fcc287eef2b4e461d2fc16bc8a0e49a844681f2f742d69747e","affectsGlobalScope":true},"e4dd91dd4789a109aab51d8a0569a282369fcda9ba6f2b2297bc61bacfb1a042"],"root":[66,67,69,71,[127,131]],"options":{"allowImportingTsExtensions":true,"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":[[118],[72,118],[75,118],[76,81,109,118],[77,88,89,96,106,117,118],[77,78,88,96,118],[79,118],[80,81,89,97,118],[81,106,114,118],[82,84,88,96,118],[83,118],[84,85,118],[88,118],[86,88,118],[88,89,90,106,117,118],[88,89,90,103,106,109,118],[118,122],[84,88,91,96,106,117,118],[88,89,91,92,96,106,114,117,118],[91,93,106,114,117,118],[72,73,74,75,76,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],[88,94,118],[95,117,118],[84,88,96,106,118],[97,118],[98,118],[75,99,118],[100,116,118,122],[101,118],[102,118],[88,103,104,118],[103,105,118,120],[76,88,106,107,108,109,118],[76,106,108,118],[106,107,118],[109,118],[110,118],[106,118],[88,112,113,118],[112,113,118],[81,96,106,114,118],[115,118],[96,116,118],[76,91,102,117,118],[81,118],[106,118,119],[118,120],[118,121],[76,81,88,90,99,106,117,118,120,122],[106,118,123],[118,137],[118,133,134,135,136],[118,125],[68,69,71,118,127,128,129],[68,69,70,71,89,98,118,126],[118,127,129,130],[69,71,118,128],[68,69,118],[68,127],[68],[127,129,130]],"referencedMap":[[70,1],[72,2],[73,2],[75,3],[76,4],[77,5],[78,6],[79,7],[80,8],[81,9],[82,10],[83,11],[84,12],[85,12],[87,13],[86,14],[88,13],[89,15],[90,16],[74,17],[124,1],[91,18],[92,19],[93,20],[125,21],[94,22],[95,23],[96,24],[97,25],[98,26],[99,27],[100,28],[101,29],[102,30],[103,31],[104,31],[105,32],[106,33],[108,34],[107,35],[109,36],[110,37],[111,38],[112,39],[113,40],[114,41],[115,42],[116,43],[117,44],[118,45],[119,46],[120,47],[121,48],[122,49],[123,50],[132,1],[135,1],[138,51],[133,1],[137,52],[136,1],[134,1],[126,53],[68,1],[64,1],[65,1],[12,1],[13,1],[15,1],[14,1],[2,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[23,1],[3,1],[4,1],[24,1],[28,1],[25,1],[26,1],[27,1],[29,1],[30,1],[31,1],[5,1],[32,1],[33,1],[34,1],[35,1],[6,1],[39,1],[36,1],[37,1],[38,1],[40,1],[7,1],[41,1],[46,1],[47,1],[42,1],[43,1],[44,1],[45,1],[8,1],[51,1],[48,1],[49,1],[50,1],[52,1],[9,1],[53,1],[54,1],[55,1],[58,1],[56,1],[57,1],[59,1],[60,1],[10,1],[1,1],[11,1],[63,1],[62,1],[61,1],[130,54],[69,1],[127,55],[131,56],[129,57],[71,58],[128,1],[66,1],[67,1]],"exportedModulesMap":[[70,1],[72,2],[73,2],[75,3],[76,4],[77,5],[78,6],[79,7],[80,8],[81,9],[82,10],[83,11],[84,12],[85,12],[87,13],[86,14],[88,13],[89,15],[90,16],[74,17],[124,1],[91,18],[92,19],[93,20],[125,21],[94,22],[95,23],[96,24],[97,25],[98,26],[99,27],[100,28],[101,29],[102,30],[103,31],[104,31],[105,32],[106,33],[108,34],[107,35],[109,36],[110,37],[111,38],[112,39],[113,40],[114,41],[115,42],[116,43],[117,44],[118,45],[119,46],[120,47],[121,48],[122,49],[123,50],[132,1],[135,1],[138,51],[133,1],[137,52],[136,1],[134,1],[126,53],[68,1],[64,1],[65,1],[12,1],[13,1],[15,1],[14,1],[2,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[23,1],[3,1],[4,1],[24,1],[28,1],[25,1],[26,1],[27,1],[29,1],[30,1],[31,1],[5,1],[32,1],[33,1],[34,1],[35,1],[6,1],[39,1],[36,1],[37,1],[38,1],[40,1],[7,1],[41,1],[46,1],[47,1],[42,1],[43,1],[44,1],[45,1],[8,1],[51,1],[48,1],[49,1],[50,1],[52,1],[9,1],[53,1],[54,1],[55,1],[58,1],[56,1],[57,1],[59,1],[60,1],[10,1],[1,1],[11,1],[63,1],[62,1],[61,1],[130,59],[127,60],[131,61],[129,60],[71,60],[66,1],[67,1]],"semanticDiagnosticsPerFile":[70,72,73,75,76,77,78,79,80,81,82,83,84,85,87,86,88,89,90,74,124,91,92,93,125,94,95,96,97,98,99,100,101,102,103,104,105,106,108,107,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,132,135,138,133,137,136,134,126,68,64,65,12,13,15,14,2,16,17,18,19,20,21,22,23,3,4,24,28,25,26,27,29,30,31,5,32,33,34,35,6,39,36,37,38,40,7,41,46,47,42,43,44,45,8,51,48,49,50,52,9,53,54,55,58,56,57,59,60,10,1,11,63,62,61,130,69,127,131,129,71,128,66,67],"latestChangedDtsFile":"./typescript/index.d.ts"},"version":"5.2.2"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { type MagicModuleEnvOptions } from './env.ts';
|
|
2
|
+
export interface AppOptions {
|
|
3
|
+
/**
|
|
4
|
+
* The entry module for this app. This should be an absolute path, or relative
|
|
5
|
+
* path from the root directory containing your project. This entry should just be
|
|
6
|
+
* for the main `App` component in your project, which Quilt will automatically use
|
|
7
|
+
* to create browser and server-side entries for your project.
|
|
8
|
+
*
|
|
9
|
+
* If you only want to use a custom entry module for the browser build, use the
|
|
10
|
+
* `browser.entry` option instead. If you only want to use a custom entry module
|
|
11
|
+
* for the server-side build, use the `server.entry` option instead.
|
|
12
|
+
*
|
|
13
|
+
* @example './App.tsx'
|
|
14
|
+
*/
|
|
15
|
+
entry?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Whether to include GraphQL-related code transformations.
|
|
18
|
+
*
|
|
19
|
+
* @default true
|
|
20
|
+
*/
|
|
21
|
+
graphql?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Customizes the behavior of environment variables for your application. You
|
|
24
|
+
* can further customize the environment variables provided during server-side
|
|
25
|
+
* rendering by passing `server.env`.
|
|
26
|
+
*/
|
|
27
|
+
env?: MagicModuleEnvOptions;
|
|
28
|
+
}
|
|
29
|
+
export declare function quiltApp({ env, entry }?: AppOptions): {
|
|
30
|
+
name: string;
|
|
31
|
+
options(this: import("rollup").MinimalPluginContext, originalOptions: import("rollup").InputOptions): {
|
|
32
|
+
plugins: import("rollup").InputPluginOption[];
|
|
33
|
+
cache?: boolean | import("rollup").RollupCache | undefined;
|
|
34
|
+
context?: string | undefined;
|
|
35
|
+
experimentalCacheExpiry?: number | undefined;
|
|
36
|
+
experimentalLogSideEffects?: boolean | undefined;
|
|
37
|
+
external?: import("rollup").ExternalOption | undefined;
|
|
38
|
+
input?: import("rollup").InputOption | undefined;
|
|
39
|
+
logLevel?: import("rollup").LogLevelOption | undefined;
|
|
40
|
+
makeAbsoluteExternalsRelative?: boolean | "ifRelativeSource" | undefined;
|
|
41
|
+
maxParallelFileOps?: number | undefined;
|
|
42
|
+
moduleContext?: ((id: string) => string | import("rollup").NullValue) | {
|
|
43
|
+
[id: string]: string;
|
|
44
|
+
} | undefined;
|
|
45
|
+
onLog?: import("rollup").LogHandlerWithDefault | undefined;
|
|
46
|
+
onwarn?: import("rollup").WarningHandlerWithDefault | undefined;
|
|
47
|
+
perf?: boolean | undefined;
|
|
48
|
+
preserveEntrySignatures?: import("rollup").PreserveEntrySignaturesOption | undefined;
|
|
49
|
+
preserveSymlinks?: boolean | undefined;
|
|
50
|
+
shimMissingExports?: boolean | undefined;
|
|
51
|
+
strictDeprecations?: boolean | undefined;
|
|
52
|
+
treeshake?: boolean | import("rollup").TreeshakingPreset | import("rollup").TreeshakingOptions | undefined;
|
|
53
|
+
watch?: false | import("rollup").WatcherOptions | undefined;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export interface AppBrowserOptions {
|
|
57
|
+
/**
|
|
58
|
+
* Whether the app should use hydration or client-side rendering.
|
|
59
|
+
*/
|
|
60
|
+
hydrate?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* The CSS selector to render or hydrate the application into.
|
|
63
|
+
*/
|
|
64
|
+
selector?: string;
|
|
65
|
+
}
|
|
66
|
+
export declare function quiltAppBrowser(options?: AppBrowserOptions): {
|
|
67
|
+
name: string;
|
|
68
|
+
options(this: import("rollup").MinimalPluginContext, originalOptions: import("rollup").InputOptions): {
|
|
69
|
+
plugins: import("rollup").InputPluginOption[];
|
|
70
|
+
cache?: boolean | import("rollup").RollupCache | undefined;
|
|
71
|
+
context?: string | undefined;
|
|
72
|
+
experimentalCacheExpiry?: number | undefined;
|
|
73
|
+
experimentalLogSideEffects?: boolean | undefined;
|
|
74
|
+
external?: import("rollup").ExternalOption | undefined;
|
|
75
|
+
input?: import("rollup").InputOption | undefined;
|
|
76
|
+
logLevel?: import("rollup").LogLevelOption | undefined;
|
|
77
|
+
makeAbsoluteExternalsRelative?: boolean | "ifRelativeSource" | undefined;
|
|
78
|
+
maxParallelFileOps?: number | undefined;
|
|
79
|
+
moduleContext?: ((id: string) => string | import("rollup").NullValue) | {
|
|
80
|
+
[id: string]: string;
|
|
81
|
+
} | undefined;
|
|
82
|
+
onLog?: import("rollup").LogHandlerWithDefault | undefined;
|
|
83
|
+
onwarn?: import("rollup").WarningHandlerWithDefault | undefined;
|
|
84
|
+
perf?: boolean | undefined;
|
|
85
|
+
preserveEntrySignatures?: import("rollup").PreserveEntrySignaturesOption | undefined;
|
|
86
|
+
preserveSymlinks?: boolean | undefined;
|
|
87
|
+
shimMissingExports?: boolean | undefined;
|
|
88
|
+
strictDeprecations?: boolean | undefined;
|
|
89
|
+
treeshake?: boolean | import("rollup").TreeshakingPreset | import("rollup").TreeshakingOptions | undefined;
|
|
90
|
+
watch?: false | import("rollup").WatcherOptions | undefined;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
export interface AppServerOptions {
|
|
94
|
+
/**
|
|
95
|
+
* The entry module for the server of this app. This module must export a
|
|
96
|
+
* `RequestRouter` object as its default export, which will be wrapped in
|
|
97
|
+
* the specific server runtime you configure.
|
|
98
|
+
*/
|
|
99
|
+
entry?: string;
|
|
100
|
+
}
|
|
101
|
+
export declare function quiltAppServer(options?: AppServerOptions): {
|
|
102
|
+
name: string;
|
|
103
|
+
options(this: import("rollup").MinimalPluginContext, originalOptions: import("rollup").InputOptions): {
|
|
104
|
+
plugins: import("rollup").InputPluginOption[];
|
|
105
|
+
cache?: boolean | import("rollup").RollupCache | undefined;
|
|
106
|
+
context?: string | undefined;
|
|
107
|
+
experimentalCacheExpiry?: number | undefined;
|
|
108
|
+
experimentalLogSideEffects?: boolean | undefined;
|
|
109
|
+
external?: import("rollup").ExternalOption | undefined;
|
|
110
|
+
input?: import("rollup").InputOption | undefined;
|
|
111
|
+
logLevel?: import("rollup").LogLevelOption | undefined;
|
|
112
|
+
makeAbsoluteExternalsRelative?: boolean | "ifRelativeSource" | undefined;
|
|
113
|
+
maxParallelFileOps?: number | undefined;
|
|
114
|
+
moduleContext?: ((id: string) => string | import("rollup").NullValue) | {
|
|
115
|
+
[id: string]: string;
|
|
116
|
+
} | undefined;
|
|
117
|
+
onLog?: import("rollup").LogHandlerWithDefault | undefined;
|
|
118
|
+
onwarn?: import("rollup").WarningHandlerWithDefault | undefined;
|
|
119
|
+
perf?: boolean | undefined;
|
|
120
|
+
preserveEntrySignatures?: import("rollup").PreserveEntrySignaturesOption | undefined;
|
|
121
|
+
preserveSymlinks?: boolean | undefined;
|
|
122
|
+
shimMissingExports?: boolean | undefined;
|
|
123
|
+
strictDeprecations?: boolean | undefined;
|
|
124
|
+
treeshake?: boolean | import("rollup").TreeshakingPreset | import("rollup").TreeshakingOptions | undefined;
|
|
125
|
+
watch?: false | import("rollup").WatcherOptions | undefined;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
export declare function magicModuleAppComponent({ entry }: {
|
|
129
|
+
entry: string;
|
|
130
|
+
}): {
|
|
131
|
+
name: string;
|
|
132
|
+
resolveId(this: import("rollup").PluginContext, id: string): {
|
|
133
|
+
id: string;
|
|
134
|
+
moduleSideEffects: "no-treeshake" | undefined;
|
|
135
|
+
} | null;
|
|
136
|
+
load: ((this: import("rollup").PluginContext, source: string) => Promise<{
|
|
137
|
+
code: string;
|
|
138
|
+
moduleSideEffects: "no-treeshake" | undefined;
|
|
139
|
+
} | null>) | undefined;
|
|
140
|
+
};
|
|
141
|
+
export declare function magicModuleAppRequestRouter({ entry, }?: Pick<AppServerOptions, 'entry'>): {
|
|
142
|
+
name: string;
|
|
143
|
+
resolveId(this: import("rollup").PluginContext, id: string): {
|
|
144
|
+
id: string;
|
|
145
|
+
moduleSideEffects: "no-treeshake" | undefined;
|
|
146
|
+
} | null;
|
|
147
|
+
load: ((this: import("rollup").PluginContext, source: string) => Promise<{
|
|
148
|
+
code: string;
|
|
149
|
+
moduleSideEffects: "no-treeshake" | undefined;
|
|
150
|
+
} | null>) | undefined;
|
|
151
|
+
};
|
|
152
|
+
export declare function magicModuleAppBrowserEntry({ hydrate, selector, }?: AppBrowserOptions): {
|
|
153
|
+
name: string;
|
|
154
|
+
resolveId(this: import("rollup").PluginContext, id: string): {
|
|
155
|
+
id: string;
|
|
156
|
+
moduleSideEffects: "no-treeshake" | undefined;
|
|
157
|
+
} | null;
|
|
158
|
+
load: ((this: import("rollup").PluginContext, source: string) => Promise<{
|
|
159
|
+
code: string;
|
|
160
|
+
moduleSideEffects: "no-treeshake" | undefined;
|
|
161
|
+
} | null>) | undefined;
|
|
162
|
+
};
|
|
163
|
+
//# sourceMappingURL=app.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../source/app.ts"],"names":[],"mappings":"AAOA,OAAO,EAAiB,KAAK,qBAAqB,EAAC,MAAM,UAAU,CAAC;AASpE,MAAM,WAAW,UAAU;IACzB;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;OAIG;IACH,GAAG,CAAC,EAAE,qBAAqB,CAAC;CAC7B;AAED,wBAAgB,QAAQ,CAAC,EAAC,GAAG,EAAE,KAAK,EAAC,GAAE,UAAe;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BrD;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,eAAe,CAAC,OAAO,GAAE,iBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;EAmB9D;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,cAAc,CAAC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB5D;AAED,wBAAgB,uBAAuB,CAAC,EAAC,KAAK,EAAC,EAAE;IAAC,KAAK,EAAE,MAAM,CAAA;CAAC;;;;;;;;;;EAM/D;AAED,wBAAgB,2BAA2B,CAAC,EAC1C,KAAK,GACN,GAAE,IAAI,CAAC,gBAAgB,EAAE,OAAO,CAAM;;;;;;;;;;EAqCtC;AAED,wBAAgB,0BAA0B,CAAC,EACzC,OAAc,EACd,QAAiB,GAClB,GAAE,iBAAsB;;;;;;;;;;EAyBxB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const MAGIC_MODULE_ENV = "quilt:module/env";
|
|
2
|
+
export declare const MAGIC_MODULE_ENTRY = "quilt:module/entry";
|
|
3
|
+
export declare const MAGIC_MODULE_APP_COMPONENT = "quilt:module/app";
|
|
4
|
+
export declare const MAGIC_MODULE_BROWSER_ASSETS = "quilt:module/assets";
|
|
5
|
+
export declare const MAGIC_MODULE_REQUEST_ROUTER = "quilt:module/request-router";
|
|
6
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../source/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,0BAA0B,qBAAqB,CAAC;AAC7D,eAAO,MAAM,2BAA2B,wBAAwB,CAAC;AACjE,eAAO,MAAM,2BAA2B,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { PluginContext } from 'rollup';
|
|
2
|
+
export interface MagicModuleEnvOptions {
|
|
3
|
+
/**
|
|
4
|
+
* The runtime mode for your target environment.
|
|
5
|
+
*/
|
|
6
|
+
mode?: 'production' | 'development';
|
|
7
|
+
/**
|
|
8
|
+
* Environment variables from the build environment to inline into the magic
|
|
9
|
+
* module. Be careful when using this option! Inlining environment variables
|
|
10
|
+
* into your application always comes with the risk of exposing sensitive information
|
|
11
|
+
* to your users. Only use this option for environment variables that are safe
|
|
12
|
+
* for a human to see if they open their browser developer tools.
|
|
13
|
+
*/
|
|
14
|
+
inline?: string[];
|
|
15
|
+
/**
|
|
16
|
+
* A string that will be inlined directly as code to reference a runtime variable
|
|
17
|
+
* that contains environment variables.
|
|
18
|
+
*/
|
|
19
|
+
runtime?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Whether to load environment variables from a `.env` file. The option can
|
|
22
|
+
* be one of the following types:
|
|
23
|
+
*
|
|
24
|
+
* - `false`, which disables loading environment variables from a `.env` file.
|
|
25
|
+
* - An object containing a `roots` field, specifying the directories to search
|
|
26
|
+
* for `.env` files in.
|
|
27
|
+
* - An object containing a `files` field, specifying the directories to search
|
|
28
|
+
* for `.env` files in.
|
|
29
|
+
*
|
|
30
|
+
* @default {roots: ['.', 'configuration']}
|
|
31
|
+
*/
|
|
32
|
+
dotenv?: false | {
|
|
33
|
+
roots?: string[];
|
|
34
|
+
files?: never;
|
|
35
|
+
} | {
|
|
36
|
+
roots?: never;
|
|
37
|
+
files?: string[];
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export declare function magicModuleEnv({ mode, dotenv, inline, runtime, }?: MagicModuleEnvOptions): {
|
|
41
|
+
name: string;
|
|
42
|
+
resolveId(this: PluginContext, id: string): {
|
|
43
|
+
id: string;
|
|
44
|
+
moduleSideEffects: "no-treeshake" | undefined;
|
|
45
|
+
} | null;
|
|
46
|
+
load: ((this: PluginContext, source: string) => Promise<{
|
|
47
|
+
code: string;
|
|
48
|
+
moduleSideEffects: "no-treeshake" | undefined;
|
|
49
|
+
} | null>) | undefined;
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=env.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../source/env.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,QAAQ,CAAC;AAM1C,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,CAAC,EAAE,YAAY,GAAG,aAAa,CAAC;IAEpC;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EACH,KAAK,GACL;QAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;QAAC,KAAK,CAAC,EAAE,KAAK,CAAA;KAAC,GACjC;QAAC,KAAK,CAAC,EAAE,KAAK,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;KAAC,CAAC;CACvC;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,MAAwC,EACxC,MAAW,EACX,OAAc,GACf,GAAE,qBAA0B;;;;;;;;;;EA0C5B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { magicModuleEnv, type MagicModuleEnvOptions } from './env.ts';
|
|
2
|
+
export { quiltApp, quiltAppBrowser, quiltAppServer, magicModuleAppComponent, magicModuleAppBrowserEntry, magicModuleAppRequestRouter, type AppOptions, type AppBrowserOptions, type AppServerOptions, } from './app.ts';
|
|
3
|
+
export { magicModuleRequestRouterEntry } from './request-router.ts';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,KAAK,qBAAqB,EAAC,MAAM,UAAU,CAAC;AACpE,OAAO,EACL,QAAQ,EACR,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,0BAA0B,EAC1B,2BAA2B,EAC3B,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,GACtB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAC,6BAA6B,EAAC,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare function magicModuleRequestRouterEntry({ host, port, }?: {
|
|
2
|
+
host?: string;
|
|
3
|
+
port?: number;
|
|
4
|
+
}): {
|
|
5
|
+
name: string;
|
|
6
|
+
resolveId(this: import("rollup").PluginContext, id: string): {
|
|
7
|
+
id: string;
|
|
8
|
+
moduleSideEffects: "no-treeshake" | undefined;
|
|
9
|
+
} | null;
|
|
10
|
+
load: ((this: import("rollup").PluginContext, source: string) => Promise<{
|
|
11
|
+
code: string;
|
|
12
|
+
moduleSideEffects: "no-treeshake" | undefined;
|
|
13
|
+
} | null>) | undefined;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=request-router.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-router.d.ts","sourceRoot":"","sources":["../../source/request-router.ts"],"names":[],"mappings":"AAKA,wBAAgB,6BAA6B,CAAC,EAC5C,IAAI,EACJ,IAAI,GACL,GAAE;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACV;;;;;;;;;;EAqBL"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { PluginContext } from 'rollup';
|
|
2
|
+
export declare function createMagicModulePlugin({ name, module, alias, source: getSource, sideEffects, }: {
|
|
3
|
+
readonly name: string;
|
|
4
|
+
readonly alias?: string;
|
|
5
|
+
readonly module: string;
|
|
6
|
+
readonly sideEffects?: boolean;
|
|
7
|
+
source?(this: PluginContext): string | Promise<string>;
|
|
8
|
+
}): {
|
|
9
|
+
name: string;
|
|
10
|
+
resolveId(this: PluginContext, id: string): {
|
|
11
|
+
id: string;
|
|
12
|
+
moduleSideEffects: "no-treeshake" | undefined;
|
|
13
|
+
} | null;
|
|
14
|
+
load: ((this: PluginContext, source: string) => Promise<{
|
|
15
|
+
code: string;
|
|
16
|
+
moduleSideEffects: "no-treeshake" | undefined;
|
|
17
|
+
} | null>) | undefined;
|
|
18
|
+
};
|
|
19
|
+
export declare function createMagicModuleEntryPlugin({ module, ...options }: Omit<Parameters<typeof createMagicModulePlugin>[0], 'module' | 'alias'> & {
|
|
20
|
+
module?: string;
|
|
21
|
+
}): {
|
|
22
|
+
name: string;
|
|
23
|
+
resolveId(this: PluginContext, id: string): {
|
|
24
|
+
id: string;
|
|
25
|
+
moduleSideEffects: "no-treeshake" | undefined;
|
|
26
|
+
} | null;
|
|
27
|
+
load: ((this: PluginContext, source: string) => Promise<{
|
|
28
|
+
code: string;
|
|
29
|
+
moduleSideEffects: "no-treeshake" | undefined;
|
|
30
|
+
} | null>) | undefined;
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=magic-module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"magic-module.d.ts","sourceRoot":"","sources":["../../../source/shared/magic-module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAS,aAAa,EAAC,MAAM,QAAQ,CAAC;AAOlD,wBAAgB,uBAAuB,CAAC,EACtC,IAAI,EACJ,MAAM,EACN,KAAoE,EACpE,MAAM,EAAE,SAAS,EACjB,WAAmB,GACpB,EAAE;IACD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC/B,MAAM,CAAC,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CACxD;;;;;;;;;;EAwBA;AAED,wBAAgB,4BAA4B,CAAC,EAC3C,MAA2B,EAC3B,GAAG,OAAO,EACX,EAAE,IAAI,CAAC,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC,CAAC,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG;IAC3E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;;;;;;;;;;EAEA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"strings.d.ts","sourceRoot":"","sources":["../../../source/shared/strings.ts"],"names":[],"mappings":"AAAA,wBAAgB,SAAS,CAAC,OAAO,EAAE,oBAAoB,EAAE,GAAG,MAAM,EAAE,GAAG,EAAE,UAgBxE"}
|
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@quilted/rollup",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public",
|
|
7
|
+
"@quilted/registry": "https://registry.npmjs.org"
|
|
8
|
+
},
|
|
9
|
+
"version": "0.1.0",
|
|
10
|
+
"engines": {
|
|
11
|
+
"node": ">=14.0.0"
|
|
12
|
+
},
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "https://github.com/lemonmade/quilt.git",
|
|
16
|
+
"directory": "packages/rollup"
|
|
17
|
+
},
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./build/typescript/index.d.ts",
|
|
21
|
+
"quilt:source": "./source/index.ts",
|
|
22
|
+
"quilt:esnext": "./build/esnext/index.esnext",
|
|
23
|
+
"import": "./build/esm/index.mjs",
|
|
24
|
+
"require": "./build/cjs/index.cjs"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"types": "./build/typescript/index.d.ts",
|
|
28
|
+
"sideEffects": false,
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"dotenv": "^16.0.0"
|
|
31
|
+
},
|
|
32
|
+
"peerDependencies": {
|
|
33
|
+
"rollup": "^4.0.0"
|
|
34
|
+
},
|
|
35
|
+
"peerDependenciesMeta": {
|
|
36
|
+
"rollup": {
|
|
37
|
+
"optional": false
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@quilted/testing": "^0.1.0",
|
|
42
|
+
"rollup": "^4.0.0"
|
|
43
|
+
},
|
|
44
|
+
"eslintConfig": {
|
|
45
|
+
"extends": [
|
|
46
|
+
"@quilted/eslint-config/project"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"browserslist": [
|
|
50
|
+
"extends @quilted/browserslist-config/defaults"
|
|
51
|
+
]
|
|
52
|
+
}
|