Skip to content

Commit

Permalink
* add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Oct 25, 2023
1 parent e291e34 commit a15ee3f
Show file tree
Hide file tree
Showing 16 changed files with 920 additions and 258 deletions.
12 changes: 12 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
yarn-error.log
yarn.lock
pnpm-lock.yaml

node_modules/
tests/
coverage/
tsconfig.json
**/*.test.ts
**/types.ts
**/errors.ts
.github/
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"arrowParens": "avoid",
"jsxSingleQuote": false,
"quoteProps": "consistent",
"semi": false,
"singleQuote": true,
"trailingComma": "none"
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"prepublishOnly": "pnpm build",
"test": "uvu -r @esbuild-kit/cjs-loader src/test",
"test": "uvu -r @esbuild-kit/cjs-loader tests/",
"lint": "eslint src/",
"typecheck": "tsc --noEmit",
"build": "tsc"
Expand Down Expand Up @@ -49,6 +49,7 @@
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"node-fetch": "^3.3.2",
"prettier": "^3.0.3",
"typescript": "^5.2.2",
"uvu": "^0.5.6"
Expand Down
42 changes: 42 additions & 0 deletions pnpm-lock.yaml

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

Loading

0 comments on commit a15ee3f

Please sign in to comment.