{"_id":"@athletics/tktk-setup","_rev":"3-07778b5dfb6f76b142e6f43744fdd111","name":"@athletics/tktk-setup","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@athletics/tktk-setup","version":"1.0.0","author":"","license":"ISC","_id":"@athletics/tktk-setup@1.0.0","maintainers":[{"name":"athletics-tech","email":"tech@athleticsnyc.com"},{"name":"rossluebe","email":"rossluebe@gmail.com"},{"name":"atomicfarmer","email":"rlehmann@atomicfarmer.com"},{"name":"brittonwalker","email":"bwalker1801@gmail.com"}],"bin":{"tktk-setup":"bin/index.js"},"dist":{"shasum":"01a14c93a9299f3d987d6cd61a607fc09d7d4671","tarball":"https://registry.npmjs.org/@athletics/tktk-setup/-/tktk-setup-1.0.0.tgz","fileCount":9,"integrity":"sha512-z0sgS8a3J0E5txRn/PAIuyQ1LWJfssrZ2y9KCj70CcjCuwT4FWsbxolenoJm1+bLTh4YeCHN7U6DNvAhGtU1Tw==","signatures":[{"sig":"MEUCIGgeRHx/NbccMX0htH819sufpFkEd2CDS5ml6Kyg7egfAiEA3YVvOzT5dpKpsLauoZLMqZwqoVd9/Jsg9bN2pJIDW/g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11800},"main":"index.js","type":"commonjs","gitHead":"5aa308bf968b79650899ac80f5dee48b33ea5562","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"brittonwalker","email":"bwalker1801@gmail.com"},"_npmVersion":"11.0.0","description":"CLI to set up a WordPress project with the TKTK theme and blocks","directories":{},"_nodeVersion":"20.17.0","dependencies":{"chalk":"^4.1.2","shelljs":"^0.8.5","commander":"^13.1.0","@inquirer/prompts":"^7.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tktk-setup_1.0.0_1741631185022_0.5763407164596157","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@athletics/tktk-setup","version":"1.0.1","author":"","license":"ISC","_id":"@athletics/tktk-setup@1.0.1","maintainers":[{"name":"athletics-tech","email":"tech@athleticsnyc.com"},{"name":"rossluebe","email":"rossluebe@gmail.com"},{"name":"atomicfarmer","email":"rlehmann@atomicfarmer.com"},{"name":"brittonwalker","email":"bwalker1801@gmail.com"}],"bin":{"tktk-setup":"bin/index.js"},"dist":{"shasum":"6df613ec2b820e1dc8cc15e52e124e3353c21fd6","tarball":"https://registry.npmjs.org/@athletics/tktk-setup/-/tktk-setup-1.0.1.tgz","fileCount":9,"integrity":"sha512-N1wTZrEo25QIkqXiIxgXNgA/M2kt+QTdFd6tDJUhKkxtx9oPsKLZjYQfA5sRg4tyDR6YaRpZpE1yr+miqMw/xg==","signatures":[{"sig":"MEUCIEGNm3lSiitqw3p9qa9PNZLcfq+46sDviXa7gTJR75wqAiEAlGgV2ndISB8bYkvnTfv7uzeRMXIcK64CV92zFZDXUgw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11729},"main":"index.js","type":"commonjs","gitHead":"d32622058d2ed6d48ae2e514e57592ff4fb3f5de","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"brittonwalker","email":"bwalker1801@gmail.com"},"_npmVersion":"11.0.0","description":"CLI to set up a WordPress project with the TKTK theme and blocks","directories":{},"_nodeVersion":"20.17.0","dependencies":{"chalk":"^4.1.2","shelljs":"^0.8.5","commander":"^13.1.0","@inquirer/prompts":"^7.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tktk-setup_1.0.1_1741631410057_0.39790101553095725","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@athletics/tktk-setup","version":"1.0.2","publishConfig":{"access":"public"},"description":"CLI to set up a WordPress project with the TKTK theme and blocks","license":"ISC","author":"","type":"commonjs","main":"index.js","bin":{"tktk-setup":"bin/index.js"},"repository":{"type":"git","url":"git+https://github.com/athletics/tktk-setup.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"@inquirer/prompts":"^7.3.2","chalk":"^4.1.2","commander":"^13.1.0","shelljs":"^0.8.5"},"_id":"@athletics/tktk-setup@1.0.2","gitHead":"67fc4fd984177b218d7fb0d2944343610b4192f6","bugs":{"url":"https://github.com/athletics/tktk-setup/issues"},"homepage":"https://github.com/athletics/tktk-setup#readme","_nodeVersion":"20.17.0","_npmVersion":"11.0.0","dist":{"integrity":"sha512-joFuKiyCRsB4at0NAdIkEFIWqGQItpuqv3RUtHTKnXxdQgoT9dNrW8dVd8ky1HYaNXpyRzg9aKYgiKe1IEqwlA==","shasum":"2e37489d2a76c2781c15e9a718f343e0616d7b17","tarball":"https://registry.npmjs.org/@athletics/tktk-setup/-/tktk-setup-1.0.2.tgz","fileCount":9,"unpackedSize":11829,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIA5g7H04LPAJvogC2sboyxz3Mant6ngkUOn8DqeTqUcEAiEAlmexmxzmTPKV43GUn5dc+KwXL6gJIU3AQyCHPjmJ9AE="}]},"_npmUser":{"name":"brittonwalker","email":"bwalker1801@gmail.com"},"directories":{},"maintainers":[{"name":"athletics-tech","email":"tech@athleticsnyc.com"},{"name":"rossluebe","email":"rossluebe@gmail.com"},{"name":"atomicfarmer","email":"rlehmann@atomicfarmer.com"},{"name":"brittonwalker","email":"bwalker1801@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tktk-setup_1.0.2_1741631614362_0.9098820606443607"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-10T18:26:24.952Z","modified":"2025-03-10T18:33:34.786Z","1.0.0":"2025-03-10T18:26:25.209Z","1.0.1":"2025-03-10T18:30:10.237Z","1.0.2":"2025-03-10T18:33:34.528Z"},"license":"ISC","description":"CLI to set up a WordPress project with the TKTK theme and blocks","maintainers":[{"name":"athletics-tech","email":"tech@athleticsnyc.com"},{"name":"rossluebe","email":"rossluebe@gmail.com"},{"name":"atomicfarmer","email":"rlehmann@atomicfarmer.com"},{"name":"brittonwalker","email":"bwalker1801@gmail.com"}],"readme":"# TKTK Setup 🚀\n\n**A CLI tool to quickly set up a WordPress project with the TKTK theme and blocks.**  \nThis tool automates the installation of WordPress, configures Valet, installs the theme and block plugin, and prepares your development environment.\n\n---\n\n## 👥 Installation\n\nEnsure you have the following installed on your system:\n\n- [Node.js](https://nodejs.org/) (LTS version recommended)\n- [Valet](https://laravel.com/docs/valet) (for local development)\n- [WP-CLI](https://wp-cli.org/) (for managing WordPress installations)\n\n---\n\n## 🚀 Usage\n\nTo create a new WordPress project using TKTK:\n\n```sh\nnpx tktk-setup\n```\n\nYou'll be prompted to enter:\n\n- **Project Name** (directory for WordPress installation)\n- **Theme Name** (default: `my-theme`)\n- **Blocks Plugin Name** (default: `my-blocks`)\n\nAfter installation, you'll see setup details, including the **local site URL**, **admin login**, and **next steps**.\n\n---\n\n## 🔧 Commands\n\n### **Create a New Project**\n\n```sh\nnpx tktk-setup\n```\n\n- Installs WordPress\n- Links it to Valet (`valet link`)\n- Installs the TKTK theme and blocks plugin\n- Builds assets for the theme and plugin\n\n---\n\n## 🖥 Development Workflow\n\nOnce your project is installed, navigate to the project folder:\n\n```sh\ncd my-project\n```\n\n### **Start Developing the Theme**\n\n```sh\ncd wp-content/themes/my-theme && npm run dev\n```\n\n### **Start Developing the Blocks Plugin**\n\n```sh\ncd wp-content/plugins/my-blocks && npm run dev\n```\n\nYour changes will update automatically with hot reloading.\n\n---\n\n## ❓ Troubleshooting\n\n### **\"Command not found\" errors**\n\nEnsure `tktk-setup` is installed globally:\n\n```sh\nnpm list -g --depth=0 | grep tktk-setup\n```\n\nIf not installed, reinstall it:\n\n```sh\nnpm install -g tktk-setup\n```\n\n### **Valet Link Issues**\n\nIf your site isn’t loading:\n\n```sh\nvalet restart\nvalet secure my-project\n```\n\n### **WordPress Not Installed?**\n\nRun:\n\n```sh\nwp core install --url=http://my-project.test --title=\"My Project\" --admin_user=admin --admin_password=password --admin_email=admin@example.com\n```\n\n---\n\n## 🔮 Future Enhancements\n\n- tktk\n\n---\n\n## 🏠 Maintainers\n\nDeveloped by **[Britton Walker / Athletics]**.\n\nContributions and suggestions welcome! 🚀\n","readmeFilename":"README.md","homepage":"https://github.com/athletics/tktk-setup#readme","repository":{"type":"git","url":"git+https://github.com/athletics/tktk-setup.git"},"bugs":{"url":"https://github.com/athletics/tktk-setup/issues"}}