Skip to content

Commit

Permalink
fix: remove package.json main field
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Sep 1, 2022
1 parent a660813 commit 11cc039
Show file tree
Hide file tree
Showing 62 changed files with 61 additions and 62 deletions.
2 changes: 1 addition & 1 deletion examples/events/http/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: http
configValidationMode: error

plugins:
- ../../../
- ../../../src/index.js

provider:
memorySize: 128
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"version": "9.3.0",
"description": "Emulate AWS λ and API Gateway locally when developing your Serverless project",
"license": "MIT",
"main": "./src/index.js",
"exports": "./src/index.js",
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion tests/endToEnd/environmentVariables/src/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: uncategorized-tests
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

provider:
environment:
Expand Down
2 changes: 1 addition & 1 deletion tests/endToEnd/optionParameters/src/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: uncategorized-tests
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/endToEnd/starRoutes/src/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: uncategorized-tests
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/endToEnd/starRoutesRestApi/src/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: uncategorized-tests
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/endToEnd/starRoutesWithProperties/src/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: uncategorized-tests
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/endToEnd/trailingSlash/src/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: uncategorized-tests
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/handler-module-formats/commonjs/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: handler-module-formats-commonjs
configValidationMode: error

plugins:
- ../../../
- ../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/handler-module-formats/module/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: handler-module-formats-module
configValidationMode: error

plugins:
- ../../../
- ../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/artifact/local/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: local-artifact-test
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/authorizer/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: authorizer
configValidationMode: error

plugins:
- ../../../
- ../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/custom-authentication/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ custom:
customAuthenticationProvider: './src/authenticationProvider'

plugins:
- ../../../
- ../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/docker/access-host/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: docker-access-host-test
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/docker/artifact/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: docker-artifact-test
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/docker/go/go1.x/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: docker-go-1-x-tests
configValidationMode: error

plugins:
- ../../../../../
- ../../../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/docker/layers/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: docker-layer-tests
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/docker/multiple/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: docker-multiple-containers-test
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/docker/nodejs/nodejs12.x/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: docker-nodejs12-x-test
configValidationMode: error

plugins:
- ../../../../../
- ../../../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/docker/provided/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: docker-provided-tests
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/docker/python/python3.6/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: docker-python-3-6-tests
configValidationMode: error

plugins:
- ../../../../../
- ../../../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/docker/python/python3.7/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: docker-python-3-7-tests
configValidationMode: error

plugins:
- ../../../../../
- ../../../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/docker/python/python3.8/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: docker-python-3-8-tests
configValidationMode: error

plugins:
- ../../../../../
- ../../../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/docker/ruby/ruby2.7/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: docker-ruby-2-7-tests
configValidationMode: error

plugins:
- ../../../../../
- ../../../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/handler/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: handler-payload-tests
configValidationMode: error

plugins:
- ../../../
- ../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/httpApi-cors-default/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: httpapi-cors-default
configValidationMode: error

plugins:
- ../../../
- ../../../src/index.js

provider:
httpApi:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/httpApi-cors/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: httpapi-cors
configValidationMode: error

plugins:
- ../../../
- ../../../src/index.js

provider:
httpApi:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/httpApi-headers/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: httpapi-headers
configValidationMode: error

plugins:
- ../../../
- ../../../src/index.js

provider:
httpApi:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/jwt-authorizer/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: jwt-authorizer
configValidationMode: error

plugins:
- ../../../
- ../../../src/index.js

provider:
httpApi:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/lambda-integration/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: integration-tests
configValidationMode: error

plugins:
- ../../../
- ../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/lambda-invoke/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: lambda-invoke-tests
configValidationMode: error

plugins:
- ../../../
- ../../../src/index.js

provider:
iamRoleStatements:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/override-authorizer/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: jwt-authorizer
configValidationMode: error

plugins:
- ../../../
- ../../../src/index.js

custom:
serverless-offline:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/uncategorized/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: uncategorized-tests
configValidationMode: error

plugins:
- ../../../
- ../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/websocket-authorizer/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: authorizer-websocket-tests
configValidationMode: error

plugins:
- ../../../
- ../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/websocket-oneway/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: oneway-websocket-tests
configValidationMode: error

plugins:
- ../../../
- ../../../src/index.js

provider:
memorySize: 128
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/websocket-twoway/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: twoway-websocket-tests
configValidationMode: error

plugins:
- ../../../
- ../../../src/index.js

provider:
memorySize: 128
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: run-mode-tests
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

custom:
serverless-offline:
Expand Down
2 changes: 1 addition & 1 deletion tests/lambda-run-mode/in-process/env-vars/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: run-mode-tests
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

custom:
serverless-offline:
Expand Down
2 changes: 1 addition & 1 deletion tests/lambda-run-mode/in-process/instances/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: run-mode-tests
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

custom:
serverless-offline:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: run-mode-tests
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

provider:
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: run-mode-tests
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

provider:
memorySize: 128
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: run-mode-tests
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

custom:
serverless-offline:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: run-mode-tests
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

custom:
serverless-offline:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: run-mode-tests
configValidationMode: error

plugins:
- ../../../../
- ../../../../src/index.js

provider:
memorySize: 128
Expand Down
Loading

0 comments on commit 11cc039

Please sign in to comment.