From 81b9fce7a791bd36bd616b36a927bd5623dbfbd7 Mon Sep 17 00:00:00 2001 From: tsuf239 <39455181+tsuf239@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:21:42 +0300 Subject: [PATCH] try again --- packages/@winglang/sdk/.projen/deps.json | 12 ++++++++---- packages/@winglang/sdk/.projenrc.ts | 8 ++++---- packages/@winglang/sdk/package.json | 9 +++++---- pnpm-lock.yaml | 21 ++++++++++----------- 4 files changed, 27 insertions(+), 23 deletions(-) diff --git a/packages/@winglang/sdk/.projen/deps.json b/packages/@winglang/sdk/.projen/deps.json index 9ea3e54843b..b300970a595 100644 --- a/packages/@winglang/sdk/.projen/deps.json +++ b/packages/@winglang/sdk/.projen/deps.json @@ -101,10 +101,6 @@ "version": "^8.56.0", "type": "build" }, - { - "name": "fs-extra", - "type": "build" - }, { "name": "jsii-diff", "type": "build" @@ -261,6 +257,7 @@ }, { "name": "@types/adm-zip", + "version": "^0.5.5", "type": "bundled" }, { @@ -269,6 +266,7 @@ }, { "name": "@types/fs-extra", + "version": "^11.0.4", "type": "bundled" }, { @@ -278,6 +276,7 @@ }, { "name": "adm-zip", + "version": "^0.5.16", "type": "bundled" }, { @@ -309,6 +308,11 @@ "name": "express", "type": "bundled" }, + { + "name": "fs-extra", + "version": "^11.2.0", + "type": "bundled" + }, { "name": "glob", "type": "bundled" diff --git a/packages/@winglang/sdk/.projenrc.ts b/packages/@winglang/sdk/.projenrc.ts index fca4f63fd25..63111fa2418 100644 --- a/packages/@winglang/sdk/.projenrc.ts +++ b/packages/@winglang/sdk/.projenrc.ts @@ -97,9 +97,10 @@ const project = new cdk.JsiiProject({ // env "dotenv", "dotenv-expand", - "adm-zip", - "@types/adm-zip", - "@types/fs-extra", + "adm-zip@^0.5.16", + "@types/adm-zip@^0.5.5", + "@types/fs-extra@^11.0.4", + "fs-extra@^11.2.0", ], devDeps: [ `@cdktf/provider-aws@^19`, // only for testing Wing plugins @@ -114,7 +115,6 @@ const project = new cdk.JsiiProject({ "aws-sdk-client-mock-jest@3.0.0", `cdktf-cli@${CDKTF_VERSION}`, "eslint-plugin-sort-exports", - "fs-extra", "vitest", "@types/uuid", "nanoid", // for ESM import test in target-sim/function.test.ts diff --git a/packages/@winglang/sdk/package.json b/packages/@winglang/sdk/package.json index ca0c484e98e..f6c37decc3e 100644 --- a/packages/@winglang/sdk/package.json +++ b/packages/@winglang/sdk/package.json @@ -59,7 +59,6 @@ "eslint-plugin-import": "^2.29.1", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-sort-exports": "^0.8.0", - "fs-extra": "*", "jsii": "~5.5.4", "jsii-diff": "^1.100.0", "jsii-pacmak": "^1.100.0", @@ -98,11 +97,11 @@ "@google-cloud/storage": "6.9.5", "@smithy/util-stream": "2.0.17", "@smithy/util-utf8": "2.0.0", - "@types/adm-zip": "*", + "@types/adm-zip": "^0.5.5", "@types/aws-lambda": "^8.10.140", - "@types/fs-extra": "*", + "@types/fs-extra": "^11.0.4", "@winglang/wingtunnels": "workspace:^", - "adm-zip": "*", + "adm-zip": "^0.5.16", "ajv": "^8.16.0", "cdktf": "0.20.7", "constructs": "^10.3", @@ -111,6 +110,7 @@ "dotenv": "^16.4.5", "dotenv-expand": "^10.0.0", "express": "^4.19.2", + "fs-extra": "^11.2.0", "glob": "^8.1.0", "google-auth-library": "^8.9.0", "jiti": "^1.21.6", @@ -159,6 +159,7 @@ "dotenv", "dotenv-expand", "express", + "fs-extra", "glob", "google-auth-library", "jiti", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ecdf0c20183..2694ac6cf51 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -346,19 +346,19 @@ importers: specifier: 2.0.0 version: 2.0.0 '@types/adm-zip': - specifier: '*' + specifier: ^0.5.5 version: 0.5.5 '@types/aws-lambda': specifier: ^8.10.140 version: 8.10.145 '@types/fs-extra': - specifier: '*' + specifier: ^11.0.4 version: 11.0.4 '@winglang/wingtunnels': specifier: workspace:^ version: link:../wingtunnels adm-zip: - specifier: '*' + specifier: ^0.5.16 version: 0.5.16 ajv: specifier: ^8.16.0 @@ -384,6 +384,9 @@ importers: express: specifier: ^4.19.2 version: 4.21.0 + fs-extra: + specifier: ^11.2.0 + version: 11.2.0 glob: specifier: ^8.1.0 version: 8.1.0 @@ -494,9 +497,6 @@ importers: eslint-plugin-sort-exports: specifier: ^0.8.0 version: 0.8.0(eslint@8.57.1) - fs-extra: - specifier: '*' - version: 11.2.0 jsii: specifier: ~5.5.4 version: 5.5.4(patch_hash=in545kl6dgh5zsq3xp2uirvjzq) @@ -6758,7 +6758,7 @@ packages: '@jest/schemas': 28.1.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.16.11 + '@types/node': 22.7.5 '@types/yargs': 17.0.33 chalk: 4.1.2 dev: true @@ -10725,7 +10725,7 @@ packages: /@types/adm-zip@0.5.5: resolution: {integrity: sha512-YCGstVMjc4LTY5uK9/obvxBya93axZOVOyf2GSUulADzmLhYE45u2nAssCs/fWBs1Ifq5Vat75JTPwd5XZoPJw==} dependencies: - '@types/node': 20.16.11 + '@types/node': 22.7.5 dev: false /@types/aria-query@5.0.4: @@ -10892,7 +10892,7 @@ packages: resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} dependencies: '@types/jsonfile': 6.1.4 - '@types/node': 20.16.11 + '@types/node': 22.7.5 /@types/fs-extra@9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} @@ -11062,7 +11062,6 @@ packages: resolution: {integrity: sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==} dependencies: undici-types: 6.19.8 - dev: true /@types/normalize-package-data@2.4.4: resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -11283,7 +11282,7 @@ packages: resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} requiresBuild: true dependencies: - '@types/node': 20.16.11 + '@types/node': 22.7.5 dev: true optional: true