Skip to content

Commit

Permalink
chore(build): add the requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ciegovolador committed Nov 12, 2024
1 parent 2d2cdd0 commit c91e61f
Show file tree
Hide file tree
Showing 28 changed files with 250 additions and 4,975 deletions.
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npx --no -- commitlint --edit $1
bunx --no -- commitlint --edit $1
1 change: 1 addition & 0 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const entryPoints = fs
// file !== 'test-helpers.ts' &&
// file !== 'helpers.ts' &&
// file !== 'benchmarks.ts' &&
!file.endsWith('.config.ts') &&
!file.endsWith('.test.ts') &&
fs.statSync(join(process.cwd(), file)).isFile(),
)
Expand Down
Binary file modified bun.lockb
Binary file not shown.
1 change: 0 additions & 1 deletion commitlint.config.js

This file was deleted.

6 changes: 6 additions & 0 deletions commitlint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import type { UserConfig } from '@commitlint/types'
// import { RuleConfigSeverity } from '@commitlint/types'

export default <UserConfig>{
extends: ['@commitlint/config-conventional'],
}
38 changes: 19 additions & 19 deletions lib/cjs/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name2 in all)
__defProp(target, name2, { get: all[name2], enumerable: true });
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
Expand Down Expand Up @@ -39,52 +39,52 @@ __export(client_exports, {
takesell: () => takesell
});
module.exports = __toCommonJS(client_exports);
function hello(name2) {
return `Hello ${name2}! I am a cli :)`;
function hello(name) {
return `Hello ${name}! I am a cli :)`;
}
function dispute() {
function dispute(name) {
return `Hello ${name}! I am the core :)`;
}
function neworder() {
function neworder(name) {
return `Hello ${name}! I am the core :)`;
}
function takesell() {
function takesell(name) {
return `Hello ${name}! I am the core :)`;
}
function takebuy() {
function takebuy(name) {
return `Hello ${name}! I am the core :)`;
}
function addinvoice() {
function addinvoice(name) {
return `Hello ${name}! I am the core :)`;
}
function getdm() {
function getdm(name) {
return `Hello ${name}! I am the core :)`;
}
function fiatsent() {
function fiatsent(name) {
return `Hello ${name}! I am the core :)`;
}
function release() {
function release(name) {
return `Hello ${name}! I am the core :)`;
}
function cancel() {
function cancel(name) {
return `Hello ${name}! I am the core :)`;
}
function rate() {
function rate(name) {
return `Hello ${name}! I am the core :)`;
}
function admcancel() {
function admcancel(name) {
return `Hello ${name}! I am the core :)`;
}
function admsettle() {
function admsettle(name) {
return `Hello ${name}! I am the core :)`;
}
function admlistdisputes() {
function admlistdisputes(name) {
return `Hello ${name}! I am the core :)`;
}
function admaddsolver() {
function admaddsolver(name) {
return `Hello ${name}! I am the core :)`;
}
function admtakedispute() {
function admtakedispute(name) {
return `Hello ${name}! I am the core :)`;
}
function help(command) {
Expand Down
6 changes: 3 additions & 3 deletions lib/cjs/client.js.map

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

20 changes: 10 additions & 10 deletions lib/cjs/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name2 in all)
__defProp(target, name2, { get: all[name2], enumerable: true });
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
Expand All @@ -30,25 +30,25 @@ __export(core_exports, {
user: () => user
});
module.exports = __toCommonJS(core_exports);
function hello(name2) {
return `Hello ${name2}! I am the core :)`;
function hello(name) {
return `Hello ${name}! I am the core :)`;
}
function dispute() {
function dispute(name) {
return `Hello ${name}! I am the core :)`;
}
function lib() {
function lib(name) {
return `Hello ${name}! I am the core :)`;
}
function message() {
function message(name) {
return `Hello ${name}! I am the core :)`;
}
function order() {
function order(name) {
return `Hello ${name}! I am the core :)`;
}
function rating() {
function rating(name) {
return `Hello ${name}! I am the core :)`;
}
function user() {
function user(name) {
return `Hello ${name}! I am the core :)`;
}
function help(command) {
Expand Down
6 changes: 3 additions & 3 deletions lib/cjs/core.js.map

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

Loading

0 comments on commit c91e61f

Please sign in to comment.