diff --git a/ghost/i18n/package.json b/ghost/i18n/package.json index 90d5693421..34949fd903 100644 --- a/ghost/i18n/package.json +++ b/ghost/i18n/package.json @@ -8,7 +8,6 @@ "types": "./build/i18n.d.ts", "scripts": { "dev": "echo \"Implement me!\"", - "build": "tsc", "test:unit:base": "NODE_ENV=testing c8 --include index.js --include lib --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "yarn test:unit:base && yarn translate", "test": "yarn test:unit", diff --git a/ghost/i18n/tsconfig.json b/ghost/i18n/tsconfig.json deleted file mode 100644 index 5417e61deb..0000000000 --- a/ghost/i18n/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "compilerOptions": { - "allowJs": true, - "declaration": true, - "emitDeclarationOnly": true, - "outDir": "./build", - "skipLibCheck": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - }, - "include": ["lib/**/*.js"], - "exclude": ["node_modules", "test"] - } \ No newline at end of file diff --git a/ghost/signup-form/package.json b/ghost/signup-form/package.json index b584b45f86..425195b470 100644 --- a/ghost/signup-form/package.json +++ b/ghost/signup-form/package.json @@ -21,7 +21,6 @@ "preview": "concurrently \"vite preview -l silent\" \"vite build --watch\"", "dev:test": "vite build && vite preview --port 6175", "build": "tsc && vite build", - "prebuild": "yarn workspace @tryghost/i18n build", "lint": "yarn run lint:js", "lint:js": "eslint --ext .js,.ts,.cjs,.tsx --cache src test", "test:unit": "yarn build", diff --git a/ghost/signup-form/src/i18n.d.ts b/ghost/signup-form/src/i18n.d.ts new file mode 100644 index 0000000000..42d90561c0 --- /dev/null +++ b/ghost/signup-form/src/i18n.d.ts @@ -0,0 +1 @@ +declare module '@tryghost/i18n'; \ No newline at end of file