Compare commits
No commits in common. "021f2cf20e19174770c4cdd11ff62b4a1dca55f3" and "3ff41e771bc10c90e72ba7bc9e4f8895bfb0a0d1" have entirely different histories.
021f2cf20e
...
3ff41e771b
2 changed files with 0 additions and 17 deletions
|
|
@ -74,21 +74,6 @@ describe("workspace boundaries", () => {
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
test("accounts for local env files in cacheable Vite and Storybook task hashes", () => {
|
|
||||||
const turboConfig = JSON.parse(
|
|
||||||
readFileSync(join(root, "turbo.json"), "utf8"),
|
|
||||||
) as {
|
|
||||||
tasks?: Record<string, { inputs?: string[] }>;
|
|
||||||
};
|
|
||||||
|
|
||||||
for (const taskName of ["build", "build-storybook"]) {
|
|
||||||
expect(turboConfig.tasks?.[taskName]?.inputs).toEqual([
|
|
||||||
"$TURBO_DEFAULT$",
|
|
||||||
".env*",
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
test("keeps the website app and reusable UI library as separate packages", () => {
|
test("keeps the website app and reusable UI library as separate packages", () => {
|
||||||
const webPackage = JSON.parse(
|
const webPackage = JSON.parse(
|
||||||
readFileSync(join(root, "apps/web/package.json"), "utf8"),
|
readFileSync(join(root, "apps/web/package.json"), "utf8"),
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@
|
||||||
"tasks": {
|
"tasks": {
|
||||||
"build": {
|
"build": {
|
||||||
"dependsOn": ["^build"],
|
"dependsOn": ["^build"],
|
||||||
"inputs": ["$TURBO_DEFAULT$", ".env*"],
|
|
||||||
"outputs": ["dist/**", "build/**"],
|
"outputs": ["dist/**", "build/**"],
|
||||||
"env": ["NODE_ENV", "VITE_*"]
|
"env": ["NODE_ENV", "VITE_*"]
|
||||||
},
|
},
|
||||||
|
|
@ -30,7 +29,6 @@
|
||||||
},
|
},
|
||||||
"build-storybook": {
|
"build-storybook": {
|
||||||
"dependsOn": ["^build"],
|
"dependsOn": ["^build"],
|
||||||
"inputs": ["$TURBO_DEFAULT$", ".env*"],
|
|
||||||
"outputs": ["storybook-static/**"],
|
"outputs": ["storybook-static/**"],
|
||||||
"env": ["NODE_ENV", "STORYBOOK_*", "VITE_*"]
|
"env": ["NODE_ENV", "STORYBOOK_*", "VITE_*"]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue