raycast-rsync-extension 1.0.6 → 1.0.7

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.
@@ -21,17 +21,18 @@ on:
21
21
  - major
22
22
 
23
23
  jobs:
24
- publish:
24
+ check-version:
25
25
  runs-on: ubuntu-latest
26
26
  permissions:
27
- contents: write
28
- packages: write
29
- id-token: write
27
+ contents: read
28
+ packages: read
29
+ outputs:
30
+ exists: ${{ steps.check-version.outputs.exists }}
31
+ version: ${{ steps.package-info.outputs.version }}
32
+ name: ${{ steps.package-info.outputs.name }}
30
33
  steps:
31
34
  - name: Checkout code
32
35
  uses: actions/checkout@v6
33
- with:
34
- fetch-depth: 0
35
36
 
36
37
  - name: Setup Node.js
37
38
  uses: actions/setup-node@v6
@@ -39,18 +40,6 @@ jobs:
39
40
  node-version: "20"
40
41
  cache: "npm"
41
42
 
42
- - name: Install dependencies
43
- run: npm ci
44
-
45
- - name: Install jq
46
- run: sudo apt-get update && sudo apt-get install -y jq
47
-
48
- - name: Run tests
49
- run: npm test
50
-
51
- - name: Build extension
52
- run: npm run build
53
-
54
43
  - name: Get package info
55
44
  id: package-info
56
45
  run: |
@@ -81,13 +70,50 @@ jobs:
81
70
  echo "exists=false" >> $GITHUB_OUTPUT
82
71
  echo "Version ${VERSION} is new for ${SCOPED_NAME}, will publish"
83
72
  fi
84
- continue-on-error: true
73
+
74
+ - name: Skip summary
75
+ if: steps.check-version.outputs.exists == 'true'
76
+ run: |
77
+ echo "## 📦 Publish Summary"
78
+ echo "Package: ${{ steps.package-info.outputs.name }}@${{ steps.package-info.outputs.version }}"
79
+ echo "✅ Version already exists - skipped publishing (no tests/build run)"
80
+
81
+ publish:
82
+ needs: check-version
83
+ if: needs.check-version.outputs.exists == 'false'
84
+ runs-on: ubuntu-latest
85
+ permissions:
86
+ contents: write
87
+ packages: write
88
+ id-token: write
89
+ steps:
90
+ - name: Checkout code
91
+ uses: actions/checkout@v6
92
+ with:
93
+ fetch-depth: 0
94
+
95
+ - name: Setup Node.js
96
+ uses: actions/setup-node@v6
97
+ with:
98
+ node-version: "20"
99
+ cache: "npm"
100
+
101
+ - name: Install dependencies
102
+ run: npm ci
103
+
104
+ - name: Install jq
105
+ run: sudo apt-get update && sudo apt-get install -y jq
106
+
107
+ - name: Run tests
108
+ run: npm test
109
+
110
+ - name: Build extension
111
+ run: npm run build
85
112
 
86
113
  - name: Publish to GitHub Packages
87
- if: steps.check-version.outputs.exists == 'false'
88
114
  run: |
89
- PACKAGE_NAME="${{ steps.package-info.outputs.name }}"
90
- VERSION=${{ steps.package-info.outputs.version }}
115
+ PACKAGE_NAME="${{ needs.check-version.outputs.name }}"
116
+ VERSION=${{ needs.check-version.outputs.version }}
91
117
  OWNER="${{ github.repository_owner }}"
92
118
 
93
119
  echo "Publishing $PACKAGE_NAME@$VERSION to GitHub Packages..."
@@ -114,10 +140,9 @@ jobs:
114
140
  NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
115
141
 
116
142
  - name: Create Git tag
117
- if: steps.check-version.outputs.exists == 'false'
118
143
  run: |
119
- VERSION=${{ steps.package-info.outputs.version }}
120
- PACKAGE_NAME="${{ steps.package-info.outputs.name }}"
144
+ VERSION=${{ needs.check-version.outputs.version }}
145
+ PACKAGE_NAME="${{ needs.check-version.outputs.name }}"
121
146
 
122
147
  TAG_NAME="v$VERSION"
123
148
 
@@ -134,20 +159,19 @@ jobs:
134
159
  fi
135
160
 
136
161
  - name: Create GitHub Release
137
- if: steps.check-version.outputs.exists == 'false'
138
162
  uses: softprops/action-gh-release@v2
139
163
  with:
140
- tag_name: v${{ steps.package-info.outputs.version }}
141
- name: v${{ steps.package-info.outputs.version }}
164
+ tag_name: v${{ needs.check-version.outputs.version }}
165
+ name: v${{ needs.check-version.outputs.version }}
142
166
  body: |
