diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index 7e67612205..03e3bf5fa8 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -16,8 +16,7 @@ }, "files": [ "dist", - "src", - "manifest.json" + "src" ], "scripts": { "build": "rollup -c", diff --git a/packages/string-templates/scripts/gen-collection-info.ts b/packages/string-templates/scripts/gen-collection-info.ts index ed57fe7fae..3f583d59d2 100644 --- a/packages/string-templates/scripts/gen-collection-info.ts +++ b/packages/string-templates/scripts/gen-collection-info.ts @@ -22,7 +22,7 @@ const COLLECTIONS = [ "object", "uuid", ] -const FILENAME = join(__dirname, "..", "manifest.json") +const FILENAME = join(__dirname, "..", "src", "manifest.json") const outputJSON = {} const ADDED_HELPERS = { date: { diff --git a/packages/string-templates/src/index.ts b/packages/string-templates/src/index.ts index 0ec8fdd425..3f54cd17c5 100644 --- a/packages/string-templates/src/index.ts +++ b/packages/string-templates/src/index.ts @@ -14,7 +14,7 @@ import { convertHBSBlock } from "./conversion" import { setJSRunner, removeJSRunner } from "./helpers/javascript" import { helpersToRemoveForJs } from "./helpers/list" -import manifest from "../manifest.json" +import manifest from "./manifest.json" import { ProcessOptions } from "./types" export { setJSRunner, setOnErrorLog } from "./helpers/javascript" diff --git a/packages/string-templates/manifest.json b/packages/string-templates/src/manifest.json similarity index 100% rename from packages/string-templates/manifest.json rename to packages/string-templates/src/manifest.json diff --git a/packages/string-templates/tsconfig.json b/packages/string-templates/tsconfig.json index 4b10f1ecbb..2fa760d011 100644 --- a/packages/string-templates/tsconfig.json +++ b/packages/string-templates/tsconfig.json @@ -1,7 +1,7 @@ { "include": ["src/**/*"], "compilerOptions": { - "rootDir": ".", + "declaration": true, "target": "es6", "moduleResolution": "node", "lib": ["dom"],