Skip to content

Commit

Permalink
build: update build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mrholek committed Sep 1, 2022
1 parent 5705be6 commit a1d555d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/change-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

'use strict'

// eslint-disable-next-line unicorn/prefer-node-protocol
const fs = require('fs').promises
// eslint-disable-next-line unicorn/prefer-node-protocol
const path = require('path')
const globby = require('globby')

Expand Down Expand Up @@ -81,4 +83,5 @@ async function main(args) {
}
}

// eslint-disable-next-line unicorn/prefer-top-level-await
main(process.argv.slice(2))
3 changes: 3 additions & 0 deletions build/pug.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env node
'use strict'

// eslint-disable-next-line unicorn/prefer-node-protocol
const fs = require('fs').promises
// eslint-disable-next-line unicorn/prefer-node-protocol
const path = require('path')
const mkdirp = require('mkdirp')
const pug = require('pug')
Expand Down Expand Up @@ -82,4 +84,5 @@ async function main(args) {
}
}

// eslint-disable-next-line unicorn/prefer-top-level-await
main(args)
2 changes: 2 additions & 0 deletions build/vendors.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

'use strict'

// eslint-disable-next-line unicorn/prefer-node-protocol
const fs = require('fs')
// eslint-disable-next-line unicorn/prefer-node-protocol
const path = require('path')
const extension = path.extname
const injector = require('@coreui/vendors-injector')
Expand Down

0 comments on commit a1d555d

Please sign in to comment.