Skip to content

Commit 4ce1dbc

Browse files
Add Package-lock
1 parent 5160853 commit 4ce1dbc

File tree

7 files changed

+6952
-28
lines changed

7 files changed

+6952
-28
lines changed

.eslintrc.json

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"plugins": ["@typescript-eslint"],
5+
"extends": [],
6+
"rules": {
7+
"no-console": "off",
8+
"no-unused-vars": "off",
9+
"@typescript-eslint/no-unused-vars": "off",
10+
"@typescript-eslint/no-explicit-any": "off",
11+
"no-undef": "off",
12+
"@typescript-eslint/no-var-requires": "off",
13+
"no-inner-declarations": "off",
14+
"@typescript-eslint/no-this-alias": "off"
15+
},
16+
"env": {
17+
"node": true
18+
}
19+
}

.github/workflows/publish.yml

+10-17
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,23 @@
1-
name: Publish Package
1+
name: Publish package to npm Registry
22

33
on:
44
release:
5-
types: [created]
6-
workflow_dispatch:
5+
types: [published]
76

87
jobs:
9-
publish:
8+
build:
109
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
packages: write
1113

1214
steps:
13-
- uses: actions/checkout@v3
14-
15-
- name: Use Node.js
16-
uses: actions/setup-node@v3
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-node@v4
1717
with:
1818
node-version: '20.x'
1919
registry-url: 'https://registry.npmjs.org'
20-
21-
- name: Install dependencies
22-
run: npm ci
23-
24-
- name: Build
25-
run: npm run build
26-
27-
- name: Publish to NPM
28-
run: npm publish
20+
- run: npm ci
21+
- run: npm publish
2922
env:
3023
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
/npm-debug.log
44
/yarn-error.log
55
/yarn-debug.log
6-
/package-lock.json
76

87
# Build
98
/dist

README.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,9 @@ env NASA_API_KEY=YOUR_API_KEY npx -y @ProgramComputer/NASA-MCP-server
2929

3030
### Using SuperGateway for Server-Sent Events (SSE)
3131

32-
You can use [SuperGateway](https://github.com/supercorp-ai/supergateway) for Server-Sent Events (SSE) functionality with this server:
32+
You can use [SuperGateway](https://github.com/supercorp-ai/supergateway) for Server-Sent Events (SSE).
3333

34-
```bash
35-
# Example configuration with SuperGateway
36-
```
37-
38-
**IMPORTANT: The developers of NASA-MCP-server DO NOT ENDORSE the SuperGateway repository. This information is provided for those who wish to implement SSE functionality at their own discretion.**
34+
**The developers of NASA-MCP-server DO NOT ENDORSE the SuperGateway repository. This information is provided for those who wish to implement SSE functionality at their own discretion.**
3935

4036
### Manual Installation
4137

0 commit comments

Comments
 (0)