Skip to content

Commit

Permalink
Prettify package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
sverrejoh committed Feb 16, 2024
1 parent 0abdfde commit bf12f76
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 26 deletions.
47 changes: 23 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,11 @@
{
"name": "rclonefile",
"version": "1.0.2",
"description": "macOS API for creating copy on write clones of files",
"repository": "https://github.com/sverrejoh/rclonefile",
"license": "MIT",
"main": "index.js",
"types": "index.d.ts",
"napi": {
"name": "rclonefile",
"triples": {
"additional": [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"universal-apple-darwin"
]
}
},
"license": "MIT",
"devDependencies": {
"@napi-rs/cli": "^2.18.0",
"prettier": "^3.2.5",
"tempy": "^1.0.1",
"vitest": "^1.2.2"
},
"engines": {
"node": ">= 10"
},
"scripts": {
"artifacts": "napi artifacts",
"build": "napi build --platform --release",
Expand All @@ -32,10 +15,26 @@
"universal": "napi universal",
"version": "napi version"
},
"devDependencies": {
"@napi-rs/cli": "^2.18.0",
"@types/node": "^20.11.19",
"prettier": "^3.2.5",
"prettier-plugin-packagejson": "^2.4.11",
"tempy": "^1.0.1",
"vitest": "^1.2.2"
},
"packageManager": "[email protected]",
"dependencies": {
"@types/node": "^20.11.19"
"engines": {
"node": ">= 10"
},
"repository": "https://github.com/sverrejoh/rclonefile",
"description": "macOS API for creating copy on write clones of files"
"napi": {
"name": "rclonefile",
"triples": {
"additional": [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"universal-apple-darwin"
]
}
}
}
10 changes: 10 additions & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
overrides: [
{
files: "package.json",
options: {
plugins: ["prettier-plugin-packagejson"],
},
},
],
};
123 changes: 121 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,13 @@ __metadata:
languageName: node
linkType: hard

"@pkgr/core@npm:^0.1.0":
version: 0.1.1
resolution: "@pkgr/core@npm:0.1.1"
checksum: 10c0/3f7536bc7f57320ab2cf96f8973664bef624710c403357429fbf680a5c3b4843c1dbd389bb43daa6b1f6f1f007bb082f5abcb76bb2b5dc9f421647743b71d3d8
languageName: node
linkType: hard

"@rollup/rollup-android-arm-eabi@npm:4.11.0":
version: 4.11.0
resolution: "@rollup/rollup-android-arm-eabi@npm:4.11.0"
Expand Down Expand Up @@ -700,6 +707,20 @@ __metadata:
languageName: node
linkType: hard

"detect-indent@npm:^7.0.1":
version: 7.0.1
resolution: "detect-indent@npm:7.0.1"
checksum: 10c0/47b6e3e3dda603c386e73b129f3e84844ae59bc2615f5072becf3cc02eab400bed5a4e6379c49d0b18cf630e80c2b07e87e0038b777addbc6ef793ad77dd05bc
languageName: node
linkType: hard

"detect-newline@npm:^4.0.0":
version: 4.0.1
resolution: "detect-newline@npm:4.0.1"
checksum: 10c0/1cc1082e88ad477f30703ae9f23bd3e33816ea2db6a35333057e087d72d466f5a777809b71f560118ecff935d2c712f5b59e1008a8b56a900909d8fd4621c603
languageName: node
linkType: hard

"diff-sequences@npm:^29.6.3":
version: 29.6.3
resolution: "diff-sequences@npm:29.6.3"
Expand Down Expand Up @@ -873,7 +894,7 @@ __metadata:
languageName: node
linkType: hard

"fast-glob@npm:^3.2.9":
"fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.0":
version: 3.3.2
resolution: "fast-glob@npm:3.3.2"
dependencies:
Expand Down Expand Up @@ -965,13 +986,27 @@ __metadata:
languageName: node
linkType: hard

