@awsless/awsless 0.0.99 → 0.0.100
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 +12 -7
- package/dist/features/cognito-client-secret/bundle.zip +0 -0
- package/dist/features/delete-bucket/bundle.zip +0 -0
- package/dist/features/delete-hosted-zone/bundle.zip +0 -0
- package/dist/features/global-exports/bundle.zip +0 -0
- package/dist/features/invalidate-cache/bundle.zip +0 -0
- package/dist/features/upload-bucket-asset/bundle.zip +0 -0
- package/package.json +5 -5
package/dist/bin.js
CHANGED
|
@@ -1012,7 +1012,7 @@ var generateFingerprint = async (file) => {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
};
|
|
1014
1014
|
await generate(file);
|
|
1015
|
-
const merge = Buffer.concat(Array.from(hashes.values()));
|
|
1015
|
+
const merge = Buffer.concat(Array.from(hashes.values()).sort());
|
|
1016
1016
|
return createHash2("sha1").update(merge).digest("hex");
|
|
1017
1017
|
};
|
|
1018
1018
|
var readModuleFile = (file) => {
|
|
@@ -8282,7 +8282,7 @@ import nodeResolve3 from "@rollup/plugin-node-resolve";
|
|
|
8282
8282
|
import json3 from "@rollup/plugin-json";
|
|
8283
8283
|
import { swc as swc4 } from "rollup-plugin-swc3";
|
|
8284
8284
|
import { getTests } from "@vitest/runner/utils";
|
|
8285
|
-
import { basename as basename3, extname } from "path";
|
|
8285
|
+
import { basename as basename3, extname, join as join11, relative as relative4 } from "path";
|
|
8286
8286
|
var CustomReporter = class {
|
|
8287
8287
|
constructor(stack, out) {
|
|
8288
8288
|
this.stack = stack;
|
|
@@ -8358,7 +8358,7 @@ var CustomReporter = class {
|
|
|
8358
8358
|
" ",
|
|
8359
8359
|
style.placeholder(symbol.pointerSmall),
|
|
8360
8360
|
" ",
|
|
8361
|
-
i === 0 ? task.name : style.placeholder(task.name)
|
|
8361
|
+
i === 0 ? this.formatFileName(task.name) : style.placeholder(task.name)
|
|
8362
8362
|
]),
|
|
8363
8363
|
// style.placeholder(tests.length),
|
|
8364
8364
|
// ' ',
|
|
@@ -8392,9 +8392,11 @@ var CustomReporter = class {
|
|
|
8392
8392
|
" ",
|
|
8393
8393
|
style.placeholder(symbol.pointerSmall),
|
|
8394
8394
|
" ",
|
|
8395
|
-
test2.file?.name,
|
|
8395
|
+
this.formatFileName(test2.file?.name),
|
|
8396
8396
|
" ",
|
|
8397
|
-
style.placeholder(
|
|
8397
|
+
style.placeholder(symbol.pointerSmall),
|
|
8398
|
+
" ",
|
|
8399
|
+
test2.name,
|
|
8398
8400
|
br(),
|
|
8399
8401
|
test2.result.errors.map((error) => {
|
|
8400
8402
|
const [message, ...comment] = error.message.split("//");
|
|
@@ -8422,6 +8424,11 @@ var CustomReporter = class {
|
|
|
8422
8424
|
this.logs.push(log.content);
|
|
8423
8425
|
}
|
|
8424
8426
|
formatFileName(path) {
|
|
8427
|
+
if (!path) {
|
|
8428
|
+
return "";
|
|
8429
|
+
}
|
|
8430
|
+
path = join11(process.cwd(), path);
|
|
8431
|
+
path = relative4(this.ctx.config.dir, path);
|
|
8425
8432
|
const ext = extname(path);
|
|
8426
8433
|
const bas = basename3(path, ext);
|
|
8427
8434
|
return `${bas}${style.placeholder(ext)}`;
|
|
@@ -8450,8 +8457,6 @@ var singleTester = (stack, dir) => {
|
|
|
8450
8457
|
watch: false,
|
|
8451
8458
|
ui: false,
|
|
8452
8459
|
silent: true,
|
|
8453
|
-
// dir: '',
|
|
8454
|
-
// dir: './test',
|
|
8455
8460
|
dir,
|
|
8456
8461
|
include: ["**/*.{js,jsx,ts,tsx}"],
|
|
8457
8462
|
exclude: ["**/_*", "**/_*/**", ...configDefaults.exclude],
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
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.100",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@awsless/lambda": "^0.0.13",
|
|
28
|
-
"@awsless/sns": "^0.0.7",
|
|
29
27
|
"@awsless/redis": "^0.0.8",
|
|
28
|
+
"@awsless/sns": "^0.0.7",
|
|
29
|
+
"@awsless/lambda": "^0.0.13",
|
|
30
30
|
"@awsless/sqs": "^0.0.7",
|
|
31
|
-
"@awsless/
|
|
32
|
-
"@awsless/
|
|
31
|
+
"@awsless/validate": "^0.0.6",
|
|
32
|
+
"@awsless/ssm": "^0.0.7"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@aws-appsync/utils": "^1.5.0",
|