dorian 2.4.0 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +15 -0
- data/.github/workflows/ci.yml +38 -0
- data/.gitignore +30 -0
- data/.node-version +1 -0
- data/.prettierignore +2 -0
- data/.rubocop.yml +129 -0
- data/.ruby-version +1 -0
- data/.tool-versions +3 -0
- data/Gemfile +20 -0
- data/Gemfile.lock +186 -0
- data/LICENSE +19 -0
- data/README.md +24 -0
- data/VERSION +1 -1
- data/bin/bundle +123 -0
- data/bin/bundle-audit +31 -0
- data/bin/bundler-audit +31 -0
- data/bin/rspec +31 -0
- data/bin/rubocop +31 -0
- data/dorian.gemspec +35 -0
- data/lib/dorian/bin.rb +739 -81
- data/package-lock.json +39 -0
- data/package.json +11 -0
- data/samples/books.json +33 -0
- data/samples/books.jsonl +3 -0
- data/samples/config.yml +27 -0
- data/samples/config_2.yml +22 -0
- data/samples/maths.js +1 -0
- data/samples/numbers.raw +10 -0
- data/samples/people.csv +6 -0
- data/samples/people.yml +28 -0
- data/samples/query.sql +7 -0
- data/samples/user.json +31 -0
- data/spec/dorian_spec.rb +276 -0
- data/spec/spec_helper.rb +3 -0
- data/vendor/groovy-beautify/LICENSE.MD +21 -0
- data/vendor/groovy-beautify/README.md +65 -0
- data/vendor/groovy-beautify/dist/__tests__/index.test.d.ts +1 -0
- data/vendor/groovy-beautify/dist/cjs/index.js +573 -0
- data/vendor/groovy-beautify/dist/cjs/package.json +3 -0
- data/vendor/groovy-beautify/dist/es/index.js +682 -0
- data/vendor/groovy-beautify/dist/es/package.json +3 -0
- data/vendor/groovy-beautify/dist/formatter/FormatRule.d.ts +14 -0
- data/vendor/groovy-beautify/dist/formatter/Formatter.d.ts +11 -0
- data/vendor/groovy-beautify/dist/formatter/GroovyFormatRules.d.ts +3 -0
- data/vendor/groovy-beautify/dist/formatter/__tests__/formatter.test.d.ts +1 -0
- data/vendor/groovy-beautify/dist/index.d.ts +5 -0
- data/vendor/groovy-beautify/dist/parser/GroovyParseRules.d.ts +3 -0
- data/vendor/groovy-beautify/dist/parser/ParseRule.d.ts +23 -0
- data/vendor/groovy-beautify/dist/parser/Parser.d.ts +29 -0
- data/vendor/groovy-beautify/dist/parser/__tests__/parser.test.d.ts +1 -0
- data/vendor/groovy-beautify/dist/parser/types.d.ts +6 -0
- data/vendor/groovy-beautify/dist/utils/text.d.ts +4 -0
- data/vendor/groovy-beautify/package.json +55 -0
- data/vendor/prettier/LICENSE +4379 -0
- data/vendor/prettier/README.md +109 -0
- data/vendor/prettier/bin/prettier.cjs +71 -0
- data/vendor/prettier/doc.d.ts +243 -0
- data/vendor/prettier/doc.js +1545 -0
- data/vendor/prettier/doc.mjs +1503 -0
- data/vendor/prettier/index.cjs +825 -0
- data/vendor/prettier/index.d.ts +941 -0
- data/vendor/prettier/index.mjs +25899 -0
- data/vendor/prettier/internal/cli.mjs +4366 -0
- data/vendor/prettier/package.json +198 -0
- data/vendor/prettier/plugins/acorn.d.ts +6 -0
- data/vendor/prettier/plugins/acorn.js +6618 -0
- data/vendor/prettier/plugins/acorn.mjs +6456 -0
- data/vendor/prettier/plugins/angular.d.ts +8 -0
- data/vendor/prettier/plugins/angular.js +2435 -0
- data/vendor/prettier/plugins/angular.mjs +2375 -0
- data/vendor/prettier/plugins/babel.d.ts +18 -0
- data/vendor/prettier/plugins/babel.js +14271 -0
- data/vendor/prettier/plugins/babel.mjs +13986 -0
- data/vendor/prettier/plugins/estree.d.ts +1 -0
- data/vendor/prettier/plugins/estree.js +9487 -0
- data/vendor/prettier/plugins/estree.mjs +9279 -0
- data/vendor/prettier/plugins/flow.d.ts +5 -0
- data/vendor/prettier/plugins/flow.js +51477 -0
- data/vendor/prettier/plugins/flow.mjs +51219 -0
- data/vendor/prettier/plugins/glimmer.d.ts +5 -0
- data/vendor/prettier/plugins/glimmer.js +8534 -0
- data/vendor/prettier/plugins/glimmer.mjs +8421 -0
- data/vendor/prettier/plugins/graphql.d.ts +5 -0
- data/vendor/prettier/plugins/graphql.js +2421 -0
- data/vendor/prettier/plugins/graphql.mjs +2347 -0
- data/vendor/prettier/plugins/html.d.ts +8 -0
- data/vendor/prettier/plugins/html.js +8182 -0
- data/vendor/prettier/plugins/html.mjs +8077 -0
- data/vendor/prettier/plugins/markdown.d.ts +7 -0
- data/vendor/prettier/plugins/markdown.js +9068 -0
- data/vendor/prettier/plugins/markdown.mjs +8977 -0
- data/vendor/prettier/plugins/meriyah.d.ts +5 -0
- data/vendor/prettier/plugins/meriyah.js +5953 -0
- data/vendor/prettier/plugins/meriyah.mjs +5800 -0
- data/vendor/prettier/plugins/postcss.d.ts +7 -0
- data/vendor/prettier/plugins/postcss.js +9244 -0
- data/vendor/prettier/plugins/postcss.mjs +9046 -0
- data/vendor/prettier/plugins/typescript.d.ts +5 -0
- data/vendor/prettier/plugins/typescript.js +38058 -0
- data/vendor/prettier/plugins/typescript.mjs +37732 -0
- data/vendor/prettier/plugins/yaml.d.ts +5 -0
- data/vendor/prettier/plugins/yaml.js +7425 -0
- data/vendor/prettier/plugins/yaml.mjs +7329 -0
- data/vendor/prettier/standalone.d.ts +33 -0
- data/vendor/prettier/standalone.js +3984 -0
- data/vendor/prettier/standalone.mjs +3938 -0
- data/vendor/sql-formatter.js +18762 -0
- metadata +205 -2
@@ -0,0 +1,198 @@
|
|
1
|
+
{
|
2
|
+
"author": "James Long",
|
3
|
+
"bin": "./bin/prettier.cjs",
|
4
|
+
"browser": "./standalone.js",
|
5
|
+
"description": "Prettier is an opinionated code formatter",
|
6
|
+
"engines": {
|
7
|
+
"node": ">=14"
|
8
|
+
},
|
9
|
+
"exports": {
|
10
|
+
".": {
|
11
|
+
"browser": {
|
12
|
+
"default": "./standalone.js",
|
13
|
+
"import": "./standalone.mjs"
|
14
|
+
},
|
15
|
+
"default": "./index.mjs",
|
16
|
+
"require": "./index.cjs",
|
17
|
+
"types": "./index.d.ts"
|
18
|
+
},
|
19
|
+
"./*": "./*",
|
20
|
+
"./doc": {
|
21
|
+
"default": "./doc.mjs",
|
22
|
+
"require": "./doc.js",
|
23
|
+
"types": "./doc.d.ts"
|
24
|
+
},
|
25
|
+
"./esm/parser-angular.mjs": "./plugins/angular.mjs",
|
26
|
+
"./esm/parser-babel.mjs": "./plugins/babel.mjs",
|
27
|
+
"./esm/parser-espree.mjs": "./plugins/acorn.mjs",
|
28
|
+
"./esm/parser-flow.mjs": "./plugins/flow.mjs",
|
29
|
+
"./esm/parser-glimmer.mjs": "./plugins/glimmer.mjs",
|
30
|
+
"./esm/parser-graphql.mjs": "./plugins/graphql.mjs",
|
31
|
+
"./esm/parser-html.mjs": "./plugins/html.mjs",
|
32
|
+
"./esm/parser-markdown.mjs": "./plugins/markdown.mjs",
|
33
|
+
"./esm/parser-meriyah.mjs": "./plugins/meriyah.mjs",
|
34
|
+
"./esm/parser-postcss.mjs": "./plugins/postcss.mjs",
|
35
|
+
"./esm/parser-typescript.mjs": "./plugins/typescript.mjs",
|
36
|
+
"./esm/parser-yaml.mjs": "./plugins/yaml.mjs",
|
37
|
+
"./esm/standalone.mjs": "./standalone.mjs",
|
38
|
+
"./parser-angular": "./plugins/angular.js",
|
39
|
+
"./parser-angular.js": "./plugins/angular.js",
|
40
|
+
"./parser-babel": "./plugins/babel.js",
|
41
|
+
"./parser-babel.js": "./plugins/babel.js",
|
42
|
+
"./parser-espree": "./plugins/acorn.js",
|
43
|
+
"./parser-espree.js": "./plugins/acorn.js",
|
44
|
+
"./parser-flow": "./plugins/flow.js",
|
45
|
+
"./parser-flow.js": "./plugins/flow.js",
|
46
|
+
"./parser-glimmer": "./plugins/glimmer.js",
|
47
|
+
"./parser-glimmer.js": "./plugins/glimmer.js",
|
48
|
+
"./parser-graphql": "./plugins/graphql.js",
|
49
|
+
"./parser-graphql.js": "./plugins/graphql.js",
|
50
|
+
"./parser-html": "./plugins/html.js",
|
51
|
+
"./parser-html.js": "./plugins/html.js",
|
52
|
+
"./parser-markdown": "./plugins/markdown.js",
|
53
|
+
"./parser-markdown.js": "./plugins/markdown.js",
|
54
|
+
"./parser-meriyah": "./plugins/meriyah.js",
|
55
|
+
"./parser-meriyah.js": "./plugins/meriyah.js",
|
56
|
+
"./parser-postcss": "./plugins/postcss.js",
|
57
|
+
"./parser-postcss.js": "./plugins/postcss.js",
|
58
|
+
"./parser-typescript": "./plugins/typescript.js",
|
59
|
+
"./parser-typescript.js": "./plugins/typescript.js",
|
60
|
+
"./parser-yaml": "./plugins/yaml.js",
|
61
|
+
"./parser-yaml.js": "./plugins/yaml.js",
|
62
|
+
"./plugins/acorn": {
|
63
|
+
"default": "./plugins/acorn.mjs",
|
64
|
+
"require": "./plugins/acorn.js",
|
65
|
+
"types": "./plugins/acorn.d.ts"
|
66
|
+
},
|
67
|
+
"./plugins/angular": {
|
68
|
+
"default": "./plugins/angular.mjs",
|
69
|
+
"require": "./plugins/angular.js",
|
70
|
+
"types": "./plugins/angular.d.ts"
|
71
|
+
},
|
72
|
+
"./plugins/babel": {
|
73
|
+
"default": "./plugins/babel.mjs",
|
74
|
+
"require": "./plugins/babel.js",
|
75
|
+
"types": "./plugins/babel.d.ts"
|
76
|
+
},
|
77
|
+
"./plugins/estree": {
|
78
|
+
"default": "./plugins/estree.mjs",
|
79
|
+
"require": "./plugins/estree.js",
|
80
|
+
"types": "./plugins/estree.d.ts"
|
81
|
+
},
|
82
|
+
"./plugins/flow": {
|
83
|
+
"default": "./plugins/flow.mjs",
|
84
|
+
"require": "./plugins/flow.js",
|
85
|
+
"types": "./plugins/flow.d.ts"
|
86
|
+
},
|
87
|
+
"./plugins/glimmer": {
|
88
|
+
"default": "./plugins/glimmer.mjs",
|
89
|
+
"require": "./plugins/glimmer.js",
|
90
|
+
"types": "./plugins/glimmer.d.ts"
|
91
|
+
},
|
92
|
+
"./plugins/graphql": {
|
93
|
+
"default": "./plugins/graphql.mjs",
|
94
|
+
"require": "./plugins/graphql.js",
|
95
|
+
"types": "./plugins/graphql.d.ts"
|
96
|
+
},
|
97
|
+
"./plugins/html": {
|
98
|
+
"default": "./plugins/html.mjs",
|
99
|
+
"require": "./plugins/html.js",
|
100
|
+
"types": "./plugins/html.d.ts"
|
101
|
+
},
|
102
|
+
"./plugins/markdown": {
|
103
|
+
"default": "./plugins/markdown.mjs",
|
104
|
+
"require": "./plugins/markdown.js",
|
105
|
+
"types": "./plugins/markdown.d.ts"
|
106
|
+
},
|
107
|
+
"./plugins/meriyah": {
|
108
|
+
"default": "./plugins/meriyah.mjs",
|
109
|
+
"require": "./plugins/meriyah.js",
|
110
|
+
"types": "./plugins/meriyah.d.ts"
|
111
|
+
},
|
112
|
+
"./plugins/postcss": {
|
113
|
+
"default": "./plugins/postcss.mjs",
|
114
|
+
"require": "./plugins/postcss.js",
|
115
|
+
"types": "./plugins/postcss.d.ts"
|
116
|
+
},
|
117
|
+
"./plugins/typescript": {
|
118
|
+
"default": "./plugins/typescript.mjs",
|
119
|
+
"require": "./plugins/typescript.js",
|
120
|
+
"types": "./plugins/typescript.d.ts"
|
121
|
+
},
|
122
|
+
"./plugins/yaml": {
|
123
|
+
"default": "./plugins/yaml.mjs",
|
124
|
+
"require": "./plugins/yaml.js",
|
125
|
+
"types": "./plugins/yaml.d.ts"
|
126
|
+
},
|
127
|
+
"./standalone": {
|
128
|
+
"default": "./standalone.mjs",
|
129
|
+
"require": "./standalone.js",
|
130
|
+
"types": "./standalone.d.ts"
|
131
|
+
}
|
132
|
+
},
|
133
|
+
"files": [
|
134
|
+
"LICENSE",
|
135
|
+
"README.md",
|
136
|
+
"bin/prettier.cjs",
|
137
|
+
"doc.d.ts",
|
138
|
+
"doc.js",
|
139
|
+
"doc.mjs",
|
140
|
+
"index.cjs",
|
141
|
+
"index.d.ts",
|
142
|
+
"index.d.ts",
|
143
|
+
"index.mjs",
|
144
|
+
"internal/cli.mjs",
|
145
|
+
"package.json",
|
146
|
+
"plugins/acorn.d.ts",
|
147
|
+
"plugins/acorn.js",
|
148
|
+
"plugins/acorn.mjs",
|
149
|
+
"plugins/angular.d.ts",
|
150
|
+
"plugins/angular.js",
|
151
|
+
"plugins/angular.mjs",
|
152
|
+
"plugins/babel.d.ts",
|
153
|
+
"plugins/babel.js",
|
154
|
+
"plugins/babel.mjs",
|
155
|
+
"plugins/estree.d.ts",
|
156
|
+
"plugins/estree.js",
|
157
|
+
"plugins/estree.mjs",
|
158
|
+
"plugins/flow.d.ts",
|
159
|
+
"plugins/flow.js",
|
160
|
+
"plugins/flow.mjs",
|
161
|
+
"plugins/glimmer.d.ts",
|
162
|
+
"plugins/glimmer.js",
|
163
|
+
"plugins/glimmer.mjs",
|
164
|
+
"plugins/graphql.d.ts",
|
165
|
+
"plugins/graphql.js",
|
166
|
+
"plugins/graphql.mjs",
|
167
|
+
"plugins/html.d.ts",
|
168
|
+
"plugins/html.js",
|
169
|
+
"plugins/html.mjs",
|
170
|
+
"plugins/markdown.d.ts",
|
171
|
+
"plugins/markdown.js",
|
172
|
+
"plugins/markdown.mjs",
|
173
|
+
"plugins/meriyah.d.ts",
|
174
|
+
"plugins/meriyah.js",
|
175
|
+
"plugins/meriyah.mjs",
|
176
|
+
"plugins/postcss.d.ts",
|
177
|
+
"plugins/postcss.js",
|
178
|
+
"plugins/postcss.mjs",
|
179
|
+
"plugins/typescript.d.ts",
|
180
|
+
"plugins/typescript.js",
|
181
|
+
"plugins/typescript.mjs",
|
182
|
+
"plugins/yaml.d.ts",
|
183
|
+
"plugins/yaml.js",
|
184
|
+
"plugins/yaml.mjs",
|
185
|
+
"standalone.d.ts",
|
186
|
+
"standalone.js",
|
187
|
+
"standalone.mjs"
|
188
|
+
],
|
189
|
+
"funding": "https://github.com/prettier/prettier?sponsor=1",
|
190
|
+
"homepage": "https://prettier.io",
|
191
|
+
"license": "MIT",
|
192
|
+
"main": "./index.cjs",
|
193
|
+
"name": "prettier",
|
194
|
+
"preferUnplugged": true,
|
195
|
+
"repository": "prettier/prettier",
|
196
|
+
"unpkg": "./standalone.js",
|
197
|
+
"version": "3.3.3"
|
198
|
+
}
|