245bd510ae
## Summary This PR reduces clutter at the repository root to improve navigation on GitHub. The README is now visible much sooner when browsing the repo. ## Changes ### Deleted from root - `nx` wrapper script → use `npx nx` instead - `render.yaml` → no longer used - `jest.preset.js` → inlined `@nx/jest/preset` directly in each package's jest.config - `.prettierrc` → moved config to `package.json` - `.prettierignore` → patterns already covered by `.gitignore` ### Moved/Consolidated | From | To | |------|-----| | `Makefile` | `packages/twenty-docker/Makefile` (merged) | | `crowdin-app.yml` | `.github/crowdin-app.yml` | | `crowdin-docs.yml` | `.github/crowdin-docs.yml` | | `.vale.ini` | `.github/vale.ini` | | `tools/eslint-rules/` | `packages/twenty-eslint-rules/` | | `eslint.config.react.mjs` | `packages/twenty-front/eslint.config.react.mjs` | ## Result Root items reduced from ~32 to ~22 (folders + files). ## Files updated - GitHub workflow files updated to reference new crowdin config paths - Jest configs updated to use `@nx/jest/preset` directly - ESLint configs updated with new import paths - `nx.json` updated with new paths - `package.json` now includes prettier config and updated workspace paths - Dockerfile updated with new eslint-rules path
45 lines
1.4 KiB
YAML
45 lines
1.4 KiB
YAML
#
|
|
# Crowdin CLI configuration for Documentation translations
|
|
# See https://crowdin.github.io/crowdin-cli/configuration for more information
|
|
#
|
|
|
|
"project_id": 2
|
|
"preserve_hierarchy": true
|
|
"base_url": "https://twenty.api.crowdin.com"
|
|
|
|
files: [
|
|
{
|
|
#
|
|
# MDX documentation files - user-guide
|
|
# Using md type to preserve JSX component structure
|
|
# This prevents Crowdin from reformatting <Warning>, <Accordion>, etc.
|
|
#
|
|
"source": "packages/twenty-docs/user-guide/**/*.mdx",
|
|
"translation": "packages/twenty-docs/l/%two_letters_code%/user-guide/**/%original_file_name%",
|
|
},
|
|
{
|
|
#
|
|
# MDX documentation files - developers
|
|
# Using md type to preserve JSX component structure
|
|
#
|
|
"source": "packages/twenty-docs/developers/**/*.mdx",
|
|
"translation": "packages/twenty-docs/l/%two_letters_code%/developers/**/%original_file_name%",
|
|
},
|
|
{
|
|
#
|
|
# MDX documentation files - twenty-ui
|
|
# Using md type to preserve JSX component structure
|
|
#
|
|
"source": "packages/twenty-docs/twenty-ui/**/*.mdx",
|
|
"translation": "packages/twenty-docs/l/%two_letters_code%/twenty-ui/**/%original_file_name%",
|
|
},
|
|
{
|
|
#
|
|
# Navigation labels template - translated into per-locale navigation.json
|
|
#
|
|
"source": "packages/twenty-docs/navigation/navigation.template.json",
|
|
"translation": "packages/twenty-docs/l/%two_letters_code%/navigation.json",
|
|
}
|
|
]
|
|
|