Comments (3)
I find it a little odd that you have "apps" and "packages", but "functions" as a package is not part of any of them.
I personally use a third category in my monorepo called "services" and then "functions" is inside of that. I think isolate-package might expect each package to live in a folder that is declared as containing packages
What configuration do you use to declare your packages in the workspace?
from isolate-package.
Yes that was the reason, moved it to services and now it works, appreciate it.
What configuration do you use to declare your packages in the workspace?
pnpm-workspace.yaml
from isolate-package.
Running from root with following config is working:
pnpx isolate-package
{
"targetPackagePath": "./functions",
"buildDirName": "lib"
}
Seems like it has to do with the lock file.
from isolate-package.
Related Issues (20)
- Asking for all dependencies when using node-linker=hoisted HOT 6
- Where pnpm is the package manager for the repo, would it makes sense to use 'pnpm pack' instead of 'npm pack'? HOT 6
- Firebase functions reloading not working HOT 3
- Patched dependencies are breaking GCP deployments using pnpm HOT 9
- Getting a ERR_MODULE_NOT_FOUND during firebase deploy HOT 9
- Do not include scripts for internal dependencies
- Add support for Rush monorepos HOT 17
- Add support for passing CLI arguments HOT 6
- pnpm overrides are breaking gcp deployments HOT 7
- Failing to pack with PNPM HOT 4
- There are types at 'isolate-package/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". HOT 7
- Isolate seem to be not copying the `.env` file HOT 2
- Remove excess packages from the list in pnpm lockfile
- Fix package registry logic for non-rush repositories
- Strip forceNpm option for sake of simplicity
- Reintroduce excludeLockfile
- Add support for pnpm v9 HOT 4
- trouble shooting some problems HOT 3
- Consistently use pnpm pack if suitable
- Adopt packageManager field from root manifest
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 isolate-package.