diff --git a/lib/plugins/create/templates/aliyun-nodejs/serverless.yml b/lib/plugins/create/templates/aliyun-nodejs/serverless.yml index 676a115df6d..1f6e61f6c23 100644 --- a/lib/plugins/create/templates/aliyun-nodejs/serverless.yml +++ b/lib/plugins/create/templates/aliyun-nodejs/serverless.yml @@ -11,7 +11,7 @@ service: aliyun-nodejs -frameworkVersion: '1' +frameworkVersion: '2' provider: name: aliyun diff --git a/lib/plugins/create/templates/aws-alexa-typescript/serverless.yml b/lib/plugins/create/templates/aws-alexa-typescript/serverless.yml index 693d256f0f4..0d1c55d8bdd 100644 --- a/lib/plugins/create/templates/aws-alexa-typescript/serverless.yml +++ b/lib/plugins/create/templates/aws-alexa-typescript/serverless.yml @@ -4,7 +4,7 @@ service: #app: your-app-name #org: your-org-name -frameworkVersion: '1' +frameworkVersion: '2' plugins: - serverless-webpack diff --git a/lib/plugins/create/templates/aws-clojure-gradle/serverless.yml b/lib/plugins/create/templates/aws-clojure-gradle/serverless.yml index 91da4264f04..1d6a926a5ca 100644 --- a/lib/plugins/create/templates/aws-clojure-gradle/serverless.yml +++ b/lib/plugins/create/templates/aws-clojure-gradle/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-clojurescript-gradle/serverless.yml b/lib/plugins/create/templates/aws-clojurescript-gradle/serverless.yml index 4a49db6f12e..8e1711bc928 100644 --- a/lib/plugins/create/templates/aws-clojurescript-gradle/serverless.yml +++ b/lib/plugins/create/templates/aws-clojurescript-gradle/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-csharp/serverless.yml b/lib/plugins/create/templates/aws-csharp/serverless.yml index e57f33f1d47..282d1a05491 100644 --- a/lib/plugins/create/templates/aws-csharp/serverless.yml +++ b/lib/plugins/create/templates/aws-csharp/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-fsharp/serverless.yml b/lib/plugins/create/templates/aws-fsharp/serverless.yml index e0af6776e60..1f258722c8c 100644 --- a/lib/plugins/create/templates/aws-fsharp/serverless.yml +++ b/lib/plugins/create/templates/aws-fsharp/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-go-dep/serverless.yml b/lib/plugins/create/templates/aws-go-dep/serverless.yml index ddfec825362..90b6000ba3a 100644 --- a/lib/plugins/create/templates/aws-go-dep/serverless.yml +++ b/lib/plugins/create/templates/aws-go-dep/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-go-mod/serverless.yml b/lib/plugins/create/templates/aws-go-mod/serverless.yml index f7d184ade02..2a617d783d8 100644 --- a/lib/plugins/create/templates/aws-go-mod/serverless.yml +++ b/lib/plugins/create/templates/aws-go-mod/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-go/serverless.yml b/lib/plugins/create/templates/aws-go/serverless.yml index 606b7531b43..2b6a0d64092 100644 --- a/lib/plugins/create/templates/aws-go/serverless.yml +++ b/lib/plugins/create/templates/aws-go/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-groovy-gradle/serverless.yml b/lib/plugins/create/templates/aws-groovy-gradle/serverless.yml index c78fb6e9d3b..5f8ddb6fd0b 100644 --- a/lib/plugins/create/templates/aws-groovy-gradle/serverless.yml +++ b/lib/plugins/create/templates/aws-groovy-gradle/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-java-gradle/serverless.yml b/lib/plugins/create/templates/aws-java-gradle/serverless.yml index acef1baea71..b340c8ff10a 100644 --- a/lib/plugins/create/templates/aws-java-gradle/serverless.yml +++ b/lib/plugins/create/templates/aws-java-gradle/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-java-maven/serverless.yml b/lib/plugins/create/templates/aws-java-maven/serverless.yml index cf0e111ac2e..4909729c4a2 100644 --- a/lib/plugins/create/templates/aws-java-maven/serverless.yml +++ b/lib/plugins/create/templates/aws-java-maven/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-kotlin-jvm-gradle-kts/serverless.yml b/lib/plugins/create/templates/aws-kotlin-jvm-gradle-kts/serverless.yml index b4a7505055b..c16a77e19da 100644 --- a/lib/plugins/create/templates/aws-kotlin-jvm-gradle-kts/serverless.yml +++ b/lib/plugins/create/templates/aws-kotlin-jvm-gradle-kts/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-kotlin-jvm-gradle/serverless.yml b/lib/plugins/create/templates/aws-kotlin-jvm-gradle/serverless.yml index 374a3b9e104..275c95c3709 100644 --- a/lib/plugins/create/templates/aws-kotlin-jvm-gradle/serverless.yml +++ b/lib/plugins/create/templates/aws-kotlin-jvm-gradle/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-kotlin-jvm-maven/serverless.yml b/lib/plugins/create/templates/aws-kotlin-jvm-maven/serverless.yml index 4ef5c7f2021..8e38018c3b2 100644 --- a/lib/plugins/create/templates/aws-kotlin-jvm-maven/serverless.yml +++ b/lib/plugins/create/templates/aws-kotlin-jvm-maven/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-kotlin-nodejs-gradle/serverless.yml b/lib/plugins/create/templates/aws-kotlin-nodejs-gradle/serverless.yml index 102b3a73706..63a345fdedf 100644 --- a/lib/plugins/create/templates/aws-kotlin-nodejs-gradle/serverless.yml +++ b/lib/plugins/create/templates/aws-kotlin-nodejs-gradle/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-nodejs-ecma-script/serverless.yml b/lib/plugins/create/templates/aws-nodejs-ecma-script/serverless.yml index ccb1458bf7d..0d82d770f14 100644 --- a/lib/plugins/create/templates/aws-nodejs-ecma-script/serverless.yml +++ b/lib/plugins/create/templates/aws-nodejs-ecma-script/serverless.yml @@ -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: diff --git a/lib/plugins/create/templates/aws-nodejs-typescript/serverless.ts b/lib/plugins/create/templates/aws-nodejs-typescript/serverless.ts index 407223ba784..8410dfce104 100644 --- a/lib/plugins/create/templates/aws-nodejs-typescript/serverless.ts +++ b/lib/plugins/create/templates/aws-nodejs-typescript/serverless.ts @@ -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', diff --git a/lib/plugins/create/templates/aws-nodejs/serverless.yml b/lib/plugins/create/templates/aws-nodejs/serverless.yml index bd49d64e012..2fa48f6b217 100644 --- a/lib/plugins/create/templates/aws-nodejs/serverless.yml +++ b/lib/plugins/create/templates/aws-nodejs/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-provided/serverless.yml b/lib/plugins/create/templates/aws-provided/serverless.yml index 499f6378f5e..895ea9637aa 100644 --- a/lib/plugins/create/templates/aws-provided/serverless.yml +++ b/lib/plugins/create/templates/aws-provided/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-python/serverless.yml b/lib/plugins/create/templates/aws-python/serverless.yml index a58f2ea61c8..ec651c8a3a9 100644 --- a/lib/plugins/create/templates/aws-python/serverless.yml +++ b/lib/plugins/create/templates/aws-python/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-python3/serverless.yml b/lib/plugins/create/templates/aws-python3/serverless.yml index fa07df8b810..237eab1ce9f 100644 --- a/lib/plugins/create/templates/aws-python3/serverless.yml +++ b/lib/plugins/create/templates/aws-python3/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-ruby/serverless.yml b/lib/plugins/create/templates/aws-ruby/serverless.yml index 8abfa712c32..1cd7a891442 100644 --- a/lib/plugins/create/templates/aws-ruby/serverless.yml +++ b/lib/plugins/create/templates/aws-ruby/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/aws-scala-sbt/serverless.yml b/lib/plugins/create/templates/aws-scala-sbt/serverless.yml index bfc28f4ac1e..d293c4d5a69 100644 --- a/lib/plugins/create/templates/aws-scala-sbt/serverless.yml +++ b/lib/plugins/create/templates/aws-scala-sbt/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/azure-csharp/serverless.yml b/lib/plugins/create/templates/azure-csharp/serverless.yml index c10c3ed6648..992b59110ba 100644 --- a/lib/plugins/create/templates/azure-csharp/serverless.yml +++ b/lib/plugins/create/templates/azure-csharp/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/azure-nodejs-typescript/serverless.yml b/lib/plugins/create/templates/azure-nodejs-typescript/serverless.yml index be245491de0..430725ada0a 100644 --- a/lib/plugins/create/templates/azure-nodejs-typescript/serverless.yml +++ b/lib/plugins/create/templates/azure-nodejs-typescript/serverless.yml @@ -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: diff --git a/lib/plugins/create/templates/azure-nodejs/serverless.yml b/lib/plugins/create/templates/azure-nodejs/serverless.yml index f7dfab23f26..abbe0254ec8 100644 --- a/lib/plugins/create/templates/azure-nodejs/serverless.yml +++ b/lib/plugins/create/templates/azure-nodejs/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/azure-python/serverless.yml b/lib/plugins/create/templates/azure-python/serverless.yml index 5060f319ad8..6c95e9f8c45 100644 --- a/lib/plugins/create/templates/azure-python/serverless.yml +++ b/lib/plugins/create/templates/azure-python/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/cloudflare-workers-enterprise/serverless.yml b/lib/plugins/create/templates/cloudflare-workers-enterprise/serverless.yml index ec5621b36cc..34f65a209cd 100644 --- a/lib/plugins/create/templates/cloudflare-workers-enterprise/serverless.yml +++ b/lib/plugins/create/templates/cloudflare-workers-enterprise/serverless.yml @@ -1,7 +1,7 @@ service: name: hello-world -frameworkVersion: '1' +frameworkVersion: '2' provider: name: cloudflare diff --git a/lib/plugins/create/templates/cloudflare-workers-rust/serverless.yml b/lib/plugins/create/templates/cloudflare-workers-rust/serverless.yml index baaf56bca4c..f26364535d2 100644 --- a/lib/plugins/create/templates/cloudflare-workers-rust/serverless.yml +++ b/lib/plugins/create/templates/cloudflare-workers-rust/serverless.yml @@ -1,7 +1,7 @@ service: name: hello-world -frameworkVersion: '1' +frameworkVersion: '2' provider: name: cloudflare diff --git a/lib/plugins/create/templates/cloudflare-workers/serverless.yml b/lib/plugins/create/templates/cloudflare-workers/serverless.yml index 7a508c3fa19..b7be5f1ddd7 100644 --- a/lib/plugins/create/templates/cloudflare-workers/serverless.yml +++ b/lib/plugins/create/templates/cloudflare-workers/serverless.yml @@ -1,6 +1,6 @@ service: name: hello-world -frameworkVersion: '1' +frameworkVersion: '2' provider: name: cloudflare diff --git a/lib/plugins/create/templates/fn-go/serverless.yml b/lib/plugins/create/templates/fn-go/serverless.yml index 246dc6336dd..462d82a0e24 100644 --- a/lib/plugins/create/templates/fn-go/serverless.yml +++ b/lib/plugins/create/templates/fn-go/serverless.yml @@ -10,7 +10,7 @@ service: # config: # some: 'val' -frameworkVersion: '1' +frameworkVersion: '2' # The `provider` block defines where your service will be deployed provider: diff --git a/lib/plugins/create/templates/fn-nodejs/serverless.yml b/lib/plugins/create/templates/fn-nodejs/serverless.yml index c17045e6dcc..02c03d59bdb 100644 --- a/lib/plugins/create/templates/fn-nodejs/serverless.yml +++ b/lib/plugins/create/templates/fn-nodejs/serverless.yml @@ -10,7 +10,7 @@ service: # config: # some: 'val' -frameworkVersion: '1' +frameworkVersion: '2' # The `provider` block defines where your service will be deployed provider: diff --git a/lib/plugins/create/templates/google-go/serverless.yml b/lib/plugins/create/templates/google-go/serverless.yml index d1e5cd9f0e6..f1165bd8e9c 100644 --- a/lib/plugins/create/templates/google-go/serverless.yml +++ b/lib/plugins/create/templates/google-go/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/google-nodejs/serverless.yml b/lib/plugins/create/templates/google-nodejs/serverless.yml index 7deb0e11379..ed58e9b4d82 100644 --- a/lib/plugins/create/templates/google-nodejs/serverless.yml +++ b/lib/plugins/create/templates/google-nodejs/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/google-python/serverless.yml b/lib/plugins/create/templates/google-python/serverless.yml index e9748b5251b..8d76f944f3e 100644 --- a/lib/plugins/create/templates/google-python/serverless.yml +++ b/lib/plugins/create/templates/google-python/serverless.yml @@ -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 diff --git a/lib/plugins/create/templates/hello-world/serverless.yml b/lib/plugins/create/templates/hello-world/serverless.yml index 74230b542ca..572e28eb625 100644 --- a/lib/plugins/create/templates/hello-world/serverless.yml +++ b/lib/plugins/create/templates/hello-world/serverless.yml @@ -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: diff --git a/lib/plugins/create/templates/knative-docker/serverless.yml b/lib/plugins/create/templates/knative-docker/serverless.yml index 62affad9785..c07627325d3 100644 --- a/lib/plugins/create/templates/knative-docker/serverless.yml +++ b/lib/plugins/create/templates/knative-docker/serverless.yml @@ -1,6 +1,6 @@ service: knative -frameworkVersion: '1' +frameworkVersion: '2' provider: name: knative diff --git a/lib/plugins/create/templates/kubeless-nodejs/serverless.yml b/lib/plugins/create/templates/kubeless-nodejs/serverless.yml index 6f5b511daf9..bbfec9a816b 100644 --- a/lib/plugins/create/templates/kubeless-nodejs/serverless.yml +++ b/lib/plugins/create/templates/kubeless-nodejs/serverless.yml @@ -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