Skip to content

Commit

Permalink
various pre publish
Browse files Browse the repository at this point in the history
  • Loading branch information
bn-l committed Apr 3, 2024
1 parent 88af0b1 commit ac597d7
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 80 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ dist/
.tmp/
coverage/coverage-summary.json
docs/.vitepress/cache
docs/.vitepress/dist
out.js
docs/.vitepress/dist
2 changes: 1 addition & 1 deletion coverage/lcov-report/cli.mts.html
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ <h1><a href="index.html">All files</a> cli.mts</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-04-03T17:05:24.514Z
at 2024-04-03T17:08:49.573Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ <h1>All files</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-04-03T17:05:24.514Z
at 2024-04-03T17:08:49.573Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/main.mts.html
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ <h1><a href="index.html">All files</a> main.mts</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-04-03T17:05:24.514Z
at 2024-04-03T17:08:49.573Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
23 changes: 0 additions & 23 deletions esbuild-config.mjs

This file was deleted.

1 change: 0 additions & 1 deletion esbuild-meta.json

This file was deleted.

40 changes: 0 additions & 40 deletions getConfig.mts

This file was deleted.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,11 @@
"test:online": "vitest online --bail=1",
"test:all": "vitest --run --coverage",
"lint": "npx eslint source --ext .mts",
"lint:strict": "npx eslint --config ./eslint-strict.json source --ext .mts",
"build": "tsc --build --incremental",
"coverageBadge": "tsx scripts/coverage-badge.ts",
"build:clean": "rimraf ./dist && tsc --build",
"buildReadme": "tsx scripts/readme-helper.mts",
"bundle": "esbuild app.jsx --bundle --outfile=out.js",
"pub": "npx bumpp",
"tsup": "tsup source/index.mts --minify --dts --treeshake --format esm --out-dir dist/source"
"pub": "npx bumpp"
},
"keywords": [
"cli",
Expand Down
2 changes: 0 additions & 2 deletions source/cli.mts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

import config from "../getConfig.mjs";

import chalk from "chalk";
import meow from "meow";

Expand Down
5 changes: 0 additions & 5 deletions source/index.mts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ import wrapAnsi from "wrap-ansi";
// - Add to docs website under "CLI". Import github readme file in <script setup> tags + add
// small blurb
// - create video demo
// - make sure tests aren't included in build
// - Bundle with esbuild (see: esbuild-config.json)
// and change build:clean to this build proc
// - Show usages with fzf--upload ascii svg recording to docs/cli/ (by way of the README)
// - Remove console.log from cli.mts
// - clean package.json

let spinner: Ora | undefined = undefined;
let quiet = false;
Expand Down

0 comments on commit ac597d7

Please sign in to comment.