diff --git a/.editorconfig b/.editorconfig index 8fc6cf0..17ad159 100644 --- a/.editorconfig +++ b/.editorconfig @@ -23,7 +23,7 @@ indent_size = 4 trim_trailing_whitespace = true insert_final_newline = true -[{{cjs,esm,dist}/*.js,pnpm-lock.yaml}] +[{{cjs,dist,esm}/*.js,pnpm-lock.yaml}] indent_size = 2 trim_trailing_whitespace = false insert_final_newline = false diff --git a/.gitignore b/.gitignore index 7927f56..8546172 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ cjs -esm dist +esm types docs node_modules diff --git a/.prettierignore b/.prettierignore index 82924d8..e703716 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,7 +4,7 @@ .git .vscode cjs -esm dist +esm types node_modules \ No newline at end of file diff --git a/README.md b/README.md index 27a746a..ef8fde2 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,12 @@ import * as crypchar from "crypchar"; import { add, subtract, xor, not } from "crypchar"; import xor from "crypchar/xor"; ``` +```html + +``` +```html + +``` ## Usage ```js diff --git a/package.json b/package.json index 394eaf9..ff0d0ff 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ }, "files": [ "cjs", + "dist", "esm", "types" ], @@ -58,7 +59,7 @@ "license": "MIT", "devDependencies": { "@types/mocha": "^10.0.1", - "@types/node": "^18.16.0", + "@types/node": "^18.16.3", "esbuild": "^0.17.18", "mocha": "^10.2.0", "prettier": "^2.8.8", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5cb59fb..2277892 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,8 +5,8 @@ devDependencies: specifier: ^10.0.1 version: 10.0.1 '@types/node': - specifier: ^18.16.0 - version: 18.16.0 + specifier: ^18.16.3 + version: 18.16.3 esbuild: specifier: ^0.17.18 version: 0.17.18 @@ -21,7 +21,7 @@ devDependencies: version: 5.0.0 ts-node: specifier: ^10.9.1 - version: 10.9.1(@types/node@18.16.0)(typescript@5.0.4) + version: 10.9.1(@types/node@18.16.3)(typescript@5.0.4) typedoc: specifier: ^0.24.6 version: 0.24.6(typescript@5.0.4) @@ -279,8 +279,8 @@ packages: resolution: {integrity: sha512-/fvYntiO1GeICvqbQ3doGDIP97vWmvFt83GKguJ6prmQM2iXZfFcq6YE8KteFyRtX2/h5Hf91BYvPodJKFYv5Q==} dev: true - /@types/node@18.16.0: - resolution: {integrity: sha512-BsAaKhB+7X+H4GnSjGhJG9Qi8Tw+inU9nJDwmD5CgOmBLEI6ArdhikpLX7DjbjDRDTbqZzU2LSQNZg8WGPiSZQ==} + /@types/node@18.16.3: + resolution: {integrity: sha512-OPs5WnnT1xkCBiuQrZA4+YAV4HEJejmHneyraIaxsbev5yCEr6KMwINNFP9wQeFIw8FWcoTqF3vQsa5CDaI+8Q==} dev: true /acorn-walk@8.2.0: @@ -932,7 +932,7 @@ packages: is-number: 7.0.0 dev: true - /ts-node@10.9.1(@types/node@18.16.0)(typescript@5.0.4): + /ts-node@10.9.1(@types/node@18.16.3)(typescript@5.0.4): resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: @@ -951,7 +951,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.3 - '@types/node': 18.16.0 + '@types/node': 18.16.3 acorn: 8.8.2 acorn-walk: 8.2.0 arg: 4.1.3