@tryghost/mg-clean-html 0.7.0 → 0.9.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 +7 -6
package/README.md CHANGED
@@ -41,6 +41,7 @@ pnpm dev curate --pathToZip /path/to/export.zip
41
41
 
42
42
  - `pnpm lint` run just eslint
43
43
  - `pnpm test` run lint and tests
44
+ - `pnpm test:local` build and run tests (for single-package development)
44
45
 
45
46
 
46
47
  # Copyright & License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/mg-clean-html",
3
- "version": "0.7.0",
3
+ "version": "0.9.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/TryGhost/migrate.git",
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/node": "24.12.2",
26
- "@typescript-eslint/eslint-plugin": "8.58.0",
27
- "@typescript-eslint/parser": "8.58.0",
26
+ "@typescript-eslint/eslint-plugin": "8.58.2",
27
+ "@typescript-eslint/parser": "8.58.2",
28
28
  "c8": "11.0.0",
29
29
  "eslint": "8.57.1",
30
30
  "eslint-plugin-ghost": "3.5.0",
@@ -33,13 +33,14 @@
33
33
  "dependencies": {
34
34
  "escape-string-regexp": "5.0.0",
35
35
  "style-to-object": "1.0.14",
36
- "@tryghost/mg-utils": "0.6.0"
36
+ "@tryghost/mg-utils": "0.8.0"
37
37
  },
38
38
  "scripts": {
39
39
  "dev": "echo \"Implement me!\"",
40
- "build": "rm -rf build && rm -rf tsconfig.tsbuildinfo && tsc --build --sourceMap",
40
+ "build": "tsc --build --sourceMap",
41
41
  "build:watch": "tsc --watch --preserveWatchOutput --sourceMap",
42
- "test": "rm -rf build && pnpm build --force && c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura node --test 'build/test/**/*.test.js'",
42
+ "test": "c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura node --test 'build/test/**/*.test.js'",
43
+ "test:local": "pnpm build && pnpm test",
43
44
  "posttest": "pnpm lint",
44
45
  "lint": "eslint src/ --ext .ts --cache"
45
46
  }