@yaonyan/jsr2npm 0.1.4 → 0.1.6
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.
- package/README.md +6 -6
- package/bin/jsr2npm.mjs +34 -9478
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -97,9 +97,9 @@ structure and metadata.
|
|
|
97
97
|
deno run --allow-all cli.ts
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
-
Or use
|
|
100
|
+
Or use npx:
|
|
101
101
|
```bash
|
|
102
|
-
|
|
102
|
+
npx -y @yaonyan/jsr2npm@latest
|
|
103
103
|
```
|
|
104
104
|
|
|
105
105
|
## How It Works
|
|
@@ -163,10 +163,10 @@ Run the conversion locally:
|
|
|
163
163
|
deno run -A cli.ts
|
|
164
164
|
```
|
|
165
165
|
|
|
166
|
-
Or use the
|
|
166
|
+
Or use npx to run the latest version:
|
|
167
167
|
|
|
168
168
|
```bash
|
|
169
|
-
|
|
169
|
+
npx -y @yaonyan/jsr2npm@latest
|
|
170
170
|
```
|
|
171
171
|
|
|
172
172
|
The converted packages will be in `__<scope>__<package>_<version>/dist/`
|
|
@@ -258,11 +258,11 @@ jobs:
|
|
|
258
258
|
- name: Setup Node.js
|
|
259
259
|
uses: actions/setup-node@v4
|
|
260
260
|
with:
|
|
261
|
-
node-version: "
|
|
261
|
+
node-version: "latest"
|
|
262
262
|
registry-url: "https://registry.npmjs.org"
|
|
263
263
|
|
|
264
264
|
- name: Run JSR to NPM conversion
|
|
265
|
-
run:
|
|
265
|
+
run: npx -y @yaonyan/jsr2npm@latest
|
|
266
266
|
|
|
267
267
|
- name: Publish to npm
|
|
268
268
|
run: |
|