Skip to content

Commit

Permalink
updating babel & prettier config
Browse files Browse the repository at this point in the history
  • Loading branch information
melloc01 committed Nov 3, 2021
1 parent f7a0a3f commit d3f6e1e
Show file tree
Hide file tree
Showing 4 changed files with 801 additions and 721 deletions.
6 changes: 5 additions & 1 deletion __tests__/__snapshots__/features.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,17 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError(\\"Cannot initialize the same private elements twice on an object\\"); } }
var _b = /*#__PURE__*/new WeakSet();
var B = /*#__PURE__*/function () {
function B() {
_classCallCheck(this, B);
_b.add(this);
_classPrivateMethodInitSpec(this, _b);
}
_createClass(B, [{
Expand Down
2 changes: 1 addition & 1 deletion __tests__/__snapshots__/react-display-name.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \\"object\\" || typeof call === \\"function\\")) { return call; } return _assertThisInitialized(self); }
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \\"object\\" || typeof call === \\"function\\")) { return call; } else if (call !== void 0) { throw new TypeError(\\"Derived constructors may only return object or undefined\\"); } return _assertThisInitialized(self); }
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\\"this hasn't been initialised - super() hasn't been called\\"); } return self; }
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
"build": "cp ./babel.config.js ./lib && babel src --out-dir lib",
"prepublishOnly": "yarn run build",
"test": "jest",
"release": "npx np"
"release": "npx np@7.5.0"
},
"dependencies": {
"@babel/cli": "7.14.3",
"@babel/core": "7.14.3",
"@babel/plugin-transform-modules-commonjs": "7.14.0",
"@babel/preset-env": "7.14.4",
"@babel/preset-flow": "7.13.13",
"@babel/preset-react": "7.13.13",
"@babel/preset-typescript": "7.13.0",
"@babel/cli": "7.16.0",
"@babel/core": "7.16.0",
"@babel/plugin-transform-modules-commonjs": "7.16.0",
"@babel/preset-env": "7.16.0",
"@babel/preset-flow": "7.16.0",
"@babel/preset-react": "7.16.0",
"@babel/preset-typescript": "7.16.0",
"babel-plugin-add-react-displayname": "^0.0.5",
"babel-plugin-const-enum": "1.0.1",
"babel-plugin-styled-components": "1.12.0",
"babel-plugin-const-enum": "1.1.0",
"babel-plugin-styled-components": "1.13.3",
"babel-preset-const-enum": "1.0.0"
},
"peerDependencies": {
Expand All @@ -44,10 +44,10 @@
"babel-preset-const-enum": "1.0.0"
},
"devDependencies": {
"@babel/generator": "7.14.3",
"@babel/generator": "7.16.0",
"@babel/polyfill": "7.12.1",
"@intelie/eslint-config": "3.1.1",
"@intelie/prettier-config": "2.0.1",
"@intelie/prettier-config": "2.1.0",
"@testing-library/react": "10.4.9",
"@typescript-eslint/eslint-plugin": "3.9.1",
"@typescript-eslint/parser": "3.9.1",
Expand Down
Loading

0 comments on commit d3f6e1e

Please sign in to comment.