raycast-rsync-extension 1.0.9 → 1.0.16

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.
@@ -17,12 +17,12 @@ jobs:
17
17
 
18
18
  steps:
19
19
  - name: Harden the runner (Audit all outbound calls)
20
- uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
20
+ uses: step-security/harden-runner@05e31511f85b41b11d1cf0ef85d0992719546e2c # v2.21.0
21
21
  with:
22
22
  egress-policy: audit
23
23
 
24
24
  - name: Checkout code
25
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
26
26
  with:
27
27
  fetch-depth: 0
28
28
  fetch-tags: true
@@ -52,7 +52,7 @@ jobs:
52
52
  echo "main is ${COUNT} commit(s) ahead of tag '${LATEST_TAG}'."
53
53
 
54
54
  - name: Setup Node
55
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
55
+ uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
56
56
  with:
57
57
  node-version: "22"
58
58
 
@@ -65,7 +65,7 @@ jobs:
65
65
  echo "New version: $VERSION"
66
66
 
67
67
  - name: Create Pull Request
68
- uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
68
+ uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
69
69
  with:
70
70
  commit-message: "chore: bump version to ${{ steps.bump.outputs.version }}"
71
71
  branch: "chore/bump-patch-version-${{ github.run_id }}"
@@ -14,10 +14,10 @@ jobs:
14
14
  runs-on: ubuntu-latest
15
15
  steps:
16
16
  - name: Checkout
17
- uses: actions/checkout@v6
17
+ uses: actions/checkout@v7
18
18
 
19
19
  - name: Setup Node.js
20
- uses: actions/setup-node@v6
20
+ uses: actions/setup-node@v7
21
21
  with:
22
22
  node-version: 22
23
23
  cache: npm
@@ -33,10 +33,10 @@ jobs:
33
33
  runs-on: ubuntu-latest
34
34
  steps:
35
35
  - name: Checkout
36
- uses: actions/checkout@v6
36
+ uses: actions/checkout@v7
37
37
 
38
38
  - name: Setup Node.js
39
- uses: actions/setup-node@v6
39
+ uses: actions/setup-node@v7
40
40
  with:
41
41
  node-version: 22
42
42
  cache: npm
@@ -52,10 +52,10 @@ jobs:
52
52
  runs-on: ubuntu-latest
53
53
  steps:
54
54
  - name: Checkout
55
- uses: actions/checkout@v6
55
+ uses: actions/checkout@v7
56
56
 
57
57
  - name: Setup Node.js
58
- uses: actions/setup-node@v6
58
+ uses: actions/setup-node@v7
59
59
  with:
60
60
  node-version: 22
61
61
  cache: npm
@@ -71,10 +71,10 @@ jobs:
71
71
  runs-on: ubuntu-latest
72
72
  steps:
73
73
  - name: Checkout
74
- uses: actions/checkout@v6
74
+ uses: actions/checkout@v7
75
75
 
76
76
  - name: Setup Node.js
77
- uses: actions/setup-node@v6
77
+ uses: actions/setup-node@v7
78
78
  with:
79
79
  node-version: 22
80
80
  cache: npm
@@ -90,10 +90,10 @@ jobs:
90
90
  runs-on: ubuntu-latest
91
91
  steps:
92
92
  - name: Checkout
93
- uses: actions/checkout@v6
93
+ uses: actions/checkout@v7
94
94
 
95
95
  - name: Setup Node.js
96
- uses: actions/setup-node@v6
96
+ uses: actions/setup-node@v7
97
97
  with:
98
98
  node-version: 22
99
99
  cache: npm
@@ -22,7 +22,7 @@ jobs:
22
22
  timeout-minutes: 5
23
23
  steps:
24
24
  - name: Rebase
25
- uses: bbeesley/gha-auto-dependabot-rebase@f021ca5692e69dcfa7ee60569ba6a3267c1e2a69
25
+ uses: bbeesley/gha-auto-dependabot-rebase@e2ff6339872bb93d443fba3b165ac2a14af43570
26
26
  env:
