t2cd 0.0.5 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,4 +2,6 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.0](https://github.com/cdcabrera/t1/compare/v0.0.5...v0.1.0) (2022-04-20)
6
+
5
7
  ## [0.0.5](https://github.com/cdcabrera/t1/compare/v0.0.2...v0.0.5) (2019-03-02)
package/README.md CHANGED
@@ -1,3 +1,3 @@
1
1
  # t2cd
2
2
 
3
- Build testing...
3
+ Build testing One and Two components...
@@ -0,0 +1,26 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+
7
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
+
9
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
10
+
11
+ const One = () => {
12
+ return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("h1", null, "One lorem ipsum dolor sit"));
13
+ };
14
+
15
+ const Two = () => {
16
+ return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("h2", null, "Two lorem ipsum dolor sit"));
17
+ };
18
+
19
+ const components = {
20
+ One,
21
+ Two
22
+ };
23
+
24
+ exports.One = One;
25
+ exports.Two = Two;
26
+ exports["default"] = components;
package/package.json CHANGED
@@ -1,8 +1,18 @@
1
1
  {
2
2
  "name": "t2cd",
3
- "version": "0.0.5",
3
+ "version": "0.1.0",
4
4
  "description": "testing",
5
+ "main": "dist/index.cjs.js",
6
+ "module": "dist/index.esm.js",
7
+ "source": "src/index.js",
8
+ "files": [
9
+ "css",
10
+ "es",
11
+ "lib",
12
+ "umd"
13
+ ],
5
14
  "author": "CD Cabrera <cabrera.code@gmail.com>",
15
+ "homepage": "",
6
16
  "license": "MIT",
7
17
  "repository": {
8
18
  "type": "git",
@@ -11,46 +21,39 @@
11
21
  "bugs": {
12
22
  "url": "https://github.com/cdcabrera/t1/issues"
13
23
  },
14
- "engines": {
15
- "node": ">=10.14.0"
16
- },
17
- "standard-version": {},
18
- "nyc": {
19
- "include": [
20
- "src/**/*.js"
21
- ],
22
- "check-coverage": true,
23
- "lines": 50,
24
- "statements": 50,
25
- "functions": 50,
26
- "branches": 50
27
- },
28
- "bin": {
29
- "t2go": "./bin/t2.js"
30
- },
24
+ "keywords": [
25
+ "react-component"
26
+ ],
31
27
  "scripts": {
32
- "start": "./bin/t2.js --hello=\"weeeee\" --lorem",
33
- "release": "> ./CHANGELOG.md && standard-version",
34
- "test": "nyc mocha --recursive \"./src/**/*.js\"",
35
- "coverage": "nyc report --reporter=text-lcov > coverage.lcov"
28
+ "build": "rollup -c",
29
+ "build-watch": "rollup -c -w",
30
+ "dev": "run-p build-watch",
31
+ "release": "standard-version"
36
32
  },
37
33
  "dependencies": {
38
- "yargs": "^13.2.1"
34
+ "@patternfly/react-core": "4.202.16",
35
+ "prop-types": "^15.8.1"
36
+ },
37
+ "peerDependencies": {
38
+ "react": "^17.0.2",
39
+ "react-dom": "^17.0.2"
39
40
  },
40
41
  "devDependencies": {
41
- "babel-eslint": "^10.0.1",
42
- "eslint": "^5.15.0",
43
- "eslint-config-esnext": "^4.0.0",
44
- "eslint-config-node": "^4.0.0",
45
- "eslint-plugin-mocha": "^5.3.0",
46
- "eslint-config-prettier": "^4.1.0",
47
- "eslint-plugin-babel": "^5.3.0",
48
- "eslint-plugin-import": "^2.16.0",
49
- "eslint-plugin-node": "^8.0.1",
50
- "eslint-plugin-prettier": "^3.0.1",
51
- "mocha": "^6.0.2",
52
- "nyc": "^13.3.0",
53
- "prettier": "^1.16.4",
54
- "standard-version": "^5.0.1"
42
+ "@babel/cli": "^7.17.6",
43
+ "@babel/core": "^7.17.9",
44
+ "@babel/preset-env": "^7.16.11",
45
+ "@babel/preset-react": "^7.16.7",
46
+ "@babel/plugin-syntax-jsx": "^7.16.7",
47
+ "@babel/plugin-syntax-class-properties": "^7.12.13",
48
+ "@rollup/plugin-babel": "^5.3.1",
49
+ "@rollup/plugin-node-resolve": "^13.2.1",
50
+ "@rollup/plugin-replace": "^4.0.0",
51
+ "babel-jest": "^27.5.1",
52
+ "babel-preset-react-app": "^10.0.1",
53
+ "npm-run-all": "^4.1.5",
54
+ "rollup": "^2.70.2",
55
+ "rollup-plugin-delete": "^2.0.0",
56
+ "rollup-plugin-peer-deps-external": "^2.2.4",
57
+ "standard-version": "^9.3.2"
55
58
  }
56
59
  }
package/bin/t2.js DELETED
@@ -1,20 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- const { hello, lorem } = require('yargs').argv;
4
- const { helloWorld, loremIpsum } = require('../src/t1');
5
-
6
- const doIt = () => {
7
- const output = [];
8
-
9
- if (lorem) {
10
- output.push(loremIpsum('do it'));
11
- }
12
-
13
- if (hello) {
14
- output.push(helloWorld(hello));
15
- }
16
-
17
- console.log(`t1: ${output.join(', ')}`);
18
- };
19
-
20
- doIt();
package/src/t1.js DELETED
@@ -1,5 +0,0 @@
1
- const helloWorld = value => `Hello world! How are ${value}`;
2
-
3
- const loremIpsum = value => `Lorem ipsum! How are ${value}`;
4
-
5
- module.exports = { helloWorld, loremIpsum };