Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #24 from EdamAme-x/fix/includes_test_files
Browse files Browse the repository at this point in the history
fixfix: : includes test files in deno dist
  • Loading branch information
EdamAme-x authored Jan 22, 2024
2 parents a629893 + 2ddf793 commit db7ad6c
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 219 deletions.
12 changes: 12 additions & 0 deletions deno_build.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import * as fs from 'fs'
import glob from 'glob'

console.log('Deleting test file in dist...')

const testFiles = glob.sync('./deno_dist/**/*.test.ts', {})

testFiles.forEach((file) => {
fs.unlinkSync(file)
})

console.log('Done!')
14 changes: 0 additions & 14 deletions deno_dist/base/index.test.ts

This file was deleted.

26 changes: 0 additions & 26 deletions deno_dist/erorr/index.test.ts

This file was deleted.

28 changes: 0 additions & 28 deletions deno_dist/status/index.test.ts

This file was deleted.

58 changes: 0 additions & 58 deletions deno_dist/utils/is.test.ts

This file was deleted.

84 changes: 0 additions & 84 deletions deno_dist/utils/parse.test.ts

This file was deleted.

8 changes: 0 additions & 8 deletions deno_dist/utils/uuid.test.ts

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"lint": "eslint --ext js,ts src",
"lint:fix": "eslint --ext js,ts src --fix",
"build": "rimraf dist && tsx ./build.ts",
"build:deno": "rimraf deno_dist && denoify",
"build:deno": "rimraf deno_dist && denoify && tsx ./deno_build.ts",
"build:all": "pnpm build && pnpm build:deno",
"release": "pnpm build:all && pnpm publish --no-git-checks",
"release:all": "pnpm build:all && pnpm publish --no-git-checks && git add * && git commit -m 'auto: release' && git push",
Expand Down

0 comments on commit db7ad6c

Please sign in to comment.