Add base application project yarn release file (#16238)

As title
This commit is contained in:
martmull
2025-12-02 13:10:50 +01:00
committed by GitHub
parent 5d4170d4c3
commit 6ea817dd6c
12 changed files with 352 additions and 97 deletions
+14 -1
View File
@@ -4,7 +4,7 @@
"projectType": "library",
"tags": ["scope:create-app"],
"targets": {
"build": {
"before-build": {
"executor": "nx:run-commands",
"cache": true,
"options": {
@@ -13,6 +13,19 @@
},
"dependsOn": ["^build", "typecheck"]
},
"build": {
"executor": "nx:run-commands",
"cache": true,
"options": {
"cwd": "packages/create-twenty-app",
"commands": [
"mkdir -p dist/constants/base-application",
"cp -R src/constants/base-application dist/constants",
"cp -R ../../.yarn/releases dist/constants/base-application/.yarn"
]
},
"dependsOn": ["before-build"]
},
"dev": {
"executor": "nx:run-commands",
"dependsOn": ["build"],