@macallumharvey/first-test-wet 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Macallum.d.ts +5 -0
- package/dist/first-test-wet.cjs.development.js +8 -6
- package/dist/first-test-wet.cjs.development.js.map +1 -1
- package/dist/first-test-wet.cjs.production.min.js +1 -1
- package/dist/first-test-wet.cjs.production.min.js.map +1 -1
- package/dist/first-test-wet.esm.js +6 -6
- package/dist/first-test-wet.esm.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/package.json +1 -1
- package/src/Macallum.tsx +9 -0
- package/src/index.tsx +1 -5
@@ -2,12 +2,14 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
|
5
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
6
6
|
|
7
|
-
|
8
|
-
var Thing = function Thing() {
|
9
|
-
return React.createElement("div", null, "the snozzberries taste like snozzberries");
|
10
|
-
};
|
7
|
+
var React = _interopDefault(require('react'));
|
11
8
|
|
12
|
-
|
9
|
+
function Macallum(_ref) {
|
10
|
+
var name = _ref.name;
|
11
|
+
return React.createElement("div", null, "Hello, ", name, "!");
|
12
|
+
}
|
13
|
+
|
14
|
+
exports.Macallum = Macallum;
|
13
15
|
//# sourceMappingURL=first-test-wet.cjs.development.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"first-test-wet.cjs.development.js","sources":["../src/
|
1
|
+
{"version":3,"file":"first-test-wet.cjs.development.js","sources":["../src/Macallum.tsx"],"sourcesContent":["import React from \"react\";\r\n\r\nexport interface MacallumProps{\r\n name: string ;\r\n}\r\n\r\nexport function Macallum({name}: MacallumProps){\r\n return <div>Hello, {name}!</div> \r\n}"],"names":["Macallum","_ref","name","React"],"mappings":";;;;;;;;SAMgBA,QAAQA,CAAAC,IAAA;MAAEC,IAAI,GAAAD,IAAA,CAAJC,IAAI;EAC7B,OAAOC,4CAAaD,IAAI,MAAQ;AACjC;;;;"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");exports.
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=(e=require("react"))&&"object"==typeof e&&"default"in e?e.default:e;exports.Macallum=function(e){return t.createElement("div",null,"Hello, ",e.name,"!")};
|
2
2
|
//# sourceMappingURL=first-test-wet.cjs.production.min.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"first-test-wet.cjs.production.min.js","sources":["../src/
|
1
|
+
{"version":3,"file":"first-test-wet.cjs.production.min.js","sources":["../src/Macallum.tsx"],"sourcesContent":["import React from \"react\";\r\n\r\nexport interface MacallumProps{\r\n name: string ;\r\n}\r\n\r\nexport function Macallum({name}: MacallumProps){\r\n return <div>Hello, {name}!</div> \r\n}"],"names":["_ref","React","name"],"mappings":"0KAMwBA,GACvB,OAAOC,qCADsBD,EAAJE"}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import
|
1
|
+
import React from 'react';
|
2
2
|
|
3
|
-
|
4
|
-
var
|
5
|
-
return createElement("div", null, "
|
6
|
-
}
|
3
|
+
function Macallum(_ref) {
|
4
|
+
var name = _ref.name;
|
5
|
+
return React.createElement("div", null, "Hello, ", name, "!");
|
6
|
+
}
|
7
7
|
|
8
|
-
export {
|
8
|
+
export { Macallum };
|
9
9
|
//# sourceMappingURL=first-test-wet.esm.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"first-test-wet.esm.js","sources":["../src/
|
1
|
+
{"version":3,"file":"first-test-wet.esm.js","sources":["../src/Macallum.tsx"],"sourcesContent":["import React from \"react\";\r\n\r\nexport interface MacallumProps{\r\n name: string ;\r\n}\r\n\r\nexport function Macallum({name}: MacallumProps){\r\n return <div>Hello, {name}!</div> \r\n}"],"names":["Macallum","_ref","name","React"],"mappings":";;SAMgBA,QAAQA,CAAAC,IAAA;MAAEC,IAAI,GAAAD,IAAA,CAAJC,IAAI;EAC7B,OAAOC,4CAAaD,IAAI,MAAQ;AACjC;;;;"}
|
package/dist/index.d.ts
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
export declare const Thing: () => React.JSX.Element;
|
1
|
+
export * from './Macallum';
|
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":"
|
1
|
+
{"version":"1.0.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","files":["dist","src"],"engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"@macallumharvey/first-test-wet","author":"Macallum Harvey","module":"dist/first-test-wet.esm.js","size-limit":[{"path":"dist/first-test-wet.cjs.production.min.js","limit":"10 KB"},{"path":"dist/first-test-wet.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^11.1.4","@types/react":"^18.3.3","@types/react-dom":"^18.3.0","husky":"^9.0.11","react":"^18.3.1","react-dom":"^18.3.1","size-limit":"^11.1.4","tsdx":"^0.14.1","tslib":"^2.6.3","typescript":"^3.9.10"}}
|
package/src/Macallum.tsx
ADDED