@awsless/awsless 0.0.376 → 0.0.377

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
@@ -10438,6 +10438,7 @@ import nodeResolve from "@rollup/plugin-node-resolve";
10438
10438
  import { createHash as createHash2 } from "crypto";
10439
10439
  import { dirname as dirname6 } from "path";
10440
10440
  import { rollup } from "rollup";
10441
+ import natives from "rollup-plugin-natives";
10441
10442
  import { swc, minify as swcMinify } from "rollup-plugin-swc3";
10442
10443
  var bundleTypeScript = async ({ format: format2 = "esm", minify = true, file, external }) => {
10443
10444
  const bundle = await rollup({
@@ -10453,10 +10454,10 @@ var bundleTypeScript = async ({ format: format2 = "esm", minify = true, file, ex
10453
10454
  moduleSideEffects: (id) => file === id
10454
10455
  },
10455
10456
  plugins: [
10456
- // @ts-ignore
10457
10457
  commonjs({ sourceMap: true }),
10458
- // @ts-ignore
10459
10458
  nodeResolve({ preferBuiltins: true }),
10459
+ // @ts-ignore
10460
+ natives({}),
10460
10461
  swc({
10461
10462
  // minify,
10462
10463
  // module: true,
@@ -10471,7 +10472,6 @@ var bundleTypeScript = async ({ format: format2 = "esm", minify = true, file, ex
10471
10472
  sourceMap: true,
10472
10473
  compress: true
10473
10474
  }) : void 0,
10474
- // @ts-ignore
10475
10475
  json()
10476
10476
  ]
10477
10477
  });
Binary file
package/dist/prebuild.js CHANGED
@@ -15,6 +15,7 @@ import nodeResolve from "@rollup/plugin-node-resolve";
15
15
  import { createHash } from "crypto";
16
16
  import { dirname } from "path";
17
17
  import { rollup } from "rollup";
18
+ import natives from "rollup-plugin-natives";
18
19
  import { swc, minify as swcMinify } from "rollup-plugin-swc3";
19
20
 
20
21
  // src/cli/ui/style.ts
@@ -61,10 +62,10 @@ var bundleTypeScript = async ({ format = "esm", minify = true, file, external })
61
62
  moduleSideEffects: (id) => file === id
62
63
  },
63
64
  plugins: [
64
- // @ts-ignore
65
65
  commonjs({ sourceMap: true }),
66
- // @ts-ignore
67
66
  nodeResolve({ preferBuiltins: true }),
67
+ // @ts-ignore
68
+ natives({}),
68
69
  swc({
69
70
  // minify,
70
71
  // module: true,
@@ -79,7 +80,6 @@ var bundleTypeScript = async ({ format = "esm", minify = true, file, external })
79
80
  sourceMap: true,
80
81
  compress: true
81
82
  }) : void 0,
82
- // @ts-ignore
83
83
  json()
84
84
  ]
85
85
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.376",
3
+ "version": "0.0.377",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -28,16 +28,16 @@
28
28
  }
29
29
  },
30
30
  "peerDependencies": {
31
- "@awsless/lambda": "^0.0.26",
32
31
  "@awsless/iot": "^0.0.2",
33
- "@awsless/s3": "^0.0.18",
32
+ "@awsless/lambda": "^0.0.26",
33
+ "@awsless/open-search": "^0.0.15",
34
34
  "@awsless/redis": "^0.0.13",
35
+ "@awsless/ssm": "^0.0.7",
35
36
  "@awsless/validate": "^0.0.15",
36
- "@awsless/open-search": "^0.0.15",
37
- "@awsless/weak-cache": "^0.0.1",
38
37
  "@awsless/sns": "^0.0.7",
39
- "@awsless/ssm": "^0.0.7",
38
+ "@awsless/s3": "^0.0.18",
40
39
  "@awsless/sqs": "^0.0.7",
40
+ "@awsless/weak-cache": "^0.0.1",
41
41
  "@awsless/mqtt": "^0.0.2"
42
42
  },
43
43
  "dependencies": {
@@ -68,6 +68,7 @@
68
68
  "@types/minimist": "^1.2.5",
69
69
  "@types/pretty-hrtime": "^1.0.1",
70
70
  "@types/promise-dag": "^1.0.4",
71
+ "@types/rollup-plugin-natives": "^0.7.5",
71
72
  "@types/uuid": "^9.0.0",
72
73
  "@vitest/runner": "^1.6.0",
73
74
  "aws-cron-expression-validator": "^1.0.5",
@@ -99,6 +100,7 @@
99
100
  "promisify-child-process": "^4.1.2",
100
101
  "rolldown": "^0.13.2",
101
102
  "rollup": "^4.18.0",
103
+ "rollup-plugin-natives": "^0.7.8",
102
104
  "rollup-plugin-replace": "^2.2.0",
103
105
  "rollup-plugin-swc3": "^0.11.2",
104
106
  "tsx": "^4.15.5",
@@ -110,8 +112,8 @@
110
112
  "zip-a-folder": "^3.1.6",
111
113
  "zod": "^3.21.4",
112
114
  "zod-to-json-schema": "^3.22.3",
113
- "@awsless/duration": "^0.0.1",
114
115
  "@awsless/code": "^0.0.10",
116
+ "@awsless/duration": "^0.0.1",
115
117
  "@awsless/formation": "^0.0.56",
116
118
  "@awsless/size": "^0.0.1",
117
119
  "@awsless/graphql": "^0.0.9",