@awsless/awsless 0.0.481 → 0.0.482
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/bin.js +11 -6
- package/dist/build-json-schema.js +7 -3
- package/dist/prebuild/rpc/bundle.zip +0 -0
- package/package.json +12 -12
package/dist/bin.js
CHANGED
|
@@ -638,7 +638,9 @@ var LocalDirectorySchema = z10.union([
|
|
|
638
638
|
}
|
|
639
639
|
}, `Directory doesn't exist`),
|
|
640
640
|
z10.object({
|
|
641
|
-
nocheck:
|
|
641
|
+
nocheck: RelativePathSchema.describe(
|
|
642
|
+
"Specifies a local directory without checking if the directory exists."
|
|
643
|
+
)
|
|
642
644
|
}).transform((v) => v.nocheck)
|
|
643
645
|
]);
|
|
644
646
|
|
|
@@ -655,7 +657,7 @@ var LocalFileSchema = z11.union([
|
|
|
655
657
|
}
|
|
656
658
|
}, `File doesn't exist`),
|
|
657
659
|
z11.object({
|
|
658
|
-
nocheck:
|
|
660
|
+
nocheck: RelativePathSchema.describe("Specifies a local file without checking if the file exists.")
|
|
659
661
|
}).transform((v) => v.nocheck)
|
|
660
662
|
]);
|
|
661
663
|
|
|
@@ -1328,7 +1330,9 @@ var LocalEntrySchema = z30.union([
|
|
|
1328
1330
|
}
|
|
1329
1331
|
}, `File or directory doesn't exist`),
|
|
1330
1332
|
z30.object({
|
|
1331
|
-
nocheck:
|
|
1333
|
+
nocheck: RelativePathSchema.describe(
|
|
1334
|
+
"Specifies a local file or directory without checking if the file or directory exists."
|
|
1335
|
+
)
|
|
1332
1336
|
}).transform((v) => v.nocheck)
|
|
1333
1337
|
]);
|
|
1334
1338
|
|
|
@@ -4532,7 +4536,8 @@ var siteFeature = defineFeature({
|
|
|
4532
4536
|
ctx.onReady(() => {
|
|
4533
4537
|
if (typeof props.static === "string") {
|
|
4534
4538
|
const files = glob2.sync("**", {
|
|
4535
|
-
cwd:
|
|
4539
|
+
// cwd: join(directories.root, props.static),
|
|
4540
|
+
cwd: props.static,
|
|
4536
4541
|
nodir: true
|
|
4537
4542
|
});
|
|
4538
4543
|
for (const file of files) {
|
|
@@ -4541,8 +4546,8 @@ var siteFeature = defineFeature({
|
|
|
4541
4546
|
key: file,
|
|
4542
4547
|
cacheControl: getCacheControl(file),
|
|
4543
4548
|
contentType: getContentType(file),
|
|
4544
|
-
source: join11(
|
|
4545
|
-
sourceHash: $hash(join11(
|
|
4549
|
+
source: join11(props.static, file),
|
|
4550
|
+
sourceHash: $hash(join11(props.static, file))
|
|
4546
4551
|
});
|
|
4547
4552
|
versions.push(object.key);
|
|
4548
4553
|
versions.push(object.sourceHash);
|
|
@@ -148,7 +148,9 @@ var LocalDirectorySchema = z8.union([
|
|
|
148
148
|
}
|
|
149
149
|
}, `Directory doesn't exist`),
|
|
150
150
|
z8.object({
|
|
151
|
-
nocheck:
|
|
151
|
+
nocheck: RelativePathSchema.describe(
|
|
152
|
+
"Specifies a local directory without checking if the directory exists."
|
|
153
|
+
)
|
|
152
154
|
}).transform((v) => v.nocheck)
|
|
153
155
|
]);
|
|
154
156
|
|
|
@@ -165,7 +167,7 @@ var LocalFileSchema = z9.union([
|
|
|
165
167
|
}
|
|
166
168
|
}, `File doesn't exist`),
|
|
167
169
|
z9.object({
|
|
168
|
-
nocheck:
|
|
170
|
+
nocheck: RelativePathSchema.describe("Specifies a local file without checking if the file exists.")
|
|
169
171
|
}).transform((v) => v.nocheck)
|
|
170
172
|
]);
|
|
171
173
|
|
|
@@ -838,7 +840,9 @@ var LocalEntrySchema = z28.union([
|
|
|
838
840
|
}
|
|
839
841
|
}, `File or directory doesn't exist`),
|
|
840
842
|
z28.object({
|
|
841
|
-
nocheck:
|
|
843
|
+
nocheck: RelativePathSchema.describe(
|
|
844
|
+
"Specifies a local file or directory without checking if the file or directory exists."
|
|
845
|
+
)
|
|
842
846
|
}).transform((v) => v.nocheck)
|
|
843
847
|
]);
|
|
844
848
|
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awsless/awsless",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.482",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@awsless/dynamodb": "^0.1.5",
|
|
32
|
+
"@awsless/lambda": "^0.0.32",
|
|
32
33
|
"@awsless/json": "^0.0.8",
|
|
33
34
|
"@awsless/iot": "^0.0.3",
|
|
34
|
-
"@awsless/lambda": "^0.0.32",
|
|
35
35
|
"@awsless/mqtt": "^0.0.2",
|
|
36
|
-
"@awsless/open-search": "^0.0.17",
|
|
37
|
-
"@awsless/s3": "^0.0.20",
|
|
38
36
|
"@awsless/sns": "^0.0.10",
|
|
39
|
-
"@awsless/
|
|
37
|
+
"@awsless/open-search": "^0.0.17",
|
|
40
38
|
"@awsless/sqs": "^0.0.8",
|
|
39
|
+
"@awsless/redis": "^0.0.14",
|
|
41
40
|
"@awsless/validate": "^0.0.19",
|
|
42
|
-
"@awsless/
|
|
43
|
-
"@awsless/ssm": "^0.0.7"
|
|
41
|
+
"@awsless/s3": "^0.0.20",
|
|
42
|
+
"@awsless/ssm": "^0.0.7",
|
|
43
|
+
"@awsless/weak-cache": "^0.0.1"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@arcanyx/cidr-slicer": "^0.3.0",
|
|
@@ -119,14 +119,14 @@
|
|
|
119
119
|
"zip-a-folder": "^3.1.6",
|
|
120
120
|
"zod": "^3.24.2",
|
|
121
121
|
"zod-to-json-schema": "^3.24.3",
|
|
122
|
-
"@awsless/
|
|
122
|
+
"@awsless/duration": "^0.0.3",
|
|
123
123
|
"@awsless/formation": "^0.0.74",
|
|
124
|
-
"@awsless/json": "^0.0.8",
|
|
125
124
|
"@awsless/graphql": "^0.0.9",
|
|
126
|
-
"@awsless/
|
|
127
|
-
"@awsless/
|
|
125
|
+
"@awsless/json": "^0.0.8",
|
|
126
|
+
"@awsless/code": "^0.0.10",
|
|
128
127
|
"@awsless/validate": "^0.0.19",
|
|
129
|
-
"@awsless/
|
|
128
|
+
"@awsless/size": "^0.0.2",
|
|
129
|
+
"@awsless/ts-file-cache": "^0.0.12"
|
|
130
130
|
},
|
|
131
131
|
"devDependencies": {
|
|
132
132
|
"@node-rs/bcrypt": "^1.10.5"
|