{"_id":"@abel_wong/react-tweet","_rev":"6-9835a9e0b16bbb56d1864547bd1ca410","name":"@abel_wong/react-tweet","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"@abel_wong/react-tweet","version":"1.0.0","author":{"name":"Abel-Wong"},"license":"MIT","_id":"@abel_wong/react-tweet@1.0.0","maintainers":[{"name":"abel_wong","email":"wangbo5686@gmail.com"}],"homepage":"https://github.com/abel-wong/react-tweet#readme","bugs":{"url":"https://github.com/vercel-labs/react-tweet/issues"},"dist":{"shasum":"2f4fff0e4db10058fc199c751bb519f64a4c230e","tarball":"https://registry.npmjs.org/@abel_wong/react-tweet/-/react-tweet-1.0.0.tgz","fileCount":124,"integrity":"sha512-2Y/+XaJF9YyCxH0tV3nbS57Qp5LKrm2dOyYVvZ/amMh7x/guiXkPdRC0aqt+2qEqQNIYppKFx3lgOSYUW9U0rw==","signatures":[{"sig":"MEYCIQC045++m43/2WDPtdyeIsW/Yu7gxfpY/NROJIKNHAwY0wIhALNP3cJhgzgZgbELODEJl6zzaIAuqWxFCNdjklP2p2Eg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97478},"type":"module","exports":{".":{"default":"./dist/index.client.js","react-server":"./dist/index.js"},"./api":"./dist/api/index.js","./theme.css":"./dist/twitter-theme/theme.css"},"gitHead":"d72b10149e450b87d47d1ea6a22bd934eb104c1e","scripts":{"dev":"pnpm build:swc -w","lint":"TIMING=1 eslint \"src/**/*.{ts,tsx,js,jsx}\" --fix","build":"pnpm build:swc && pnpm types","clean":"rm -rf dist && rm -rf .turbo","types":"tsc --emitDeclarationOnly","build:swc":"swc src -d dist --copy-files"},"_npmUser":{"name":"abel_wong","email":"wangbo5686@gmail.com"},"repository":{"url":"git+https://github.com/abel-wong/react-tweet.git","type":"git"},"_npmVersion":"10.7.0","description":"@abel-wong/react-tweet allows you to embed tweets in your React application when using Next.js, Create React App, Vite, and more.","directories":{},"sideEffects":["./dist/twitter-theme/tweet-container.js"],"_nodeVersion":"20.15.0","dependencies":{"swr":"^2.2.4","clsx":"^2.0.0","@swc/helpers":"^0.5.3"},"publishConfig":{"access":"public","typesVersions":{"*":{"*":[],"api":["dist/api/index.d.ts"],"index":["dist/index.d.ts"]}}},"typesVersions":{"*":{"*":[],"api":["src/api/index"],"index":["src/index"]}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.56.0","@swc/cli":"^0.1.63","chokidar":"^3.5.3","@swc/core":"^1.3.100","typescript":"^5.3.3","@types/node":"20.10.5","@types/react":"^18.2.45","eslint-config-next":"^14.0.4"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-tweet_1.0.0_1749543408367_0.6644705903990473","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@abel_wong/react-tweet","version":"1.0.1","author":{"name":"Abel-Wong"},"license":"MIT","_id":"@abel_wong/react-tweet@1.0.1","maintainers":[{"name":"abel_wong","email":"wangbo5686@gmail.com"}],"homepage":"https://github.com/abel-wong/react-tweet#readme","bugs":{"url":"https://github.com/vercel-labs/react-tweet/issues"},"dist":{"shasum":"5279905785f6e400842e017e295ede9a7f938f67","tarball":"https://registry.npmjs.org/@abel_wong/react-tweet/-/react-tweet-1.0.1.tgz","fileCount":124,"integrity":"sha512-iEbigtTUTlzcCM/daUsY7wHn3yvDQfVkHqUBeUKPz7OtpIsAZ7uI9t2pOFehqaIruN0bL+osV/7i0ktoPqqzBw==","signatures":[{"sig":"MEUCIEvYg7EMIKTh8m5ydALJSigZEfsO92Uq14r3fJebfOqXAiEAgIgVCfmbHb3LzExp5YHsk2+1oVJ94ktMpSFjv+CEIM4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97490},"type":"module","exports":{".":{"default":"./dist/index.client.js","react-server":"./dist/index.js"},"./api":"./dist/api/index.js","./theme.css":"./dist/twitter-theme/theme.css"},"gitHead":"c78199e38ee439335570d8e9d18be9bcca4e9899","scripts":{"dev":"pnpm build:swc -w","lint":"TIMING=1 eslint \"src/**/*.{ts,tsx,js,jsx}\" --fix","build":"pnpm build:swc && pnpm types","clean":"rm -rf dist && rm -rf .turbo","types":"tsc --emitDeclarationOnly","build:swc":"swc src -d dist --copy-files"},"_npmUser":{"name":"abel_wong","email":"wangbo5686@gmail.com"},"repository":{"url":"git+https://github.com/abel-wong/react-tweet.git","type":"git"},"_npmVersion":"10.7.0","description":"@abel-wong/react-tweet allows you to embed tweets in your React application when using Next.js, Create React App, Vite, and more.","directories":{},"sideEffects":["./dist/twitter-theme/tweet-container.js"],"_nodeVersion":"20.15.0","dependencies":{"swr":"^2.2.4","clsx":"^2.0.0","@swc/helpers":"^0.5.3"},"publishConfig":{"access":"public","typesVersions":{"*":{"*":[],"api":["dist/api/index.d.ts"],"index":["dist/index.d.ts"]}}},"typesVersions":{"*":{"*":[],"api":["dist/api/index.d.ts"],"index":["dist/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.56.0","@swc/cli":"^0.1.63","chokidar":"^3.5.3","@swc/core":"^1.3.100","typescript":"^5.3.3","@types/node":"20.10.5","@types/react":"^18.2.45","eslint-config-next":"^14.0.4"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-tweet_1.0.1_1749547017052_0.47578312433846404","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@abel_wong/react-tweet","version":"1.0.2","author":{"name":"Abel-Wong"},"license":"MIT","_id":"@abel_wong/react-tweet@1.0.2","maintainers":[{"name":"abel_wong","email":"wangbo5686@gmail.com"}],"homepage":"https://github.com/abel-wong/react-tweet#readme","bugs":{"url":"https://github.com/vercel-labs/react-tweet/issues"},"dist":{"shasum":"e077eddc73c4c71b4f9c8cf7672e20c2cc60544d","tarball":"https://registry.npmjs.org/@abel_wong/react-tweet/-/react-tweet-1.0.2.tgz","fileCount":124,"integrity":"sha512-Q1T1C51irQxZ14WZTo32mldOE3/2VDxjsR45bD90T2zaB21AbrXwlEpOHY4OEjFWIddPhCIAAbUAzi0Er3yf4w==","signatures":[{"sig":"MEQCIA7RV++hunTprqxBJ/EnbtDU4/N9XUO0ZTD6/UbdrfReAiApjVXD0gNfWdZ85X+pPHveNIVzJZfStsJzmjc9CFYy5A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97551},"type":"module","exports":{".":{"default":"./dist/index.client.js","react-server":"./dist/index.js"},"./api":"./dist/api/index.js","./theme.css":"./dist/twitter-theme/theme.css"},"gitHead":"c78199e38ee439335570d8e9d18be9bcca4e9899","scripts":{"dev":"pnpm build:swc -w","lint":"TIMING=1 eslint \"src/**/*.{ts,tsx,js,jsx}\" --fix","build":"pnpm build:swc && pnpm types","clean":"rm -rf dist && rm -rf .turbo","types":"tsc --emitDeclarationOnly","build:swc":"swc src -d dist --copy-files"},"_npmUser":{"name":"abel_wong","email":"wangbo5686@gmail.com"},"repository":{"url":"git+https://github.com/abel-wong/react-tweet.git","type":"git"},"_npmVersion":"10.7.0","description":"@abel-wong/react-tweet allows you to embed tweets in your React application when using Next.js, Create React App, Vite, and more.","directories":{},"sideEffects":["./dist/twitter-theme/tweet-container.js"],"_nodeVersion":"20.15.0","dependencies":{"swr":"^2.2.4","clsx":"^2.0.0","@swc/helpers":"^0.5.3"},"publishConfig":{"access":"public","typesVersions":{"*":{"*":[],"api":["dist/api/index.d.ts"],"index":["dist/index.d.ts"]}}},"typesVersions":{"*":{"*":[],"api":["dist/api/index.d.ts"],"index":["dist/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.56.0","@swc/cli":"^0.1.63","chokidar":"^3.5.3","@swc/core":"^1.3.100","typescript":"^5.3.3","@types/node":"20.10.5","@types/react":"^18.2.45","eslint-config-next":"^14.0.4"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-tweet_1.0.2_1749556541028_0.0040541392013355715","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@abel_wong/react-tweet","version":"1.0.3","author":{"name":"Abel-Wong"},"license":"MIT","_id":"@abel_wong/react-tweet@1.0.3","maintainers":[{"name":"abel_wong","email":"wangbo5686@gmail.com"}],"homepage":"https://github.com/abel-wong/react-tweet#readme","bugs":{"url":"https://github.com/vercel-labs/react-tweet/issues"},"dist":{"shasum":"f8868c9f1923591d0e9c574e1a695281953a2033","tarball":"https://registry.npmjs.org/@abel_wong/react-tweet/-/react-tweet-1.0.3.tgz","fileCount":124,"integrity":"sha512-RIklLTgK6KtkGRNdjXUml5wAXSMEWA4Ay+tANbtaub55t2HoYrazB/QSMYkmq3ojm9drq1Xq/Xx6UOMgMsOwsw==","signatures":[{"sig":"MEUCIQDg0U6ASC1iJnak/0hKQhMul9D5z+PuRd3wvRU0bmZ81wIgDohEjNdOE1c8L1U6zg/UWv8L/os5oKm3MHwPOrkeDHc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97695},"type":"module","exports":{".":{"default":"./dist/index.client.js","react-server":"./dist/index.js"},"./api":"./dist/api/index.js","./theme.css":"./dist/twitter-theme/theme.css"},"gitHead":"c78199e38ee439335570d8e9d18be9bcca4e9899","scripts":{"dev":"pnpm build:swc -w","lint":"TIMING=1 eslint \"src/**/*.{ts,tsx,js,jsx}\" --fix","build":"pnpm build:swc && pnpm types","clean":"rm -rf dist && rm -rf .turbo","types":"tsc --emitDeclarationOnly","build:swc":"swc src -d dist --copy-files"},"_npmUser":{"name":"abel_wong","email":"wangbo5686@gmail.com"},"repository":{"url":"git+https://github.com/abel-wong/react-tweet.git","type":"git"},"_npmVersion":"10.7.0","description":"@abel-wong/react-tweet allows you to embed tweets in your React application when using Next.js, Create React App, Vite, and more.","directories":{},"sideEffects":["./dist/twitter-theme/tweet-container.js"],"_nodeVersion":"20.15.0","dependencies":{"swr":"^2.2.4","clsx":"^2.0.0","@swc/helpers":"^0.5.3"},"publishConfig":{"access":"public","typesVersions":{"*":{"*":[],"api":["dist/api/index.d.ts"],"index":["dist/index.d.ts"]}}},"typesVersions":{"*":{"*":[],"api":["dist/api/index.d.ts"],"index":["dist/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.56.0","@swc/cli":"^0.1.63","chokidar":"^3.5.3","@swc/core":"^1.3.100","typescript":"^5.3.3","@types/node":"20.10.5","@types/react":"^18.2.45","eslint-config-next":"^14.0.4"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-tweet_1.0.3_1749621755256_0.6612773030942087","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@abel_wong/react-tweet","version":"1.0.4","author":{"name":"Abel-Wong"},"license":"MIT","_id":"@abel_wong/react-tweet@1.0.4","maintainers":[{"name":"abel_wong","email":"wangbo5686@gmail.com"}],"homepage":"https://github.com/abel-wong/react-tweet#readme","bugs":{"url":"https://github.com/vercel-labs/react-tweet/issues"},"dist":{"shasum":"c72e18ad57961db6cbe2261303243f339c366931","tarball":"https://registry.npmjs.org/@abel_wong/react-tweet/-/react-tweet-1.0.4.tgz","fileCount":124,"integrity":"sha512-dUgh5WMnnc9X2HgcHjnIzasoOBUFZNq9SFYI+HTGoNdikiehSIi6elA2Fq6kuIjXQDbZt3alm8PIMC1j96iUSA==","signatures":[{"sig":"MEYCIQDYyX5ly4izc0jvnP0W+4OW84OqtR+U5cB33CKIv6PHTQIhAOxIcumjnXvbI1UCRlAgYCE143kDbMhsTpNrNGJ9ahI7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97977},"type":"module","exports":{".":{"default":"./dist/index.client.js","react-server":"./dist/index.js"},"./api":"./dist/api/index.js","./theme.css":"./dist/twitter-theme/theme.css"},"gitHead":"3f4d605ad146769593b9584318dc964ecfc640ed","scripts":{"dev":"pnpm build:swc -w","lint":"TIMING=1 eslint \"src/**/*.{ts,tsx,js,jsx}\" --fix","build":"pnpm build:swc && pnpm types","clean":"rm -rf dist && rm -rf .turbo","types":"tsc --emitDeclarationOnly","build:swc":"swc src -d dist --copy-files"},"_npmUser":{"name":"abel_wong","email":"wangbo5686@gmail.com"},"repository":{"url":"git+https://github.com/abel-wong/react-tweet.git","type":"git"},"_npmVersion":"10.7.0","description":"@abel-wong/react-tweet allows you to embed tweets in your React application when using Next.js, Create React App, Vite, and more.","directories":{},"sideEffects":["./dist/twitter-theme/tweet-container.js"],"_nodeVersion":"20.15.0","dependencies":{"swr":"^2.2.4","clsx":"^2.0.0","@swc/helpers":"^0.5.3"},"publishConfig":{"access":"public","typesVersions":{"*":{"*":[],"api":["dist/api/index.d.ts"],"index":["dist/index.d.ts"]}}},"typesVersions":{"*":{"*":[],"api":["dist/api/index.d.ts"],"index":["dist/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.56.0","@swc/cli":"^0.1.63","chokidar":"^3.5.3","@swc/core":"^1.3.100","typescript":"^5.3.3","@types/node":"20.10.5","@types/react":"^18.2.45","eslint-config-next":"^14.0.4"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-tweet_1.0.4_1749623957504_0.5895973459316535","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@abel_wong/react-tweet","version":"1.0.5","repository":{"type":"git","url":"git+https://github.com/abel-wong/react-tweet.git"},"author":{"name":"Abel-Wong"},"scripts":{"build":"pnpm build:swc && pnpm types","build:swc":"swc src -d dist --copy-files","dev":"pnpm build:swc -w","types":"tsc --emitDeclarationOnly","lint":"TIMING=1 eslint \"src/**/*.{ts,tsx,js,jsx}\" --fix","clean":"rm -rf dist && rm -rf .turbo"},"license":"MIT","bugs":{"url":"https://github.com/vercel-labs/react-tweet/issues"},"sideEffects":["./dist/twitter-theme/tweet-container.js"],"type":"module","exports":{".":{"react-server":"./dist/index.js","default":"./dist/index.client.js"},"./api":"./dist/api/index.js","./theme.css":"./dist/twitter-theme/theme.css"},"typesVersions":{"*":{"index":["dist/index.d.ts"],"api":["dist/api/index.d.ts"],"*":[]}},"publishConfig":{"access":"public","typesVersions":{"*":{"index":["dist/index.d.ts"],"api":["dist/api/index.d.ts"],"*":[]}}},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"dependencies":{"@swc/helpers":"^0.5.3","clsx":"^2.0.0","swr":"^2.2.4"},"devDependencies":{"@swc/cli":"^0.1.63","@swc/core":"^1.3.100","@types/node":"20.10.5","@types/react":"^18.2.45","chokidar":"^3.5.3","eslint":"^8.56.0","eslint-config-next":"^14.0.4","typescript":"^5.3.3"},"_id":"@abel_wong/react-tweet@1.0.5","gitHead":"7e86854bd8bb708c8f46a4981ead056ff977a3eb","description":"@abel-wong/react-tweet allows you to embed tweets in your React application when using Next.js, Create React App, Vite, and more.","homepage":"https://github.com/abel-wong/react-tweet#readme","_nodeVersion":"20.15.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-IyH/PfHPwN6z+CFc/CbsP/R+HNpMF/dWDAPVikV/p0grwDFtBSi6xMTONGRxBg1X5rOOgwZ3aLKdimLIyJNixw==","shasum":"fc3830d574e182ced2cb52db2e326a607efbc0ef","tarball":"https://registry.npmjs.org/@abel_wong/react-tweet/-/react-tweet-1.0.5.tgz","fileCount":124,"unpackedSize":98476,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC/nWthfMBJSe4P8Ns+oYFY5clAuta5WPEjZPwYNkbeSAIgPN6uTKpf7ZnHuDUtvogmJ+c/z61g7I3Hh8zQf+Q0Cr8="}]},"_npmUser":{"name":"abel_wong","email":"wangbo5686@gmail.com"},"directories":{},"maintainers":[{"name":"abel_wong","email":"wangbo5686@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-tweet_1.0.5_1749630801546_0.13072908801316108"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-10T08:16:48.300Z","modified":"2025-06-11T08:33:21.932Z","1.0.0":"2025-06-10T08:16:48.524Z","1.0.1":"2025-06-10T09:16:57.244Z","1.0.2":"2025-06-10T11:55:41.210Z","1.0.3":"2025-06-11T06:02:35.452Z","1.0.4":"2025-06-11T06:39:17.681Z","1.0.5":"2025-06-11T08:33:21.751Z"},"bugs":{"url":"https://github.com/vercel-labs/react-tweet/issues"},"author":{"name":"Abel-Wong"},"license":"MIT","homepage":"https://github.com/abel-wong/react-tweet#readme","repository":{"type":"git","url":"git+https://github.com/abel-wong/react-tweet.git"},"description":"@abel-wong/react-tweet allows you to embed tweets in your React application when using Next.js, Create React App, Vite, and more.","maintainers":[{"name":"abel_wong","email":"wangbo5686@gmail.com"}],"readme":"# @abel-wong/react-tweet\n\n@abel-wong/react-tweet allows you to embed tweets in your React application when using Next.js, Create React App, Vite, and more.\n\n## Installation\n\n```bash\nnpm install @abel-wong/react-tweet\n```\n\n## Usage\n\n```jsx\nimport { Tweet } from '@abel-wong/react-tweet'\n\nfunction App() {\n  return <Tweet id=\"1234567890\" />\n}\n```\n\n````\n\n### 4. **确保已登录正确的 npm 账户**\n```bash\n# 检查当前用户\nnpm whoami\n\n# 如果不是 abel-wong，重新登录\nnpm logout\nnpm login\n````\n\n### 5. **重新构建和发布**\n\n```bash\n# 清理并重新构建\npnpm clean\npnpm build\n\n# 发布包\ncd packages/react-tweet\nnpm publish\n```\n\n## 关键点\n\n1. **包名一致性**：确保所有地方都使用 `@abel-wong/react-tweet`\n2. **版本号**：重置为 `1.0.0`\n3. **仓库地址**：更新为你的 GitHub 仓库\n4. **作者信息**：更新为你的信息\n5. **npm 账户**：确保登录的是 `abel-wong` 账户\n\n修改完这些后，应该就能成功发布了。\n","readmeFilename":"readme.md"}