Comments (6)
@edwardwilson Interesting. Wouldn't @namespace/package-a
already be available for importing because of node_modules
symlinking? Or is this overwriting that to use the source files?
from moon.
When paired with the package.json pointing to src/index.ts
we can use import {} from '@namespace/package-a '
.
If however we want to achieve the following, we need to have a path mapping into the src
folder ../packageA/src/*
or we require an independent build of the package and to consume it like any other npm package with a structured dist folder.
import {x} from '@namespace/package-a/x';
import {y} from '@namespace/package-a/y';
from moon.
@edwardwilson Yeah makes sense. I'll look into add a setting for this.
from moon.
@edwardwilson I started working on this here: #352
Before I finish, just want to make sure this is what you were looking for.
from moon.
Looks great! Nice work as always
from moon.
@edwardwilson Awesome. Will land in the next release π
Gonna close this for now.
from moon.
Related Issues (20)
- [bug] moon clean fails to clean HOT 1
- [bug] Runnable target isn't distributed HOT 2
- [feature] Generic "Tooling Provider" Integration HOT 2
- [feature] Gitlab merged results and merge train support HOT 4
- [bug] `runDepsInParallel: false` does not seem to work correctly when the dependent task has its own dependencies HOT 5
- [feature] being able to set a "mutex" option for tasks HOT 1
- [bug] Started getting `Too many open files (os error 24)` on `fs:read` after upgrading 1.20.2 -> 1.23.4 on MacOS HOT 7
- [bug] Docker example doesn't work when using bun base image HOT 4
- [bug] Running a basic task hangs indefinitely for large app HOT 2
- [bug] Double bun install HOT 10
- [bug] After update to 1.24, VSCode complains about `moon.yml` matching multiple schemas HOT 2
- [feature] How to create alias for hardcoded words? HOT 1
- [bug] `moon` overwrites files in git's `core.hooksPath` HOT 1
- [feat] Dynamic Bash/Fish tab completion for CLI HOT 1
- [bug] Regression on 1.24.3 on CI environment HOT 5
- [bug] Regression on proto after upgrade to 0.35.0 HOT 8
- [bug] Process /bin/zsh failed with a -1 exit code HOT 7
- [bug] 'moon' is not recognized as an internal or external command, operable program or batch file. HOT 10
- moon_app vs moon-cli HOT 1
- [bug] `moon ci` fails if bun is recently updated HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moon.