mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Removed typescript declaration build step for i18n
(#17023)
ref https://ghost.slack.com/archives/C02G9E68C/p1686735066587639 ### <samp>🤖 Generated by Copilot at f9ec3e9</samp> This pull request removes redundant build scripts from the `ghost/i18n` and `ghost/signup-form` packages. This simplifies the build process and avoids unnecessary TypeScript compilation.
This commit is contained in:
parent
5bb4a94444
commit
b8935a918e
4 changed files with 1 additions and 15 deletions
|
@ -8,7 +8,6 @@
|
||||||
"types": "./build/i18n.d.ts",
|
"types": "./build/i18n.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "echo \"Implement me!\"",
|
"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: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:unit": "yarn test:unit:base && yarn translate",
|
||||||
"test": "yarn test:unit",
|
"test": "yarn test:unit",
|
||||||
|
|
|
@ -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"]
|
|
||||||
}
|
|
|
@ -21,7 +21,6 @@
|
||||||
"preview": "concurrently \"vite preview -l silent\" \"vite build --watch\"",
|
"preview": "concurrently \"vite preview -l silent\" \"vite build --watch\"",
|
||||||
"dev:test": "vite build && vite preview --port 6175",
|
"dev:test": "vite build && vite preview --port 6175",
|
||||||
"build": "tsc && vite build",
|
"build": "tsc && vite build",
|
||||||
"prebuild": "yarn workspace @tryghost/i18n build",
|
|
||||||
"lint": "yarn run lint:js",
|
"lint": "yarn run lint:js",
|
||||||
"lint:js": "eslint --ext .js,.ts,.cjs,.tsx --cache src test",
|
"lint:js": "eslint --ext .js,.ts,.cjs,.tsx --cache src test",
|
||||||
"test:unit": "yarn build",
|
"test:unit": "yarn build",
|
||||||
|
|
1
ghost/signup-form/src/i18n.d.ts
vendored
Normal file
1
ghost/signup-form/src/i18n.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
declare module '@tryghost/i18n';
|
Loading…
Add table
Reference in a new issue