Skip to content

Commit 80d39a4

Browse files
authored
Merge pull request #63 from dont-code/upgrade
Upgrade build & support for models
2 parents 87c7cd6 + e865380 commit 80d39a4

236 files changed

Lines changed: 3256 additions & 2263 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/xt-host/.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ trim_trailing_whitespace = true
1010

1111
[*.ts]
1212
quote_type = single
13+
ij_typescript_use_double_quotes = false
1314

1415
[*.md]
1516
max_line_length = off

apps/xt-host/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ yarn-error.log
2626
!.vscode/tasks.json
2727
!.vscode/launch.json
2828
!.vscode/extensions.json
29+
!.vscode/mcp.json
2930
.history/*
3031

3132
# Miscellaneous
@@ -36,6 +37,7 @@ yarn-error.log
3637
/libpeerconnection.log
3738
testem.log
3839
/typings
40+
__screenshots__/
3941

4042
# System files
4143
.DS_Store

apps/xt-host/.prettierrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"printWidth": 100,
3+
"singleQuote": true,
4+
"overrides": [
5+
{
6+
"files": "*.html",
7+
"options": {
8+
"parser": "angular"
9+
}
10+
}
11+
]
12+
}

apps/xt-host/angular.json

Lines changed: 7 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@
1111
"projects": {
1212
"host": {
1313
"projectType": "application",
14-
"schematics": {
15-
"@schematics/angular:component": {
16-
"style": "css"
17-
}
18-
},
14+
"schematics": {},
1915
"root": "projects/host",
2016
"sourceRoot": "projects/host/src",
2117
"prefix": "app",
@@ -39,34 +35,17 @@
3935
"builder": "@angular-architects/native-federation:build",
4036
"options": {
4137
"target": "host:serve-original:development",
42-
"rebuildDelay": 0,
38+
"rebuildDelay": 500,
4339
"dev": true,
40+
"cacheExternalArtifacts": false,
4441
"port": 0
4542
}
4643
},
47-
"extract-i18n": {
48-
"builder": "@angular-devkit/build-angular:extract-i18n"
49-
},
5044
"test": {
51-
"builder": "@analogjs/vitest-angular:test",
52-
"options": {
53-
"polyfills": [],
54-
"tsConfig": "projects/host/tsconfig.spec.json",
55-
"inlineStyleLanguage": "css",
56-
"assets": [
57-
{
58-
"glob": "**/*",
59-
"input": "projects/host/public"
60-
}
61-
],
62-
"styles": [
63-
"projects/host/src/styles.css"
64-
],
65-
"scripts": []
66-
}
45+
"builder": "@angular/build:unit-test"
6746
},
6847
"esbuild": {
69-
"builder": "@angular-devkit/build-angular:application",
48+
"builder": "@angular/build:application",
7049
"options": {
7150
"outputPath": "dist/host",
7251
"index": "projects/host/src/index.html",
@@ -76,7 +55,6 @@
7655
"es-module-shims"
7756
],
7857
"tsConfig": "projects/host/tsconfig.app.json",
79-
"inlineStyleLanguage": "css",
8058
"assets": [
8159
{
8260
"glob": "**/*",
@@ -85,8 +63,7 @@
8563
],
8664
"styles": [
8765
"projects/host/src/styles.css"
88-
],
89-
"scripts": []
66+
]
9067
},
9168
"configurations": {
9269
"production": {
@@ -113,7 +90,7 @@
11390
"defaultConfiguration": "production"
11491
},
11592
"serve-original": {
116-
"builder": "@angular-devkit/build-angular:dev-server",
93+
"builder": "@angular/build:dev-server",
11794
"configurations": {
11895
"production": {
11996
"buildTarget": "host:esbuild:production"

apps/xt-host/package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": "ng build host --configuration=development",
88
"build-deploy": "APP=host && ng build $APP --configuration=$BUILD --output-path=\"../../dist/$STAGE/$APP\" --base-href=\"https://dont-code.net/apps/$STAGE/$APP/\"",
99
"watch": "ng build --watch --configuration development",
10-
"test": "cd projects/host && ../../node_modules/.bin/vitest"
10+
"test": "ng test"
1111
},
1212
"private": false,
1313
"repository": {
@@ -26,6 +26,7 @@
2626
"xt-plugin-default": "workspace:^",
2727
"xt-type": "workspace:^",
2828
"xt-store": "workspace:^",
29+
"dc-workflow": "workspace:^",
2930
"rxjs": "^7.8.2",
3031
"tslib": "^2.8.1",
3132
"es-module-shims": "^2.8.0",
@@ -34,12 +35,15 @@
3435
"@primeuix/themes": "^2.0.3",
3536
"tailwindcss": "~4.2.2",
3637
"@ngrx/signals": "^21.1.0",
37-
"@softarc/native-federation-runtime": "^3.3.6",
38-
"@angular-architects/native-federation": "^21.2.3"
38+
"@softarc/native-federation-runtime": "^3.3.6"
3939
},
4040
"devDependencies": {
41+
"@angular-architects/native-federation": "^21.2.3",
4142
"@primeuix/utils": "^0.7.1",
4243
"@primeuix/styled": "^0.7.2",
44+
"@primeuix/styles": "^2.0.3",
45+
"@primeuix/motion": "^0.1.1",
46+
"@types/node": "^24.12.2",
4347
"@tailwindcss/postcss": "~4.2.2",
4448
"postcss": "~8.5.6",
4549
"@angular-devkit/build-angular": "^21.2.6",
@@ -49,10 +53,7 @@
4953
"ng-packagr": "^21.2.2",
5054
"typescript": "^5.9.3",
5155
"happy-dom": "^20.8.9",
52-
"@analogjs/vite-plugin-angular":"^2.4.0",
53-
"@analogjs/vitest-angular": "^2.4.0",
5456
"jsdom": "^29.0.1",
55-
"vite": "^8.0.3",
5657
"vitest": "^4.1.2"
5758
}
5859
}

apps/xt-host/projects/host/public/assets/projects/Agenda.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,27 @@
3232
"sharing": {
3333
"with": "Dont-code users"
3434
}
35+
},
36+
"workflows": {
37+
"Agenda": {
38+
"entity": "Agenda",
39+
"workflow": "list-detail",
40+
"data": {
41+
"sort": {
42+
"Day": "ascending"
43+
}
44+
},
45+
"display": {
46+
"fields": {
47+
"Day": "current-and-after"
48+
}
49+
},
50+
"selection": {
51+
"fields": {
52+
"Day": "after-closest"
53+
}
54+
}
55+
}
3556
}
3657
}
3758
}

apps/xt-host/projects/host/public/assets/projects/Coffee Beans Evaluation.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@
4949
"sharing": {
5050
"with": "Dont-code users"
5151
}
52+
},
53+
"workflows": {
54+
"Coffees": {
55+
"entity": "Coffee Evaluation",
56+
"workflow": "list-detail",
57+
"data": {
58+
"sort": {
59+
"name": "ascending"
60+
}
61+
}
62+
}
5263
}
5364
}
5465
}

0 commit comments

Comments
 (0)