File tree Expand file tree Collapse file tree 4 files changed +26
-35
lines changed Expand file tree Collapse file tree 4 files changed +26
-35
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Publish
33on :
44  push :
55    tags :
6-       - " * " 
6+       - ' * ' 
77
88jobs :
99  check-versions :
2626      - name : Checkout 
2727        uses : actions/checkout@v5 
2828      - name : Install dependencies 
29-         run : yarn  install
29+         run : pnpm  install
3030      - name : Publish 
31-         run : yarn  run publish:vsce
31+         run : pnpm  run publish:vsce
3232        env :
3333          VSCE_PAT : ${{ secrets.VSCE_PAT }} 
3434  publish-ovsx :
3838      - name : Checkout 
3939        uses : actions/checkout@v5 
4040      - name : Install dependencies 
41-         run : yarn  install
41+         run : pnpm  install
4242      - name : Publish 
43-         run : yarn  run publish:ovsx
43+         run : pnpm  run publish:ovsx
4444        env :
4545          OVSX_PAT : ${{ secrets.OVSX_PAT }} 
Original file line number Diff line number Diff line change 66node_modules /** 
77Taskfile.yml 
88.gitignore 
9- .yarnrc 
109** /tsconfig.json 
1110** /.eslintrc.json 
1211** /* .map 
Original file line number Diff line number Diff line change 1- version : ' 3 ' 
1+ version : " 3 " 
22
33tasks :
4-   yarn: install :
4+   install :
55    run : once 
66    desc : Install node modules 
77    sources :
88      - package.json 
9-       - yarn. lock
9+       - pnpm- lock.yaml 
1010    generates :
1111      - node_modules/**/* 
1212    cmds :
13-       - yarn  install
13+       - pnpm  install
1414
15-   yarn: clean :
15+   clean :
1616    desc : Remove node modules 
1717    cmds :
18+       - task : clean-build 
1819      - rm -rf node_modules 
20+       - rm -rf .task 
1921
20-   yarn:update :
21-     desc : Update dependencies 
22+   clean-build :
2223    cmds :
23-       - yarn upgrade-interactive --latest 
24+       - rm -rf out 
25+       - rm -rf *.vsix 
2426
2527  test :
2628    desc : Run tests 
27-     deps : [yarn: install] 
29+     deps : [install] 
2830    cmds :
29-       - yarn  run test
31+       - pnpm  run test
3032
3133  lint :
3234    desc : Run linter checks 
33-     deps : [yarn: install] 
35+     deps : [install] 
3436    cmds :
35-       - yarn  run lint
37+       - pnpm  run lint
3638
3739  bundle :
3840    desc : Bundle the extension into a single JS file 
39-     deps : [yarn:install,  clean-build] 
41+     deps : [clean-build, install ] 
4042    sources :
4143      - src/**/* 
4244      - package.json 
4345    generates :
4446      - out/extension.js 
4547    cmds :
46-       - yarn  run bundle
48+       - pnpm  run bundle
4749
4850  package :
4951    desc : Package extension into a .vsix file 
50-     deps : [yarn:install, bundle ] 
52+     deps : [clean-build, install ] 
5153    sources :
5254      - README.md 
5355      - CHANGELOG.md 
5456      - LICENSE 
5557      - res/**/* 
56-       - out/extension.js 
5758    generates :
59+       - out/extension.js 
5860      - " *.vsix" 
5961    cmds :
60-       - yarn run package 
61- 
62-   clean-build :
63-     cmds :
64-       - rm -rf out 
65-       - rm -rf *.vsix 
66- 
67-   clean :
68-     cmds :
69-       - task : clean-build 
70-       - rm -rf .task 
62+       - pnpm run package 
Original file line number Diff line number Diff line change 364364    "lint" : " eslint src --ext ts"  ,
365365    "test" : " vscode-test"  ,
366366    "package" : " vsce package"  ,
367-     "publish:vsce" : " vsce publish"  ,
368-     "publish:ovsx" : " ovsx publish"  ,
367+     "publish:vsce" : " vsce publish --no-dependencies "  ,
368+     "publish:ovsx" : " ovsx publish --no-dependencies "  ,
369369    "vscode:prepublish" : " pnpm run bundle" 
370370  },
371371  "devDependencies" : {
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments