Skip to content

Commit

Permalink
docs: Ensure to reference v2 in frameworkVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Sep 16, 2020
1 parent ce51c8f commit d070986
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 21 deletions.
4 changes: 2 additions & 2 deletions docs/providers/aliyun/guide/services.md
Expand Up @@ -140,15 +140,15 @@ To configure version pinning define a `frameworkVersion` property in your server
```yml
# serverless.yml

frameworkVersion: '=1.0.3'
frameworkVersion: '2.1.0'
```

#### Version Range

```yml
# serverless.yml

frameworkVersion: '>=1.0.0 <2.0.0'
frameworkVersion: ^2.1.0 # >=2.1.0 && <3.0.0
```

## Installing Serverless in an existing service
Expand Down
2 changes: 1 addition & 1 deletion docs/providers/aws/guide/serverless.yml.md
Expand Up @@ -23,7 +23,7 @@ service:
name: myService
awsKmsKeyArn: arn:aws:kms:us-east-1:XXXXXX:key/some-hash # Optional KMS key arn which will be used for encryption for all functions

frameworkVersion: '>=1.0.0 <2.0.0'
frameworkVersion: '2'
enableLocalInstallationFallback: false # If set to 'true', guarantees that it's a locally (for service, in its node_modules) installed framework which processes the command

disabledDeprecations: # Disable deprecation logs by their codes. Default is empty.
Expand Down
4 changes: 2 additions & 2 deletions docs/providers/aws/guide/services.md
Expand Up @@ -228,7 +228,7 @@ To configure version pinning define a `frameworkVersion` property in your server
```yml
# serverless.yml

frameworkVersion: "=1.0.3"
frameworkVersion: '2.1.0'

service: users

Expand All @@ -245,7 +245,7 @@ provider:
```yml
# serverless.yml

frameworkVersion: ">=1.0.0 <2.0.0"
frameworkVersion: "^2.1.0" # >=2.1.0 && <3.0.0

service: users

Expand Down
4 changes: 2 additions & 2 deletions docs/providers/azure/guide/function-apps.md
Expand Up @@ -150,7 +150,7 @@ To configure version pinning define a `frameworkVersion` property in your server
```yml
# serverless.yml

frameworkVersion: "=1.0.3"
frameworkVersion: '2.1.0'

```
Expand All @@ -160,7 +160,7 @@ frameworkVersion: "=1.0.3"
```yml
# serverless.yml

frameworkVersion: ">=1.0.0 <2.0.0"
frameworkVersion: ^2.1.0 # >=2.1.0 && <3.0.0

```
Expand Down
2 changes: 1 addition & 1 deletion docs/providers/azure/guide/serverless.yml.md
Expand Up @@ -20,7 +20,7 @@ Here is a list of all available properties in `serverless.yml` when the provider
# serverless.yml
service: azure-nodejs

frameworkVersion: '>=1.0.0 <2.0.0'
frameworkVersion: '2'

provider:
name: azure
Expand Down
4 changes: 2 additions & 2 deletions docs/providers/cloudflare/guide/services.md
Expand Up @@ -165,15 +165,15 @@ To configure version pinning define a `frameworkVersion` property in your server
```yml
# serverless.yml

frameworkVersion: '=1.0.3'
frameworkVersion: '2.1.0'
```

#### Version Range

```yml
# serverless.yml

frameworkVersion: '>=1.0.0 <2.0.0'
frameworkVersion: ^2.1.0 # >=2.1.0 && <3.0.0
```

## Installing Serverless in an existing service
Expand Down
4 changes: 2 additions & 2 deletions docs/providers/google/guide/services.md
Expand Up @@ -145,15 +145,15 @@ To configure version pinning define a `frameworkVersion` property in your server
```yml
# serverless.yml

frameworkVersion: '=1.0.3'
frameworkVersion: '2.1.0'
```

#### Version Range

```yml
# serverless.yml

frameworkVersion: '>=1.0.0 <2.0.0'
frameworkVersion: ^2.1.0 # >=2.1.0 && <3.0.0
```

## Installing Serverless in an existing service
Expand Down
4 changes: 2 additions & 2 deletions docs/providers/knative/guide/services.md
Expand Up @@ -140,13 +140,13 @@ To configure version pinning define a `frameworkVersion` property in your server
#### Exact Version

```yaml
frameworkVersion: '=1.0.3'
frameworkVersion: '2.1.0'
```

#### Version Range

```yaml
frameworkVersion: '>=1.0.0 <2.0.0'
frameworkVersion: ^2.1.0 # >=2.1.0 && <3.0.0
```

## Installing Serverless in an existing service
Expand Down
5 changes: 3 additions & 2 deletions docs/providers/kubeless/guide/services.md
Expand Up @@ -144,7 +144,8 @@ To configure version pinning define a `frameworkVersion` property in your server

```yml
# serverless.yml
frameworkVersion: "=1.20"

frameworkVersion: '2.1.0'

service: users

Expand All @@ -159,7 +160,7 @@ provider:
```yml
# serverless.yml

frameworkVersion: ">=1.20 <2.0.0"
frameworkVersion: ^2.1.0 # >=2.1.0 && <3.0.0

service: users

Expand Down
2 changes: 1 addition & 1 deletion docs/providers/openwhisk/guide/serverless.yml.md
Expand Up @@ -21,7 +21,7 @@ Here is a list of all available properties in `serverless.yml` when the provider

service: myService

frameworkVersion: '>=1.0.0 <2.0.0'
frameworkVersion: '2'

provider:
name: openwhisk
Expand Down
4 changes: 2 additions & 2 deletions docs/providers/openwhisk/guide/services.md
Expand Up @@ -156,7 +156,7 @@ To configure version pinning define a `frameworkVersion` property in your server
```yml
# serverless.yml

frameworkVersion: "=1.0.3"
frameworkVersion: '2.1.0'

service: users

Expand All @@ -173,7 +173,7 @@ provider:
```yml
# serverless.yml

frameworkVersion: ">=1.0.0 <2.0.0"
frameworkVersion: ^2.1.0 # >=2.1.0 && <3.0.0

service: users

Expand Down
4 changes: 2 additions & 2 deletions docs/providers/tencent/guide/services.md
Expand Up @@ -147,15 +147,15 @@ To configure version pinning define a `frameworkVersion` property in your server
```yml
# serverless.yml

frameworkVersion: '=1.0.3'
frameworkVersion: '2.1.0'
```

#### Version Range

```yml
# serverless.yml

frameworkVersion: '>=1.0.0 <2.0.0'
frameworkVersion: ^2.1.0 # >=2.1.0 && <3.0.0
```

## Installing Serverless in an existing service
Expand Down

0 comments on commit d070986

Please sign in to comment.