{"_rev":"2-b9233ca8809d25622a8dd0fc36bf565b","time":{"created":"2024-07-12T15:20:07.466Z","modified":"2024-07-12T15:20:08.004Z","0.1.0":"2024-07-12T14:33:23.970Z","0.1.1":"2024-07-12T15:20:07.746Z"},"_id":"@aether*/auto_export","name":"@aether*/auto_export","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@aether*/auto_export","version":"0.1.1","module":"esnext","description":"自动导出,auto_export","type":"module","keywords":["auto_export","自动导出"],"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"scripts":{"dev":"vite","build":"vue-tsc -b && vite build","preview":"vite preview","export":"node  index.js"},"dependencies":{"unplugin-auto-import":"^0.17.6","vue":"^3.4.29"},"devDependencies":{"@types/node":"^20.14.10","@vitejs/plugin-vue":"^5.0.5","ts-node":"^10.9.2","typescript":"^5.5.3","vite":"^5.3.3","vue-tsc":"^2.0.21"},"ts-node":{"esm":true,"experimentalSpecifierResolution":"node"},"_id":"@aether*/auto_export@0.1.1","gitHead":"e5747f92696e179ff9e6a48a86fd8eb31efb5a04","_nodeVersion":"20.15.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-4iHPnnBN4CylvxMTvIgHmSK7gZOLAvZBv6V2e4ovYYSLrUnX53GyPDyld+8ek1KvpIouYLoYyxlT7J1BvsgKJA==","shasum":"5f4869049dbb5493a1c1c7f03962b98b3fd67948","tarball":"https://registry.npmjs.org/@aether*/auto_export/-/auto_export-0.1.1.tgz","fileCount":4,"unpackedSize":5571,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeVXycevu6b0YEgjYoMnM3hac3/H0RlvE6y6QERG8R3AIgM3EytZeTkY4NZkV5MWUyparpVPF+96nb/VUUYbULyts="}]},"_npmUser":{"name":"aether*","email":"amazyko@foxmail.com"},"directories":{},"maintainers":[{"name":"aether*","email":"amazyko@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/auto_export_0.1.1_1720797607574_0.684515153949419"},"_hasShrinkwrap":false}},"maintainers":[{"name":"aether*","email":"amazyko@foxmail.com"}],"description":"自动导出,auto_export","keywords":["auto_export","自动导出"],"readme":"\n\n### auto_export\n\nzh-en:\n这个一个自动导出组件的库\n写组件库的时候不在手动导出!\n这需要你的目录结构每个组件都在一个目录下面\n因为导出是会新建一个index.js，每个目录都有\n\nen:\nThis is a library that automatically exports components\n\nDo not export manually when writing component libraries!\n\nThis requires your directory structure to have each component under one directory\n\nBecause the export will create a new index.js, each directory has\n\n结构如下：\n\n```txt\nmy-vue-project/\n├── src/\n│   ├── components/\n│   │   ├── MyComponent\n|   |   |------MyComponent.vue\n│   │   ├── AnotherComponent\n|   |   |-------AnotherComponetn.vue\n│   │   └── index.js (自动生成的文件)\n│   ├── App.vue\n│   ├── main.js\n│   └── export.config.json\n├── .gitignore\n├── package.json\n├── tsconfig.json\n└── vite.config.ts\n\n```\n\n\n\nexport.config.json文件用于配置，不配置，默认src/componetns\n\n```js\n{\n    \"path\": \"./src/components\", \n    \"output\": \"./src/components/index.js\",\n    //输出路径\n    \"regexp\":\"/.*/\",\n    //匹配文件，默认vue/jsx\n    \"prefix\":\"h\"\n    //组件前缀\n}\n```\n\n","readmeFilename":"README.md"}