@tryghost/mg-substack 0.11.0 → 1.0.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.
- package/README.md +7 -7
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ To use this package in your own project:
|
|
|
17
17
|
|
|
18
18
|
or
|
|
19
19
|
|
|
20
|
-
`
|
|
20
|
+
`pnpm add @tryghost/mg-substack`
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
@@ -129,26 +129,26 @@ It's possible to pass more options, in order to achieve a better migration file
|
|
|
129
129
|
|
|
130
130
|
## Develop
|
|
131
131
|
|
|
132
|
-
This is a mono repository, managed with [Nx](https://nx.dev/) and
|
|
132
|
+
This is a mono repository, managed with [Nx](https://nx.dev/) and pnpm workspaces.
|
|
133
133
|
|
|
134
134
|
Follow the instructions for the top-level repo.
|
|
135
135
|
1. `git clone` this repo & `cd` into it as usual
|
|
136
|
-
2. Run `
|
|
136
|
+
2. Run `pnpm install` to install top-level dependencies.
|
|
137
137
|
|
|
138
138
|
|
|
139
139
|
### Run
|
|
140
140
|
|
|
141
|
-
To run a local development copy, `cd` into this directory, and use `
|
|
141
|
+
To run a local development copy, `cd` into this directory, and use `pnpm dev` instead of `migrate` like so:
|
|
142
142
|
|
|
143
143
|
```sh
|
|
144
|
-
|
|
144
|
+
pnpm dev substack <pathToZip>
|
|
145
145
|
```
|
|
146
146
|
|
|
147
147
|
|
|
148
148
|
## Test
|
|
149
149
|
|
|
150
|
-
- `
|
|
151
|
-
- `
|
|
150
|
+
- `pnpm lint` run just eslint
|
|
151
|
+
- `pnpm test` run lint and tests
|
|
152
152
|
|
|
153
153
|
|
|
154
154
|
# Copyright & License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/mg-substack",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.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,13 +24,19 @@
|
|
|
30
24
|
"@tryghost/debug": "2.0.3",
|
|
31
25
|
"@tryghost/errors": "3.0.3",
|
|
32
26
|
"@tryghost/kg-default-cards": "10.2.10",
|
|
33
|
-
"@tryghost/mg-fs-utils": "0.18.0",
|
|
34
|
-
"@tryghost/mg-utils": "0.3.0",
|
|
35
27
|
"@tryghost/string": "0.3.1",
|
|
36
28
|
"he": "1.2.0",
|
|
37
29
|
"html-entities": "2.6.0",
|
|
38
30
|
"lodash": "4.18.1",
|
|
39
31
|
"simple-dom": "1.4.0",
|
|
40
|
-
"srcset": "5.0.3"
|
|
32
|
+
"srcset": "5.0.3",
|
|
33
|
+
"@tryghost/mg-fs-utils": "0.20.0",
|
|
34
|
+
"@tryghost/mg-utils": "0.5.0"
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"dev": "echo \"Implement me!\"",
|
|
38
|
+
"test": "node --test 'test/**/*.test.js'",
|
|
39
|
+
"posttest": "pnpm lint",
|
|
40
|
+
"lint": "eslint . --ext .js --cache"
|
|
41
41
|
}
|
|
42
|
-
}
|
|
42
|
+
}
|