@ae-studio/px
v1.1.0
Published
[](https://www.npmjs.com/package/@ae-studio/px) [](./LICENSE) [ - Compatible with npm, pnpm, yarn, and bun
Install
Before installing px, ensure you have Node.js >= 16 installed on your machine.
npm install -g @ae-studio/pxUsage
To use px, simply replace your package manager command with px followed by the usual arguments you would pass. For example:
px install # Installs dependencies
px dev # Runs the 'dev' script, automatically adding 'run' for npm
px test # Executes the 'test' script
px build # Builds the projectpx will detect the package manager your project is using and execute the command as if you had used the package manager's native CLI.
Automatic TypeScript Declarations
px improves the experience of working in TypeScript projects by making it easier to manage TypeScript declaration packages. When you install or uninstall npm packages in a TypeScript project, px will:
- On install: Automatically search for and install the corresponding TypeScript declaration packages (
@types/*) if they exist. - On uninstall: Check for any installed declaration packages associated with the npm packages being removed and uninstall them as well.
This feature saves time and ensures your TypeScript types stay in sync with your installed packages, all without the need for manual intervention.
License
This tool is open-source and available under the MIT License. See the LICENSE file for details.
Built with 🧡 by AE Studio
