Skip to content

Commit

Permalink
Merge pull request #29 from torusresearch/feat/ts-5
Browse files Browse the repository at this point in the history
Move to ts 5
  • Loading branch information
chaitanyapotti authored Aug 8, 2023
2 parents 4f43655 + a4383e7 commit bc9864d
Show file tree
Hide file tree
Showing 11 changed files with 4,627 additions and 3,596 deletions.
4 changes: 0 additions & 4 deletions .babelrc

This file was deleted.

13 changes: 13 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
root: true,
extends: ["@toruslabs/eslint-config-typescript"],
parser: "@typescript-eslint/parser",
ignorePatterns: ["*.config.js", ".eslintrc.js"],
parserOptions: {
sourceType: "module",
ecmaVersion: 2022,
project: "./tsconfig.json",
},
};
11 changes: 0 additions & 11 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
>=16.18.1
>=18.x
3 changes: 2 additions & 1 deletion .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# .prettierrc or .prettierrc.yaml
printWidth: 150
singleQuote: false
semi: true
semi: true
trailingComma: es5
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ This repo allows you to log + track logs using sentry

### Bundling

This module is distributed in 4 formats
This module is distributed in 3 formats

- `esm` build `dist/loglevelSentry.esm.js` in es6 format
- `commonjs` build `dist/loglevelSentry.cjs.js` in es5 format
- `umd` build `dist/loglevelSentry.umd.min.js` in es5 format without polyfilling corejs minified
- `node` build `dist/loglevelSentry-node.js` in es5 format

By default, the appropriate format is used for your specified usecase
You can use a different format (if you know what you're doing) by referencing the correct file
Expand Down Expand Up @@ -110,4 +109,4 @@ sentry.trace("this", "message", "will always be reported.");
## Requirements

- This package requires a peer dependency of `@babel/runtime`
- Node 14+
- Node 18+
Loading

0 comments on commit bc9864d

Please sign in to comment.