143
- ## ${{ steps.package-info.outputs.name }}@v${{ steps.package-info.outputs.version }}
167
+ ## ${{ needs.check-version.outputs.name }}@v${{ needs.check-version.outputs.version }}
144
168
 
145
169
  **Published to GitHub Packages**
146
170
 
147
171
  ### Installation
148
172
 
149
173
  ```bash
150
- npm install @${{ github.repository_owner }}/${{ steps.package-info.outputs.name }} --registry=https://npm.pkg.github.com
174
+ npm install @${{ github.repository_owner }}/${{ needs.check-version.outputs.name }} --registry=https://npm.pkg.github.com
151
175
  ```
152
176
 
153
177
  Or add to your `.npmrc`:
@@ -160,7 +184,7 @@ jobs:
160
184
  Then install:
161
185
 
162
186
  ```bash
163
- npm install @${{ github.repository_owner }}/${{ steps.package-info.outputs.name }}
187
+ npm install @${{ github.repository_owner }}/${{ needs.check-version.outputs.name }}
164
188
  ```
165
189
 
166
190
  ### What's New
@@ -175,23 +199,14 @@ jobs:
175
199
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
176
200
 
177
201
  - name: Publish Summary
178
- if: always()
179
202
  run: |
180
203
  echo "## 📦 Publish Summary"
181
- echo "Package: ${{ steps.package-info.outputs.name }}@${{ steps.package-info.outputs.version }}"
182
-
183
- if [ "${{ steps.check-version.outputs.exists }}" == "true" ]; then
184
- echo " Version already exists - skipped publishing"
185
- elif [ "${{ steps.check-version.outputs.exists }}" == "false" ]; then
186
- echo "✅ Successfully published to GitHub Packages"
187
- echo "🏷️ Created tag: v${{ steps.package-info.outputs.version }}"
188
- echo "📝 Created release: v${{ steps.package-info.outputs.version }}"
189
- else
190
- echo "❌ Publish status unknown"
191
- fi
192
-
204
+ 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 }}"
193
208
  echo ""
194
209
  echo "### 🔗 Links"
195
210
  echo "- **GitHub Packages**: https://github.com/${{ github.repository }}/packages"
196
- echo "- **Install Command**: npm install @${{ github.repository_owner }}/${{ steps.package-info.outputs.name }} --registry=https://npm.pkg.github.com"
197
- echo "- **Release**: https://github.com/${{ github.repository }}/releases/tag/v${{ steps.package-info.outputs.version }}"
211
+ echo "- **Install Command**: npm install @${{ github.repository_owner }}/${{ needs.check-version.outputs.name }} --registry=https://npm.pkg.github.com"
212
+ echo "- **Release**: https://github.com/${{ github.repository }}/releases/tag/v${{ needs.check-version.outputs.version }}"
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
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.6",
4
+ "version": "1.0.7",
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",
@@ -62,23 +62,24 @@
62
62
  ],
63
63
  "dependencies": {
64
64
  "@raycast/api": "^1.65.0",
65
- "@raycast/utils": "^2.2.2"
65
+ "@raycast/utils": "^1.19.1"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@raycast/eslint-config": "^2.1.1",
69
- "@typescript-eslint/eslint-plugin": "^8.55.0",
70
- "@typescript-eslint/parser": "^8.55.0",
71
69
  "@types/node": "^25.0.10",
72
70
  "@types/react": "19.0.10",
71
+ "@typescript-eslint/eslint-plugin": "^8.56.0",
72
+ "@typescript-eslint/parser": "^8.56.0",
73
73
  "@vitest/ui": "^4.0.17",
74
- "eslint": "^9.0.0",
74
+ "eslint": "^10.0.0",
75
75
  "prettier": "^3.8.0",
76
76
  "react": "^19.0.0",
77
77
  "typescript": "^5.2.2",
78
78
  "vitest": "^4.0.17"
79
79
  },
80
80
  "overrides": {
81
- "@types/react": "19.0.10"
81
+ "@types/react": "19.0.10",
82
+ "minimatch": "^10.2.1"
82
83
  },
83
84
  "scripts": {
84
85
  "build": "npx ray build -e dist",
@@ -91,4 +92,4 @@
91
92
  "format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
92
93
  "publish:npmjs": "npm publish --access public"
93
94
  }
94
- }
95
+ }
package/metadata/1.png DELETED
Binary file
package/metadata/2.png DELETED
Binary file
package/metadata/3.png DELETED
Binary file
package/metadata/4.png DELETED
Binary file
package/metadata/5.png DELETED
Binary file