File tree Expand file tree Collapse file tree 6 files changed +21
-17
lines changed Expand file tree Collapse file tree 6 files changed +21
-17
lines changed Original file line number Diff line number Diff line change @@ -62,13 +62,14 @@ jobs:
62
62
63
63
- name : install and test ./masm-tasm
64
64
run : |
65
- yarn
66
- yarn test && yarn test-web
65
+ pnpm install
66
+ pnpm test
67
+ pnpm test-web
67
68
working-directory : ./masm-tasm
68
69
env :
69
70
DISPLAY : " :99.0"
70
71
71
- - run : yarn lint
72
+ - run : pnpm lint
72
73
if : runner.os == 'Linux'
73
74
74
75
build :
90
91
- name : install and package vscode-dosbox
91
92
working-directory : ./vscode-dosbox
92
93
run : |
93
- yarn
94
+ pnpm
94
95
node dev/package.js --all
95
96
- uses : actions/upload-artifact@v2
96
97
with :
@@ -105,7 +106,7 @@ jobs:
105
106
106
107
- name : Publish
107
108
if : success() && startsWith( github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest'
108
- run : npx vsce publish --yarn
109
+ run : npx vsce publish
109
110
working-directory : ./masm-tasm
110
111
env :
111
112
VSCE_PAT : ${{ secrets.VSCE_PAT }}
Original file line number Diff line number Diff line change @@ -26,6 +26,5 @@ samples/
26
26
27
27
.vscodeignore
28
28
29
- yarn.lock
30
29
31
30
Original file line number Diff line number Diff line change 9
9
git clone https://github.com/dosasm/masm-tasm.git
10
10
```
11
11
12
- ### 1.install nodejs and npm and yarn
12
+ ### 1.install nodejs and npm and pnpm
13
13
14
14
the website of nodejs: < http://nodejs.org > , < http://nodejs.cn/ >
15
15
16
16
``` sh
17
17
sudo apt install nodejs
18
18
sudo apt install npm
19
- npm install --global yarn
19
+ npm install --global pnpm
20
20
```
21
21
22
22
### 2.install dependence
23
23
24
24
``` sh
25
- yarn install
25
+ pnpm install
26
26
```
27
27
28
28
### 3.generate ` visx ` package
@@ -34,7 +34,7 @@ npx vsce package
34
34
### Debug
35
35
36
36
``` sh
37
- yarn watch
37
+ pnpm watch
38
38
```
39
39
40
40
Press <kbd >F5</kbd > or Click ` run ` -> ` Start Debugging `
Original file line number Diff line number Diff line change 358
358
"run-in-browser" : " vscode-test-web --extensionDevelopmentPath=. --extensionPath=../vscode-dosbox ." ,
359
359
"lint" : " eslint src --ext ts" ,
360
360
"lint-fix" : " eslint src --ext ts --fix" ,
361
- "vscode:prepublish" : " yarn clean && yarn compile"
361
+ "vscode:prepublish" : " pnpm clean && pnpm compile"
362
+ },
363
+ "vsce" : {
364
+ "dependencies" : false ,
365
+ "yarn" : false
362
366
},
363
367
"devDependencies" : {
364
368
"@types/glob" : " ^7.2.0" ,
Original file line number Diff line number Diff line change @@ -12,20 +12,20 @@ This project was bootstrapped with [Create React App](https://github.com/faceboo
12
12
13
13
In the project directory, you can run:
14
14
15
- ### ` yarn start`
15
+ ### ` pnpm start`
16
16
17
17
Runs the app in the development mode.\
18
18
Open [ http://localhost:3000 ] ( http://localhost:3000 ) to view it in the browser.
19
19
20
20
The page will reload if you make edits.\
21
21
You will also see any lint errors in the console.
22
22
23
- ### ` yarn test`
23
+ ### ` pnpm test`
24
24
25
25
Launches the test runner in the interactive watch mode.\
26
26
See the section about [ running tests] ( https://facebook.github.io/create-react-app/docs/running-tests ) for more information.
27
27
28
- ### ` yarn build`
28
+ ### ` pnpm build`
29
29
30
30
Builds the app for production to the ` build ` folder.\
31
31
It correctly bundles React in production mode and optimizes the build for the best performance.
@@ -35,7 +35,7 @@ Your app is ready to be deployed!
35
35
36
36
See the section about [ deployment] ( https://facebook.github.io/create-react-app/docs/deployment ) for more information.
37
37
38
- ### ` yarn eject`
38
+ ### ` pnpm eject`
39
39
40
40
** Note: this is a one-way operation. Once you ` eject ` , you can’t go back!**
41
41
Original file line number Diff line number Diff line change 45
45
You can add webfonts, meta tags, or analytics to this file.
46
46
The build step will place the bundled scripts into the <body> tag.
47
47
48
- To begin the development, run `npm start` or `yarn start`.
49
- To create a production bundle, use `npm run build` or `yarn build`.
48
+ To begin the development, run `npm start` or `pnpm start`.
49
+ To create a production bundle, use `npm run build` or `pnpm build`.
50
50
-->
51
51
</ body >
52
52
</ html >
You can’t perform that action at this time.
0 commit comments