Skip to content

Commit 1fa3d78

Browse files
Sort fields in package json (#2959)
1 parent 4993046 commit 1fa3d78

File tree

26 files changed

+353
-318
lines changed

26 files changed

+353
-318
lines changed

package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22
"name": "cursorless",
33
"version": "0.1.0",
44
"description": "The root of the Cursorless monorepo",
5-
"main": "index.js",
6-
"type": "module",
7-
"keywords": [],
8-
"author": "",
95
"license": "MIT",
6+
"packageManager": "[email protected]",
7+
"type": "module",
8+
"main": "index.js",
109
"engines": {
1110
"node": ">=20.16.0"
1211
},
13-
"packageManager": "[email protected]",
1412
"scripts": {
1513
"build": "pnpm -r build",
1614
"clean": "pnpm -r clean",
@@ -39,15 +37,15 @@
3937
"@typescript-eslint/parser": "8.33.1",
4038
"cross-env": "7.0.3",
4139
"esbuild": "0.25.5",
40+
"eslint": "9.28.0",
4241
"eslint-config-prettier": "10.1.5",
4342
"eslint-import-resolver-typescript": "4.4.2",
4443
"eslint-plugin-import": "2.31.0",
4544
"eslint-plugin-mocha": "10.5.0",
4645
"eslint-plugin-unicorn": "56.0.1",
4746
"eslint-plugin-unused-imports": "4.1.4",
48-
"eslint": "9.28.0",
49-
"prettier-plugin-tailwindcss": "0.6.12",
5047
"prettier": "3.3.3",
48+
"prettier-plugin-tailwindcss": "0.6.12",
5149
"syncpack": "13.0.4",
5250
"typescript": "5.8.3"
5351
},

packages/cheatsheet-local/package.json

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
11
{
22
"name": "@cursorless/cheatsheet-local",
33
"version": "0.1.0",
4-
"private": true,
54
"description": "Thin wrapper around the cheatsheet for showing local cheatsheet",
5+
"license": "MIT",
6+
"private": true,
7+
"type": "module",
68
"main": "./out/index.js",
9+
"types": "./out/index.d.ts",
10+
"exports": {
11+
".": {
12+
"cursorless:bundler": "./src/index.ts",
13+
"default": "./out/index.js"
14+
}
15+
},
16+
"postcss": {
17+
"plugins": {
18+
"tailwindcss": {},
19+
"autoprefixer": {}
20+
}
21+
},
722
"scripts": {
823
"compile": "tsc --build",
924
"watch": "tsc --build --watch",
@@ -13,16 +28,6 @@
1328
"build:prod": "pnpm webpack --mode=production --node-env=production",
1429
"clean": "rm -rf ./out tsconfig.tsbuildinfo ./dist ./build"
1530
},
16-
"keywords": [],
17-
"author": "",
18-
"license": "MIT",
19-
"types": "./out/index.d.ts",
20-
"exports": {
21-
".": {
22-
"cursorless:bundler": "./src/index.ts",
23-
"default": "./out/index.js"
24-
}
25-
},
2631
"dependencies": {
2732
"@cursorless/cheatsheet": "workspace:*",
2833
"react": "19.1.0",
@@ -52,12 +57,5 @@
5257
"webpack": "5.99.9",
5358
"webpack-cli": "6.0.1",
5459
"webpack-dev-server": "5.2.2"
55-
},
56-
"postcss": {
57-
"plugins": {
58-
"tailwindcss": {},
59-
"autoprefixer": {}
60-
}
61-
},
62-
"type": "module"
60+
}
6361
}

packages/cheatsheet/package.json

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,9 @@
22
"name": "@cursorless/cheatsheet",
33
"version": "0.1.0",
44
"description": "Core cheatsheet react component",
5-
"main": "./out/index.js",
6-
"scripts": {
7-
"test": "jest",
8-
"clean": "rm -rf ./out tsconfig.tsbuildinfo ./dist ./build",
9-
"compile:tsc": "tsc --build",
10-
"compile:esbuild": "esbuild ./src/index.ts --sourcemap --format=esm --bundle --packages=external --outfile=./out/index.js",
11-
"compile": "pnpm compile:tsc && pnpm compile:esbuild",
12-
"watch:tsc": "pnpm compile:tsc --watch",
13-
"watch:esbuild": "pnpm compile:esbuild --watch",
14-
"watch": "pnpm run --filter @cursorless/cheatsheet --parallel '/^watch:.*/'"
15-
},
16-
"keywords": [],
17-
"author": "",
185
"license": "MIT",
6+
"type": "module",
7+
"main": "./out/index.js",
198
"types": "./out/index.d.ts",
209
"exports": {
2110
".": {
@@ -26,6 +15,16 @@
2615
"sideEffects": [
2716
"*.css"
2817
],
18+
"scripts": {
19+
"test": "jest",
20+
"clean": "rm -rf ./out tsconfig.tsbuildinfo ./dist ./build",
21+
"compile:tsc": "tsc --build",
22+
"compile:esbuild": "esbuild ./src/index.ts --sourcemap --format=esm --bundle --packages=external --outfile=./out/index.js",
23+
"compile": "pnpm compile:tsc && pnpm compile:esbuild",
24+
"watch:tsc": "pnpm compile:tsc --watch",
25+
"watch:esbuild": "pnpm compile:esbuild --watch",
26+
"watch": "pnpm run --filter @cursorless/cheatsheet --parallel '/^watch:.*/'"
27+
},
2928
"dependencies": {
3029
"@fortawesome/fontawesome-svg-core": "6.7.2",
3130
"@fortawesome/free-solid-svg-icons": "6.7.2",
@@ -46,6 +45,5 @@
4645
"jest-environment-jsdom": "30.0.0-beta.3",
4746
"ts-jest": "29.3.4",
4847
"typescript": "5.8.3"
49-
},
50-
"type": "module"
48+
}
5149
}

