From 10b8df78105527de240d7060b948374e2aedbbd9 Mon Sep 17 00:00:00 2001 From: Salmen Hichri Date: Sat, 11 May 2024 15:32:11 +0100 Subject: [PATCH] Updated rollup config --- packages/css/themes/package.tpl.json | 4 ++-- packages/extra/highlighter/package.tpl.json | 4 ++-- packages/extra/markdown/package.tpl.json | 4 ++-- packages/js/core/package.tpl.json | 4 ++-- packages/js/hf/package.tpl.json | 4 ++-- packages/js/langchain/package.tpl.json | 4 ++-- packages/js/nlbridge/package.tpl.json | 4 ++-- packages/js/openai/package.tpl.json | 4 ++-- packages/react/core/package.tpl.json | 4 ++-- packages/react/hf/package.tpl.json | 4 ++-- packages/react/langchain/package.tpl.json | 4 ++-- packages/react/nlbridge/package.tpl.json | 4 ++-- packages/react/openai/package.tpl.json | 4 ++-- samples/emulator/package.json | 2 +- 14 files changed, 27 insertions(+), 27 deletions(-) diff --git a/packages/css/themes/package.tpl.json b/packages/css/themes/package.tpl.json index c6f52c32..382078bb 100644 --- a/packages/css/themes/package.tpl.json +++ b/packages/css/themes/package.tpl.json @@ -3,8 +3,8 @@ "version": "0.0.0-latest", "license": "SEE LICENSE IN ROOT LICENSE FILE", "scripts": { - "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule", - "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule --watch" + "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}'", + "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --watch" }, "dependencies": {}, "peerDependencies": {}, diff --git a/packages/extra/highlighter/package.tpl.json b/packages/extra/highlighter/package.tpl.json index db4ab613..b5ef5392 100644 --- a/packages/extra/highlighter/package.tpl.json +++ b/packages/extra/highlighter/package.tpl.json @@ -3,8 +3,8 @@ "version": "0.0.0-latest", "license": "SEE LICENSE IN ROOT LICENSE FILE", "scripts": { - "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule", - "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule --watch" + "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}'", + "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --watch" }, "dependencies": { "@nlux/core": "{versions.nlux}", diff --git a/packages/extra/markdown/package.tpl.json b/packages/extra/markdown/package.tpl.json index ec270be4..d3c56b61 100644 --- a/packages/extra/markdown/package.tpl.json +++ b/packages/extra/markdown/package.tpl.json @@ -3,8 +3,8 @@ "version": "0.0.0-latest", "license": "SEE LICENSE IN ROOT LICENSE FILE", "scripts": { - "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule", - "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule --watch" + "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}'", + "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --watch" }, "dependencies": {}, "peerDependencies": {}, diff --git a/packages/js/core/package.tpl.json b/packages/js/core/package.tpl.json index f25a6a38..6c19e56b 100644 --- a/packages/js/core/package.tpl.json +++ b/packages/js/core/package.tpl.json @@ -3,8 +3,8 @@ "version": "0.0.0-latest", "license": "SEE LICENSE IN ROOT LICENSE FILE", "scripts": { - "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule", - "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule --watch" + "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}'", + "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --watch" }, "dependencies": {}, "peerDependencies": {}, diff --git a/packages/js/hf/package.tpl.json b/packages/js/hf/package.tpl.json index 1163eb68..058220a7 100644 --- a/packages/js/hf/package.tpl.json +++ b/packages/js/hf/package.tpl.json @@ -3,8 +3,8 @@ "version": "0.0.0-latest", "license": "SEE LICENSE IN ROOT LICENSE FILE", "scripts": { - "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule", - "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule --watch" + "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}'", + "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --watch" }, "dependencies": { "@nlux/core": "{versions.nlux}", diff --git a/packages/js/langchain/package.tpl.json b/packages/js/langchain/package.tpl.json index 7cf2aaf9..802329bf 100644 --- a/packages/js/langchain/package.tpl.json +++ b/packages/js/langchain/package.tpl.json @@ -3,8 +3,8 @@ "version": "0.0.0-latest", "license": "SEE LICENSE IN ROOT LICENSE FILE", "scripts": { - "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule", - "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule --watch" + "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}'", + "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --watch" }, "dependencies": { "@nlux/core": "{versions.nlux}" diff --git a/packages/js/nlbridge/package.tpl.json b/packages/js/nlbridge/package.tpl.json index 7c65ca3e..2c8696b4 100644 --- a/packages/js/nlbridge/package.tpl.json +++ b/packages/js/nlbridge/package.tpl.json @@ -3,8 +3,8 @@ "version": "0.0.0-latest", "license": "SEE LICENSE IN ROOT LICENSE FILE", "scripts": { - "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule", - "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule --watch" + "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}'", + "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --watch" }, "dependencies": { "@nlux/core": "{versions.nlux}" diff --git a/packages/js/openai/package.tpl.json b/packages/js/openai/package.tpl.json index a61eff59..313756c5 100644 --- a/packages/js/openai/package.tpl.json +++ b/packages/js/openai/package.tpl.json @@ -3,8 +3,8 @@ "version": "0.0.0-latest", "license": "SEE LICENSE IN ROOT LICENSE FILE", "scripts": { - "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule", - "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule --watch" + "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}'", + "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --watch" }, "dependencies": { "@nlux/core": "{versions.nlux}", diff --git a/packages/react/core/package.tpl.json b/packages/react/core/package.tpl.json index 77ed810b..05d8b6fb 100644 --- a/packages/react/core/package.tpl.json +++ b/packages/react/core/package.tpl.json @@ -3,8 +3,8 @@ "version": "0.0.0-latest", "license": "SEE LICENSE IN ROOT LICENSE FILE", "scripts": { - "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule", - "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule --watch" + "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}'", + "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --watch" }, "dependencies": { "@nlux/core": "{versions.nlux}" diff --git a/packages/react/hf/package.tpl.json b/packages/react/hf/package.tpl.json index 82f284ea..7e0c5e5e 100644 --- a/packages/react/hf/package.tpl.json +++ b/packages/react/hf/package.tpl.json @@ -3,8 +3,8 @@ "version": "0.0.0-latest", "license": "SEE LICENSE IN ROOT LICENSE FILE", "scripts": { - "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule", - "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule --watch" + "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}'", + "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --watch" }, "dependencies": { "@nlux/hf": "{versions.nlux}" diff --git a/packages/react/langchain/package.tpl.json b/packages/react/langchain/package.tpl.json index 66b5d672..c7bd1056 100644 --- a/packages/react/langchain/package.tpl.json +++ b/packages/react/langchain/package.tpl.json @@ -3,8 +3,8 @@ "version": "0.0.0-latest", "license": "SEE LICENSE IN ROOT LICENSE FILE", "scripts": { - "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule", - "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule --watch" + "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}'", + "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --watch" }, "dependencies": {}, "peerDependencies": { diff --git a/packages/react/nlbridge/package.tpl.json b/packages/react/nlbridge/package.tpl.json index b9901b2b..a60c670c 100644 --- a/packages/react/nlbridge/package.tpl.json +++ b/packages/react/nlbridge/package.tpl.json @@ -3,8 +3,8 @@ "version": "0.0.0-latest", "license": "SEE LICENSE IN ROOT LICENSE FILE", "scripts": { - "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule", - "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule --watch" + "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}'", + "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --watch" }, "dependencies": {}, "peerDependencies": { diff --git a/packages/react/openai/package.tpl.json b/packages/react/openai/package.tpl.json index 54db1de7..16be1e3e 100644 --- a/packages/react/openai/package.tpl.json +++ b/packages/react/openai/package.tpl.json @@ -3,8 +3,8 @@ "version": "0.0.0-latest", "license": "SEE LICENSE IN ROOT LICENSE FILE", "scripts": { - "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule", - "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule --watch" + "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}'", + "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --watch" }, "dependencies": { "@nlux/openai": "{versions.nlux}" diff --git a/samples/emulator/package.json b/samples/emulator/package.json index 7e506d62..8839f26d 100644 --- a/samples/emulator/package.json +++ b/samples/emulator/package.json @@ -5,7 +5,7 @@ "author": "Salmen Hichri", "license": "MPL-2.0", "scripts": { - "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}' --resolveJsonModule" + "build": "rollup --config rollup.config.ts --configPlugin 'typescript={moduleResolution: \"bundler\"}'" }, "dependencies": { "react": "^18.2.0",