这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crates/turborepo-lib/src/boundaries/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ impl Run {
} else {
Syntax::Es(EsSyntax {
jsx: true,
import_attributes: true,
..Default::default()
})
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ expression: query_output
"message": "import `../../packages/another/index.jsx` leaves the package",
"import": "../../packages/another/index.jsx"
},
{
"message": "import `../../packages/utils/data.json` leaves the package",
"import": "../../packages/utils/data.json"
},
{
"message": "import `@/../../packages/another/index.jsx` leaves the package",
"import": "@/../../packages/another/index.jsx"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Test import attributes parsing
import pkg from './package.json' with { type: 'json' };
import data from '../../packages/utils/data.json' with { type: 'json' };

console.log(pkg.name);
console.log(data);
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "test-data",
"value": 42
}
41 changes: 0 additions & 41 deletions turborepo-tests/integration/tests/command-boundaries.t

This file was deleted.

Loading