From 516a7b0d6591ffee1a451e4a890ffefcecfdc753 Mon Sep 17 00:00:00 2001 From: Jared Henderson Date: Tue, 21 Apr 2020 14:49:49 -0400 Subject: [PATCH] test preinstall --- package.json | 6 +++++- packages/hello/build/index.html | 2 +- packages/hello/netlify.toml | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) 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"