+
Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/distribute-features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
node-version: '18'

- name: Install dependencies
run: npm install @octokit/rest
run: npm install @octokit/rest@20.1.2

- name: Distribute feature files
env:
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
package-lock.json
.npm/
*.log
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"dependencies": {
"@octokit/rest": "^20.1.2"
}
}
4 changes: 3 additions & 1 deletion scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ For manual control or troubleshooting, use the `distribute-features-manual.js` s

### Prerequisites:
```bash
npm install @octokit/rest
npm install @octokit/rest@20.1.2
```

**Note:** Version 20.1.2 is required for CommonJS compatibility. Newer versions (22.0.0+) are ES modules only.

### Set up GitHub token:
```bash
export GITHUB_TOKEN=your_github_token_here
Expand Down
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载