@@ -159,6 +159,12 @@ jobs:
159
159
token : ${{ secrets.NPM_TOKEN }}
160
160
package : ./themes/github/package.json
161
161
162
+ - name : 📦 @uiw/codemirror-theme-gruvbox-dark publish to NPM
163
+ uses : JS-DevTools/npm-publish@v1
164
+ with :
165
+ token : ${{ secrets.NPM_TOKEN }}
166
+ package : ./themes/gruvbox-dark/package.json
167
+
162
168
- name : 📦 @uiw/codemirror-theme-darcula publish to NPM
163
169
uses : JS-DevTools/npm-publish@v1
164
170
with :
@@ -248,8 +254,7 @@ jobs:
248
254
if : success() || failure()
249
255
with :
250
256
path : core/package.json
251
- data : |
252
- { "name": "@uiwjs/react-codemirror" }
257
+ rename : " @uiwjs/react-codemirror"
253
258
254
259
- run : npm publish
255
260
working-directory : core
@@ -262,8 +267,7 @@ jobs:
262
267
if : success() || failure()
263
268
with :
264
269
path : themes/theme/package.json
265
- data : |
266
- { "name": "@uiwjs/codemirror-themes" }
270
+ rename : " @uiwjs/codemirror-themes"
267
271
268
272
- run : npm publish
269
273
working-directory : themes/theme
@@ -276,8 +280,7 @@ jobs:
276
280
if : success() || failure()
277
281
with :
278
282
path : themes/abcdef/package.json
279
- data : |
280
- { "name": "@uiwjs/codemirror-theme-abcdef" }
283
+ rename : " @uiwjs/codemirror-theme-abcdef"
281
284
282
285
- run : npm publish
283
286
working-directory : themes/abcdef
@@ -291,8 +294,7 @@ jobs:
291
294
if : success() || failure()
292
295
with :
293
296
path : themes/all/package.json
294
- data : |
295
- { "name": "@uiwjs/codemirror-themes-all" }
297
+ rename : " @uiwjs/codemirror-themes-all"
296
298
297
299
- run : npm publish
298
300
working-directory : themes/all
@@ -306,8 +308,7 @@ jobs:
306
308
if : success() || failure()
307
309
with :
308
310
path : themes/androidstudio/package.json
309
- data : |
310
- { "name": "@uiwjs/codemirror-theme-androidstudio" }
311
+ rename : " @uiwjs/codemirror-theme-androidstudio"
311
312
312
313
- run : npm publish
313
314
working-directory : themes/androidstudio
@@ -321,8 +322,7 @@ jobs:
321
322
if : success() || failure()
322
323
with :
323
324
path : themes/atomone/package.json
324
- data : |
325
- { "name": "@uiwjs/codemirror-theme-atomone" }
325
+ rename : " @uiwjs/codemirror-theme-atomone"
326
326
327
327
- run : npm publish
328
328
working-directory : themes/atomone
@@ -336,8 +336,7 @@ jobs:
336
336
if : success() || failure()
337
337
with :
338
338
path : themes/bbedit/package.json
339
- data : |
340
- { "name": "@uiwjs/codemirror-theme-bbedit" }
339
+ rename : " @uiwjs/codemirror-theme-bbedit"
341
340
342
341
- run : npm publish
343
342
working-directory : themes/bbedit
@@ -351,8 +350,7 @@ jobs:
351
350
if : success() || failure()
352
351
with :
353
352
path : themes/okaidia/package.json
354
- data : |
355
- { "name": "@uiwjs/codemirror-theme-okaidia" }
353
+ rename : " @uiwjs/codemirror-theme-okaidia"
356
354
357
355
- run : npm publish
358
356
working-directory : themes/okaidia
@@ -365,8 +363,7 @@ jobs:
365
363
if : success() || failure()
366
364
with :
367
365
path : themes/dracula/package.json
368
- data : |
369
- { "name": "@uiwjs/codemirror-theme-dracula" }
366
+ rename : " @uiwjs/codemirror-theme-dracula"
370
367
371
368
- run : npm publish
372
369
working-directory : themes/dracula
@@ -380,8 +377,7 @@ jobs:
380
377
if : success() || failure()
381
378
with :
382
379
path : themes/duotone/package.json
383
- data : |
384
- { "name": "@uiwjs/codemirror-theme-duotone" }
380
+ rename : " @uiwjs/codemirror-theme-duotone"
385
381
386
382
- run : npm publish
387
383
working-directory : themes/duotone
@@ -394,8 +390,7 @@ jobs:
394
390
if : success() || failure()
395
391
with :
396
392
path : themes/eclipse/package.json
397
- data : |
398
- { "name": "@uiwjs/codemirror-theme-eclipse" }
393
+ rename : " @uiwjs/codemirror-theme-eclipse"
399
394
400
395
- run : npm publish
401
396
working-directory : themes/eclipse
@@ -408,8 +403,14 @@ jobs:
408
403
if : success() || failure()
409
404
with :
410
405
path : themes/github/package.json
411
- data : |
412
- { "name": "@uiwjs/codemirror-theme-github" }
406
+ rename : " @uiwjs/codemirror-theme-github"
407
+
408
+ - name : Modify @uiw/codemirror-theme-gruvbox-dark => @uiwjs/codemirror-theme-gruvbox-dark
409
+ uses : jaywcjlove/github-action-package@main
410
+ if : success() || failure()
411
+ with :
412
+ path : themes/github/package.json
413
+ rename : ' @uiwjs/codemirror-theme-gruvbox-dark'
413
414
414
415
- run : npm publish
415
416
working-directory : themes/github
@@ -422,8 +423,7 @@ jobs:
422
423
if : success() || failure()
423
424
with :
424
425
path : themes/darcula/package.json
425
- data : |
426
- { "name": "@uiwjs/codemirror-theme-darcula" }
426
+ rename : " @uiwjs/codemirror-theme-darcula"
427
427
428
428
- run : npm publish
429
429
working-directory : themes/darcula
@@ -436,8 +436,7 @@ jobs:
436
436
if : success() || failure()
437
437
with :
438
438
path : themes/bespin/package.json
439
- data : |
440
- { "name": "@uiwjs/codemirror-theme-bespin" }
439
+ rename : " @uiwjs/codemirror-theme-bespin"
441
440
442
441
- run : npm publish
443
442
working-directory : themes/bespin
@@ -450,8 +449,7 @@ jobs:
450
449
if : success() || failure()
451
450
with :
452
451
path : themes/sublime/package.json
453
- data : |
454
- { "name": "@uiwjs/codemirror-theme-sublime" }
452
+ rename : " @uiwjs/codemirror-theme-sublime"
455
453
456
454
- run : npm publish
457
455
working-directory : themes/sublime
@@ -464,8 +462,7 @@ jobs:
464
462
if : success() || failure()
465
463
with :
466
464
path : themes/xcode/package.json
467
- data : |
468
- { "name": "@uiwjs/codemirror-theme-xcode" }
465
+ rename : " @uiwjs/codemirror-theme-xcode"
469
466
470
467
- run : npm publish
471
468
working-directory : themes/xcode
@@ -478,8 +475,7 @@ jobs:
478
475
if : success() || failure()
479
476
with :
480
477
path : extensions/events/package.json
481
- data : |
482
- { "name": "@uiwjs/codemirror-extensions-events" }
478
+ rename : " @uiwjs/codemirror-extensions-events"
483
479
484
480
- run : npm publish
485
481
working-directory : extensions/events
@@ -492,8 +488,7 @@ jobs:
492
488
if : success() || failure()
493
489
with :
494
490
path : extensions/basic-setup/package.json
495
- data : |
496
- { "name": "@uiwjs/codemirror-extensions-basic-setup" }
491
+ rename : " @uiwjs/codemirror-extensions-basic-setup"
497
492
498
493
- run : npm publish
499
494
working-directory : extensions/basic-setup
@@ -506,8 +501,7 @@ jobs:
506
501
if : success() || failure()
507
502
with :
508
503
path : extensions/color/package.json
509
- data : |
510
- { "name": "@uiwjs/codemirror-extensions-color" }
504
+ rename : " @uiwjs/codemirror-extensions-color"
511
505
512
506
- run : npm publish
513
507
working-directory : extensions/color
@@ -520,8 +514,7 @@ jobs:
520
514
if : success() || failure()
521
515
with :
522
516
path : extensions/line-numbers-relative/package.json
523
- data : |
524
- { "name": "@uiwjs/codemirror-extensions-line-numbers-relative" }
517
+ rename : " @uiwjs/codemirror-extensions-line-numbers-relative"
525
518
526
519
- run : npm publish
527
520
working-directory : extensions/line-numbers-relative
@@ -534,8 +527,7 @@ jobs:
534
527
if : success() || failure()
535
528
with :
536
529
path : extensions/hyper-link/package.json
537
- data : |
538
- { "name": "@uiwjs/codemirror-extensions-hyper-link" }
530
+ rename : " @uiwjs/codemirror-extensions-hyper-link"
539
531
540
532
- run : npm publish
541
533
working-directory : extensions/hyper-link
@@ -548,8 +540,7 @@ jobs:
548
540
if : success() || failure()
549
541
with :
550
542
path : extensions/langs/package.json
551
- data : |
552
- { "name": "@uiwjs/codemirror-extensions-langs" }
543
+ rename : " @uiwjs/codemirror-extensions-langs"
553
544
554
545
- run : npm publish
555
546
working-directory : extensions/langs
@@ -562,8 +553,7 @@ jobs:
562
553
if : success() || failure()
563
554
with :
564
555
path : extensions/mentions/package.json
565
- data : |
566
- { "name": "@uiwjs/codemirror-extensions-mentions" }
556
+ rename : " @uiwjs/codemirror-extensions-mentions"
567
557
568
558
- run : npm publish
569
559
working-directory : extensions/mentions
0 commit comments