@codedazur/cdk-next-app 1.1.0 → 1.1.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @codedazur/cdk-next-app
2
2
 
3
+ ## 1.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`b24894a`](https://github.com/codedazur/toolkit/commit/b24894a2de01e596669c2b5aca51bc0b28533106) Thanks [@thijsdaniels](https://github.com/thijsdaniels)! - Mark the package as side-effect-free for tree shaking.
8
+
9
+ - Updated dependencies [[`b24894a`](https://github.com/codedazur/toolkit/commit/b24894a2de01e596669c2b5aca51bc0b28533106)]:
10
+ - @codedazur/cdk-docker-cluster@1.1.1
11
+
3
12
  ## 1.1.0
4
13
 
5
14
  ### Minor Changes
package/dist/index.js CHANGED
@@ -28,11 +28,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
29
 
30
30
  // src/index.ts
31
- var src_exports = {};
32
- __export(src_exports, {
31
+ var index_exports = {};
32
+ __export(index_exports, {
33
33
  NextApp: () => NextApp
34
34
  });
35
- module.exports = __toCommonJS(src_exports);
35
+ module.exports = __toCommonJS(index_exports);
36
36
 
37
37
  // src/constructs/NextApp.ts
38
38
  var import_os = __toESM(require("os"));
@@ -47,7 +47,6 @@ var NextApp = class _NextApp extends import_cdk_docker_cluster.DockerCluster {
47
47
  distribution,
48
48
  ...props
49
49
  }) {
50
- var _a;
51
50
  super(scope, id, {
52
51
  source: _NextApp.withNpmSecret(source),
53
52
  ...props,
@@ -58,10 +57,10 @@ var NextApp = class _NextApp extends import_cdk_docker_cluster.DockerCluster {
58
57
  distribution: {
59
58
  ...distribution,
60
59
  behaviors: {
61
- ...distribution == null ? void 0 : distribution.behaviors,
60
+ ...distribution?.behaviors,
62
61
  "/api/*": {
63
62
  authentication: false,
64
- ...(_a = distribution == null ? void 0 : distribution.behaviors) == null ? void 0 : _a["/api/*"]
63
+ ...distribution?.behaviors?.["/api/*"]
65
64
  }
66
65
  }
67
66
  }
package/dist/index.mjs CHANGED
@@ -13,7 +13,6 @@ var NextApp = class _NextApp extends DockerCluster {
13
13
  distribution,
14
14
  ...props
15
15
  }) {
16
- var _a;
17
16
  super(scope, id, {
18
17
  source: _NextApp.withNpmSecret(source),
19
18
  ...props,
@@ -24,10 +23,10 @@ var NextApp = class _NextApp extends DockerCluster {
24
23
  distribution: {
25
24
  ...distribution,
26
25
  behaviors: {
27
- ...distribution == null ? void 0 : distribution.behaviors,
26
+ ...distribution?.behaviors,
28
27
  "/api/*": {
29
28
  authentication: false,
30
- ...(_a = distribution == null ? void 0 : distribution.behaviors) == null ? void 0 : _a["/api/*"]
29
+ ...distribution?.behaviors?.["/api/*"]
31
30
  }
32
31
  }
33
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codedazur/cdk-next-app",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "main": ".dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -14,6 +14,7 @@
14
14
  "access": "public"
15
15
  },
16
16
  "license": "MIT",
17
+ "sideEffects": false,
17
18
  "scripts": {
18
19
  "develop": "tsup src/index.ts --format esm,cjs --dts --watch",
19
20
  "build": "tsup src/index.ts --format esm,cjs --dts",
@@ -27,12 +28,12 @@
27
28
  "constructs": ">=10"
28
29
  },
29
30
  "dependencies": {
30
- "@codedazur/cdk-docker-cluster": "^1.1.0"
31
+ "@codedazur/cdk-docker-cluster": "^1.1.1"
31
32
  },
32
33
  "devDependencies": {
33
- "@types/node": "^20.14.10",
34
- "aws-cdk-lib": "^2.149.0",
35
- "constructs": "^10.3.0",
36
- "esbuild": "^0.23.0"
34
+ "@types/node": "^24.0.3",
35
+ "aws-cdk-lib": "^2.201.0",
36
+ "constructs": "^10.4.2",
37
+ "esbuild": "^0.25.5"
37
38
  }
38
39
  }