Skip to content

Commit dd0f7ac

Browse files
committed
🐛 docs: update require name
1 parent 1efd307 commit dd0f7ac

4 files changed

Lines changed: 112 additions & 86 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
tags:
88
- '!*' # Do not execute on tags
99
env:
10+
NAME: ${{vars.NAME}}
11+
EMAIL: ${{vars.EMAIL}}
12+
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
1013
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
1114
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
1215
FORCE_COLOR: 1
@@ -55,8 +58,7 @@ jobs:
5558
- uses: actions/setup-node@v2
5659
with:
5760
node-version: 18.x
58-
- run: git clone https://${GITHUB_TOKEN}@github.com/nodef/deploy "$HOME/deploy"
59-
- run: bash "$HOME/deploy/setup.sh"
61+
- uses: nodef/git-config.action@v1.0.0
6062
- run: npm i -g typescript typedoc
6163
- run: npm ci
6264
- run: npm run publish-docs
@@ -71,8 +73,9 @@ jobs:
7173
- uses: actions/setup-node@v2
7274
with:
7375
node-version: 18.x
74-
- run: git clone https://${GITHUB_TOKEN}@github.com/nodef/deploy "$HOME/deploy"
75-
- run: bash "$HOME/deploy/setup.sh"
76+
- uses: nodef/npm-config.action@v1.0.0
77+
with:
78+
entries: access = public
7679
- run: npm i -g typescript rollup typedoc browserify terser
7780
- run: npm ci
7881
- run: npm run publish-packages

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ is exposed as `extra_markdown_text` standalone variable and can be loaded from
1515
<br>
1616

1717
```javascript
18-
const fs = require('fs');
19-
const markdown = require('extra-markdown-text');
18+
const fs = require('fs');
19+
const xmarkdown = require('extra-markdown-text');
2020

2121
function main() {
2222
var txt = fs.readFileSync('README.md', 'utf8').replace(/\r?\n/, '\n');
2323

24-
markdown.links(txt);
24+
xmarkdown.links(txt);
2525
// [
2626
// {
2727
// full: '[Node.js](https://www.npmjs.com/package/extra-markdown-text)',
@@ -38,7 +38,7 @@ function main() {
3838
// ...
3939
// ]
4040

41-
markdown.linkReferences(txt);
41+
xmarkdown.linkReferences(txt);
4242
// [
4343
// {
4444
// full: '[jsDelivr CDN]: https://cdn.jsdelivr.net/npm/extra-markdown-text.web/index.js',

package-lock.json

Lines changed: 95 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)