prettier-java-next-line 2.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +204 -0
- package/NOTICE +5 -0
- package/README.md +100 -0
- package/dist/index.cjs +2558 -0
- package/dist/index.d.cts +1639 -0
- package/dist/index.d.mts +1640 -0
- package/dist/index.mjs +2558 -0
- package/dist/tree-sitter-java_orchard.wasm +0 -0
- package/package.json +89 -0
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "prettier-java-next-line",
|
|
3
|
+
"version": "2.10.3",
|
|
4
|
+
"description": "Prettier Java plugin with configurable same-line and next-line braces",
|
|
5
|
+
"homepage": "https://github.com/motlin/prettier-java-next-line",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/motlin/prettier-java-next-line.git"
|
|
9
|
+
},
|
|
10
|
+
"license": "Apache-2.0",
|
|
11
|
+
"type": "module",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"import": {
|
|
15
|
+
"types": "./dist/index.d.mts",
|
|
16
|
+
"default": "./dist/index.mjs"
|
|
17
|
+
},
|
|
18
|
+
"require": {
|
|
19
|
+
"types": "./dist/index.d.cts",
|
|
20
|
+
"default": "./dist/index.cjs"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"main": "./dist/index.cjs",
|
|
25
|
+
"module": "./dist/index.mjs",
|
|
26
|
+
"files": [
|
|
27
|
+
"dist",
|
|
28
|
+
"NOTICE"
|
|
29
|
+
],
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsdown && cp node_modules/tree-sitter-java-orchard/tree-sitter-java_orchard.wasm dist/",
|
|
32
|
+
"ci": "yarn build && yarn lint && yarn format:validate && yarn test",
|
|
33
|
+
"all:ci": "yarn run ci && yarn run test:e2e-jhipster1 && yarn run test:e2e-jhipster2",
|
|
34
|
+
"clone-samples": "node scripts/clone-samples.js",
|
|
35
|
+
"format:fix": "prettier --write \"**/*.@(css|js|json|ts|tsx)\"",
|
|
36
|
+
"format:validate": "prettier --list-different \"**/*.@(css|js|json|ts|tsx)\"",
|
|
37
|
+
"generate-node-types": "node scripts/generate-node-types.ts && prettier --write src/node-types.ts",
|
|
38
|
+
"lerna:publish": "lerna publish from-git --yes",
|
|
39
|
+
"lerna:version": "lerna version --exact --no-private",
|
|
40
|
+
"lint": "eslint src test",
|
|
41
|
+
"prepare": "husky",
|
|
42
|
+
"test": "yarn run test:unit && yarn run test:e2e-core",
|
|
43
|
+
"test:all": "yarn run test && yarn run test:e2e-jhipster1 && yarn run test:e2e-jhipster2",
|
|
44
|
+
"test:e2e-core": "node scripts/clone-samples e2e-core && mocha \"test/repository-test/core-test.ts\"",
|
|
45
|
+
"test:e2e-jhipster1": "node scripts/clone-samples e2e-jhipster1 && mocha \"test/repository-test/jhipster-1-test.ts\"",
|
|
46
|
+
"test:e2e-jhipster2": "node scripts/clone-samples e2e-jhipster2 && mocha \"test/repository-test/jhipster-2-test.ts\"",
|
|
47
|
+
"test:unit": "mocha \"test/unit-test/**/*.spec.ts\" \"test/unit-test/**/*-spec.ts\"",
|
|
48
|
+
"typecheck": "tsc",
|
|
49
|
+
"update-test-outputs": "node scripts/update-test-output.js"
|
|
50
|
+
},
|
|
51
|
+
"lint-staged": {
|
|
52
|
+
"*.json": [
|
|
53
|
+
"prettier --write"
|
|
54
|
+
],
|
|
55
|
+
"*.js,*.ts": [
|
|
56
|
+
"eslint --fix",
|
|
57
|
+
"prettier --write"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"web-tree-sitter": "0.26.11"
|
|
62
|
+
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"@eslint/js": "^10.0.1",
|
|
65
|
+
"@types/chai": "^5.2.3",
|
|
66
|
+
"@types/emscripten": "^1.41.5",
|
|
67
|
+
"@types/mocha": "^10.0.10",
|
|
68
|
+
"@types/node": "^26.0.0",
|
|
69
|
+
"chai": "^6.2.2",
|
|
70
|
+
"eslint": "^10.1.0",
|
|
71
|
+
"globals": "^17.4.0",
|
|
72
|
+
"husky": "^9.1.7",
|
|
73
|
+
"lerna": "^10.0.0",
|
|
74
|
+
"lint-staged": "^17.0.2",
|
|
75
|
+
"mitata": "^1.0.34",
|
|
76
|
+
"mocha": "^11.7.5",
|
|
77
|
+
"postcss": "^8.5.15",
|
|
78
|
+
"prettier": "^3.8.1",
|
|
79
|
+
"prettier-plugin-css-order": "^2.2.0",
|
|
80
|
+
"tree-sitter-java-orchard": "0.5.10",
|
|
81
|
+
"tsdown": "^0.22.0",
|
|
82
|
+
"typescript": "^6.0.3",
|
|
83
|
+
"typescript-eslint": "^8.57.1"
|
|
84
|
+
},
|
|
85
|
+
"peerDependencies": {
|
|
86
|
+
"prettier": "^3.0.0 || >=3.10.0-0 <3.11.0"
|
|
87
|
+
},
|
|
88
|
+
"packageManager": "yarn@1.22.22"
|
|
89
|
+
}
|