create-nextly-app 0.0.2-alpha.54 → 0.0.2-alpha.56
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/dist/{chunk-APDKXW5L.mjs → chunk-6434MGWG.mjs} +26 -6
- package/dist/chunk-6434MGWG.mjs.map +1 -0
- package/dist/cli.cjs +25 -5
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +2 -2
- package/dist/cli.mjs.map +1 -1
- package/dist/index.cjs +24 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
- package/dist/chunk-APDKXW5L.mjs.map +0 -1
package/dist/cli.cjs
CHANGED
|
@@ -6259,7 +6259,7 @@ var require_package = __commonJS({
|
|
|
6259
6259
|
"package.json"(exports$1, module) {
|
|
6260
6260
|
module.exports = {
|
|
6261
6261
|
name: "create-nextly-app",
|
|
6262
|
-
version: "0.0.2-alpha.
|
|
6262
|
+
version: "0.0.2-alpha.56",
|
|
6263
6263
|
description: "CLI to scaffold Nextly in your Next.js project",
|
|
6264
6264
|
license: "MIT",
|
|
6265
6265
|
type: "module",
|
|
@@ -9449,7 +9449,7 @@ var require_data = __commonJS2({
|
|
|
9449
9449
|
}
|
|
9450
9450
|
});
|
|
9451
9451
|
var require_utils = __commonJS2({
|
|
9452
|
-
"../../node_modules/.pnpm/fast-uri@3.1.
|
|
9452
|
+
"../../node_modules/.pnpm/fast-uri@3.1.5/node_modules/fast-uri/lib/utils.js"(exports$1, module) {
|
|
9453
9453
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
9454
9454
|
var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
9455
9455
|
var isHexPair = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);
|
|
@@ -9759,7 +9759,7 @@ var require_utils = __commonJS2({
|
|
|
9759
9759
|
}
|
|
9760
9760
|
});
|
|
9761
9761
|
var require_schemes = __commonJS2({
|
|
9762
|
-
"../../node_modules/.pnpm/fast-uri@3.1.
|
|
9762
|
+
"../../node_modules/.pnpm/fast-uri@3.1.5/node_modules/fast-uri/lib/schemes.js"(exports$1, module) {
|
|
9763
9763
|
var { isUUID } = require_utils();
|
|
9764
9764
|
var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
|
|
9765
9765
|
var supportedSchemeNames = (
|
|
@@ -9966,7 +9966,7 @@ var require_schemes = __commonJS2({
|
|
|
9966
9966
|
}
|
|
9967
9967
|
});
|
|
9968
9968
|
var require_fast_uri = __commonJS2({
|
|
9969
|
-
"../../node_modules/.pnpm/fast-uri@3.1.
|
|
9969
|
+
"../../node_modules/.pnpm/fast-uri@3.1.5/node_modules/fast-uri/index.js"(exports$1, module) {
|
|
9970
9970
|
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, escapePreservingEscapes, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
|
|
9971
9971
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
9972
9972
|
function normalize(uri, options) {
|
|
@@ -9981,7 +9981,12 @@ var require_fast_uri = __commonJS2({
|
|
|
9981
9981
|
}
|
|
9982
9982
|
function resolve(baseURI, relativeURI, options) {
|
|
9983
9983
|
const schemelessOptions = options ? Object.assign({ scheme: "null" }, options) : { scheme: "null" };
|
|
9984
|
-
const
|
|
9984
|
+
const { parsed: baseParsed, malformedAuthorityOrPort: baseMalformed } = parseWithStatus(baseURI, schemelessOptions);
|
|
9985
|
+
const { parsed: relativeParsed, malformedAuthorityOrPort: relativeMalformed } = parseWithStatus(relativeURI, schemelessOptions);
|
|
9986
|
+
if (baseMalformed || relativeMalformed) {
|
|
9987
|
+
throw new Error(baseParsed.error || relativeParsed.error || "URI is malformed.");
|
|
9988
|
+
}
|
|
9989
|
+
const resolved = resolveComponent(baseParsed, relativeParsed, schemelessOptions, true);
|
|
9985
9990
|
schemelessOptions.skipEscape = true;
|
|
9986
9991
|
return serialize2(resolved, schemelessOptions);
|
|
9987
9992
|
}
|
|
@@ -10107,6 +10112,7 @@ var require_fast_uri = __commonJS2({
|
|
|
10107
10112
|
}
|
|
10108
10113
|
var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
|
|
10109
10114
|
var AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
|
|
10115
|
+
var AUTHORITY_INTRODUCER_REGION = /^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;
|
|
10110
10116
|
function getParseError(parsed, matches) {
|
|
10111
10117
|
if (matches[2] !== void 0 && parsed.path && parsed.path[0] !== "/") {
|
|
10112
10118
|
return 'URI path must start with "/" when authority is present.';
|
|
@@ -10141,6 +10147,20 @@ var require_fast_uri = __commonJS2({
|
|
|
10141
10147
|
parsed.error = "URI authority must not contain a literal backslash.";
|
|
10142
10148
|
malformedAuthorityOrPort = true;
|
|
10143
10149
|
}
|
|
10150
|
+
const introducerMatch = uri.match(AUTHORITY_INTRODUCER_REGION);
|
|
10151
|
+
if (introducerMatch !== null) {
|
|
10152
|
+
const region = introducerMatch[1];
|
|
10153
|
+
const normalizedRegion = region.replace(/[\t\n\r]/g, "");
|
|
10154
|
+
if (normalizedRegion.length >= 2) {
|
|
10155
|
+
if (normalizedRegion.slice(0, 2) !== "//") {
|
|
10156
|
+
parsed.error = parsed.error || "URI authority must not contain a literal backslash.";
|
|
10157
|
+
malformedAuthorityOrPort = true;
|
|
10158
|
+
} else if (region.length !== normalizedRegion.length) {
|
|
10159
|
+
parsed.error = parsed.error || "URI authority introducer must not contain whitespace.";
|
|
10160
|
+
malformedAuthorityOrPort = true;
|
|
10161
|
+
}
|
|
10162
|
+
}
|
|
10163
|
+
}
|
|
10144
10164
|
const matches = uri.match(URI_PARSE);
|
|
10145
10165
|
if (matches) {
|
|
10146
10166
|
parsed.scheme = matches[1];
|