@tryghost/mg-chorus 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 +8 -8
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-chorus`
20
+ `pnpm add @tryghost/mg-chorus`
21
21
 
22
22
 
23
23
  ## Usage
@@ -71,26 +71,26 @@ This will get all posts, apply the tag 'News'
71
71
 
72
72
  ## Develop
73
73
 
74
- This is a mono repository, managed with [Nx](https://nx.dev/) and yarn workspaces.
74
+ This is a mono repository, managed with [Nx](https://nx.dev/) and pnpm workspaces.
75
75
 
76
76
  Follow the instructions for the top-level repo.
77
77
  1. `git clone` this repo & `cd` into it as usual
78
- 2. Run `yarn` to install top-level dependencies.
78
+ 2. Run `pnpm install` to install top-level dependencies.
79
79
 
80
80
 
81
81
  ## Run
82
82
 
83
- To run a local development copy, `cd` into this directory, and use `yarn dev` instead of `migrate` like so:
83
+ To run a local development copy, `cd` into this directory, and use `pnpm dev` instead of `migrate` like so:
84
84
 
85
85
  ```sh
86
- yarn dev chorus <API token>
86
+ pnpm dev chorus <API token>
87
87
  ```
88
88
 
89
89
 
90
90
  ## Test
91
91
 
92
- - `yarn lint` run just eslint
93
- - `yarn test` run lint and tests
92
+ - `pnpm lint` run just eslint
93
+ - `pnpm test` run lint and tests
94
94
 
95
95
 
96
96
  # Copyright & License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/mg-chorus",
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",
@@ -10,12 +10,6 @@
10
10
  "license": "MIT",
11
11
  "main": "index.js",
12
12
  "type": "module",
13
- "scripts": {
14
- "dev": "echo \"Implement me!\"",
15
- "test": "node --test 'test/**/*.test.js'",
16
- "posttest": "yarn lint",
17
- "lint": "eslint . --ext .js --cache"
18
- },
19
13
  "files": [
20
14
  "index.js",
21
15
  "lib"
@@ -30,5 +24,11 @@
30
24
  "@tryghost/debug": "2.0.3",
31
25
  "@tryghost/errors": "3.0.3",
32
26
  "@tryghost/string": "0.3.1"
27
+ },
28
+ "scripts": {
29
+ "dev": "echo \"Implement me!\"",
30
+ "test": "node --test 'test/**/*.test.js'",
31
+ "posttest": "pnpm lint",
32
+ "lint": "eslint . --ext .js --cache"
33
33
  }
34
- }
34
+ }