GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: use tnpm as oss-syncing source · aionliao/lowcode-engine@27bf7ba

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • scripts
    • sync-oss.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎scripts/sync-oss.js‎

Copy file name to clipboardExpand all lines: scripts/sync-oss.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const onResponse = function (res) {
1919
chunks.push(chunk);
2020
});
2121

22-
res.on('end', (chunk) => {
22+
res.on('end', () => {
2323
const body = Buffer.concat(chunks);
2424
console.table(JSON.stringify(JSON.parse(body.toString()), null, 2));
2525
});
@@ -39,9 +39,9 @@ const postData = JSON.stringify({
3939
},
4040
],
4141
// 可以发布指定源的 npm 包,默认公网 npm
42-
useTnpm: false,
42+
useTnpm: true,
4343
});
4444

4545
req.write(postData);
4646

47-
req.end();
47+
req.end();

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.