mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 09:56:46 +00:00
Fix.
This commit is contained in:
parent
596a6da241
commit
c1a589c5b6
7078 changed files with 1882834 additions and 319 deletions
7
node_modules/prettier/LICENSE
generated
vendored
Normal file
7
node_modules/prettier/LICENSE
generated
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
Copyright © James Long and contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
107
node_modules/prettier/README.md
generated
vendored
Normal file
107
node_modules/prettier/README.md
generated
vendored
Normal file
|
@ -0,0 +1,107 @@
|
|||

|
||||
|
||||
<h2 align="center">Opinionated Code Formatter</h2>
|
||||
|
||||
<p align="center">
|
||||
<em>
|
||||
JavaScript
|
||||
· TypeScript
|
||||
· Flow
|
||||
· JSX
|
||||
· JSON
|
||||
</em>
|
||||
<br />
|
||||
<em>
|
||||
CSS
|
||||
· SCSS
|
||||
· Less
|
||||
</em>
|
||||
<br />
|
||||
<em>
|
||||
HTML
|
||||
· Vue
|
||||
· Angular
|
||||
</em>
|
||||
<br />
|
||||
<em>
|
||||
GraphQL
|
||||
· Markdown
|
||||
· YAML
|
||||
</em>
|
||||
<br />
|
||||
<em>
|
||||
<a href="https://prettier.io/docs/en/plugins.html">
|
||||
Your favorite language?
|
||||
</a>
|
||||
</em>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://dev.azure.com/prettier/prettier/_build/latest?definitionId=5">
|
||||
<img alt="Azure Pipelines Build Status" src="https://img.shields.io/azure-devops/build/prettier/79013671-677c-4846-a6d8-3050d40e21c0/5.svg?style=flat-square&label=build&branchName=master"></a>
|
||||
<a href="https://codecov.io/gh/prettier/prettier">
|
||||
<img alt="Codecov Coverage Status" src="https://img.shields.io/codecov/c/github/prettier/prettier.svg?style=flat-square"></a>
|
||||
<a href="https://twitter.com/acdlite/status/974390255393505280">
|
||||
<img alt="Blazing Fast" src="https://img.shields.io/badge/speed-blazing%20%F0%9F%94%A5-brightgreen.svg?style=flat-square"></a>
|
||||
<br/>
|
||||
<a href="https://www.npmjs.com/package/prettier">
|
||||
<img alt="npm version" src="https://img.shields.io/npm/v/prettier.svg?style=flat-square"></a>
|
||||
<a href="https://www.npmjs.com/package/prettier">
|
||||
<img alt="weekly downloads from npm" src="https://img.shields.io/npm/dw/prettier.svg?style=flat-square"></a>
|
||||
<a href="#badge">
|
||||
<img alt="code style: prettier" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square"></a>
|
||||
<a href="https://gitter.im/jlongster/prettier">
|
||||
<img alt="Chat on Gitter" src="https://img.shields.io/gitter/room/jlongster/prettier.svg?style=flat-square"></a>
|
||||
<a href="https://twitter.com/PrettierCode">
|
||||
<img alt="Follow Prettier on Twitter" src="https://img.shields.io/twitter/follow/prettiercode.svg?label=follow+prettier&style=flat-square"></a>
|
||||
</p>
|
||||
|
||||
## Intro
|
||||
|
||||
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
|
||||
|
||||
### Input
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```js
|
||||
foo(reallyLongArg(), omgSoManyParameters(), IShouldRefactorThis(), isThereSeriouslyAnotherOne());
|
||||
```
|
||||
|
||||
### Output
|
||||
|
||||
```js
|
||||
foo(
|
||||
reallyLongArg(),
|
||||
omgSoManyParameters(),
|
||||
IShouldRefactorThis(),
|
||||
isThereSeriouslyAnotherOne()
|
||||
);
|
||||
```
|
||||
|
||||
Prettier can be run [in your editor](http://prettier.io/docs/en/editors.html) on-save, in a [pre-commit hook](https://prettier.io/docs/en/precommit.html), or in [CI environments](https://prettier.io/docs/en/cli.html#list-different) to ensure your codebase has a consistent style without devs ever having to post a nit-picky comment on a code review ever again!
|
||||
|
||||
---
|
||||
|
||||
**[Documentation](https://prettier.io/docs/en/)**
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
[Install](https://prettier.io/docs/en/install.html) ·
|
||||
[Options](https://prettier.io/docs/en/options.html) ·
|
||||
[CLI](https://prettier.io/docs/en/cli.html) ·
|
||||
[API](https://prettier.io/docs/en/api.html)
|
||||
|
||||
**[Playground](https://prettier.io/playground/)**
|
||||
|
||||
---
|
||||
|
||||
## Badge
|
||||
|
||||
Show the world you're using _Prettier_ → [](https://github.com/prettier/prettier)
|
||||
|
||||
```md
|
||||
[](https://github.com/prettier/prettier)
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
See [CONTRIBUTING.md](CONTRIBUTING.md).
|
44858
node_modules/prettier/bin-prettier.js
generated
vendored
Normal file
44858
node_modules/prettier/bin-prettier.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1984
node_modules/prettier/doc.js
generated
vendored
Normal file
1984
node_modules/prettier/doc.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
42803
node_modules/prettier/index.js
generated
vendored
Normal file
42803
node_modules/prettier/index.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
55
node_modules/prettier/package.json
generated
vendored
Normal file
55
node_modules/prettier/package.json
generated
vendored
Normal file
|
@ -0,0 +1,55 @@
|
|||
{
|
||||
"_from": "prettier@^1.17.1",
|
||||
"_id": "prettier@1.18.2",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==",
|
||||
"_location": "/prettier",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "prettier@^1.17.1",
|
||||
"name": "prettier",
|
||||
"escapedName": "prettier",
|
||||
"rawSpec": "^1.17.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.17.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"#DEV:/"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/prettier/-/prettier-1.18.2.tgz",
|
||||
"_shasum": "6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea",
|
||||
"_spec": "prettier@^1.17.1",
|
||||
"_where": "E:\\github\\setup-java",
|
||||
"author": {
|
||||
"name": "James Long"
|
||||
},
|
||||
"bin": {
|
||||
"prettier": "./bin-prettier.js"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/prettier/prettier/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Prettier is an opinionated code formatter",
|
||||
"engines": {
|
||||
"node": ">=4"
|
||||
},
|
||||
"files": [
|
||||
"*.js"
|
||||
],
|
||||
"homepage": "https://prettier.io",
|
||||
"license": "MIT",
|
||||
"main": "./index.js",
|
||||
"name": "prettier",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/prettier/prettier.git"
|
||||
},
|
||||
"scripts": {
|
||||
"prepublishOnly": "node -e \"assert.equal(require('.').version, require('..').version)\""
|
||||
},
|
||||
"version": "1.18.2"
|
||||
}
|
1
node_modules/prettier/parser-angular.js
generated
vendored
Normal file
1
node_modules/prettier/parser-angular.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
node_modules/prettier/parser-babylon.js
generated
vendored
Normal file
1
node_modules/prettier/parser-babylon.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
node_modules/prettier/parser-flow.js
generated
vendored
Normal file
1
node_modules/prettier/parser-flow.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
node_modules/prettier/parser-glimmer.js
generated
vendored
Normal file
1
node_modules/prettier/parser-glimmer.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
node_modules/prettier/parser-graphql.js
generated
vendored
Normal file
1
node_modules/prettier/parser-graphql.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
node_modules/prettier/parser-html.js
generated
vendored
Normal file
1
node_modules/prettier/parser-html.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
node_modules/prettier/parser-markdown.js
generated
vendored
Normal file
1
node_modules/prettier/parser-markdown.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
32300
node_modules/prettier/parser-postcss.js
generated
vendored
Normal file
32300
node_modules/prettier/parser-postcss.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
1
node_modules/prettier/parser-typescript.js
generated
vendored
Normal file
1
node_modules/prettier/parser-typescript.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
node_modules/prettier/parser-yaml.js
generated
vendored
Normal file
1
node_modules/prettier/parser-yaml.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
31023
node_modules/prettier/standalone.js
generated
vendored
Normal file
31023
node_modules/prettier/standalone.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
5357
node_modules/prettier/third-party.js
generated
vendored
Normal file
5357
node_modules/prettier/third-party.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue