Skip to content

Commit

Permalink
add keywords
Browse files Browse the repository at this point in the history
Signed-off-by: seven <[email protected]>
  • Loading branch information
Blankll committed Sep 18, 2024
1 parent b888f1a commit 0fba24f
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 21 deletions.
39 changes: 19 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: release

on:
push:
branches: [master]
branches: [ master ]

jobs:
release:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node-version: [20.x]
os: [ ubuntu-latest ]
node-version: [ 20.x ]

runs-on: ${{ matrix.os }}
timeout-minutes: 20
Expand All @@ -35,24 +35,23 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: build 🔧
run: npm run build
# - name: Generate changelog
# uses: jaywcjlove/changelog-generator@main
# id: changelog
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# - name: Build Release
# uses: jaywcjlove/create-tag-action@main
# id: tag_release
# with:
# release: true
# token: ${{ secrets.GITHUB_TOKEN }}
# body: |
# ${{ steps.changelog.outputs.compareurl }}
#
# ${{ steps.changelog.outputs.changelog }}
# - name: Generate changelog
# uses: jaywcjlove/changelog-generator@main
# id: changelog
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# - name: Build Release
# uses: jaywcjlove/create-tag-action@main
# id: tag_release
# with:
# release: true
# token: ${{ secrets.GITHUB_TOKEN }}
# body: |
# ${{ steps.changelog.outputs.compareurl }}
#
# ${{ steps.changelog.outputs.changelog }}
- name: Publish package on NPM 📦
# if: steps.tag_release.outputs.successful
# if: steps.tag_release.outputs.successful
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

15 changes: 15 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.eslintrc.js
.prettierrc
jest.config.js
tsconfig.json

.idea/
.github/
coverage/
src/
tests/
docs/
# Ignore all .d.ts files except index.d.ts
*.d.ts
!index.d.ts
.DS_Store
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ Link ServerlessInsight globally to use the CLI tool.
npm run build
npm link
```
run the command then:
```bash
si -h
```
25 changes: 24 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"si": "dist/src/commands/index.js"
},
"scripts": {
"test": "DEBUG=hostsless jest --runInBand --detectOpenHandles --coverage --coverageReporters json-summary text html lcov",
"test": "DEBUG=ServerlessInsight jest --runInBand --detectOpenHandles --coverage --coverageReporters json-summary text html lcov",
"test:ci": "jest --runInBand --ci --coverage --coverageReporters json-summary text html lcov",
"build": "tsc --build",
"lint:fix": "eslint --fix ./",
Expand All @@ -24,6 +24,29 @@
"bugs": {
"url": "https://github.com/geek-fun/serverlessinsight/issues"
},
"keywords": [
"serverless",
"serverless-insight",
"lambda",
"aws-lambda",
"azure-functions",
"google-cloud-functions",
"tencent-cloud-functions",
"alibaba-cloud-functions",
"huawei-cloud-functions",
"serverless-framework",
"serverless-management",
"serverless-automation",
"serverless-observability",
"serverless-tracing",
"serverless-offline",
"alibaba",
"tencent",
"azure",
"huawei",
"google",
"function"
],
"dependencies": {
"commander": "^11.1.0",
"i18n": "^0.15.1",
Expand Down

0 comments on commit 0fba24f

Please sign in to comment.