Skip to content

Commit

Permalink
refactor(Templates): Upgrade frameworkVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Sep 10, 2020
1 parent dd3508b commit 9f5a077
Show file tree
Hide file tree
Showing 39 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/aliyun-nodejs/serverless.yml
Expand Up @@ -11,7 +11,7 @@

service: aliyun-nodejs

frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aliyun
Expand Down
Expand Up @@ -4,7 +4,7 @@ service:
#app: your-app-name
#org: your-org-name

frameworkVersion: '1'
frameworkVersion: '2'

plugins:
- serverless-webpack
Expand Down
Expand Up @@ -19,7 +19,7 @@ service: aws-clojure

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
Expand Up @@ -18,7 +18,7 @@ service: aws-clojurescript-gradle

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/aws-csharp/serverless.yml
Expand Up @@ -18,7 +18,7 @@ service: aws-csharp # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/aws-fsharp/serverless.yml
Expand Up @@ -18,7 +18,7 @@ service: aws-fsharp # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/aws-go-dep/serverless.yml
Expand Up @@ -18,7 +18,7 @@ service: aws-go-dep # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/aws-go-mod/serverless.yml
Expand Up @@ -18,7 +18,7 @@ service: aws-go-mod # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/aws-go/serverless.yml
Expand Up @@ -18,7 +18,7 @@ service: aws-go # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
Expand Up @@ -18,7 +18,7 @@ service: aws-groovy-gradle # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
Expand Up @@ -18,7 +18,7 @@ service: aws-java-gradle # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/aws-java-maven/serverless.yml
Expand Up @@ -18,7 +18,7 @@ service: aws-java-maven # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
Expand Up @@ -18,7 +18,7 @@ service: aws-kotlin-jvm-gradle # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
Expand Up @@ -18,7 +18,7 @@ service: aws-kotlin-jvm-gradle # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
Expand Up @@ -18,7 +18,7 @@ service: aws-kotlin-jvm-maven # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
Expand Up @@ -18,7 +18,7 @@ service: aws-kotlin-nodejs-gradle # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
Expand Up @@ -3,7 +3,7 @@ service:
# app and org for use with dashboard.serverless.com
#app: your-app-name
#org: your-org-name
frameworkVersion: '1'
frameworkVersion: '2'

# Add the serverless-webpack plugin
plugins:
Expand Down
Expand Up @@ -7,7 +7,7 @@ const serverlessConfiguration: Serverless = {
// app: your-app-name,
// org: your-org-name,
},
frameworkVersion: '1',
frameworkVersion: '2',
custom: {
webpack: {
webpackConfig: './webpack.config.js',
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/aws-nodejs/serverless.yml
Expand Up @@ -18,7 +18,7 @@ service: aws-nodejs # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/aws-provided/serverless.yml
Expand Up @@ -18,7 +18,7 @@ service: aws-provided # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/aws-python/serverless.yml
Expand Up @@ -18,7 +18,7 @@ service: aws-python # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/aws-python3/serverless.yml
Expand Up @@ -18,7 +18,7 @@ service: aws-python3 # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/aws-ruby/serverless.yml
Expand Up @@ -18,7 +18,7 @@ service: aws-ruby # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/aws-scala-sbt/serverless.yml
Expand Up @@ -18,7 +18,7 @@ service: aws-scala-sbt # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: aws
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/azure-csharp/serverless.yml
Expand Up @@ -15,7 +15,7 @@ service: azure-dotnet # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: azure
Expand Down
Expand Up @@ -15,7 +15,7 @@ service: azure-nodejs-typescript # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

custom:
webpack:
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/azure-nodejs/serverless.yml
Expand Up @@ -15,7 +15,7 @@ service: azure-nodejs # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: azure
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/azure-python/serverless.yml
Expand Up @@ -15,7 +15,7 @@ service: azure-python # NOTE: update this with your service name

# You can pin your service to only deploy with a specific Serverless version
# Check out our docs for more details
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: azure
Expand Down
@@ -1,7 +1,7 @@
service:
name: hello-world

frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: cloudflare
Expand Down
@@ -1,7 +1,7 @@
service:
name: hello-world

frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: cloudflare
Expand Down
@@ -1,6 +1,6 @@
service:
name: hello-world
frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: cloudflare
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/fn-go/serverless.yml
Expand Up @@ -10,7 +10,7 @@ service:
# config:
# some: 'val'

frameworkVersion: '1'
frameworkVersion: '2'

# The `provider` block defines where your service will be deployed
provider:
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/fn-nodejs/serverless.yml
Expand Up @@ -10,7 +10,7 @@ service:
# config:
# some: 'val'

frameworkVersion: '1'
frameworkVersion: '2'

# The `provider` block defines where your service will be deployed
provider:
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/google-go/serverless.yml
Expand Up @@ -10,7 +10,7 @@ provider:
# the path to the credentials file needs to be absolute
credentials: ~/.gcloud/keyfile.json

frameworkVersion: '1'
frameworkVersion: '2'

plugins:
- serverless-google-cloudfunctions
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/google-nodejs/serverless.yml
Expand Up @@ -12,7 +12,7 @@ provider:
# the path to the credentials file needs to be absolute
credentials: ~/.gcloud/keyfile.json

frameworkVersion: '1'
frameworkVersion: '2'

plugins:
- serverless-google-cloudfunctions
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/google-python/serverless.yml
Expand Up @@ -12,7 +12,7 @@ provider:
# the path to the credentials file needs to be absolute
credentials: ~/.gcloud/keyfile.json

frameworkVersion: '1'
frameworkVersion: '2'
plugins:
- serverless-google-cloudfunctions

Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/hello-world/serverless.yml
Expand Up @@ -7,7 +7,7 @@
# The `service` block is the name of the service
service: serverless-hello-world

frameworkVersion: '1'
frameworkVersion: '2'

# The `provider` block defines where your service will be deployed
provider:
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/knative-docker/serverless.yml
@@ -1,6 +1,6 @@
service: knative

frameworkVersion: '1'
frameworkVersion: '2'

provider:
name: knative
Expand Down
Expand Up @@ -9,7 +9,7 @@
# Update the service name below with your own service name
service: capitalize

frameworkVersion: '1'
frameworkVersion: '2'

# Please ensure the serverless-kubeless provider plugin is installed globally.
# $ npm install -g serverless-kubeless
Expand Down

0 comments on commit 9f5a077

Please sign in to comment.