Skip to content

Commit db58d1c

Browse files
committed
update readme to latest version
1 parent 3eb588f commit db58d1c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ OR
4040
Include the script at the bottom of the page before the closing body tag.
4141

4242
```html
43-
<script src="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.30.0/tocbot.min.js"></script>
43+
<script src="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.32.2/tocbot.min.js"></script>
4444
```
4545

4646

@@ -49,7 +49,7 @@ Include the script at the bottom of the page before the closing body tag.
4949
CSS is used for expanding & collapsing groupings and some basic styling.
5050

5151
```html
52-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.30.0/tocbot.css">
52+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.32.2/tocbot.css">
5353
```
5454

5555
OR

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"next-build": "./node_modules/.bin/next build",
7171
"next-export": "./node_modules/.bin/next export",
7272
"next-start": "./node_modules/.bin/next start",
73+
"update-readme-version": "node ./scripts/update-readme-version.js",
7374
"v-prerelease": "npm version prerelease && git push --tags && npm publish && git push",
7475
"v-patch": "npm version patch && git push --tags && npm publish && git push",
7576
"v-minor": "npm version minor && git push --tags && npm publish && git push",

scripts/update-readme-versions.js renamed to scripts/update-readme-version.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import * as fs from 'fs';
22
import pkg from '../package.json' with { type: 'json' };
33

44
const readmePath = 'README.md';
5-
const thisScriptPath = 'scripts/update-readme-versions.js';
5+
const thisScriptPath = 'scripts/update-readme-version.js';
66

7-
const LAST_VERSION = '4.30.0'
7+
const LAST_VERSION = '4.32.2'
88
const NEW_VERSION = pkg.version
99

1010
function replaceOldVersionWithNew() {

0 commit comments

Comments
 (0)