@tryghost/mg-buttondown 0.6.0 → 0.8.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
@@ -80,6 +80,7 @@ pnpm dev buttondown <commands>
80
80
 
81
81
  - `pnpm lint` run just eslint
82
82
  - `pnpm test` run lint and tests
83
+ - `pnpm test:local` build and run tests (for single-package development)
83
84
 
84
85
 
85
86
  # Copyright & License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/mg-buttondown",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/TryGhost/migrate.git",
@@ -26,27 +26,28 @@
26
26
  "devDependencies": {
27
27
  "@types/node": "24.12.2",
28
28
  "@types/sinon": "21.0.1",
29
- "@typescript-eslint/eslint-plugin": "8.58.0",
30
- "@typescript-eslint/parser": "8.58.0",
29
+ "@typescript-eslint/eslint-plugin": "8.58.2",
30
+ "@typescript-eslint/parser": "8.58.2",
31
31
  "c8": "11.0.0",
32
- "dotenv": "17.4.1",
32
+ "dotenv": "17.4.2",
33
33
  "eslint": "8.57.1",
34
- "sinon": "21.0.3",
34
+ "sinon": "21.1.2",
35
35
  "typescript": "6.0.2"
36
36
  },
37
37
  "dependencies": {
38
38
  "@tryghost/errors": "3.0.3",
39
39
  "markdown-it": "14.1.1",
40
40
  "markdown-it-footnote": "4.0.0",
41
- "@tryghost/mg-fs-utils": "0.21.0",
42
- "@tryghost/mg-utils": "0.6.0"
41
+ "@tryghost/mg-fs-utils": "0.23.0",
42
+ "@tryghost/mg-utils": "0.8.0"
43
43
  },
44
44
  "scripts": {
45
45
  "dev": "echo \"Implement me!\"",
46
46
  "build:watch": "tsc --watch --preserveWatchOutput --sourceMap",
47
- "build": "rm -rf build && rm -rf tsconfig.tsbuildinfo && tsc --build --sourceMap",
47
+ "build": "tsc --build --sourceMap",
48
48
  "lint": "eslint src/ --ext .ts --cache",
49
- "test": "rm -rf build && pnpm build --force && c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura node --test 'build/test/**/*.test.js'",
49
+ "test": "c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura node --test 'build/test/**/*.test.js'",
50
+ "test:local": "pnpm build && pnpm test",
50
51
  "posttest": "pnpm lint"
51
52
  }
52
53
  }