https://github.com/mxjp/workspace-portal
Automagically symlink across different npm packages or workspaces during development.
https://github.com/mxjp/workspace-portal
Last synced: 4 days ago
JSON representation
Automagically symlink across different npm packages or workspaces during development.
- Host: GitHub
- URL: https://github.com/mxjp/workspace-portal
- Owner: mxjp
- License: mit
- Created: 2024-03-22T00:25:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-15T15:57:33.000Z (7 months ago)
- Last Synced: 2025-04-13T10:08:04.802Z (10 days ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Workspace Portal
This is a tool for automagically symlinking specific directories across different npm packages or workspaces during development.## How?
When multiple portals run on the same computer at the same time, they will detect each others package information and create symlinks for the specified directories.## Setup
```bash
npm i -D @mxjp/workspace-portal
```To start a portal run:
```bash
npx workspace-portal [...dirs]# Example: When writing build output into "./dist":
npx workspace-portal dist
```You can also add this to a script you usually run during development:
```js
{
"scripts": {
"start": "concurrently \"workspace-portal dist ...\" ..."
}
}
```