@awsless/awsless 0.0.613 → 0.0.615

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 CHANGED
@@ -3192,8 +3192,9 @@ import { lstat as lstat2, readdir } from "node:fs/promises";
3192
3192
  import { join as join7 } from "node:path";
3193
3193
  var generateCacheKey = async (directories2) => {
3194
3194
  const files = await listAllFiles(directories2);
3195
+ const sortedFiles = files.toSorted();
3195
3196
  const hashes = {};
3196
- for (const file of files) {
3197
+ for (const file of sortedFiles) {
3197
3198
  hashes[file] = await createHashFromFile(file);
3198
3199
  }
3199
3200
  return Bun.MD5.hash(JSON.stringify(hashes), "hex");
@@ -5119,13 +5120,7 @@ var siteFeature = defineFeature({
5119
5120
  if (props.build) {
5120
5121
  const buildProps = props.build;
5121
5122
  ctx.registerBuild("site", name, async (build3) => {
5122
- console.log("");
5123
- console.log("START SITE BUILD", name);
5124
- console.log("");
5125
5123
  const fingerprint = await generateCacheKey(buildProps.cacheKey);
5126
- console.log("");
5127
- console.log("fingerprint", fingerprint);
5128
- console.log("");
5129
5124
  return build3(fingerprint, async (write) => {
5130
5125
  const credentialProvider = await getCredentials(ctx.appConfig.profile);
5131
5126
  const credentials = await credentialProvider();
@@ -5148,10 +5143,6 @@ var siteFeature = defineFeature({
5148
5143
  for (const name2 of ctx.stackConfig.configs ?? []) {
5149
5144
  env[`CONFIG_${constantCase10(name2)}`] = name2;
5150
5145
  }
5151
- console.log("");
5152
- console.log("CMD", buildProps.command.split(" "));
5153
- console.log("CWD", cwd);
5154
- console.log("");
5155
5146
  const instance = Bun.spawn(buildProps.command.split(" "), {
5156
5147
  cwd,
5157
5148
  env,
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.613",
3
+ "version": "0.0.615",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -34,22 +34,22 @@
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@awsless/big-float": "^0.1.5",
37
- "@awsless/cloudwatch": "^0.0.1",
38
37
  "@awsless/clui": "^0.0.8",
38
+ "@awsless/cloudwatch": "^0.0.1",
39
39
  "@awsless/json": "^0.0.10",
40
- "@awsless/duration": "^0.0.4",
41
- "@awsless/iot": "^0.0.3",
42
- "@awsless/mqtt": "^0.0.2",
43
40
  "@awsless/lambda": "^0.0.35",
41
+ "@awsless/iot": "^0.0.3",
44
42
  "@awsless/open-search": "^0.0.21",
45
- "@awsless/s3": "^0.0.21",
43
+ "@awsless/mqtt": "^0.0.2",
44
+ "@awsless/duration": "^0.0.4",
46
45
  "@awsless/redis": "^0.0.14",
47
- "@awsless/sqs": "^0.0.16",
48
- "@awsless/sns": "^0.0.10",
49
- "@awsless/ssm": "^0.0.7",
50
46
  "@awsless/dynamodb": "^0.3.8",
47
+ "@awsless/sns": "^0.0.10",
51
48
  "@awsless/validate": "^0.1.3",
52
- "@awsless/weak-cache": "^0.0.1"
49
+ "@awsless/s3": "^0.0.21",
50
+ "@awsless/ssm": "^0.0.7",
51
+ "@awsless/weak-cache": "^0.0.1",
52
+ "@awsless/sqs": "^0.0.16"
53
53
  },
54
54
  "dependencies": {
55
55
  "@arcanyx/cidr-slicer": "^0.3.0",
@@ -139,16 +139,16 @@
139
139
  "zip-a-folder": "^3.1.6",
140
140
  "zod": "^3.24.2",
141
141
  "zod-to-json-schema": "^3.24.3",
142
- "@awsless/big-float": "^0.1.5",
143
142
  "@awsless/cloudwatch": "^0.0.1",
144
- "@awsless/clui": "^0.0.8",
143
+ "@awsless/big-float": "^0.1.5",
145
144
  "@awsless/duration": "^0.0.4",
146
- "@awsless/json": "^0.0.10",
145
+ "@awsless/clui": "^0.0.8",
147
146
  "@awsless/graphql": "^0.0.9",
147
+ "@awsless/json": "^0.0.10",
148
148
  "@awsless/scheduler": "^0.0.4",
149
- "@awsless/validate": "^0.1.3",
150
149
  "@awsless/size": "^0.0.2",
151
- "@awsless/ts-file-cache": "^0.0.12"
150
+ "@awsless/ts-file-cache": "^0.0.12",
151
+ "@awsless/validate": "^0.1.3"
152
152
  },
153
153
  "devDependencies": {
154
154
  "@hono/node-server": "1.19.9",