27
27
  GITHUB_TOKEN: ${{ secrets.GH_PA_TOKEN }}
28
28
  with:
@@ -32,10 +32,10 @@ jobs:
32
32
  name: ${{ steps.package-info.outputs.name }}
33
33
  steps:
34
34
  - name: Checkout code
35
- uses: actions/checkout@v6
35
+ uses: actions/checkout@v7
36
36
 
37
37
  - name: Setup Node.js
38
- uses: actions/setup-node@v6
38
+ uses: actions/setup-node@v7
39
39
  with:
40
40
  node-version: "22"
41
41
  cache: "npm"
@@ -88,12 +88,12 @@ jobs:
88
88
  id-token: write
89
89
  steps:
90
90
  - name: Checkout code
91
- uses: actions/checkout@v6
91
+ uses: actions/checkout@v7
92
92
  with:
93
93
  fetch-depth: 0
94
94
 
95
95
  - name: Setup Node.js
96
- uses: actions/setup-node@v6
96
+ uses: actions/setup-node@v7
97
97
  with:
98
98
  node-version: "22"
99
99
  cache: "npm"
@@ -139,6 +139,24 @@ jobs:
139
139
  env:
140
140
  NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
141
141
 
142
+ - name: Publish to npmjs
143
+ run: |
144
+ PACKAGE_NAME="${{ needs.check-version.outputs.name }}"
145
+ VERSION=${{ needs.check-version.outputs.version }}
146
+ OWNER="${{ github.repository_owner }}"
147
+
148
+ echo "Publishing $PACKAGE_NAME@$VERSION to npmjs..."
149
+
150
+ npm config set @dytsou:registry https://registry.npmjs.org
151
+ npm config set registry https://registry.npmjs.org
152
+ npm config set //registry.npmjs.org/:_authToken "$NODE_AUTH_TOKEN"
153
+
154
+ npm publish --access public --registry=https://registry.npmjs.org
155
+
156
+ echo "Successfully published $PACKAGE_NAME@$VERSION to npmjs"
157
+ env:
158
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
159
+
142
160
  - name: Create Git tag
143
161
  run: |
144
162
  VERSION=${{ needs.check-version.outputs.version }}
@@ -159,17 +177,23 @@ jobs:
159
177
  fi
160
178
 
161
179
  - name: Create GitHub Release
162
- uses: softprops/action-gh-release@v2
180
+ uses: softprops/action-gh-release@v3
163
181
  with:
164
182
  tag_name: v${{ needs.check-version.outputs.version }}
165
183
  name: v${{ needs.check-version.outputs.version }}
166
184
  body: |
167
185
  ## ${{ needs.check-version.outputs.name }}@v${{ needs.check-version.outputs.version }}
168
186
 
169
- **Published to GitHub Packages**
187
+ **Published to GitHub Packages and npmjs**
170
188
 
171
189
  ### Installation
172
190
 
191
+ **npmjs** (recommended):
192
+ ```bash
193
+ npm install raycast-rsync-extension
194
+ ```
195
+
196
+ **GitHub Packages**:
173
197
  ```bash
174
198
  npm install @${{ github.repository_owner }}/${{ needs.check-version.outputs.name }} --registry=https://npm.pkg.github.com
175
199
  ```
@@ -184,7 +208,7 @@ jobs:
184
208
  Then install:
185
209
 
186
210
  ```bash
187
- npm install @${{ github.repository_owner }}/${{ needs.check-version.outputs.name }}
211
+ npm install ${{ needs.check-version.outputs.name }}
188
212
  ```
189
213
 
190
214
  ### What's New
@@ -200,13 +224,15 @@ jobs:
200
224
 
201
225
  - name: Publish Summary
202
226
  run: |
203
- echo "## 📦 Publish Summary"
227
+ echo "## Publish Summary"
204
228
  echo "Package: ${{ needs.check-version.outputs.name }}@${{ needs.check-version.outputs.version }}"
