Comments (2)
Hi Josh - you will need to be careful when naming your local workspace dependencies as frontend
will actually resolve to: https://www.npmjs.com/package/frontend. The reason this occurs is that when the package.json is synthed, it will create a dependency like: frontend:"*"
which will resolve to the actual frontend
npm package given that is currently at a 2.x release. For most cases (where th published npm package is in the 1.x range), if your name conflicts with an npm package it will use your local dependency however in this case given frontend
is in the 2.x range, that is preferred. We could potentially make a change to ensure local dependencies are resolved via workspace:*
, however this is only supported in pnpm
and bun
so would still be problematic for yarn/npm
.
The recommendation is to always scope your workspace packages to prevent conflicts with the public registry.
from aws-pdk.
oh damn, well yeah fair enough
from aws-pdk.
Related Issues (20)
- [BUG] pdk new monorepo-ts fails with missing dependency "mustache" HOT 2
- [BUG] projen generates inconsistent path separator for windows users HOT 4
- [BUG] sharp issue for new pdk project HOT 1
- [DOCS] update docs to reflect BUN support HOT 1
- [BUG] (cannot create new monorepo-py) HOT 1
- [BUG] graph plugin does not respect per-diagram FilterPlan config HOT 3
- test
- [FEATURE] test
- [FEATURE] (short issue description)
- [BUG] Upgrade Deps issues HOT 5
- [BUG] CDK deployment fails due to missing modules HOT 2
- [BUG] aenum based unit tests seem broken HOT 4
- [DOCS] Inconsistent monorepo const name HOT 3
- [BUG] unmet peer projen@^0.76.25: found 0.77.3 HOT 3
- [BUG] [type-safe-api] Error: Path /path contains unsupported methods summary, description, parameters. Supported methods are get, put, post, delete, options, head, patch, trace. HOT 2
- [DOCS] Add Windows/WSL onboarding to Getting Started Page HOT 1
- [BUG] Python pdk command "Cannot find module '../lib/cli.js'" HOT 2
- [BUG] Current stable python version (3.11) requires an explicit installation of 3.11 dependencies in .projenrc
- [FEATURE] (type-safe-api) Ability to configure runtime/language versions in one place
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 aws-pdk.