fxxx-nothing 1.0.2 → 1.0.3

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.
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c={class:"fuck-h1"},l=e.defineComponent({__name:"index",setup(o){return console.log("hello funck nothing !!!"),(t,n)=>(e.openBlock(),e.createElementBlock("h1",c,"Hello, fuck nothing!"))}}),u=Object.freeze(Object.defineProperty({__proto__:null,fuckHello:l},Symbol.toStringTag,{value:"Module"})),r=o=>{Object.entries(u).forEach(([t,n])=>{o.component(t,n)})},s={install:r};exports.default=s;exports.fuckHello=l;
@@ -1,19 +1,18 @@
1
- import { defineComponent as t, openBlock as l, createElementBlock as c } from "vue";
2
- const r = /* @__PURE__ */ t({
1
+ import { defineComponent as t, openBlock as c, createElementBlock as l } from "vue";
2
+ const s = { class: "fuck-h1" }, r = /* @__PURE__ */ t({
3
3
  __name: "index",
4
4
  setup(e) {
5
- return console.log("hello funck nothing !!!"), (o, n) => (l(), c("h1", null, "Hello, fuck nothing!"));
5
+ return console.log("hello funck nothing !!!"), (o, n) => (c(), l("h1", s, "Hello, fuck nothing!"));
6
6
  }
7
- }), u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7
+ }), _ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8
8
  __proto__: null,
9
9
  fuckHello: r
10
- }, Symbol.toStringTag, { value: "Module" })), i = {
11
- install(e) {
12
- Object.entries(u).forEach(([o, n]) => {
13
- e.component(o, n);
14
- });
15
- }
16
- };
10
+ }, Symbol.toStringTag, { value: "Module" })), u = (e) => {
11
+ Object.entries(_).forEach(([o, n]) => {
12
+ e.component(o, n);
13
+ });
14
+ }, f = { install: u };
17
15
  export {
18
- i as default
16
+ f as default,
17
+ r as fuckHello
19
18
  };
@@ -1 +1 @@
1
- (function(e,n){typeof exports=="object"&&typeof module<"u"?module.exports=n(require("vue")):typeof define=="function"&&define.amd?define(["vue"],n):(e=typeof globalThis<"u"?globalThis:e||self,e["fxxx-nothing"]=n(e.Vue))})(this,(function(e){"use strict";const c=Object.freeze(Object.defineProperty({__proto__:null,fuckHello:e.defineComponent({__name:"index",setup(o){return console.log("hello funck nothing !!!"),(t,i)=>(e.openBlock(),e.createElementBlock("h1",null,"Hello, fuck nothing!"))}})},Symbol.toStringTag,{value:"Module"}));return{install(o){Object.entries(c).forEach(([t,i])=>{o.component(t,i)})}}}));
1
+ (function(e,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e["fxxx-nothing"]={},e.Vue))})(this,(function(e,n){"use strict";const c={class:"fuck-h1"},o=n.defineComponent({__name:"index",setup(t){return console.log("hello funck nothing !!!"),(l,i)=>(n.openBlock(),n.createElementBlock("h1",c,"Hello, fuck nothing!"))}}),u=Object.freeze(Object.defineProperty({__proto__:null,fuckHello:o},Symbol.toStringTag,{value:"Module"})),s={install:t=>{Object.entries(u).forEach(([l,i])=>{t.component(l,i)})}};e.default=s,e.fuckHello=o,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
package/dist/index.d.ts CHANGED
@@ -1,6 +1,12 @@
1
+ import { ComponentOptionsMixin } from 'vue';
2
+ import { ComponentProvideOptions } from 'vue';
3
+ import { DefineComponent } from 'vue';
1
4
  import { Plugin as Plugin_2 } from 'vue';
5
+ import { PublicProps } from 'vue';
2
6
 
3
- declare const FuckNothing: Plugin_2;
4
- export default FuckNothing;
7
+ export declare const fuckHello: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLHeadingElement>;
8
+
9
+ declare const plugin: Plugin_2;
10
+ export default plugin;
5
11
 
6
12
  export { }
@@ -0,0 +1 @@
1
+ .fuck-h1{background-color:red;color:blue}
package/package.json CHANGED
@@ -1,13 +1,24 @@
1
1
  {
2
2
  "name": "fxxx-nothing",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Just writing casually",
5
- "main": "dist/fxxx-nothing.umd.js",
5
+ "main": "dist/fxxx-nothing.cjs.js",
6
6
  "module": "dist/fxxx-nothing.es.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "files": [
9
9
  "dist"
10
10
  ],
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/fxxx-nothing.es.js",
15
+ "require": "./dist/fxxx-nothing.cjs.js"
16
+ },
17
+ "./style.css": "./dist/theme/index.css"
18
+ },
19
+ "sideEffects": [
20
+ "*.css"
21
+ ],
11
22
  "scripts": {
12
23
  "test": "echo \"Error: no test specified\" && exit 1",
13
24
  "build": "vite build"