deno.land / x / oauth4webapi@v1.2.2 / .postbump.cjs

.postbump.cjs
View Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
const { execSync } = require('child_process')const { readFileSync, writeFileSync } = require('fs')const { version } = require('./package.json')
writeFileSync( './src/index.ts', readFileSync('./src/index.ts', { encoding: 'utf-8' }).replace( /const VERSION = 'v\d+\.\d+\.\d+'/gm, `const VERSION = 'v${version}'`, ),)execSync('git add src/index.ts', { stdio: 'inherit' })
oauth4webapi

Version Info

Tagged at
2 years ago