feat(core): update prettier to v2.1.2

This commit is contained in:
Mehrad Rafigh 2020-09-17 20:28:07 +02:00 committed by Victor Savkin
parent 41ad265426
commit e3f318cde3
23 changed files with 34 additions and 28 deletions

View File

@ -10,7 +10,7 @@ Builder properties can be configured in angular.json when defining the builder,
Alias(es): b
Type: `number | boolean`
Type: `number | boolean `
Exit the test suite immediately after `n` number of failing tests. (https://jestjs.io/docs/en/cli#bail)
@ -94,7 +94,7 @@ Prints the test results in JSON. This mode will send all other test output and u
Alias(es): w
Type: `number | string`
Type: `number | string `
Specifies the maximum number of workers the worker-pool will spawn for running tests. This defaults to the number of the cores available on your machine. Useful for CI. (its usually best not to override this default) (https://jestjs.io/docs/en/cli#maxworkers-num)

View File

@ -104,6 +104,6 @@ Hide output text.
### tsConfig
Type: `string | string[]`
Type: `string | string[] `
The name of the TypeScript configuration file.

View File

@ -24,7 +24,7 @@ Read buildable libraries from source instead of building them separately.
Default: `all`
Type: `string | string[]`
Type: `string | string[] `
Dependencies to keep external to the bundle. ("all" (default), "none", or an array of module names)

View File

@ -30,7 +30,7 @@ The host to inspect the process on
Default: `inspect`
Type: `string | boolean`
Type: `string | boolean `
Ensures the app is starting with debugging

View File

@ -200,7 +200,7 @@ You may specify a custom .env file path
### outputPath
Type: `string | string[]`
Type: `string | string[] `
Allows you to specify where the build artifacts are stored. This allows Nx Cloud to pick them up correctly, in the case that the build artifacts are placed somewhere other than the top level dist folder.

View File

@ -4,7 +4,6 @@
- Migrate packages and create migrations.json (e.g., nx migrate @nrwl/workspace@latest)
- Run migrations (e.g., nx migrate --run-migrations=migrations.json)
## Usage
```bash
nx migrate

View File

@ -11,7 +11,7 @@ Read more about how to use builders and the CLI here: https://nx.dev/node/guides
Alias(es): b
Type: `number | boolean`
Type: `number | boolean `
Exit the test suite immediately after `n` number of failing tests. (https://jestjs.io/docs/en/cli#bail)
@ -95,7 +95,7 @@ Prints the test results in JSON. This mode will send all other test output and u
Alias(es): w
Type: `number | string`
Type: `number | string `
Specifies the maximum number of workers the worker-pool will spawn for running tests. This defaults to the number of the cores available on your machine. Useful for CI. (its usually best not to override this default) (https://jestjs.io/docs/en/cli#maxworkers-num)

View File

@ -105,6 +105,6 @@ Hide output text.
### tsConfig
Type: `string | string[]`
Type: `string | string[] `
The name of the TypeScript configuration file.

View File

@ -25,7 +25,7 @@ Read buildable libraries from source instead of building them separately.
Default: `all`
Type: `string | string[]`
Type: `string | string[] `
Dependencies to keep external to the bundle. ("all" (default), "none", or an array of module names)

View File

@ -31,7 +31,7 @@ The host to inspect the process on
Default: `inspect`
Type: `string | boolean`
Type: `string | boolean `
Ensures the app is starting with debugging

View File

@ -201,7 +201,7 @@ You may specify a custom .env file path
### outputPath
Type: `string | string[]`
Type: `string | string[] `
Allows you to specify where the build artifacts are stored. This allows Nx Cloud to pick them up correctly, in the case that the build artifacts are placed somewhere other than the top level dist folder.

View File

@ -4,7 +4,6 @@
- Migrate packages and create migrations.json (e.g., nx migrate @nrwl/workspace@latest)
- Run migrations (e.g., nx migrate --run-migrations=migrations.json)
## Usage
```bash
nx migrate

View File

@ -11,7 +11,7 @@ Read more about how to use builders and the CLI here: https://nx.dev/react/guide
Alias(es): b
Type: `number | boolean`
Type: `number | boolean `
Exit the test suite immediately after `n` number of failing tests. (https://jestjs.io/docs/en/cli#bail)
@ -95,7 +95,7 @@ Prints the test results in JSON. This mode will send all other test output and u
Alias(es): w
Type: `number | string`
Type: `number | string `
Specifies the maximum number of workers the worker-pool will spawn for running tests. This defaults to the number of the cores available on your machine. Useful for CI. (its usually best not to override this default) (https://jestjs.io/docs/en/cli#maxworkers-num)

View File

@ -105,6 +105,6 @@ Hide output text.
### tsConfig
Type: `string | string[]`
Type: `string | string[] `
The name of the TypeScript configuration file.

View File

@ -25,7 +25,7 @@ Read buildable libraries from source instead of building them separately.
Default: `all`
Type: `string | string[]`
Type: `string | string[] `
Dependencies to keep external to the bundle. ("all" (default), "none", or an array of module names)

View File

@ -31,7 +31,7 @@ The host to inspect the process on
Default: `inspect`
Type: `string | boolean`
Type: `string | boolean `
Ensures the app is starting with debugging

View File

@ -201,7 +201,7 @@ You may specify a custom .env file path
### outputPath
Type: `string | string[]`
Type: `string | string[] `
Allows you to specify where the build artifacts are stored. This allows Nx Cloud to pick them up correctly, in the case that the build artifacts are placed somewhere other than the top level dist folder.

View File

@ -4,7 +4,6 @@
- Migrate packages and create migrations.json (e.g., nx migrate @nrwl/workspace@latest)
- Run migrations (e.g., nx migrate --run-migrations=migrations.json)
## Usage
```bash
nx migrate

View File

@ -190,7 +190,7 @@
"postcss-import": "12.0.1",
"postcss-loader": "3.0.0",
"precise-commits": "1.0.2",
"prettier": "2.0.4",
"prettier": "2.1.2",
"pretty-quick": "^2.0.1",
"protractor": "5.4.3",
"raw-loader": "3.1.0",

View File

@ -10,7 +10,7 @@
{{getting-started}}
```angular [a workspace with a single Angular application]
```angular [a workspace with a single Angular application]
? Workspace name (e.g., org name) happyorg ? What to create in the new workspace
web components [a workspace with a single app built using web components] ?
Application name myapp ? Default stylesheet format CSS

View File

@ -782,6 +782,15 @@
"alwaysAddToPackageJson": false
}
}
},
"10.4.0": {
"version": "10.4.0-beta.1",
"packages": {
"prettier": {
"version": "2.1.2",
"alwaysAddToPackageJson": false
}
}
}
}
}

View File

@ -2,7 +2,7 @@ export const nxVersion = '*';
export const angularCliVersion = '~10.1.3';
export const typescriptVersion = '~4.0.3';
export const prettierVersion = '2.0.4';
export const prettierVersion = '2.1.2';
export const typescriptESLintVersion = '4.3.0';
export const eslintVersion = '7.10.0';
export const eslintConfigPrettierVersion = '6.0.0';

View File

@ -18265,10 +18265,10 @@ prepend-http@^2.0.0:
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897"
integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=
prettier@2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.4.tgz#2d1bae173e355996ee355ec9830a7a1ee05457ef"
integrity sha512-SVJIQ51spzFDvh4fIbCLvciiDMCrRhlN3mbZvv/+ycjvmF5E73bKdGfU8QDLNmjYJf+lsGnDBC4UUnvTe5OO0w==
prettier@2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.1.2.tgz#3050700dae2e4c8b67c4c3f666cdb8af405e1ce5"
integrity sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==
pretty-bytes@5.3.0:
version "5.3.0"