From 81308469e3ad40f683eb0a1f65e03c5e505261e9 Mon Sep 17 00:00:00 2001 From: Chris Beer Date: Tue, 28 Jan 2025 10:07:07 -0800 Subject: [PATCH 1/2] Update transformIgnorePatterns with additional packages --- jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 3eea70d..8a5131b 100644 --- a/jest.config.js +++ b/jest.config.js @@ -12,7 +12,7 @@ module.exports = { ], // Ignore Mirador code from jest transforms transformIgnorePatterns: [ - '/node_modules/(?!mirador|@react-dnd|react-dnd|dnd-core|react-dnd-html5-backend|dnd-multi-backend|rdndmb-html5-to-touch)', + '/node_modules/(?!mirador|@react-dnd|react-dnd|dnd-core|react-dnd-html5-backend|dnd-multi-backend|rdndmb-html5-to-touch|react-mosaic-component2|lodash-es)', ], testEnvironment: "jsdom", testPathIgnorePatterns: [ From 3efb3b45fd8f0e34e5b24c6e4f1b06bd07649637 Mon Sep 17 00:00:00 2001 From: Chris Beer Date: Tue, 28 Jan 2025 10:25:12 -0800 Subject: [PATCH 2/2] Add netlify.toml. --- netlify.toml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..b5d0461 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,6 @@ +# This is the configuration file for the netlify preview deploys +# See https://www.netlify.com/docs/netlify-toml-reference/ for more + +[build] + command = "npm run build:demo" + publish = "demo/dist"