Skip to content

Commit

Permalink
Bump serverless-offline to 13
Browse files Browse the repository at this point in the history
Also:
- update example to node 18 runtime
- remove old unused files
  • Loading branch information
j0k3r committed Sep 22, 2023
1 parent e4c53a9 commit a9f7e03
Show file tree
Hide file tree
Showing 18 changed files with 3,248 additions and 5,376 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: echo ::set-output name=BRANCH::${GITHUB_REF/refs\/heads\//}
- uses: actions/setup-node@v3
with:
node-version: 12
node-version: 18
- name: Bump version
id: bump_version
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
prerelease: false
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: Install yarn
run: npm install -g yarn
- name: Publish package
Expand Down
17 changes: 0 additions & 17 deletions .tern-project

This file was deleted.

4 changes: 2 additions & 2 deletions example/put_with_s3_event_response/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
},
"dependencies": {
"serverless-s3-local": "*"
"@20minutes/serverless-s3-local": "*"
},
"devDependencies": {
"serverless-offline": "^12.0.4"
"serverless-offline": "^13.0.0"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion example/put_with_s3_event_response/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
service: serverless-s3-local-example
provider:
name: aws
runtime: nodejs12.x
runtime: nodejs18.x
plugins:
- serverless-s3-local
- serverless-offline
Expand Down
4 changes: 2 additions & 2 deletions example/resize_image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
},
"dependencies": {
"sharp": "0.32.1",
"serverless-s3-local": "*"
"@20minutes/serverless-s3-local": "*",
"sharp": "0.32.6"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion example/resize_image/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
service: serverless-s3-local-example
provider:
name: aws
runtime: nodejs12.x
runtime: nodejs18.x
plugins:
- serverless-s3-local
- serverless-offline
Expand Down
2 changes: 1 addition & 1 deletion example/simple_event/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
},
"dependencies": {
"serverless-s3-local": "*"
"@20minutes/serverless-s3-local": "*"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion example/simple_event/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ service: serverless-s3-local-example

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs18.x

plugins:
- serverless-s3-local
Expand Down
2 changes: 1 addition & 1 deletion example/simple_event_python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
},
"dependencies": {
"serverless-s3-local": "*"
"@20minutes/serverless-s3-local": "*"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion example/simple_put/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
},
"dependencies": {
"serverless-s3-local": "*"
"@20minutes/serverless-s3-local": "*"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion example/simple_put/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
service: serverless-s3-local-example
provider:
name: aws
runtime: nodejs12.x
runtime: nodejs18.x
plugins:
- serverless-s3-local
- serverless-offline
Expand Down
16 changes: 8 additions & 8 deletions example/webpack_support/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
"test": "jest"
},
"devDependencies": {
"@babel/core": "7.22.5",
"@babel/preset-env": "7.22.5",
"babel-loader": "9.1.2",
"serverless-webpack": "5.11.0",
"webpack": "5.88.1",
"webpack-node-externals": "3.0.0",
"node-fetch-commonjs": "^3.2.4"
"@babel/core": "7.22.20",
"@babel/preset-env": "7.22.20",
"babel-loader": "9.1.3",
"node-fetch-commonjs": "^3.3.2",
"serverless-webpack": "5.13.0",
"webpack": "5.88.2",
"webpack-node-externals": "3.0.0"
},
"dependencies": {
"babel-runtime": "6.26.0",
"serverless-s3-local": "*"
"@20minutes/serverless-s3-local": "*"
}
}
2 changes: 1 addition & 1 deletion example/webpack_support/serverless.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
service: serverless-s3-local-example
provider:
name: aws
runtime: nodejs12.x
runtime: nodejs18.x
plugins:
- serverless-webpack
- serverless-s3-local
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"private": true,
"dependencies": {},
"devDependencies": {
"@aws-sdk/client-s3": "3.367.0",
"eslint": "8.44.0",
"@aws-sdk/client-s3": "3.417.0",
"eslint": "8.49.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-plugin-import": "2.27.5",
"serverless": "3.33.0",
"eslint-plugin-import": "2.28.1",
"got": "12.6.1",
"jest": "29.5.0"
"jest": "29.7.0",
"serverless": "3.35.2"
},
"workspaces": [
"serverless-s3-local",
Expand Down
18 changes: 0 additions & 18 deletions renovate.json

This file was deleted.

4 changes: 2 additions & 2 deletions serverless-s3-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"author": "Masahiro Wada",
"main": "index.js",
"dependencies": {
"@aws-sdk/client-s3": "^3.53.1",
"@aws-sdk/client-s3": "^3.417.0",
"fs-extra": "^11.0.0",
"rxjs": "^6.6.7",
"rxjs-compat": "^6.6.7",
"s3rver": "20minutes/s3rver#main",
"serverless-offline": "^12.0.0",
"serverless-offline": "^13.0.0",
"shelljs": "^0.8.5"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit a9f7e03

Please sign in to comment.