From 7f7b342ddbefaf25cda9ad7461722c787a548855 Mon Sep 17 00:00:00 2001 From: Pokey Rule <755842+pokey@users.noreply.github.com> Date: Thu, 9 Nov 2023 18:55:29 +0000 Subject: [PATCH] Fix local cheatsheet --- packages/cheatsheet-local/package.json | 6 ++++++ packages/cursorless-engine/package.json | 2 +- packages/cursorless-engine/src/core/Cheatsheet.ts | 2 +- packages/cursorless-org/postcss.config.js | 6 ------ pnpm-lock.yaml | 10 +++++----- 5 files changed, 13 insertions(+), 13 deletions(-) delete mode 100644 packages/cursorless-org/postcss.config.js diff --git a/packages/cheatsheet-local/package.json b/packages/cheatsheet-local/package.json index 467649cda6..f2fe4bbdca 100644 --- a/packages/cheatsheet-local/package.json +++ b/packages/cheatsheet-local/package.json @@ -52,5 +52,11 @@ "webpack-cli": "5.1.4", "webpack-dev-server": "4.11.1" }, + "postcss": { + "plugins": { + "tailwindcss": {}, + "autoprefixer": {} + } + }, "type": "module" } diff --git a/packages/cursorless-engine/package.json b/packages/cursorless-engine/package.json index ea5d44713c..ea255f028f 100644 --- a/packages/cursorless-engine/package.json +++ b/packages/cursorless-engine/package.json @@ -18,7 +18,7 @@ "immutability-helper": "^3.1.1", "itertools": "^2.1.1", "lodash": "^4.17.21", - "node-html-parser": "^5.3.3", + "node-html-parser": "^6.1.11", "sbd": "^1.0.19", "zod": "3.22.3" }, diff --git a/packages/cursorless-engine/src/core/Cheatsheet.ts b/packages/cursorless-engine/src/core/Cheatsheet.ts index 15d99c0ffd..2c8089fac0 100644 --- a/packages/cursorless-engine/src/core/Cheatsheet.ts +++ b/packages/cursorless-engine/src/core/Cheatsheet.ts @@ -1,5 +1,5 @@ import { readFile, writeFile } from "fs/promises"; -import parse from "node-html-parser"; +import { parse } from "node-html-parser"; import produce from "immer"; import { sortBy } from "lodash"; import { ide } from "../singletons/ide.singleton"; diff --git a/packages/cursorless-org/postcss.config.js b/packages/cursorless-org/postcss.config.js deleted file mode 100644 index 12a703d900..0000000000 --- a/packages/cursorless-org/postcss.config.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - plugins: { - tailwindcss: {}, - autoprefixer: {}, - }, -}; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3a3e22f5a1..c5c82e2813 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -242,8 +242,8 @@ importers: specifier: ^4.17.21 version: 4.17.21 node-html-parser: - specifier: ^5.3.3 - version: 5.4.2 + specifier: ^6.1.11 + version: 6.1.11 sbd: specifier: ^1.0.19 version: 1.0.19 @@ -12332,10 +12332,10 @@ packages: transitivePeerDependencies: - supports-color - /node-html-parser@5.4.2: - resolution: {integrity: sha512-RaBPP3+51hPne/OolXxcz89iYvQvKOydaqoePpOgXcrOKZhjVIzmpKZz+Hd/RBO2/zN2q6CNJhQzucVz+u3Jyw==} + /node-html-parser@6.1.11: + resolution: {integrity: sha512-FAgwwZ6h0DSDWxfD0Iq1tsDcBCxdJB1nXpLPPxX8YyVWzbfCjKWEzaynF4gZZ/8hziUmp7ZSaKylcn0iKhufUQ==} dependencies: - css-select: 4.3.0 + css-select: 5.1.0 he: 1.2.0 dev: false