packages/common/package.json

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,19 @@
22
"name": "@cursorless/common",
33
"version": "0.1.0",
44
"description": "Common utilities for use anywhere in our codebase",
5+
"license": "MIT",
6+
"type": "module",
57
"main": "./out/index.js",
8+
"types": "./out/index.d.ts",
9+
"bin": {
10+
"my-ts-node": "./scripts/my-ts-node.js"
11+
},
12+
"exports": {
13+
".": {
14+
"cursorless:bundler": "./src/index.ts",
15+
"default": "./out/index.js"
16+
}
17+
},
618
"scripts": {
719
"clean": "rm -rf ./out tsconfig.tsbuildinfo ./dist ./build",
820
"compile:tsc": "tsc --build",
@@ -12,9 +24,6 @@
1224
"watch:esbuild": "pnpm compile:esbuild --watch",
1325
"watch": "pnpm run --filter @cursorless/common --parallel '/^watch:.*/'"
1426
},
15-
"keywords": [],
16-
"author": "",
17-
"license": "MIT",
1827
"dependencies": {
1928
"lodash-es": "4.17.21",
2029
"vscode-uri": "3.1.0"
@@ -27,16 +36,5 @@
2736
"fast-check": "4.1.1",
2837
"js-yaml": "4.1.0",
2938
"mocha": "11.5.0"
30-
},
31-
"types": "./out/index.d.ts",
32-
"exports": {
33-
".": {
34-
"cursorless:bundler": "./src/index.ts",
35-
"default": "./out/index.js"
36-
}
37-
},
38-
"bin": {
39-
"my-ts-node": "./scripts/my-ts-node.js"
40-
},
41-
"type": "module"
39+
}
4240
}

packages/cursorless-cheatsheet/package.json

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,16 @@
22
"name": "@cursorless/cursorless-cheatsheet",
33
"version": "0.1.0",
44
"description": "Cursorless cheatsheet implementation",
5+
"license": "MIT",
56
"type": "module",
67
"main": "./out/index.js",
78
"types": "./out/index.d.ts",
9+
"exports": {
10+
".": {
11+
"cursorless:bundler": "./src/index.ts",
12+
"default": "./out/index.js"
13+
}
14+
},
815
"scripts": {
916
"compile:tsc": "tsc --build",
1017
"compile:esbuild": "esbuild ./src/index.ts --sourcemap --format=esm --bundle --packages=external --outfile=./out/index.js",
@@ -14,15 +21,6 @@
1421
"watch": "pnpm run --filter @cursorless/cursorless-cheatsheet --parallel '/^watch:.*/'",
1522
"clean": "rm -rf ./out tsconfig.tsbuildinfo ./dist ./build"
1623
},
17-
"keywords": [],
18-
"author": "",
19-
"license": "MIT",
20-
"exports": {
21-
".": {
22-
"cursorless:bundler": "./src/index.ts",
23-
"default": "./out/index.js"
24-
}
25-
},
2624
"dependencies": {
2725
"@cursorless/common": "workspace:*",
2826
"@cursorless/node-common": "workspace:*",

packages/cursorless-engine/package.json

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@
22
"name": "@cursorless/cursorless-engine",
33
"version": "0.1.0",
44
"description": "The core Cursorless engine, which is responsible for parsing and executing commands, allocating hats, etc",
5+
"license": "MIT",
6+
"type": "module",
57
"main": "./out/index.js",
8+
"types": "./out/index.d.ts",
9+
"exports": {
10+
".": {
11+
"cursorless:bundler": "./src/index.ts",
12+
"default": "./out/index.js"
13+
}
14+
},
615
"scripts": {
716
"clean": "rm -rf ./out tsconfig.tsbuildinfo ./dist ./build",
817
"compile:tsc": "tsc --build",
@@ -17,9 +26,6 @@
1726
"watch:esbuild": "pnpm compile:esbuild --watch",
1827
"watch": "pnpm run --filter @cursorless/cursorless-engine --parallel '/^watch:.*/'"
1928
},
20-
"keywords": [],
21-
"author": "",
22-
"license": "MIT",
2329
"dependencies": {
2430
"@cursorless/common": "workspace:*",
2531
"@cursorless/node-common": "workspace:*",
@@ -45,13 +51,5 @@
4551
"js-yaml": "4.1.0",
4652
"mocha": "11.5.0",
4753
"sinon": "20.0.0"
48-
},
49-
"types": "./out/index.d.ts",
50-
"exports": {
51-
".": {
52-
"cursorless:bundler": "./src/index.ts",
53-
"default": "./out/index.js"
54-
}
55-
},
56-
"type": "module"
54+
}
5755
}

