
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
Generates (or regenerates) structure for a WordPress plugin, using the Tekta framework.
# npm
npm install -g tekta
# yarn
yarn global add tekta
mkdir my-new-plugin
cd my-new-plugin
tekta
The first time you run tekta in a directory, it will walk you through the
plugin scaffolding process, asking you questions, and generating a plugin.
Your answers are written out to a file called tekta.json. Keep this. Check it
into your plugin's Git repo. This stores all the information that Tekta knows
about your plugin.
If you want to change your answers and re-generate the plugin framework, you can
run tekta --ask-answered or you can just edit the tekta.json file and run
tekta again.
Note: most files within the app/ diretory will only be generated if they
do not exist, so if you do something like change the namespace of your plugin,
it will not be updated here. To regenerate those files, you can just delete (or
move aside) the app/ directory and re-run tekta.
If a run of tekta is going to edit files (which it will, if Tekta has been
updated or if you changed anything in tekta.json), it will prompt you for each
change. You can press d to see the diff of changes, and y (or just return)
to accept the change. If you want to blindly apply the changes, you can run
tekta --force.
├── LICENSE * # Your license file.
├── app # Your app directory.
│ ├── Plugin.php # Your main plugin file.
│ ├── functions.php # A place for namespaced helper functions.
│ └── setup.php # For things like plugin activation hooks.
├── index.php * # Your plugin entry file.
├── lib # Library files.
│ ├── Tekta * # Tekta support files.
│ └── Mozart * # Namespaced Mozart (Composer) packages.
├── load.php * # Bootstrap file for your plugin.
└── tekta.json # Tekta configuration.
* = do not edit
Anything marked with a * should never be edited. These files and directories
are auto-generated every time you run tekta.
MIT © Mark Jaquith
FAQs
Generates and udpates WordPress plugins using the Tekta framework
We found that tekta demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.