diff --git a/package.json b/package.json index e8d062c..361039c 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,11 @@ "repository": "git@github.com:jaredh159/monorepo-test.git", "author": "Jared Henderson ", "license": "MIT", + "scripts": { + "preinstall": "echo PREINSTALL >> ./packages/hello/build/index.html" + }, "workspaces": [ "packages/*" - ] + ], + "dependencies": {} } diff --git a/packages/hello/build/index.html b/packages/hello/build/index.html index 6091d5f..4f902c0 100644 --- a/packages/hello/build/index.html +++ b/packages/hello/build/index.html @@ -1 +1 @@ -

Hello Monorepo

+

Hello Monorepo!

diff --git a/packages/hello/netlify.toml b/packages/hello/netlify.toml index 3794926..e5b7edb 100644 --- a/packages/hello/netlify.toml +++ b/packages/hello/netlify.toml @@ -1,4 +1,4 @@ [build] - command = "" + command = "cat ./build/index.html" publish = "build" functions = "functions"