@tryghost/mg-html-lexical 0.4.0 → 0.6.0

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.
Files changed (2) hide show
  1. package/README.md +1 -0
  2. package/package.json +10 -9
package/README.md CHANGED
@@ -64,6 +64,7 @@ Follow the instructions for the top-level repo.
64
64
 
65
65
  - `pnpm lint` run just eslint
66
66
  - `pnpm test` run lint and tests
67
+ - `pnpm test:local` build and run tests (for single-package development)
67
68
 
68
69
 
69
70
  # Copyright & License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/mg-html-lexical",
3
- "version": "0.4.0",
3
+ "version": "0.6.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/TryGhost/migrate.git",
@@ -24,15 +24,15 @@
24
24
  "access": "public"
25
25
  },
26
26
  "devDependencies": {
27
- "@types/node": "24.12.0",
28
- "@types/sinon": "21.0.0",
29
- "@typescript-eslint/eslint-plugin": "8.58.0",
30
- "@typescript-eslint/parser": "8.58.0",
27
+ "@types/node": "24.12.2",
28
+ "@types/sinon": "21.0.1",
29
+ "@typescript-eslint/eslint-plugin": "8.58.1",
30
+ "@typescript-eslint/parser": "8.58.1",
31
31
  "c8": "11.0.0",
32
32
  "eslint": "8.57.1",
33
- "sinon": "21.0.3",
33
+ "sinon": "21.1.2",
34
34
  "typescript": "6.0.2",
35
- "@tryghost/listr-smart-renderer": "0.9.0"
35
+ "@tryghost/listr-smart-renderer": "0.11.0"
36
36
  },
37
37
  "dependencies": {
38
38
  "@tryghost/errors": "3.0.3",
@@ -41,9 +41,10 @@
41
41
  "scripts": {
42
42
  "dev": "echo \"Implement me!\"",
43
43
  "build:watch": "tsc --watch --preserveWatchOutput --sourceMap",
44
- "build": "rm -rf build && rm -rf tsconfig.tsbuildinfo && tsc --build --sourceMap",
44
+ "build": "tsc --build --sourceMap",
45
45
  "lint": "eslint src/ --ext .ts --cache",
46
- "test": "rm -rf build && pnpm build --force && c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura node --test 'build/test/**/*.test.js'",
46
+ "test": "c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura node --test 'build/test/**/*.test.js'",
47
+ "test:local": "pnpm build && pnpm test",
47
48
  "posttest": "pnpm lint"
48
49
  }
49
50
  }