File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,14 +13,17 @@ jobs:
1313 - 20.x
1414 steps :
1515 - uses : actions/checkout@v3
16+ - uses : oven-sh/setup-bun@v1
17+ with :
18+ bun-version : latest
1619 - name : Use Node.js ${{ matrix.node-version }}
1720 uses : actions/setup-node@v3
1821 with :
1922 node-version : ${{ matrix.node-version }}
2023 - name : Install Redrun
21- run : npm i redrun -g
24+ run : bun i redrun -g --no-save
2225 - name : Install
23- run : npm install
26+ run : bun i --no-save
2427 - name : Bootstrap
2528 run : redrun bootstrap
2629 - name : Lint
Original file line number Diff line number Diff line change 22
33'use strict' ;
44
5+ const process = require ( 'process' ) ;
56const fs = require ( 'fs' ) ;
67const [ arg ] = process . argv . slice ( 2 ) ;
78
Original file line number Diff line number Diff line change 11{
2- "name" : " edward" ,
3- "homepage" : " https://github.com/cloudcmd/edward" ,
4- "authors" : [
5- " coderaiser <mnemonic.enemy@gmail.com>"
6- ],
7- "description" : " web editor" ,
8- "main" : " bin/edward.js" ,
9- "keywords" : [
10- " file" ,
11- " edit"
12- ],
13- "license" : " MIT" ,
14- "private" : true ,
15- "ignore" : [
16- " node_modules" ,
17- " modules"
18- ],
19- "dependencies" : {
20- "ace-builds" : " ^1.24.1"
21- }
2+ "name" : " edward" ,
3+ "homepage" : " https://github.com/cloudcmd/edward" ,
4+ "authors" : [
5+ " coderaiser <mnemonic.enemy@gmail.com>"
6+ ],
7+ "description" : " web editor" ,
8+ "main" : " bin/edward.js" ,
9+ "keywords" : [
10+ " file" ,
11+ " edit"
12+ ],
13+ "license" : " MIT" ,
14+ "private" : true ,
15+ "ignore" : [
16+ " node_modules" ,
17+ " modules"
18+ ],
19+ "dependencies" : {
20+ "ace-builds" : " ^1.24.1"
21+ }
2222}
Original file line number Diff line number Diff line change 11'use strict' ;
22
3+ const process = require ( 'process' ) ;
34const path = require ( 'path' ) ;
45
56const restafary = require ( 'restafary' ) ;
Original file line number Diff line number Diff line change 22
33const path = require ( 'path' ) ;
44
5+ const { env} = require ( 'process' ) ;
56const dir = './client' ;
6-
7- const { env} = process ;
87const isDev = env . NODE_ENV === 'development' ;
98
109const dist = path . resolve ( __dirname , 'dist' ) ;
You can’t perform that action at this time.
0 commit comments