@mindfoldhq/trellis 0.4.0-beta.6 → 0.4.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.4.0-beta.7",
|
|
3
|
+
"description": "Fix Pyright import warnings in session-start hooks",
|
|
4
|
+
"breaking": false,
|
|
5
|
+
"recommendMigrate": false,
|
|
6
|
+
"changelog": "**Bug Fixes:**\n- fix(hooks): suppress Pyright/Pylance import warnings in session-start.py — added `type: ignore[import-not-found]` to dynamic imports from `common.*` that are resolved at runtime via sys.path",
|
|
7
|
+
"migrations": [],
|
|
8
|
+
"notes": "Run `trellis update` to sync. No migration required."
|
|
9
|
+
}
|
|
@@ -130,8 +130,8 @@ def _load_trellis_config(trellis_dir: Path) -> tuple:
|
|
|
130
130
|
sys.path.insert(0, str(scripts_dir))
|
|
131
131
|
|
|
132
132
|
try:
|
|
133
|
-
from common.config import get_default_package, get_packages, get_spec_scope, is_monorepo
|
|
134
|
-
from common.paths import get_current_task
|
|
133
|
+
from common.config import get_default_package, get_packages, get_spec_scope, is_monorepo # type: ignore[import-not-found]
|
|
134
|
+
from common.paths import get_current_task # type: ignore[import-not-found]
|
|
135
135
|
|
|
136
136
|
repo_root = trellis_dir.parent
|
|
137
137
|
is_mono = is_monorepo(repo_root)
|
|
@@ -131,8 +131,8 @@ def _load_trellis_config(trellis_dir: Path) -> tuple:
|
|
|
131
131
|
sys.path.insert(0, str(scripts_dir))
|
|
132
132
|
|
|
133
133
|
try:
|
|
134
|
-
from common.config import get_default_package, get_packages, get_spec_scope, is_monorepo
|
|
135
|
-
from common.paths import get_current_task
|
|
134
|
+
from common.config import get_default_package, get_packages, get_spec_scope, is_monorepo # type: ignore[import-not-found]
|
|
135
|
+
from common.paths import get_current_task # type: ignore[import-not-found]
|
|
136
136
|
|
|
137
137
|
repo_root = trellis_dir.parent
|
|
138
138
|
is_mono = is_monorepo(repo_root)
|
package/package.json
CHANGED