docstar-env-autosuggest 0.2.2 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,30 @@
1
+ name: Publish to NPM
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v4
14
+
15
+ - name: Setup Node.js
16
+ uses: actions/setup-node@v4
17
+ with:
18
+ node-version: '20'
19
+ 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
29
+ env:
30
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -1,15 +1,19 @@
1
1
  {
2
2
  "name": "docstar-env-autosuggest",
3
- "version": "0.2.2",
4
- "author": "Idris Bohra",
3
+ "version": "0.2.5",
4
+ "author": "Swayam Maheshwari",
5
5
  "main": "build/index.js",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/swayammaheshwari/docstar-env-suggestion.git"
9
+ },
6
10
  "dependencies": {
7
11
  "react-icons": "^5.3.0",
8
12
  "webpack": "^5.73.0"
9
13
  },
10
14
  "peerDependencies": {
11
- "react": "^18.2.0",
12
- "react-dom": "^18.3.1"
15
+ "react": "^18.2.0 || ^19.0.0",
16
+ "react-dom": "^18.3.1 || ^19.0.0"
13
17
  },
14
18
  "devDependencies": {
15
19
  "@babel/core": "^7.25.2",
package/.env DELETED
@@ -1 +0,0 @@
1
- TOKEN=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