"get-stdin@npm:^9.0.0":
version: 9.0.0
resolution: "get-stdin@npm:9.0.0"
checksum: 10c0/7ef2edc0c81a0644ca9f051aad8a96ae9373d901485abafaabe59fd347a1c378689d8a3d8825fb3067415d1d09dfcaa43cb9b9516ecac6b74b3138b65a8ccc6b
languageName: node
linkType: hard

"get-stream@npm:^8.0.1":
version: 8.0.1
resolution: "get-stream@npm:8.0.1"
checksum: 10c0/5c2181e98202b9dae0bb4a849979291043e5892eb40312b47f0c22b9414fc9b28a3b6063d2375705eb24abc41ecf97894d9a51f64ff021511b504477b27b4290
languageName: node
linkType: hard

"git-hooks-list@npm:^3.0.0":
version: 3.1.0
resolution: "git-hooks-list@npm:3.1.0"
checksum: 10c0/f1b93dd11b80b2a687b99a8bb553c0d07f344532d475b3ac2a5ff044d40fa71567ddcfa5cb39fae0b4e43a670a33f02f71ec3b24b7263233f3a3df89deddfb5a
languageName: node
linkType: hard

"glob-parent@npm:^5.1.2":
version: 5.1.2
resolution: "glob-parent@npm:5.1.2"
Expand Down Expand Up @@ -1024,6 +1059,19 @@ __metadata:
languageName: node
linkType: hard

"globby@npm:^13.1.2":
version: 13.2.2
resolution: "globby@npm:13.2.2"
dependencies:
dir-glob: "npm:^3.0.1"
fast-glob: "npm:^3.3.0"
ignore: "npm:^5.2.4"
merge2: "npm:^1.4.1"
slash: "npm:^4.0.0"
checksum: 10c0/a8d7cc7cbe5e1b2d0f81d467bbc5bc2eac35f74eaded3a6c85fc26d7acc8e6de22d396159db8a2fc340b8a342e74cac58de8f4aee74146d3d146921a76062664
languageName: node
linkType: hard

"graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6":
version: 4.2.11
resolution: "graceful-fs@npm:4.2.11"
Expand Down Expand Up @@ -1074,7 +1122,7 @@ __metadata:
languageName: node
linkType: hard

"ignore@npm:^5.2.0":
"ignore@npm:^5.2.0, ignore@npm:^5.2.4":
version: 5.3.1
resolution: "ignore@npm:5.3.1"
checksum: 10c0/703f7f45ffb2a27fb2c5a8db0c32e7dee66b33a225d28e8db4e1be6474795f606686a6e3bcc50e1aa12f2042db4c9d4a7d60af3250511de74620fbed052ea4cd
Expand Down Expand Up @@ -1173,6 +1221,13 @@ __metadata:
languageName: node
linkType: hard

"is-plain-obj@npm:^4.1.0":
version: 4.1.0
resolution: "is-plain-obj@npm:4.1.0"
checksum: 10c0/32130d651d71d9564dc88ba7e6fda0e91a1010a3694648e9f4f47bb6080438140696d3e3e15c741411d712e47ac9edc1a8a9de1fe76f3487b0d90be06ac9975e
languageName: node
linkType: hard

"is-stream@npm:^2.0.0":
version: 2.0.1
resolution: "is-stream@npm:2.0.1"
Expand Down Expand Up @@ -1632,6 +1687,21 @@ __metadata:
languageName: node
linkType: hard

"prettier-plugin-packagejson@npm:^2.4.11":
version: 2.4.11
resolution: "prettier-plugin-packagejson@npm:2.4.11"
dependencies:
sort-package-json: "npm:2.7.0"
synckit: "npm:0.9.0"
peerDependencies:
prettier: ">= 1.16.0"
peerDependenciesMeta:
prettier:
optional: true
checksum: 10c0/225ee83a7b5476139fed41215b90665e23f0ed722160b9beb74b384b922f87ea4fab5db4652ac56d51986961787e6be609da450f0872d9005d92f6286764b4c6
languageName: node
linkType: hard

