-
For instance I have a workspace that has 5 packages.
{
"tasks": {},
"fmt": {
"useTabs": true,
"semiColons": true,
"indentWidth": 4
},
"importMap": "import_map.json",
"workspace": ["packages/parsing", "packages/cli", "packages/analyzers", "packages/utils", "packages/highlight"]
} I want everything to be published with the exception of The problem is that when I go to publish even though everything works locally I get an error because it cannot resolve I have tried added it in the workspace import map like this: {
"imports": {
"@utils": "./packages/utils/src/index.ts"
}
} and then referencing it like this: import { x } from "@utils"; but then when I go to publish I get this error:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
It also does the same thing when I try and use a relative import such as: import { x } from "../../utils/src/script.ts"; |
Beta Was this translation helpful? Give feedback.
-
@ieedan if the package description starts with |
Beta Was this translation helpful? Give feedback.
-
This would still require me to publish the code correct? And then by description you mean the description you enter on the JSR site or |
Beta Was this translation helpful? Give feedback.
@ieedan if the package description starts with
INTERNAL
, it will not be displayed in the package search. it currently still appears in the scope packages list, but i will fix that in the coming days.