From 52dcf29102e6636042efe574971891bf9d86a01a Mon Sep 17 00:00:00 2001 From: castromaciel Date: Thu, 9 Feb 2023 14:51:00 -0300 Subject: [PATCH] fix: change library name --- README.md | 4 ++-- dist/index.js | 4 ++-- dist/ui-rollingcode.cjs.development.js | 23 ------------------- dist/ui-rollingcode.cjs.development.js.map | 1 - dist/ui-rollingcode.cjs.production.min.js | 2 -- dist/ui-rollingcode.cjs.production.min.js.map | 1 - dist/ui-rollingcode.esm.js | 17 -------------- dist/ui-rollingcode.esm.js.map | 1 - package.json | 8 +++---- 9 files changed, 8 insertions(+), 53 deletions(-) delete mode 100644 dist/ui-rollingcode.cjs.development.js delete mode 100644 dist/ui-rollingcode.cjs.development.js.map delete mode 100644 dist/ui-rollingcode.cjs.production.min.js delete mode 100644 dist/ui-rollingcode.cjs.production.min.js.map delete mode 100644 dist/ui-rollingcode.esm.js delete mode 100644 dist/ui-rollingcode.esm.js.map diff --git a/README.md b/README.md index 7ab66f3..99348f1 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# ui-rollingcode +# ui-rc-components ## Usage ```ts -import { ExampleComponent } from 'ui-rollingcode'; +import { ExampleComponent } from 'ui-ui-rc-components'; ``` ```tsx diff --git a/dist/index.js b/dist/index.js index 6b5bf12..eaacda4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2,7 +2,7 @@ 'use strict' if (process.env.NODE_ENV === 'production') { - module.exports = require('./ui-rollingcode.cjs.production.min.js') + module.exports = require('./ui-rc-components.cjs.production.min.js') } else { - module.exports = require('./ui-rollingcode.cjs.development.js') + module.exports = require('./ui-rc-components.cjs.development.js') } diff --git a/dist/ui-rollingcode.cjs.development.js b/dist/ui-rollingcode.cjs.development.js deleted file mode 100644 index 4267104..0000000 --- a/dist/ui-rollingcode.cjs.development.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } - -var React = _interopDefault(require('react')); - -var ExampleComponent = function ExampleComponent(_ref) { - var _ref$className = _ref.className, - className = _ref$className === void 0 ? '' : _ref$className, - style = _ref.style, - label = _ref.label, - id = _ref.id; - return React.createElement("div", { - id: id, - className: "" + className, - style: style - }, label); -}; - -exports.ExampleComponent = ExampleComponent; -//# sourceMappingURL=ui-rollingcode.cjs.development.js.map diff --git a/dist/ui-rollingcode.cjs.development.js.map b/dist/ui-rollingcode.cjs.development.js.map deleted file mode 100644 index facd46c..0000000 --- a/dist/ui-rollingcode.cjs.development.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ui-rollingcode.cjs.development.js","sources":["../src/components/ExampleComponent.tsx"],"sourcesContent":["import React, { FC } from 'react'\n\nexport interface ExampleComponentProps {\n label: string\n id?: string\n className?: string\n style?: React.CSSProperties\n}\n\nexport const ExampleComponent: FC = ({\n className = '', style, label, id\n}) => (\n \n {label}\n \n)\n"],"names":["ExampleComponent","className","style","label","id","React"],"mappings":";;;;;;;;IASaA,gBAAgB,GAA8B,SAA9CA,gBAAgB;EAAA,0BAC3BC,SAAS;IAATA,SAAS,+BAAG,EAAE;IAAEC,KAAK,QAALA,KAAK;IAAEC,KAAK,QAALA,KAAK;IAAEC,EAAE,QAAFA,EAAE;EAAA,OAEhCC;IACED,EAAE,EAAEA,EAAE;IACNH,SAAS,OAAKA,SAAW;IACzBC,KAAK,EAAEA;KAENC,KAAK,CACF;AAAA;;;;"} \ No newline at end of file diff --git a/dist/ui-rollingcode.cjs.production.min.js b/dist/ui-rollingcode.cjs.production.min.js deleted file mode 100644 index 6e74de8..0000000 --- a/dist/ui-rollingcode.cjs.production.min.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=(e=require("react"))&&"object"==typeof e&&"default"in e?e.default:e;exports.ExampleComponent=function(e){var a=e.className;return t.createElement("div",{id:e.id,className:""+(void 0===a?"":a),style:e.style},e.label)}; -//# sourceMappingURL=ui-rollingcode.cjs.production.min.js.map diff --git a/dist/ui-rollingcode.cjs.production.min.js.map b/dist/ui-rollingcode.cjs.production.min.js.map deleted file mode 100644 index c1d234f..0000000 --- a/dist/ui-rollingcode.cjs.production.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ui-rollingcode.cjs.production.min.js","sources":["../src/components/ExampleComponent.tsx"],"sourcesContent":["import React, { FC } from 'react'\n\nexport interface ExampleComponentProps {\n label: string\n id?: string\n className?: string\n style?: React.CSSProperties\n}\n\nexport const ExampleComponent: FC = ({\n className = '', style, label, id\n}) => (\n \n {label}\n \n)\n"],"names":["className","React","id","style","label"],"mappings":"yKAS2D,YAA9B,QAC3BA,UAAgC,OAEhCC,uBACEC,KAH4BA,GAI5BF,yBAJU,MAKVG,QALcA,SAAOC"} \ No newline at end of file diff --git a/dist/ui-rollingcode.esm.js b/dist/ui-rollingcode.esm.js deleted file mode 100644 index ee39aeb..0000000 --- a/dist/ui-rollingcode.esm.js +++ /dev/null @@ -1,17 +0,0 @@ -import React from 'react'; - -var ExampleComponent = function ExampleComponent(_ref) { - var _ref$className = _ref.className, - className = _ref$className === void 0 ? '' : _ref$className, - style = _ref.style, - label = _ref.label, - id = _ref.id; - return React.createElement("div", { - id: id, - className: "" + className, - style: style - }, label); -}; - -export { ExampleComponent }; -//# sourceMappingURL=ui-rollingcode.esm.js.map diff --git a/dist/ui-rollingcode.esm.js.map b/dist/ui-rollingcode.esm.js.map deleted file mode 100644 index 1c62bf2..0000000 --- a/dist/ui-rollingcode.esm.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ui-rollingcode.esm.js","sources":["../src/components/ExampleComponent.tsx"],"sourcesContent":["import React, { FC } from 'react'\n\nexport interface ExampleComponentProps {\n label: string\n id?: string\n className?: string\n style?: React.CSSProperties\n}\n\nexport const ExampleComponent: FC = ({\n className = '', style, label, id\n}) => (\n \n {label}\n \n)\n"],"names":["ExampleComponent","className","style","label","id","React"],"mappings":";;IASaA,gBAAgB,GAA8B,SAA9CA,gBAAgB;EAAA,0BAC3BC,SAAS;IAATA,SAAS,+BAAG,EAAE;IAAEC,KAAK,QAALA,KAAK;IAAEC,KAAK,QAALA,KAAK;IAAEC,EAAE,QAAFA,EAAE;EAAA,OAEhCC;IACED,EAAE,EAAEA,EAAE;IACNH,SAAS,OAAKA,SAAW;IACzBC,KAAK,EAAEA;KAENC,KAAK,CACF;AAAA;;;;"} \ No newline at end of file diff --git a/package.json b/package.json index c57ea8f..ac180f2 100644 --- a/package.json +++ b/package.json @@ -43,16 +43,16 @@ "singleQuote": true, "trailingComma": "es5" }, - "name": "ui-rollingcode", + "name": "ui-rc-components", "author": "castromaciellr", - "module": "dist/ui-rollingcode.esm.js", + "module": "dist/ui-rc-components.esm.js", "size-limit": [ { - "path": "dist/ui-rollingcode.cjs.production.min.js", + "path": "dist/ui-rc-components.cjs.production.min.js", "limit": "10 KB" }, { - "path": "dist/ui-rollingcode.esm.js", + "path": "dist/ui-rc-components.esm.js", "limit": "10 KB" } ],