core-maugli 1.2.2 → 1.2.3
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 +16 -15
- package/package.json +1 -1
package/README.md
CHANGED
@@ -193,18 +193,18 @@ npx core-maugli init .
|
|
193
193
|
|
194
194
|
### Useful npm scripts
|
195
195
|
|
196
|
-
| Script | Description
|
197
|
-
| -------------------------------- |
|
198
|
-
| `npm run dev` | Start local dev server
|
199
|
-
| `npm start` | Alias for `npm run dev`
|
196
|
+
| Script | Description |
|
197
|
+
| -------------------------------- | ----------------------------------------------------------- |
|
198
|
+
| `npm run dev` | Start local dev server |
|
199
|
+
| `npm start` | Alias for `npm run dev` |
|
200
200
|
| `npm run build` | Format content, verify assets, then create production build |
|
201
|
-
| `npm run typograf` | Run typograf on all posts
|
202
|
-
| `npm run astro` | Access the Astro CLI
|
203
|
-
| `npm run featured:add <slug>` | Mark a post as featured
|
204
|
-
| `npm run featured:remove <slug>` | Remove featured mark from a post
|
205
|
-
| `npm run featured:list` | List all featured posts
|
206
|
-
| `npm run upgrade` | Manually update `maugli.config.ts`
|
207
|
-
| `npm run backup-update` | Backup key files then run `npm update`
|
201
|
+
| `npm run typograf` | Run typograf on all posts |
|
202
|
+
| `npm run astro` | Access the Astro CLI |
|
203
|
+
| `npm run featured:add <slug>` | Mark a post as featured |
|
204
|
+
| `npm run featured:remove <slug>` | Remove featured mark from a post |
|
205
|
+
| `npm run featured:list` | List all featured posts |
|
206
|
+
| `npm run upgrade` | Manually update `maugli.config.ts` |
|
207
|
+
| `npm run backup-update` | Backup key files then run `npm update` |
|
208
208
|
|
209
209
|
## Checking installed version
|
210
210
|
|
@@ -214,14 +214,16 @@ See which version of the theme is installed:
|
|
214
214
|
npm list core-maugli
|
215
215
|
```
|
216
216
|
|
217
|
-
## Updating
|
217
|
+
## Updating the theme
|
218
218
|
|
219
|
-
|
219
|
+
To update to the latest version of core-maugli, use:
|
220
220
|
|
221
221
|
```bash
|
222
|
-
npm
|
222
|
+
npm install core-maugli@latest --save
|
223
223
|
```
|
224
224
|
|
225
|
+
If you just run `npm install core-maugli`, it will install the version specified in your package.json. Only with `--save` (или вручную обновив package.json) вы получите самую свежую версию.
|
226
|
+
|
225
227
|
To back up key files and then update, run:
|
226
228
|
|
227
229
|
```bash
|
@@ -244,4 +246,3 @@ commercial license.
|
|
244
246
|
|
245
247
|
Contact <licensing@maugli.cfd> or visit
|
246
248
|
<https://maugli.cfd/licensing> for more information.
|
247
|
-
|