Skip to content

Commit

Permalink
feat: update axios and banner
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabb-c committed Jan 31, 2023
1 parent adce38a commit 1471527
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
4 changes: 3 additions & 1 deletion banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import * as PACKAGE from './package.json' assert { type: 'json' };

export const myBanner = `
/**
* Version ${PACKAGE.version} | Licensed under the ${PACKAGE.license} license
* Version ${PACKAGE.version}
* Build with Node ${process.version}
* Licensed under the ${PACKAGE.license} license
* _
* |_) _ | _ _ _ _| _ __ _|_ _
* | (_) |< (/_ | | (_) (_| (/_ |_ _>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"test:ui": "vitest --ui --api 9527"
},
"dependencies": {
"axios": "^1.2.6",
"axios": "^1.3.0",
"axios-cache-interceptor": "^1.0.0",
"pino": "^8.8.0",
"pino-pretty": "^9.1.1"
Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@ export default defineConfig({
format: ['cjs', 'esm'],
minify: isCI,
banner: { js: myBanner },
name: 'Pokenode-ts',
async onSuccess() {
await Promise.resolve(console.log(myBanner));
},
});

0 comments on commit 1471527

Please sign in to comment.