packages/cursorless-everywhere-talon-core/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,16 @@
22
"name": "@cursorless/cursorless-everywhere-talon-core",
33
"version": "1.0.0",
44
"description": "cursorless in talon js core packagee",
5-
"main": "./out/index.js",
65
"license": "MIT",
76
"type": "module",
7+
"main": "./out/index.js",
8+
"types": "./out/index.d.ts",
9+
"exports": {
10+
".": {
11+
"cursorless:bundler": "./src/index.ts",
12+
"default": "./out/index.js"
13+
}
14+
},
815
"scripts": {
916
"compile:tsc": "tsc --build",
1017
"compile:esbuild": "esbuild ./src/index.ts --sourcemap --format=esm --bundle --packages=external --outfile=./out/index.js",
@@ -22,12 +29,5 @@
2229
},
2330
"devDependencies": {
2431
"@types/lodash-es": "4.17.12"
25-
},
26-
"types": "./out/index.d.ts",
27-
"exports": {
28-
".": {
29-
"cursorless:bundler": "./src/index.ts",
30-
"default": "./out/index.js"
31-
}
3232
}
3333
}

packages/cursorless-everywhere-talon-e2e/package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,15 @@
22
"name": "@cursorless/cursorless-everywhere-talon-e2e",
33
"version": "1.0.0",
44
"description": "Our Talon everywhere/JS end-to-end tests",
5-
"main": "./out/index.js",
5+
"license": "MIT",
66
"private": true,
7+
"type": "module",
8+
"main": "./out/index.js",
79
"scripts": {
810
"compile": "tsc --build",
911
"test:quickjs": "bash scripts/test-quickjs.sh",
1012
"clean": "rm -rf ./out tsconfig.tsbuildinfo ./dist ./build"
1113
},
12-
"keywords": [],
13-
"author": "",
14-
"license": "MIT",
15-
"type": "module",
1614
"dependencies": {
1715
"@cursorless/common": "workspace:*",
1816
"@cursorless/cursorless-everywhere-talon-core": "workspace:*",

packages/cursorless-everywhere-talon/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"name": "@cursorless/cursorless-everywhere-talon",
33
"version": "1.0.0",
44
"description": "cursorless in talon js",
5-
"main": "./out/index.js",
65
"license": "MIT",
7-
"type": "module",
86
"private": true,
7+
"type": "module",
8+
"main": "./out/index.js",
99
"scripts": {
1010
"esbuild:dev": "pnpm run esbuild:base src/mainDevelopment.ts",
1111
"esbuild:prod": "pnpm run esbuild:base --minify src/mainProduction.ts",

packages/cursorless-neovim-e2e/package.json

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
"name": "@cursorless/cursorless-neovim-e2e",
33
"version": "1.0.0",
44
"description": "Our neovim end-to-end tests",
5+
"license": "MIT",
56
"private": true,
7+
"type": "module",
68
"main": "./out/index.js",
9+
"types": "./out/index.d.ts",
710
"exports": {
811
".": {
912
"cursorless:bundler": "./src/index.ts",
@@ -15,23 +18,18 @@
1518
"watch": "tsc --build --watch",
1619
"clean": "rm -rf ./out tsconfig.tsbuildinfo ./dist ./build"
1720
},
18-
"keywords": [],
19-
"author": "",
20-
"license": "MIT",
21-
"devDependencies": {
22-
"@types/chai": "5.2.2",
23-
"@types/js-yaml": "4.0.9",
24-
"@types/lodash": "4.17.17",
25-
"@types/sinon": "17.0.4",
26-
"neovim": "5.3.0"
27-
},
2821
"dependencies": {
2922
"@cursorless/common": "workspace:*",
3023
"@cursorless/neovim-common": "workspace:*",
3124
"@cursorless/neovim-registry": "workspace:*",
3225
"@cursorless/node-common": "workspace:*",
3326
"@cursorless/test-case-recorder": "workspace:*"
3427
},
35-
"types": "./out/index.d.ts",
36-
"type": "module"
28+
"devDependencies": {
29+
"@types/chai": "5.2.2",
30+
"@types/js-yaml": "4.0.9",
31+
"@types/lodash": "4.17.17",
32+
"@types/sinon": "17.0.4",
33+
"neovim": "5.3.0"
34+
}
3735
}

0 commit comments

Comments
 (0)