Skip to content

Commit

Permalink
Merge pull request #23 from devsapp/fix-tips
Browse files Browse the repository at this point in the history
add tips about auto domain has a validity period of 30 days.
  • Loading branch information
rsonghuster authored Dec 11, 2023
2 parents 131acff + 084c82d commit 229bfe4
Show file tree
Hide file tree
Showing 5 changed files with 113 additions and 274 deletions.
Binary file modified dist/helper-function-code/nslookup.zip
Binary file not shown.
377 changes: 108 additions & 269 deletions dist/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dev": "npx tsc -w -p tsconfig.json",
"prebuild": "rm -rf node_modules && rm -rf package-lock.json && npm i && rimraf dist",
"build": "npm run fix && npm run lint && npm run esbuild",
"esbuild": "esbuild src/index.ts --bundle --log-level=error --minify --platform=node --format=cjs --target=node10.4 --external:@serverless-devs/core --outfile=dist/index.js",
"esbuild": "esbuild src/index.ts --bundle --log-level=error --minify --platform=node --format=cjs --target=node10.4 --external:@serverless-devs/core --external:proxy-agent --outfile=dist/index.js",
"postbuild": "make package-zip",
"test": "jest",
"test:cov": "jest --coverage",
Expand All @@ -54,4 +54,4 @@
"testEnvironment": "node"
},
"dependencies": {}
}
}
2 changes: 1 addition & 1 deletion publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Component
Name: domain
Provider:
- 阿里云
Version: 0.0.38
Version: 0.0.39
Description: 下发Serverless Devs默认域名
HomePage: https://github.com/devsapp/domain
Tags: #标签详情
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default class Compoent {

private showTips() {
logger.log(`
注意:当前域名并非阿里云官方域名,由 CNCF Project Serverless Devs 社区提供,仅供测试使用。
Note: The current domain name is not the official domain name of Alibaba Cloud. It is provided by the CNCF Project Serverless Devs community for testing purposes only`, 'yellow');
注意:当前域名并非阿里云官方域名,由 CNCF Project Serverless Devs 社区提供,仅供测试使用${'\x1b[1m'}有效期为 30 天${'\x1b[0m'}
Note: The current domain name is not the official domain name of Alibaba Cloud. It is provided by the CNCF Project Serverless Devs community for testing purposes only and has a validity period of 30 days.`, 'yellow');
}
}

0 comments on commit 229bfe4

Please sign in to comment.