205
- echo "✅ Successfully published to GitHub Packages"
206
- echo "🏷️ Created tag: v${{ needs.check-version.outputs.version }}"
207
- echo "📝 Created release: v${{ needs.check-version.outputs.version }}"
229
+ echo "Successfully published to GitHub Packages and npmjs"
230
+ echo "Created tag: v${{ needs.check-version.outputs.version }}"
231
+ echo "Created release: v${{ needs.check-version.outputs.version }}"
208
232
  echo ""
209
233
  echo "### 🔗 Links"
234
+ echo "- **npmjs**: https://www.npmjs.com/package/${{ needs.check-version.outputs.name }}"
210
235
  echo "- **GitHub Packages**: https://github.com/${{ github.repository }}/packages"
211
- echo "- **Install Command**: npm install @${{ github.repository_owner }}/${{ needs.check-version.outputs.name }} --registry=https://npm.pkg.github.com"
236
+ echo "- **Install Command (npmjs)**: npm install ${{ needs.check-version.outputs.name }}"
237
+ echo "- **Install Command (GitHub Packages)**: npm install @${{ github.repository_owner }}/${{ needs.check-version.outputs.name }} --registry=https://npm.pkg.github.com"
212
238
  echo "- **Release**: https://github.com/${{ github.repository }}/releases/tag/v${{ needs.check-version.outputs.version }}"
@@ -13,7 +13,7 @@ jobs:
13
13
  contents: write
14
14
  steps:
15
15
  - name: Checkout code
16
- uses: actions/checkout@v6
16
+ uses: actions/checkout@v7
17
17
  with:
18
18
  token: ${{ secrets.GITHUB_TOKEN }}
19
19
  persist-credentials: true
package/eslint.config.js CHANGED
@@ -2,7 +2,7 @@ const raycastConfig = require("@raycast/eslint-config");
2
2
 
3
3
  // Flatten in case any imported configs are arrays (e.g., prettier flat config)
4
4
  const baseConfigs = raycastConfig.flatMap((config) =>
5
- Array.isArray(config) ? config : [config]
5
+ Array.isArray(config) ? config : [config],
6
6
  );
7
7
 
8
8
  module.exports = [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://www.raycast.com/schemas/extension.json",
3
3
  "name": "raycast-rsync-extension",
4
- "version": "1.0.9",
4
+ "version": "1.0.16",
5
5
  "title": "Rsync File Transfer",
6
6
  "description": "Transfer files between local and remote servers using rsync with SSH config integration",
7
7
  "icon": "icon.png",
@@ -11,6 +11,10 @@
11
11
  "Productivity"
12
12
  ],
13
13
  "license": "MIT",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/dytsou/raycast-rsync-extension.git"
17
+ },
14
18
  "commands": [
15
19
  {
16
20
  "name": "upload",
@@ -66,20 +70,20 @@
66
70
  },
67
71
  "devDependencies": {
68
72
  "@raycast/eslint-config": "^2.1.1",
69
- "@testing-library/jest-dom": "^6.9.1",
70
- "@types/node": "^25.0.10",
71
- "@types/react": "19.2.14",
73
+ "@testing-library/jest-dom": "^7.0.0",
74
+ "@types/node": "^26.0.0",
75
+ "@types/react": "19.2.18",
72
76
  "@typescript-eslint/eslint-plugin": "^8.56.0",
73
77
  "@typescript-eslint/parser": "^8.56.0",
74
78
  "@vitest/ui": "^4.0.17",
75
79
  "eslint": "^10.0.0",
76
80
  "prettier": "^3.8.0",
77
81
  "react": "^19.0.0",
78
- "typescript": "^6.0.2",
82
+ "typescript": "^6.0.3",
79
83
  "vitest": "^4.0.17"
80
84
  },
81
85
  "overrides": {
82
- "@types/react": "19.2.14",
86
+ "@types/react": "19.2.18",
83
87
  "minimatch": "^10.2.1"
84
88
  },
85
89
  "scripts": {