From 031b58524e642f49d68d0350b9f7edab781e67c7 Mon Sep 17 00:00:00 2001 From: zxypro1 <1018995004@qq.com> Date: Wed, 26 Jun 2024 13:38:17 +0800 Subject: [PATCH] publish: engine@0.1.4-beta.2, LA@0.0.14-beta.2, PS@0.0.28-beta.2 Signed-off-by: zxypro1 <1018995004@qq.com> --- packages/engine/package.json | 2 +- packages/engine/src/constants/index.ts | 4 ++-- packages/load-application/package.json | 4 ++-- packages/parse-spec/package.json | 4 ++-- packages/parse-spec/src/contants/index.ts | 4 ++-- pnpm-lock.yaml | 12 ++++++------ 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/packages/engine/package.json b/packages/engine/package.json index f67d112..38e8a8a 100644 --- a/packages/engine/package.json +++ b/packages/engine/package.json @@ -1,6 +1,6 @@ { "name": "@serverless-devs/engine", - "version": "0.1.4-beta.1", + "version": "0.1.4-beta.2", "description": "a engine lib for serverless-devs", "main": "lib/index.js", "scripts": { diff --git a/packages/engine/src/constants/index.ts b/packages/engine/src/constants/index.ts index 921e1ff..39709eb 100644 --- a/packages/engine/src/constants/index.ts +++ b/packages/engine/src/constants/index.ts @@ -9,5 +9,5 @@ export const EXIT_CODE = { RUN: 101, }; -export const INFO_EXP_PATTERN = /\$\{resources\.([^.]+)\.info\.[^}]+}/g; -export const OUTPUT_EXP_PATTERN = /\$\{resources\.([^.]+)\.output\.[^}]+}/g; +export const INFO_EXP_PATTERN = /\$\{resources\.([^.{}]+)\.info(\.[^.{}]+)+}/g; +export const OUTPUT_EXP_PATTERN = /\$\{resources\.([^.{}]+)\.output(\.[^.{}]+)+}/g; diff --git a/packages/load-application/package.json b/packages/load-application/package.json index f78e4f6..9bd7dd2 100644 --- a/packages/load-application/package.json +++ b/packages/load-application/package.json @@ -1,6 +1,6 @@ { "name": "@serverless-devs/load-application", - "version": "0.0.14-beta.1", + "version": "0.0.14-beta.2", "description": "load application for serverless-devs", "main": "lib/index.js", "scripts": { @@ -18,7 +18,7 @@ }, "dependencies": { "@serverless-cd/debug": "^4.3.4", - "@serverless-devs/art-template": "^4.13.16-beta.7", + "@serverless-devs/art-template": "^4.13.16-beta.10", "@serverless-devs/credential": "workspace:^", "@serverless-devs/downloads": "workspace:^", "@serverless-devs/utils": "workspace:^", diff --git a/packages/parse-spec/package.json b/packages/parse-spec/package.json index fe9c5da..de940f5 100644 --- a/packages/parse-spec/package.json +++ b/packages/parse-spec/package.json @@ -1,6 +1,6 @@ { "name": "@serverless-devs/parse-spec", - "version": "0.0.28-beta.1", + "version": "0.0.28-beta.2", "description": "a parse yaml spec lib for serverless-devs", "main": "lib/index.js", "scripts": { @@ -22,7 +22,7 @@ }, "dependencies": { "@serverless-cd/debug": "^4.3.4", - "@serverless-devs/art-template": "^4.13.16-beta.7", + "@serverless-devs/art-template": "^4.13.16-beta.10", "@serverless-devs/credential": "workspace:^", "@serverless-devs/utils": "workspace:^", "chalk": "^4.1.2", diff --git a/packages/parse-spec/src/contants/index.ts b/packages/parse-spec/src/contants/index.ts index baf8736..bf49cdb 100644 --- a/packages/parse-spec/src/contants/index.ts +++ b/packages/parse-spec/src/contants/index.ts @@ -3,8 +3,8 @@ import path from 'path'; export const REGX = /\${([\w\W]*?)}/; export const REGXG = /\${([\w\W]*?)}/g; -export const INFO_EXP_PATTERN = /\$\{resources\.([^.]+)\.info\.[^}]+}/g; -export const OUTPUT_EXP_PATTERN = /\$\{resources\.([^.]+)\.output\.[^}]+}/g; +export const INFO_EXP_PATTERN = /\$\{resources\.([^.{}]+)\.info(\.[^.{}]+)+}/g +export const OUTPUT_EXP_PATTERN = /\$\{resources\.([^.{}]+)\.output(\.[^.{}]+)+}/g; export const ENVIRONMENT_KEY = 'env'; export const ENVIRONMENT_FILE_NAME = 'env.yaml'; export const ENVIRONMENT_FILE_PATH = path.join(utils.getRootHome(), 'cache', 'default-env.json'); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e2dd44d..3d2f4d3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -196,8 +196,8 @@ importers: specifier: ^4.3.4 version: 4.3.4 '@serverless-devs/art-template': - specifier: ^4.13.16-beta.7 - version: 4.13.16-beta.7 + specifier: ^4.13.16-beta.10 + version: 4.13.16-beta.10 '@serverless-devs/credential': specifier: workspace:^ version: link:../credential @@ -313,8 +313,8 @@ importers: specifier: ^4.3.4 version: 4.3.4 '@serverless-devs/art-template': - specifier: ^4.13.16-beta.7 - version: 4.13.16-beta.7 + specifier: ^4.13.16-beta.10 + version: 4.13.16-beta.10 '@serverless-devs/credential': specifier: workspace:^ version: link:../credential @@ -1119,8 +1119,8 @@ packages: - supports-color dev: false - /@serverless-devs/art-template@4.13.16-beta.7: - resolution: {integrity: sha512-sb6ydU0WjG1ch5nllLv6zElyPWAZynCL2eHbueStkTefmvG2ktFYIzmK8hSO3wGl5t+HvXkwjAVBKMxowrRYWg==} + /@serverless-devs/art-template@4.13.16-beta.10: + resolution: {integrity: sha512-LXjx3Z9xYyhu1BH447nJiEndNQN27iAjHU8FIjLVtaKgd0D4Z3sPBxJT3CD+UBCW8Gb10TuIdQLT0ZKU44QmaQ==} engines: {node: '>= 1.0.0'} dependencies: '@serverless-devs/utils': 0.0.14