@tryghost/mg-buttondown 0.3.0 → 0.5.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 +7 -7
  2. package/package.json +13 -14
package/README.md CHANGED
@@ -17,7 +17,7 @@ To use this package in your own project:
17
17
 
18
18
  or
19
19
 
20
- `yarn add @tryghost/mg-buttondown`
20
+ `pnpm add @tryghost/mg-buttondown`
21
21
 
22
22
 
23
23
  ## Usage
@@ -60,26 +60,26 @@ It's possible to pass more options, in order to achieve a better migration file
60
60
 
61
61
  ## Develop
62
62
 
63
- This is a mono repository, managed with [Nx](https://nx.dev/) and yarn workspaces.
63
+ This is a mono repository, managed with [Nx](https://nx.dev/) and pnpm workspaces.
64
64
 
65
65
  Follow the instructions for the top-level repo.
66
66
  1. `git clone` this repo & `cd` into it as usual
67
- 2. Run `yarn` to install top-level dependencies.
67
+ 2. Run `pnpm install` to install top-level dependencies.
68
68
 
69
69
 
70
70
  ### Run
71
71
 
72
- To run a local development copy, `cd` into this directory, and use `yarn dev` instead of `migrate` like so:
72
+ To run a local development copy, `cd` into this directory, and use `pnpm dev` instead of `migrate` like so:
73
73
 
74
74
  ```sh
75
- yarn dev buttondown <commands>
75
+ pnpm dev buttondown <commands>
76
76
  ```
77
77
 
78
78
 
79
79
  ## Test
80
80
 
81
- - `yarn lint` run just eslint
82
- - `yarn test` run lint and tests
81
+ - `pnpm lint` run just eslint
82
+ - `pnpm test` run lint and tests
83
83
 
84
84
 
85
85
  # Copyright & License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/mg-buttondown",
3
- "version": "0.3.0",
3
+ "version": "0.5.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
  ],
@@ -38,16 +29,24 @@
38
29
  "@typescript-eslint/eslint-plugin": "8.58.0",
39
30
  "@typescript-eslint/parser": "8.58.0",
40
31
  "c8": "11.0.0",
41
- "dotenv": "17.3.1",
32
+ "dotenv": "17.4.0",
42
33
  "eslint": "8.57.1",
43
34
  "sinon": "21.0.3",
44
35
  "typescript": "6.0.2"
45
36
  },
46
37
  "dependencies": {
47
38
  "@tryghost/errors": "3.0.3",
48
- "@tryghost/mg-fs-utils": "0.12.14",
49
39
  "cheerio": "1.2.0",
50
40
  "markdown-it": "14.1.1",
51
- "markdown-it-footnote": "4.0.0"
41
+ "markdown-it-footnote": "4.0.0",
42
+ "@tryghost/mg-fs-utils": "0.20.0"
43
+ },
44
+ "scripts": {
45
+ "dev": "echo \"Implement me!\"",
46
+ "build:watch": "tsc --watch --preserveWatchOutput --sourceMap",
47
+ "build": "rm -rf build && rm -rf tsconfig.tsbuildinfo && tsc --build --sourceMap",
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'",
50
+ "posttest": "pnpm lint"
52
51
  }
53
- }
52
+ }