Skip to content

Commit 164f123

Browse files
committed
Manage dprint plugins with npm
1 parent 97009d4 commit 164f123

3 files changed

Lines changed: 40 additions & 5 deletions

File tree

.dprint.jsonc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,10 @@
6161
"packages/typescript/vendor/**"
6262
],
6363
// Note: if adding new languages, make sure settings.template.json is updated too.
64-
// Also, if updating typescript, update the one in package.json.
6564
"plugins": [
66-
"npm:@dprint/typescript@0.96.1",
67-
"npm:@dprint/json@0.22.0",
68-
"npm:dprint-plugin-yaml@0.6.0",
69-
"npm:@jakebailey/dprint-plugin-gofumpt@0.0.13"
65+
"npm:@dprint/typescript",
66+
"npm:@dprint/json",
67+
"npm:dprint-plugin-yaml",
68+
"npm:@jakebailey/dprint-plugin-gofumpt"
7069
]
7170
}

package-lock.json

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,15 @@
2424
"setup-hooks": "node tools/scripts/link-hooks.mjs"
2525
},
2626
"devDependencies": {
27+
"@dprint/json": "^0.22.0",
28+
"@dprint/typescript": "^0.96.1",
29+
"@jakebailey/dprint-plugin-gofumpt": "^0.0.13",
2730
"@types/node": "^22.20.1",
2831
"@unicode/unicode-15.1.0": "^1.6.17",
2932
"adm-zip": "^0.6.0",
3033
"chokidar": "^5.0.0",
3134
"dprint": "^0.56.1",
35+
"dprint-plugin-yaml": "^0.6.0",
3236
"hereby": "^1.15.2",
3337
"tar": "^7.5.22",
3438
"tinyexec": "^1.3.0",

0 commit comments

Comments
 (0)