Skip to content

Commit

Permalink
feat: update nodejs lambda to the latest standards and packages (#1469)
Browse files Browse the repository at this point in the history
* feat: update nodejs lambda to the latest standards and packages

* chore: revert nodejs16 support back
  • Loading branch information
pragmaticivan authored Aug 19, 2024
1 parent cd8e21f commit 91073e2
Show file tree
Hide file tree
Showing 14 changed files with 18,127 additions and 81 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ jobs:
${{ runner.os }}-node-
- run: npm install
working-directory: nodejs
- run: npm run lint
working-directory: nodejs
- run: npm test
working-directory: nodejs
2 changes: 1 addition & 1 deletion .github/workflows/release-layer-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
needs: build-layer
strategy:
matrix:
aws_region:
aws_region:
- ap-northeast-1
- ap-northeast-2
- ap-south-1
Expand Down
6 changes: 0 additions & 6 deletions nodejs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ typings/
# next.js build output
.next

# lock files
yarn.lock
package-lock.json
packages/**/yarn.lock
packages/**/package-lock.json

# docs files
docs

Expand Down
2 changes: 1 addition & 1 deletion nodejs/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = {
"@typescript-eslint/no-inferrable-types": ["error", { ignoreProperties: true }],
"arrow-parens": ["error", "as-needed"],
"prettier/prettier": ["error", { "singleQuote": true, "arrowParens": "avoid" }],
"node/no-deprecated-api": ["warn"]
"@typescript-eslint/no-require-imports": "off",
},
overrides: [
{
Expand Down
6 changes: 0 additions & 6 deletions nodejs/lerna.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
{
"lerna": "3.13.4",
"npmClient": "npm",
"packages": [
"packages/*",
"sample-apps/*"
],
"version": "0.0.0",
"changelog": {
"repo": "open-telemetry/opentelemetry-lambda",
Expand Down
Loading

0 comments on commit 91073e2

Please sign in to comment.