Skip to content

Commit

Permalink
Revision 0.32.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sinclairzx81 committed Dec 2, 2023
1 parent 26d3586 commit 1b10594
Show file tree
Hide file tree
Showing 13 changed files with 701 additions and 121 deletions.
7 changes: 6 additions & 1 deletion hammer.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,12 @@ export async function test(filter = '') {
// -------------------------------------------------------------------------------
// Build
// -------------------------------------------------------------------------------
export async function check_build(target = 'target/build') {
const { version } = JSON.parse(Fs.readFileSync('package.json', 'utf8'))
await shell(`cd ${target} && attw sinclair-typebox-${version}.tgz`)
}
export async function build(target = 'target/build') {
// await test()
await test()
await clean()
await Promise.all([
Build.buildRequire(target),
Expand All @@ -64,6 +68,7 @@ export async function build(target = 'target/build') {
await folder(target).add('readme.md')
await folder(target).add('license')
await shell(`cd ${target} && npm pack`)
await check_build(target)
}
// -------------------------------------------------------------------------------
// Install
Expand Down
2 changes: 1 addition & 1 deletion license
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TypeBox: JSON Schema Type Builder with Static Type Resolution for TypeScript
TypeBox: Json Schema Type Builder with Static Type Resolution for TypeScript

The MIT License (MIT)

Expand Down
Loading

0 comments on commit 1b10594

Please sign in to comment.