Skip to content

Commit a1d555d

Browse files
committed
build: update build scripts
1 parent 5705be6 commit a1d555d

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

build/change-version.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010
'use strict'
1111

12+
// eslint-disable-next-line unicorn/prefer-node-protocol
1213
const fs = require('fs').promises
14+
// eslint-disable-next-line unicorn/prefer-node-protocol
1315
const path = require('path')
1416
const globby = require('globby')
1517

@@ -81,4 +83,5 @@ async function main(args) {
8183
}
8284
}
8385

86+
// eslint-disable-next-line unicorn/prefer-top-level-await
8487
main(process.argv.slice(2))

build/pug.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/usr/bin/env node
22
'use strict'
33

4+
// eslint-disable-next-line unicorn/prefer-node-protocol
45
const fs = require('fs').promises
6+
// eslint-disable-next-line unicorn/prefer-node-protocol
57
const path = require('path')
68
const mkdirp = require('mkdirp')
79
const pug = require('pug')
@@ -82,4 +84,5 @@ async function main(args) {
8284
}
8385
}
8486

87+
// eslint-disable-next-line unicorn/prefer-top-level-await
8588
main(args)

build/vendors.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
'use strict'
44

5+
// eslint-disable-next-line unicorn/prefer-node-protocol
56
const fs = require('fs')
7+
// eslint-disable-next-line unicorn/prefer-node-protocol
68
const path = require('path')
79
const extension = path.extname
810
const injector = require('@coreui/vendors-injector')

0 commit comments

Comments
 (0)