@tryghost/mg-html-lexical 0.2.0 → 0.4.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 +6 -6
  2. package/package.json +12 -13
package/README.md CHANGED
@@ -9,7 +9,7 @@ A little wrapper tool for migrating all HTML fields of posts to Lexical
9
9
 
10
10
  or
11
11
 
12
- `yarn add @tryghost/mg-html-lexical`
12
+ `pnpm add @tryghost/mg-html-lexical`
13
13
 
14
14
 
15
15
  ## Usage
@@ -48,22 +48,22 @@ let myData = {
48
48
 
49
49
  ## Develop
50
50
 
51
- This is a mono repository, managed with [Nx](https://nx.dev/) and yarn workspaces.
51
+ This is a mono repository, managed with [Nx](https://nx.dev/) and pnpm workspaces.
52
52
 
53
53
  Follow the instructions for the top-level repo.
54
54
  1. `git clone` this repo & `cd` into it as usual
55
- 2. Run `yarn` to install top-level dependencies.
55
+ 2. Run `pnpm install` to install top-level dependencies.
56
56
 
57
57
 
58
58
  ## Run
59
59
 
60
- - `yarn dev`
60
+ - `pnpm dev`
61
61
 
62
62
 
63
63
  ## Test
64
64
 
65
- - `yarn lint` run just eslint
66
- - `yarn test` run lint and tests
65
+ - `pnpm lint` run just eslint
66
+ - `pnpm test` run lint and tests
67
67
 
68
68
 
69
69
  # Copyright & License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/mg-html-lexical",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/TryGhost/migrate.git",
@@ -17,15 +17,6 @@
17
17
  "default": "./build/index.js"
18
18
  }
19
19
  },
20
- "scripts": {
21
- "dev": "echo \"Implement me!\"",
22
- "build:watch": "tsc --watch --preserveWatchOutput --sourceMap",
23
- "build": "rm -rf build && rm -rf tsconfig.tsbuildinfo && tsc --build --sourceMap",
24
- "prepare": "yarn build",
25
- "lint": "eslint src/ --ext .ts --cache",
26
- "test": "rm -rf build && yarn build --force && c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura node --test 'build/test/**/*.test.js'",
27
- "posttest": "yarn lint"
28
- },
29
20
  "files": [
30
21
  "build"
31
22
  ],
@@ -33,7 +24,6 @@
33
24
  "access": "public"
34
25
  },
35
26
  "devDependencies": {
36
- "@tryghost/listr-smart-renderer": "0.7.0",
37
27
  "@types/node": "24.12.0",
38
28
  "@types/sinon": "21.0.0",
39
29
  "@typescript-eslint/eslint-plugin": "8.58.0",
@@ -41,10 +31,19 @@
41
31
  "c8": "11.0.0",
42
32
  "eslint": "8.57.1",
43
33
  "sinon": "21.0.3",
44
- "typescript": "6.0.2"
34
+ "typescript": "6.0.2",
35
+ "@tryghost/listr-smart-renderer": "0.9.0"
45
36
  },
46
37
  "dependencies": {
47
38
  "@tryghost/errors": "3.0.3",
48
39
  "@tryghost/kg-html-to-lexical": "1.2.38"
40
+ },
41
+ "scripts": {
42
+ "dev": "echo \"Implement me!\"",
43
+ "build:watch": "tsc --watch --preserveWatchOutput --sourceMap",
44
+ "build": "rm -rf build && rm -rf tsconfig.tsbuildinfo && tsc --build --sourceMap",
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'",
47
+ "posttest": "pnpm lint"
49
48
  }
50
- }
49
+ }