Files
twenty/packages/twenty-server/nest-cli.json
T
Charles BochetandGitHub 867b03393b Backfill package json for custom and standard app (#17681)
# Backfill application package files for custom and standard apps

- Backfill `package.json` / `yarn.lock` (and related fields) for
existing workspaces; new standard/custom apps get default dependency
files.
- Default package files under
`application/constants/default-package-files/`; util with hardcoded
checksums (comment on how to regenerate).
- New **FileFolder.Dependencies** for app dependency files;
**writeFile_v2** accepts optional `queryRunner` for transactional
writes.

Usages:
- **Upgrade command** `upgrade:1-17:backfill-application-package-files`:
standard/custom apps → default files; other apps → from logic function
layer.
- **Workspace creation**: create workspace with
`workspaceCustomApplicationId` first, then create application (enables
same-transaction insert). Migration makes workspace/application/file FKs
deferrable.
-  dev seeder
2026-02-03 21:23:29 +01:00

55 lines
1.5 KiB
JSON

{
"$schema": "https://json.schemastore.org/nest-cli",
"collection": "@nestjs/schematics",
"sourceRoot": "src",
"watchOptions": {
"ignored": [
"**/node_modules/**",
"**/dist/**",
"**/.git/**",
"**/.nx/**"
]
},
"compilerOptions": {
"builder": "swc",
"typeCheck": false,
"watchAssets": true,
"assets": [
{
"include": "engine/core-modules/logic-function/logic-function-drivers/constants/seed-project/**",
"outDir": "dist/assets"
},
{
"include": "engine/core-modules/logic-function/logic-function-drivers/layers/*/package.json",
"outDir": "dist/assets"
},
{
"include": "engine/core-modules/logic-function/logic-function-drivers/layers/*/yarn.lock",
"outDir": "dist/assets"
},
{
"include": "engine/core-modules/logic-function/logic-function-drivers/layers/engine/**",
"outDir": "dist/assets"
},
{
"include": "engine/core-modules/logic-function/logic-function-drivers/constants/executor/index.mjs",
"outDir": "dist/assets"
},
{
"include": "database/clickHouse/migrations/*.sql",
"outDir": "dist"
},
{
"include": "engine/workspace-manager/dev-seeder/data/sample-files/**",
"outDir": "dist/assets"
},
{
"include": "engine/core-modules/application/constants/default-package-files/**",
"outDir": "dist/assets"
}
]
},
"monorepo": false,
"root": "src"
}