"prettier@npm:^3.2.5":
version: 3.2.5
resolution: "prettier@npm:3.2.5"
Expand Down Expand Up @@ -1683,6 +1753,7 @@ __metadata:
"@napi-rs/cli": "npm:^2.18.0"
"@types/node": "npm:^20.11.19"
prettier: "npm:^3.2.5"
prettier-plugin-packagejson: "npm:^2.4.11"
tempy: "npm:^1.0.1"
vitest: "npm:^1.2.2"
languageName: unknown
Expand Down Expand Up @@ -1838,6 +1909,13 @@ __metadata:
languageName: node
linkType: hard

"slash@npm:^4.0.0":
version: 4.0.0
resolution: "slash@npm:4.0.0"
checksum: 10c0/b522ca75d80d107fd30d29df0549a7b2537c83c4c4ecd12cd7d4ea6c8aaca2ab17ada002e7a1d78a9d736a0261509f26ea5b489082ee443a3a810586ef8eff18
languageName: node
linkType: hard

"smart-buffer@npm:^4.2.0":
version: 4.2.0
resolution: "smart-buffer@npm:4.2.0"
Expand Down Expand Up @@ -1866,6 +1944,30 @@ __metadata:
languageName: node
linkType: hard

"sort-object-keys@npm:^1.1.3":
version: 1.1.3
resolution: "sort-object-keys@npm:1.1.3"
checksum: 10c0/3bf62398658d3ff4bbca0db4ed8f42f98abc41433859f63d02fb0ab953fbe5526be240ec7e5d85aa50fcab6c937f3fa7015abf1ecdeb3045a2281c53953886bf
languageName: node
linkType: hard

"sort-package-json@npm:2.7.0":
version: 2.7.0
resolution: "sort-package-json@npm:2.7.0"
dependencies:
detect-indent: "npm:^7.0.1"
detect-newline: "npm:^4.0.0"
get-stdin: "npm:^9.0.0"
git-hooks-list: "npm:^3.0.0"
globby: "npm:^13.1.2"
is-plain-obj: "npm:^4.1.0"
sort-object-keys: "npm:^1.1.3"
bin:
sort-package-json: cli.js
checksum: 10c0/fbd1cb6951dbc9f369d1f82ecb12602814c01cf276c516c0f3d7d44051346411f751fa6b82ccd8f25481a6f22fbf1e0c89591136a35aadc881b8f0ca1ac79878
languageName: node
linkType: hard

"source-map-js@npm:^1.0.2":
version: 1.0.2
resolution: "source-map-js@npm:1.0.2"
Expand Down Expand Up @@ -1959,6 +2061,16 @@ __metadata:
languageName: node
linkType: hard

"synckit@npm:0.9.0":
version: 0.9.0
resolution: "synckit@npm:0.9.0"
dependencies:
"@pkgr/core": "npm:^0.1.0"
tslib: "npm:^2.6.2"
checksum: 10c0/b5c1e7c03fefe3d36a9ab4e71dd21859cb32be4138712c31a893382a568fd00efc59ede8f521dd7e53d43a2fea92bdf717e987ea9ed6ad94f97ef28d71d0ba2f
languageName: node
linkType: hard

"tar@npm:^6.1.11, tar@npm:^6.1.2":
version: 6.2.0
resolution: "tar@npm:6.2.0"
Expand Down Expand Up @@ -2023,6 +2135,13 @@ __metadata:
languageName: node
linkType: hard

"tslib@npm:^2.6.2":
version: 2.6.2
resolution: "tslib@npm:2.6.2"
checksum: 10c0/e03a8a4271152c8b26604ed45535954c0a45296e32445b4b87f8a5abdb2421f40b59b4ca437c4346af0f28179780d604094eb64546bee2019d903d01c6c19bdb
languageName: node
linkType: hard

"type-detect@npm:^4.0.0, type-detect@npm:^4.0.8":
version: 4.0.8
resolution: "type-detect@npm:4.0.8"
Expand Down

0 comments on commit bf12f76

Please sign in to comment.