@akanjs/cli 1.0.20 → 2.1.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/guidelines/componentRule/componentRule.generate.json +37 -0
- package/guidelines/componentRule/componentRule.instruction.md +28 -0
- package/guidelines/cssRule/cssRule.generate.json +37 -0
- package/guidelines/cssRule/cssRule.instruction.md +28 -0
- package/guidelines/docPageRule/docPageRule.generate.json +37 -0
- package/guidelines/docPageRule/docPageRule.instruction.md +25 -0
- package/guidelines/docSyncRule/docSyncRule.generate.json +37 -0
- package/guidelines/docSyncRule/docSyncRule.instruction.md +25 -0
- package/guidelines/enumConstant/enumConstant.generate.json +37 -0
- package/guidelines/enumConstant/enumConstant.instruction.md +28 -0
- package/guidelines/fieldRule/fieldRule.generate.json +37 -0
- package/guidelines/fieldRule/fieldRule.instruction.md +31 -0
- package/guidelines/framework/framework.generate.json +37 -0
- package/guidelines/framework/framework.instruction.md +29 -0
- package/guidelines/modelConstant/modelConstant.generate.json +37 -0
- package/guidelines/modelConstant/modelConstant.instruction.md +30 -0
- package/guidelines/modelDictionary/modelDictionary.generate.json +37 -0
- package/guidelines/modelDictionary/modelDictionary.instruction.md +30 -0
- package/guidelines/modelDocument/modelDocument.generate.json +37 -0
- package/guidelines/modelDocument/modelDocument.instruction.md +29 -0
- package/guidelines/modelService/modelService.generate.json +37 -0
- package/guidelines/modelService/modelService.instruction.md +28 -0
- package/guidelines/modelSignal/modelSignal.generate.json +37 -0
- package/guidelines/modelSignal/modelSignal.instruction.md +28 -0
- package/guidelines/modelStore/modelStore.generate.json +37 -0
- package/guidelines/modelStore/modelStore.instruction.md +28 -0
- package/guidelines/modelTemplate/modelTemplate.generate.json +37 -0
- package/guidelines/modelTemplate/modelTemplate.instruction.md +25 -0
- package/guidelines/modelUnit/modelUnit.generate.json +37 -0
- package/guidelines/modelUnit/modelUnit.instruction.md +25 -0
- package/guidelines/modelUtil/modelUtil.generate.json +37 -0
- package/guidelines/modelUtil/modelUtil.instruction.md +25 -0
- package/guidelines/modelView/modelView.generate.json +37 -0
- package/guidelines/modelView/modelView.instruction.md +25 -0
- package/guidelines/modelZone/modelZone.generate.json +37 -0
- package/guidelines/modelZone/modelZone.instruction.md +25 -0
- package/guidelines/moduleCodegen/moduleCodegen.generate.json +37 -0
- package/guidelines/moduleCodegen/moduleCodegen.instruction.md +28 -0
- package/guidelines/moduleOverview/moduleOverview.generate.json +37 -0
- package/guidelines/moduleOverview/moduleOverview.instruction.md +31 -0
- package/guidelines/scalarConstant/scalarConstant.generate.json +37 -0
- package/guidelines/scalarConstant/scalarConstant.instruction.md +28 -0
- package/guidelines/scalarDictionary/scalarDictionary.generate.json +37 -0
- package/guidelines/scalarDictionary/scalarDictionary.instruction.md +28 -0
- package/guidelines/scalarModule/scalarModule.generate.json +37 -0
- package/guidelines/scalarModule/scalarModule.instruction.md +29 -0
- package/guidelines/sharedUiUsage/sharedUiUsage.generate.json +37 -0
- package/guidelines/sharedUiUsage/sharedUiUsage.instruction.md +25 -0
- package/guidelines/utilUiUsage/utilUiUsage.generate.json +37 -0
- package/guidelines/utilUiUsage/utilUiUsage.instruction.md +25 -0
- package/index.js +11630 -0
- package/package.json +38 -56
- package/templates/__scalar/__model__/__model__.constant.ts +15 -0
- package/templates/__scalar/__model__/__model__.dictionary.ts +19 -0
- package/templates/__scalar/__model__/__model__.document.ts +15 -0
- package/templates/app/akan.config.ts +14 -0
- package/templates/app/env/env.client.debug.ts.template +7 -0
- package/templates/app/env/env.client.develop.ts.template +7 -0
- package/templates/app/env/env.client.local.ts.template +7 -0
- package/templates/app/env/env.client.main.ts.template +7 -0
- package/templates/app/env/env.client.testing.ts.template +7 -0
- package/{esm/src/templates/app/env/env.client.js → templates/app/env/env.client.ts} +7 -6
- package/templates/app/env/env.client.type.ts +16 -0
- package/{esm/src/templates/app/env/env.server.testing.ts.template → templates/app/env/env.server.debug.ts.template} +3 -2
- package/templates/app/env/env.server.develop.ts.template +7 -0
- package/templates/app/env/env.server.local.ts.template +7 -0
- package/templates/app/env/env.server.main.ts.template +7 -0
- package/{cjs/src/templates → templates}/app/env/env.server.testing.ts.template +0 -0
- package/{esm/src/templates/app/env/env.server.js → templates/app/env/env.server.ts} +7 -6
- package/templates/app/lib/___appName__/__appName__.dictionary.ts +17 -0
- package/templates/app/lib/___appName__/__appName__.service.ts +13 -0
- package/templates/app/lib/___appName__/__appName__.signal.ts +17 -0
- package/templates/app/lib/___appName__/__appName__.store.ts +17 -0
- package/templates/app/lib/option.ts +18 -0
- package/templates/app/main.ts +16 -0
- package/templates/app/page/_index.tsx +296 -0
- package/templates/app/page/_layout.tsx +31 -0
- package/templates/app/page/styles.css.template +53 -0
- package/templates/app/public/favicon.ico +0 -0
- package/templates/app/public/logo.png +0 -0
- package/{esm/src/templates → templates}/app/tsconfig.json.template +0 -1
- package/templates/client.ts +46 -0
- package/templates/crudPages/[__model__Id]/edit/page.tsx +47 -0
- package/templates/crudPages/[__model__Id]/page.tsx +52 -0
- package/templates/crudPages/new/page.tsx +42 -0
- package/templates/crudPages/page.tsx +43 -0
- package/templates/crudSinglePage/page.tsx +37 -0
- package/templates/env/_env.server.type.ts +16 -0
- package/templates/facetIndex/index.ts +33 -0
- package/templates/index.ts +10 -0
- package/templates/lib/__lib/lib.constant.ts +38 -0
- package/templates/lib/__lib/lib.dictionary.ts +33 -0
- package/templates/lib/__lib/lib.document.ts +35 -0
- package/templates/lib/__lib/lib.service.ts +33 -0
- package/templates/lib/__lib/lib.signal.ts +34 -0
- package/templates/lib/__lib/lib.store.ts +33 -0
- package/templates/lib/cnst.ts +29 -0
- package/templates/lib/db.ts +32 -0
- package/{esm/src/templates/lib/dict.js → templates/lib/dict.ts} +16 -16
- package/templates/lib/sig.ts +60 -0
- package/templates/lib/srv.ts +34 -0
- package/templates/lib/st.ts +31 -0
- package/templates/lib/useClient.ts +19 -0
- package/templates/lib/useServer.ts +7 -0
- package/templates/libRoot/akan.config.ts +12 -0
- package/templates/libRoot/base/baseLogic.ts +14 -0
- package/templates/libRoot/base/index.ts +8 -0
- package/templates/libRoot/common/commonLogic.ts +14 -0
- package/templates/libRoot/common/index.ts +8 -0
- package/{esm/src/templates/libRoot/lib/___libName__/__libName__.dictionary.js → templates/libRoot/lib/___libName__/__libName__.dictionary.ts} +6 -6
- package/templates/libRoot/lib/___libName__/__libName__.service.ts +13 -0
- package/templates/libRoot/lib/___libName__/__libName__.store.ts +15 -0
- package/templates/libRoot/lib/option.ts +18 -0
- package/templates/libRoot/srvkit/backendLogic.ts +13 -0
- package/templates/libRoot/srvkit/index.ts +8 -0
- package/templates/libRoot/ui/index.ts +8 -0
- package/templates/libRoot/webkit/frontendLogic.ts +13 -0
- package/templates/libRoot/webkit/index.ts +8 -0
- package/templates/localDev/docker-compose.yaml.template +37 -0
- package/{esm/src/templates/module/__Model__.Template.js → templates/module/__Model__.Template.tsx} +11 -8
- package/templates/module/__Model__.Unit.tsx +26 -0
- package/templates/module/__Model__.Util.tsx +30 -0
- package/{esm/src/templates/module/__Model__.View.js → templates/module/__Model__.View.tsx} +11 -8
- package/{esm/src/templates/module/__Model__.Zone.js → templates/module/__Model__.Zone.tsx} +15 -12
- package/{esm/src/templates/module/__model__.constant.js → templates/module/__model__.constant.ts} +9 -6
- package/{esm/src/templates/module/__model__.dictionary.js → templates/module/__model__.dictionary.ts} +12 -9
- package/templates/module/__model__.document.ts +23 -0
- package/templates/module/__model__.service.ts +16 -0
- package/{esm/src/templates/module/__model__.signal.js → templates/module/__model__.signal.ts} +10 -7
- package/templates/module/__model__.store.ts +21 -0
- package/templates/moduleRoot/index.tsx +31 -0
- package/{esm/src/templates/libRoot → templates/pkgRoot}/tsconfig.json.template +2 -3
- package/templates/server.ts +45 -0
- package/templates/service/__model__.dictionary.ts +19 -0
- package/templates/service/__model__.service.ts +13 -0
- package/templates/service/__model__.signal.ts +17 -0
- package/templates/service/__model__.store.ts +17 -0
- package/templates/workspaceRoot/.env.template +14 -0
- package/{cjs/src/templates → templates}/workspaceRoot/.gitignore.template +14 -13
- package/templates/workspaceRoot/.vscode/settings.json.template +23 -0
- package/templates/workspaceRoot/biome.json.template +191 -0
- package/templates/workspaceRoot/bunfig.toml +4 -0
- package/templates/workspaceRoot/package.json.template +7 -0
- package/templates/workspaceRoot/tsconfig.json.template +29 -0
- package/README.md +0 -307
- package/cjs/index.js +0 -7778
- package/cjs/src/guidelines/___library/sharedUiStructureDescription.en.md +0 -767
- package/cjs/src/guidelines/___library/utilUiStructureDescription.en.md +0 -395
- package/cjs/src/guidelines/___lint/lintRuleDescription.en.md +0 -64
- package/cjs/src/guidelines/___module/moduleStructureDescription.en.md +0 -80
- package/cjs/src/guidelines/componentRule/componentRule.generate.json +0 -131
- package/cjs/src/guidelines/componentRule/componentRule.instruction.md +0 -637
- package/cjs/src/guidelines/cssRule/cssRule.generate.json +0 -93
- package/cjs/src/guidelines/cssRule/cssRule.instruction.md +0 -435
- package/cjs/src/guidelines/databaseModule/databaseModule.generate.json +0 -51
- package/cjs/src/guidelines/databaseModule/databaseModule.instruction.md +0 -631
- package/cjs/src/guidelines/docPageRule/docPageRule.generate.json +0 -72
- package/cjs/src/guidelines/docPageRule/docPageRule.instruction.md +0 -389
- package/cjs/src/guidelines/enumConstant/enumConstant.generate.json +0 -24
- package/cjs/src/guidelines/enumConstant/enumConstant.instruction.md +0 -232
- package/cjs/src/guidelines/framework/framework.generate.json +0 -119
- package/cjs/src/guidelines/framework/framework.instruction.md +0 -1110
- package/cjs/src/guidelines/howToUseStore/howToUseStore.generate.json +0 -0
- package/cjs/src/guidelines/modelConstant/modelConstant.generate.json +0 -128
- package/cjs/src/guidelines/modelConstant/modelConstant.instruction.md +0 -506
- package/cjs/src/guidelines/modelDictionary/modelDictionary.generate.json +0 -108
- package/cjs/src/guidelines/modelDictionary/modelDictionary.instruction.md +0 -547
- package/cjs/src/guidelines/modelDocument/modelDocument.generate.json +0 -129
- package/cjs/src/guidelines/modelDocument/modelDocument.instruction.md +0 -659
- package/cjs/src/guidelines/modelService/modelService.generate.json +0 -135
- package/cjs/src/guidelines/modelService/modelService.instruction.md +0 -708
- package/cjs/src/guidelines/modelSignal/modelSignal.generate.json +0 -201
- package/cjs/src/guidelines/modelSignal/modelSignal.instruction.md +0 -552
- package/cjs/src/guidelines/modelStore/modelStore.generate.json +0 -130
- package/cjs/src/guidelines/modelStore/modelStore.instruction.md +0 -590
- package/cjs/src/guidelines/modelTemplate/modelTemplate.generate.json +0 -104
- package/cjs/src/guidelines/modelTemplate/modelTemplate.instruction.md +0 -604
- package/cjs/src/guidelines/modelUnit/modelUnit.generate.json +0 -92
- package/cjs/src/guidelines/modelUnit/modelUnit.instruction.md +0 -541
- package/cjs/src/guidelines/modelUtil/modelUtil.generate.json +0 -93
- package/cjs/src/guidelines/modelUtil/modelUtil.instruction.md +0 -752
- package/cjs/src/guidelines/modelView/modelView.generate.json +0 -80
- package/cjs/src/guidelines/modelView/modelView.instruction.md +0 -1005
- package/cjs/src/guidelines/modelZone/modelZone.generate.json +0 -126
- package/cjs/src/guidelines/modelZone/modelZone.instruction.md +0 -528
- package/cjs/src/guidelines/scalarConstant/scalarConstant.generate.json +0 -106
- package/cjs/src/guidelines/scalarConstant/scalarConstant.instruction.md +0 -442
- package/cjs/src/guidelines/scalarDictionary/scalarDictionary.generate.json +0 -83
- package/cjs/src/guidelines/scalarDictionary/scalarDictionary.instruction.md +0 -273
- package/cjs/src/guidelines/scalarModule/scalarModule.generate.json +0 -35
- package/cjs/src/guidelines/scalarModule/scalarModule.instruction.md +0 -81
- package/cjs/src/guidelines/sharedUiUsage/sharedUiUsage.generate.json +0 -108
- package/cjs/src/guidelines/sharedUiUsage/sharedUiUsage.instruction.md +0 -310
- package/cjs/src/guidelines/utilUiUsage/utilUiUsage.generate.json +0 -140
- package/cjs/src/guidelines/utilUiUsage/utilUiUsage.instruction.md +0 -339
- package/cjs/src/templates/__scalar/__model__/__model__.constant.js +0 -33
- package/cjs/src/templates/__scalar/__model__/__model__.dictionary.js +0 -37
- package/cjs/src/templates/__scalar/__model__/__model__.document.js +0 -33
- package/cjs/src/templates/app/akan.config.js +0 -33
- package/cjs/src/templates/app/app/[lang]/layout.js +0 -55
- package/cjs/src/templates/app/app/[lang]/page.js +0 -111
- package/cjs/src/templates/app/app/[lang]/styles.css.template +0 -20
- package/cjs/src/templates/app/app/csr.js +0 -36
- package/cjs/src/templates/app/app/index.html.template +0 -13
- package/cjs/src/templates/app/app/layout.js +0 -41
- package/cjs/src/templates/app/app/robots.js +0 -40
- package/cjs/src/templates/app/app/sitemap.js +0 -36
- package/cjs/src/templates/app/base/baseLogic.js +0 -35
- package/cjs/src/templates/app/base/index.js +0 -29
- package/cjs/src/templates/app/capacitor.config.ts.template +0 -8
- package/cjs/src/templates/app/common/commonLogic.js +0 -35
- package/cjs/src/templates/app/common/index.js +0 -29
- package/cjs/src/templates/app/env/env.client.debug.ts.template +0 -7
- package/cjs/src/templates/app/env/env.client.develop.ts.template +0 -7
- package/cjs/src/templates/app/env/env.client.js +0 -40
- package/cjs/src/templates/app/env/env.client.local.ts.template +0 -7
- package/cjs/src/templates/app/env/env.client.main.ts.template +0 -7
- package/cjs/src/templates/app/env/env.client.testing.ts.template +0 -7
- package/cjs/src/templates/app/env/env.client.type.js +0 -35
- package/cjs/src/templates/app/env/env.server.debug.ts.template +0 -10
- package/cjs/src/templates/app/env/env.server.develop.ts.template +0 -10
- package/cjs/src/templates/app/env/env.server.js +0 -39
- package/cjs/src/templates/app/env/env.server.local.ts.template +0 -10
- package/cjs/src/templates/app/env/env.server.main.ts.template +0 -10
- package/cjs/src/templates/app/instrumentation.js +0 -32
- package/cjs/src/templates/app/jest.config.js +0 -36
- package/cjs/src/templates/app/lib/___appName__/__appName__.dictionary.js +0 -35
- package/cjs/src/templates/app/lib/___appName__/__appName__.service.js +0 -31
- package/cjs/src/templates/app/lib/___appName__/__appName__.signal.js +0 -35
- package/cjs/src/templates/app/lib/___appName__/__appName__.store.js +0 -35
- package/cjs/src/templates/app/lib/option.js +0 -47
- package/cjs/src/templates/app/main.js +0 -39
- package/cjs/src/templates/app/nest/backendLogic.js +0 -34
- package/cjs/src/templates/app/nest/index.js +0 -29
- package/cjs/src/templates/app/next/frontendLogic.js +0 -34
- package/cjs/src/templates/app/next/index.js +0 -29
- package/cjs/src/templates/app/postcss.config.js.template +0 -8
- package/cjs/src/templates/app/proxy.js +0 -35
- package/cjs/src/templates/app/public/favicon.ico +0 -0
- package/cjs/src/templates/app/public/icons/icon-128x128.png +0 -0
- package/cjs/src/templates/app/public/icons/icon-144x144.png +0 -0
- package/cjs/src/templates/app/public/icons/icon-152x152.png +0 -0
- package/cjs/src/templates/app/public/icons/icon-192x192.png +0 -0
- package/cjs/src/templates/app/public/icons/icon-256x256.png +0 -0
- package/cjs/src/templates/app/public/icons/icon-384x384.png +0 -0
- package/cjs/src/templates/app/public/icons/icon-48x48.png +0 -0
- package/cjs/src/templates/app/public/icons/icon-512x512.png +0 -0
- package/cjs/src/templates/app/public/icons/icon-72x72.png +0 -0
- package/cjs/src/templates/app/public/icons/icon-96x96.png +0 -0
- package/cjs/src/templates/app/public/logo.svg +0 -70
- package/cjs/src/templates/app/public/manifest.json.template +0 -67
- package/cjs/src/templates/app/tsconfig.json.template +0 -22
- package/cjs/src/templates/app/tsconfig.spec.json.template +0 -7
- package/cjs/src/templates/app/ui/UiComponent.js +0 -38
- package/cjs/src/templates/app/ui/index.js +0 -29
- package/cjs/src/templates/client.js +0 -47
- package/cjs/src/templates/crudPages/[__model__Id]/edit/page.js +0 -72
- package/cjs/src/templates/crudPages/[__model__Id]/page.js +0 -78
- package/cjs/src/templates/crudPages/new/page.js +0 -67
- package/cjs/src/templates/crudPages/page.js +0 -68
- package/cjs/src/templates/crudSinglePage/page.js +0 -62
- package/cjs/src/templates/env/_env.server.type.js +0 -39
- package/cjs/src/templates/index.js +0 -29
- package/cjs/src/templates/lib/__lib/lib.constant.js +0 -57
- package/cjs/src/templates/lib/__lib/lib.dictionary.js +0 -50
- package/cjs/src/templates/lib/__lib/lib.document.js +0 -52
- package/cjs/src/templates/lib/__lib/lib.service.js +0 -59
- package/cjs/src/templates/lib/__lib/lib.signal.js +0 -55
- package/cjs/src/templates/lib/__lib/lib.store.js +0 -52
- package/cjs/src/templates/lib/cnst.js +0 -56
- package/cjs/src/templates/lib/db.js +0 -53
- package/cjs/src/templates/lib/dict.js +0 -69
- package/cjs/src/templates/lib/sig.js +0 -71
- package/cjs/src/templates/lib/srv.js +0 -50
- package/cjs/src/templates/lib/st.js +0 -50
- package/cjs/src/templates/lib/useClient.js +0 -40
- package/cjs/src/templates/lib/useServer.js +0 -31
- package/cjs/src/templates/libRoot/akan.config.js +0 -33
- package/cjs/src/templates/libRoot/base/baseLogic.js +0 -35
- package/cjs/src/templates/libRoot/base/index.js +0 -29
- package/cjs/src/templates/libRoot/common/commonLogic.js +0 -35
- package/cjs/src/templates/libRoot/common/index.js +0 -29
- package/cjs/src/templates/libRoot/jest.config.js +0 -36
- package/cjs/src/templates/libRoot/lib/___libName__/__libName__.dictionary.js +0 -35
- package/cjs/src/templates/libRoot/lib/___libName__/__libName__.service.js +0 -33
- package/cjs/src/templates/libRoot/lib/___libName__/__libName__.store.js +0 -35
- package/cjs/src/templates/libRoot/lib/option.js +0 -46
- package/cjs/src/templates/libRoot/nest/backendLogic.js +0 -34
- package/cjs/src/templates/libRoot/nest/index.js +0 -29
- package/cjs/src/templates/libRoot/next/frontendLogic.js +0 -34
- package/cjs/src/templates/libRoot/next/index.js +0 -29
- package/cjs/src/templates/libRoot/tsconfig.spec.json.template +0 -7
- package/cjs/src/templates/libRoot/ui/index.js +0 -29
- package/cjs/src/templates/localDev/docker-compose.yaml.template +0 -42
- package/cjs/src/templates/module/__Model__.Template.js +0 -53
- package/cjs/src/templates/module/__Model__.Unit.js +0 -43
- package/cjs/src/templates/module/__Model__.Util.js +0 -47
- package/cjs/src/templates/module/__Model__.View.js +0 -46
- package/cjs/src/templates/module/__Model__.Zone.js +0 -60
- package/cjs/src/templates/module/__model__.constant.js +0 -41
- package/cjs/src/templates/module/__model__.dictionary.js +0 -47
- package/cjs/src/templates/module/__model__.document.js +0 -46
- package/cjs/src/templates/module/__model__.service.js +0 -33
- package/cjs/src/templates/module/__model__.signal.js +0 -44
- package/cjs/src/templates/module/__model__.store.js +0 -38
- package/cjs/src/templates/module/index.js +0 -61
- package/cjs/src/templates/moduleRoot/index.js +0 -49
- package/cjs/src/templates/pkgRoot/tsconfig.json.template +0 -15
- package/cjs/src/templates/server.js +0 -87
- package/cjs/src/templates/workspaceRoot/.env.template +0 -20
- package/cjs/src/templates/workspaceRoot/.prettierignore.template +0 -10
- package/cjs/src/templates/workspaceRoot/.prettierrc.json.template +0 -6
- package/cjs/src/templates/workspaceRoot/.swcrc.template +0 -9
- package/cjs/src/templates/workspaceRoot/.vscode/settings.json.template +0 -12
- package/cjs/src/templates/workspaceRoot/README.md.template +0 -37
- package/cjs/src/templates/workspaceRoot/eslint.config.ts.template +0 -3
- package/cjs/src/templates/workspaceRoot/infra/app/Chart.yaml.template +0 -6
- package/cjs/src/templates/workspaceRoot/infra/app/templates/frontend.yaml.template +0 -182
- package/cjs/src/templates/workspaceRoot/infra/app/values/_common-values.yaml.template +0 -183
- package/cjs/src/templates/workspaceRoot/package.json.template +0 -47
- package/cjs/src/templates/workspaceRoot/tsconfig.json.template +0 -27
- package/esm/index.js +0 -7758
- package/esm/src/guidelines/___library/sharedUiStructureDescription.en.md +0 -767
- package/esm/src/guidelines/___library/utilUiStructureDescription.en.md +0 -395
- package/esm/src/guidelines/___lint/lintRuleDescription.en.md +0 -64
- package/esm/src/guidelines/___module/moduleStructureDescription.en.md +0 -80
- package/esm/src/guidelines/componentRule/componentRule.generate.json +0 -131
- package/esm/src/guidelines/componentRule/componentRule.instruction.md +0 -637
- package/esm/src/guidelines/cssRule/cssRule.generate.json +0 -93
- package/esm/src/guidelines/cssRule/cssRule.instruction.md +0 -435
- package/esm/src/guidelines/databaseModule/databaseModule.generate.json +0 -51
- package/esm/src/guidelines/databaseModule/databaseModule.instruction.md +0 -631
- package/esm/src/guidelines/docPageRule/docPageRule.generate.json +0 -72
- package/esm/src/guidelines/docPageRule/docPageRule.instruction.md +0 -389
- package/esm/src/guidelines/enumConstant/enumConstant.generate.json +0 -24
- package/esm/src/guidelines/enumConstant/enumConstant.instruction.md +0 -232
- package/esm/src/guidelines/framework/framework.generate.json +0 -119
- package/esm/src/guidelines/framework/framework.instruction.md +0 -1110
- package/esm/src/guidelines/howToUseStore/howToUseStore.generate.json +0 -0
- package/esm/src/guidelines/modelConstant/modelConstant.generate.json +0 -128
- package/esm/src/guidelines/modelConstant/modelConstant.instruction.md +0 -506
- package/esm/src/guidelines/modelDictionary/modelDictionary.generate.json +0 -108
- package/esm/src/guidelines/modelDictionary/modelDictionary.instruction.md +0 -547
- package/esm/src/guidelines/modelDocument/modelDocument.generate.json +0 -129
- package/esm/src/guidelines/modelDocument/modelDocument.instruction.md +0 -659
- package/esm/src/guidelines/modelService/modelService.generate.json +0 -135
- package/esm/src/guidelines/modelService/modelService.instruction.md +0 -708
- package/esm/src/guidelines/modelSignal/modelSignal.generate.json +0 -201
- package/esm/src/guidelines/modelSignal/modelSignal.instruction.md +0 -552
- package/esm/src/guidelines/modelStore/modelStore.generate.json +0 -130
- package/esm/src/guidelines/modelStore/modelStore.instruction.md +0 -590
- package/esm/src/guidelines/modelTemplate/modelTemplate.generate.json +0 -104
- package/esm/src/guidelines/modelTemplate/modelTemplate.instruction.md +0 -604
- package/esm/src/guidelines/modelUnit/modelUnit.generate.json +0 -92
- package/esm/src/guidelines/modelUnit/modelUnit.instruction.md +0 -541
- package/esm/src/guidelines/modelUtil/modelUtil.generate.json +0 -93
- package/esm/src/guidelines/modelUtil/modelUtil.instruction.md +0 -752
- package/esm/src/guidelines/modelView/modelView.generate.json +0 -80
- package/esm/src/guidelines/modelView/modelView.instruction.md +0 -1005
- package/esm/src/guidelines/modelZone/modelZone.generate.json +0 -126
- package/esm/src/guidelines/modelZone/modelZone.instruction.md +0 -528
- package/esm/src/guidelines/scalarConstant/scalarConstant.generate.json +0 -106
- package/esm/src/guidelines/scalarConstant/scalarConstant.instruction.md +0 -442
- package/esm/src/guidelines/scalarDictionary/scalarDictionary.generate.json +0 -83
- package/esm/src/guidelines/scalarDictionary/scalarDictionary.instruction.md +0 -273
- package/esm/src/guidelines/scalarModule/scalarModule.generate.json +0 -35
- package/esm/src/guidelines/scalarModule/scalarModule.instruction.md +0 -81
- package/esm/src/guidelines/sharedUiUsage/sharedUiUsage.generate.json +0 -108
- package/esm/src/guidelines/sharedUiUsage/sharedUiUsage.instruction.md +0 -310
- package/esm/src/guidelines/utilUiUsage/utilUiUsage.generate.json +0 -140
- package/esm/src/guidelines/utilUiUsage/utilUiUsage.instruction.md +0 -339
- package/esm/src/templates/__scalar/__model__/__model__.constant.js +0 -13
- package/esm/src/templates/__scalar/__model__/__model__.dictionary.js +0 -17
- package/esm/src/templates/__scalar/__model__/__model__.document.js +0 -13
- package/esm/src/templates/app/akan.config.js +0 -13
- package/esm/src/templates/app/app/[lang]/layout.js +0 -35
- package/esm/src/templates/app/app/[lang]/page.js +0 -91
- package/esm/src/templates/app/app/[lang]/styles.css.template +0 -20
- package/esm/src/templates/app/app/csr.js +0 -16
- package/esm/src/templates/app/app/index.html.template +0 -13
- package/esm/src/templates/app/app/layout.js +0 -21
- package/esm/src/templates/app/app/robots.js +0 -20
- package/esm/src/templates/app/app/sitemap.js +0 -16
- package/esm/src/templates/app/base/baseLogic.js +0 -15
- package/esm/src/templates/app/base/index.js +0 -9
- package/esm/src/templates/app/capacitor.config.ts.template +0 -8
- package/esm/src/templates/app/common/commonLogic.js +0 -15
- package/esm/src/templates/app/common/index.js +0 -9
- package/esm/src/templates/app/env/env.client.debug.ts.template +0 -7
- package/esm/src/templates/app/env/env.client.develop.ts.template +0 -7
- package/esm/src/templates/app/env/env.client.local.ts.template +0 -7
- package/esm/src/templates/app/env/env.client.main.ts.template +0 -7
- package/esm/src/templates/app/env/env.client.testing.ts.template +0 -7
- package/esm/src/templates/app/env/env.client.type.js +0 -15
- package/esm/src/templates/app/env/env.server.debug.ts.template +0 -10
- package/esm/src/templates/app/env/env.server.develop.ts.template +0 -10
- package/esm/src/templates/app/env/env.server.local.ts.template +0 -10
- package/esm/src/templates/app/env/env.server.main.ts.template +0 -10
- package/esm/src/templates/app/instrumentation.js +0 -12
- package/esm/src/templates/app/jest.config.js +0 -16
- package/esm/src/templates/app/lib/___appName__/__appName__.dictionary.js +0 -15
- package/esm/src/templates/app/lib/___appName__/__appName__.service.js +0 -11
- package/esm/src/templates/app/lib/___appName__/__appName__.signal.js +0 -15
- package/esm/src/templates/app/lib/___appName__/__appName__.store.js +0 -15
- package/esm/src/templates/app/lib/option.js +0 -27
- package/esm/src/templates/app/main.js +0 -19
- package/esm/src/templates/app/nest/backendLogic.js +0 -14
- package/esm/src/templates/app/nest/index.js +0 -9
- package/esm/src/templates/app/next/frontendLogic.js +0 -14
- package/esm/src/templates/app/next/index.js +0 -9
- package/esm/src/templates/app/package.json.template +0 -5
- package/esm/src/templates/app/postcss.config.js.template +0 -8
- package/esm/src/templates/app/proxy.js +0 -15
- package/esm/src/templates/app/public/favicon.ico +0 -0
- package/esm/src/templates/app/public/icons/icon-128x128.png +0 -0
- package/esm/src/templates/app/public/icons/icon-144x144.png +0 -0
- package/esm/src/templates/app/public/icons/icon-152x152.png +0 -0
- package/esm/src/templates/app/public/icons/icon-192x192.png +0 -0
- package/esm/src/templates/app/public/icons/icon-256x256.png +0 -0
- package/esm/src/templates/app/public/icons/icon-384x384.png +0 -0
- package/esm/src/templates/app/public/icons/icon-48x48.png +0 -0
- package/esm/src/templates/app/public/icons/icon-512x512.png +0 -0
- package/esm/src/templates/app/public/icons/icon-72x72.png +0 -0
- package/esm/src/templates/app/public/icons/icon-96x96.png +0 -0
- package/esm/src/templates/app/public/logo.svg +0 -70
- package/esm/src/templates/app/public/manifest.json.template +0 -67
- package/esm/src/templates/app/tsconfig.spec.json.template +0 -7
- package/esm/src/templates/app/ui/UiComponent.js +0 -18
- package/esm/src/templates/app/ui/index.js +0 -9
- package/esm/src/templates/client.js +0 -27
- package/esm/src/templates/crudPages/[__model__Id]/edit/page.js +0 -52
- package/esm/src/templates/crudPages/[__model__Id]/page.js +0 -58
- package/esm/src/templates/crudPages/new/page.js +0 -47
- package/esm/src/templates/crudPages/page.js +0 -48
- package/esm/src/templates/crudSinglePage/page.js +0 -42
- package/esm/src/templates/env/_env.server.type.js +0 -19
- package/esm/src/templates/index.js +0 -9
- package/esm/src/templates/lib/__lib/lib.constant.js +0 -37
- package/esm/src/templates/lib/__lib/lib.dictionary.js +0 -30
- package/esm/src/templates/lib/__lib/lib.document.js +0 -32
- package/esm/src/templates/lib/__lib/lib.service.js +0 -39
- package/esm/src/templates/lib/__lib/lib.signal.js +0 -35
- package/esm/src/templates/lib/__lib/lib.store.js +0 -32
- package/esm/src/templates/lib/cnst.js +0 -36
- package/esm/src/templates/lib/db.js +0 -33
- package/esm/src/templates/lib/sig.js +0 -51
- package/esm/src/templates/lib/srv.js +0 -30
- package/esm/src/templates/lib/st.js +0 -30
- package/esm/src/templates/lib/useClient.js +0 -20
- package/esm/src/templates/lib/useServer.js +0 -11
- package/esm/src/templates/libRoot/.gitignore.template +0 -16
- package/esm/src/templates/libRoot/akan.config.js +0 -13
- package/esm/src/templates/libRoot/base/baseLogic.js +0 -15
- package/esm/src/templates/libRoot/base/index.js +0 -9
- package/esm/src/templates/libRoot/common/commonLogic.js +0 -15
- package/esm/src/templates/libRoot/common/index.js +0 -9
- package/esm/src/templates/libRoot/env/env.server.example.ts.template +0 -6
- package/esm/src/templates/libRoot/env/env.server.testing.ts.template +0 -6
- package/esm/src/templates/libRoot/jest.config.js +0 -16
- package/esm/src/templates/libRoot/lib/___libName__/__libName__.service.js +0 -13
- package/esm/src/templates/libRoot/lib/___libName__/__libName__.store.js +0 -15
- package/esm/src/templates/libRoot/lib/option.js +0 -26
- package/esm/src/templates/libRoot/nest/backendLogic.js +0 -14
- package/esm/src/templates/libRoot/nest/index.js +0 -9
- package/esm/src/templates/libRoot/next/frontendLogic.js +0 -14
- package/esm/src/templates/libRoot/next/index.js +0 -9
- package/esm/src/templates/libRoot/package.json.template +0 -5
- package/esm/src/templates/libRoot/tsconfig.spec.json.template +0 -7
- package/esm/src/templates/libRoot/ui/index.js +0 -9
- package/esm/src/templates/localDev/docker-compose.yaml.template +0 -42
- package/esm/src/templates/module/__Model__.Unit.js +0 -23
- package/esm/src/templates/module/__Model__.Util.js +0 -27
- package/esm/src/templates/module/__model__.document.js +0 -26
- package/esm/src/templates/module/__model__.service.js +0 -13
- package/esm/src/templates/module/__model__.store.js +0 -18
- package/esm/src/templates/module/index.js +0 -41
- package/esm/src/templates/moduleRoot/index.js +0 -29
- package/esm/src/templates/pkgRoot/tsconfig.json.template +0 -15
- package/esm/src/templates/server.js +0 -67
- package/esm/src/templates/workspaceRoot/.env.template +0 -20
- package/esm/src/templates/workspaceRoot/.gitignore.template +0 -119
- package/esm/src/templates/workspaceRoot/.prettierignore.template +0 -10
- package/esm/src/templates/workspaceRoot/.prettierrc.json.template +0 -6
- package/esm/src/templates/workspaceRoot/.swcrc.template +0 -9
- package/esm/src/templates/workspaceRoot/.vscode/settings.json.template +0 -12
- package/esm/src/templates/workspaceRoot/README.md.template +0 -37
- package/esm/src/templates/workspaceRoot/eslint.config.ts.template +0 -3
- package/esm/src/templates/workspaceRoot/infra/app/Chart.yaml.template +0 -6
- package/esm/src/templates/workspaceRoot/infra/app/templates/frontend.yaml.template +0 -182
- package/esm/src/templates/workspaceRoot/infra/app/values/_common-values.yaml.template +0 -183
- package/esm/src/templates/workspaceRoot/package.json.template +0 -47
- package/esm/src/templates/workspaceRoot/tsconfig.json.template +0 -27
- package/index.d.ts +0 -2
- package/src/application/application.command.d.ts +0 -31
- package/src/application/application.interface.d.ts +0 -40
- package/src/application/application.runner.d.ts +0 -73
- package/src/application/application.script.d.ts +0 -83
- package/src/cloud/cloud.command.d.ts +0 -12
- package/src/cloud/cloud.runner.d.ts +0 -11
- package/src/cloud/cloud.script.d.ts +0 -11
- package/src/guideline/guideline.command.d.ts +0 -9
- package/src/guideline/guideline.prompt.d.ts +0 -29
- package/src/guideline/guideline.runner.d.ts +0 -19
- package/src/guideline/guideline.script.d.ts +0 -12
- package/src/guidelines/___library/sharedUiStructureDescription.en.md +0 -767
- package/src/guidelines/___library/utilUiStructureDescription.en.md +0 -395
- package/src/guidelines/___lint/lintRuleDescription.en.md +0 -64
- package/src/guidelines/___module/moduleStructureDescription.en.md +0 -80
- package/src/guidelines/componentRule/componentRule.instruction.md +0 -637
- package/src/guidelines/cssRule/cssRule.instruction.md +0 -435
- package/src/guidelines/databaseModule/databaseModule.instruction.md +0 -631
- package/src/guidelines/docPageRule/docPageRule.instruction.md +0 -389
- package/src/guidelines/enumConstant/enumConstant.instruction.md +0 -232
- package/src/guidelines/framework/framework.instruction.md +0 -1110
- package/src/guidelines/modelConstant/modelConstant.instruction.md +0 -506
- package/src/guidelines/modelDictionary/modelDictionary.instruction.md +0 -547
- package/src/guidelines/modelDocument/modelDocument.instruction.md +0 -659
- package/src/guidelines/modelService/modelService.instruction.md +0 -708
- package/src/guidelines/modelSignal/modelSignal.instruction.md +0 -552
- package/src/guidelines/modelStore/modelStore.instruction.md +0 -590
- package/src/guidelines/modelTemplate/modelTemplate.instruction.md +0 -604
- package/src/guidelines/modelUnit/modelUnit.instruction.md +0 -541
- package/src/guidelines/modelUtil/modelUtil.instruction.md +0 -752
- package/src/guidelines/modelView/modelView.instruction.md +0 -1005
- package/src/guidelines/modelZone/modelZone.instruction.md +0 -528
- package/src/guidelines/scalarConstant/scalarConstant.instruction.md +0 -442
- package/src/guidelines/scalarDictionary/scalarDictionary.instruction.md +0 -273
- package/src/guidelines/scalarModule/scalarModule.instruction.md +0 -81
- package/src/guidelines/sharedUiUsage/sharedUiUsage.instruction.md +0 -310
- package/src/guidelines/utilUiUsage/utilUiUsage.instruction.md +0 -339
- package/src/library/library.command.d.ts +0 -9
- package/src/library/library.runner.d.ts +0 -9
- package/src/library/library.script.d.ts +0 -9
- package/src/module/module.command.d.ts +0 -10
- package/src/module/module.prompt.d.ts +0 -13
- package/src/module/module.request.d.ts +0 -63
- package/src/module/module.runner.d.ts +0 -53
- package/src/module/module.script.d.ts +0 -17
- package/src/package/package.command.d.ts +0 -10
- package/src/package/package.runner.d.ts +0 -9
- package/src/package/package.script.d.ts +0 -10
- package/src/page/page.command.d.ts +0 -6
- package/src/page/page.runner.d.ts +0 -8
- package/src/page/page.script.d.ts +0 -9
- package/src/scalar/scalar.command.d.ts +0 -7
- package/src/scalar/scalar.prompt.d.ts +0 -23
- package/src/scalar/scalar.runner.d.ts +0 -14
- package/src/scalar/scalar.script.d.ts +0 -7
- package/src/templates/__scalar/__model__/__model__.constant.d.ts +0 -7
- package/src/templates/__scalar/__model__/__model__.dictionary.d.ts +0 -7
- package/src/templates/__scalar/__model__/__model__.document.d.ts +0 -7
- package/src/templates/app/akan.config.d.ts +0 -6
- package/src/templates/app/app/[lang]/layout.d.ts +0 -11
- package/src/templates/app/app/[lang]/page.d.ts +0 -9
- package/src/templates/app/app/csr.d.ts +0 -9
- package/src/templates/app/app/layout.d.ts +0 -9
- package/src/templates/app/app/robots.d.ts +0 -6
- package/src/templates/app/app/sitemap.d.ts +0 -6
- package/src/templates/app/base/baseLogic.d.ts +0 -6
- package/src/templates/app/base/index.d.ts +0 -6
- package/src/templates/app/common/commonLogic.d.ts +0 -6
- package/src/templates/app/common/index.d.ts +0 -6
- package/src/templates/app/env/env.client.d.ts +0 -6
- package/src/templates/app/env/env.client.type.d.ts +0 -6
- package/src/templates/app/env/env.server.d.ts +0 -6
- package/src/templates/app/instrumentation.d.ts +0 -6
- package/src/templates/app/jest.config.d.ts +0 -6
- package/src/templates/app/lib/___appName__/__appName__.dictionary.d.ts +0 -7
- package/src/templates/app/lib/___appName__/__appName__.service.d.ts +0 -7
- package/src/templates/app/lib/___appName__/__appName__.signal.d.ts +0 -7
- package/src/templates/app/lib/___appName__/__appName__.store.d.ts +0 -7
- package/src/templates/app/lib/option.d.ts +0 -6
- package/src/templates/app/main.d.ts +0 -6
- package/src/templates/app/nest/backendLogic.d.ts +0 -6
- package/src/templates/app/nest/index.d.ts +0 -6
- package/src/templates/app/next/frontendLogic.d.ts +0 -6
- package/src/templates/app/next/index.d.ts +0 -6
- package/src/templates/app/proxy.d.ts +0 -6
- package/src/templates/app/ui/UiComponent.d.ts +0 -9
- package/src/templates/app/ui/index.d.ts +0 -6
- package/src/templates/client.d.ts +0 -4
- package/src/templates/crudPages/[__model__Id]/edit/page.d.ts +0 -11
- package/src/templates/crudPages/[__model__Id]/page.d.ts +0 -11
- package/src/templates/crudPages/new/page.d.ts +0 -11
- package/src/templates/crudPages/page.d.ts +0 -11
- package/src/templates/crudSinglePage/page.d.ts +0 -11
- package/src/templates/env/_env.server.type.d.ts +0 -7
- package/src/templates/index.d.ts +0 -6
- package/src/templates/lib/__lib/lib.constant.d.ts +0 -4
- package/src/templates/lib/__lib/lib.dictionary.d.ts +0 -4
- package/src/templates/lib/__lib/lib.document.d.ts +0 -4
- package/src/templates/lib/__lib/lib.service.d.ts +0 -4
- package/src/templates/lib/__lib/lib.signal.d.ts +0 -4
- package/src/templates/lib/__lib/lib.store.d.ts +0 -4
- package/src/templates/lib/cnst.d.ts +0 -4
- package/src/templates/lib/db.d.ts +0 -4
- package/src/templates/lib/dict.d.ts +0 -4
- package/src/templates/lib/sig.d.ts +0 -4
- package/src/templates/lib/srv.d.ts +0 -4
- package/src/templates/lib/st.d.ts +0 -4
- package/src/templates/lib/useClient.d.ts +0 -4
- package/src/templates/lib/useServer.d.ts +0 -4
- package/src/templates/libRoot/akan.config.d.ts +0 -5
- package/src/templates/libRoot/base/baseLogic.d.ts +0 -5
- package/src/templates/libRoot/base/index.d.ts +0 -5
- package/src/templates/libRoot/common/commonLogic.d.ts +0 -5
- package/src/templates/libRoot/common/index.d.ts +0 -5
- package/src/templates/libRoot/jest.config.d.ts +0 -6
- package/src/templates/libRoot/lib/___libName__/__libName__.dictionary.d.ts +0 -6
- package/src/templates/libRoot/lib/___libName__/__libName__.service.d.ts +0 -6
- package/src/templates/libRoot/lib/___libName__/__libName__.store.d.ts +0 -6
- package/src/templates/libRoot/lib/option.d.ts +0 -6
- package/src/templates/libRoot/nest/backendLogic.d.ts +0 -5
- package/src/templates/libRoot/nest/index.d.ts +0 -5
- package/src/templates/libRoot/next/frontendLogic.d.ts +0 -5
- package/src/templates/libRoot/next/index.d.ts +0 -5
- package/src/templates/libRoot/ui/index.d.ts +0 -5
- package/src/templates/module/__Model__.Template.d.ts +0 -11
- package/src/templates/module/__Model__.Unit.d.ts +0 -11
- package/src/templates/module/__Model__.Util.d.ts +0 -11
- package/src/templates/module/__Model__.View.d.ts +0 -11
- package/src/templates/module/__Model__.Zone.d.ts +0 -11
- package/src/templates/module/__model__.constant.d.ts +0 -8
- package/src/templates/module/__model__.dictionary.d.ts +0 -8
- package/src/templates/module/__model__.document.d.ts +0 -8
- package/src/templates/module/__model__.service.d.ts +0 -8
- package/src/templates/module/__model__.signal.d.ts +0 -9
- package/src/templates/module/__model__.store.d.ts +0 -8
- package/src/templates/module/index.d.ts +0 -11
- package/src/templates/moduleRoot/index.d.ts +0 -11
- package/src/templates/server.d.ts +0 -4
- package/src/workspace/workspace.command.d.ts +0 -12
- package/src/workspace/workspace.runner.d.ts +0 -13
- package/src/workspace/workspace.script.d.ts +0 -24
- package/ui/MultiScrollList.d.ts +0 -14
- /package/{cjs/src/templates → templates}/app/package.json.template +0 -0
- /package/{cjs/src/templates → templates}/libRoot/.gitignore.template +0 -0
- /package/{cjs/src/templates → templates}/libRoot/env/env.server.example.ts.template +0 -0
- /package/{cjs/src/templates → templates}/libRoot/env/env.server.testing.ts.template +0 -0
- /package/{cjs/src/templates → templates}/libRoot/package.json.template +0 -0
- /package/{cjs/src/templates → templates}/libRoot/tsconfig.json.template +0 -0
|
@@ -25,10 +25,6 @@ apps/*/scripts
|
|
|
25
25
|
**/*secrets.yaml
|
|
26
26
|
**/kubeconfig.yaml
|
|
27
27
|
**/secrets.*
|
|
28
|
-
**/.idea
|
|
29
|
-
apps/**/src/schema.gql
|
|
30
|
-
.next
|
|
31
|
-
.vite
|
|
32
28
|
dump
|
|
33
29
|
local
|
|
34
30
|
|
|
@@ -50,7 +46,6 @@ DerivedData
|
|
|
50
46
|
*.ipa
|
|
51
47
|
*.xcuserstate
|
|
52
48
|
|
|
53
|
-
# **/android
|
|
54
49
|
build/
|
|
55
50
|
.gradle
|
|
56
51
|
local.properties
|
|
@@ -71,7 +66,7 @@ local.properties
|
|
|
71
66
|
**/public/worker-*.js.map
|
|
72
67
|
**/public/fallback-*.js
|
|
73
68
|
**/public/libs
|
|
74
|
-
**/
|
|
69
|
+
**/private/libs
|
|
75
70
|
|
|
76
71
|
**/vendor/bundle/
|
|
77
72
|
**/ios/App/App/public
|
|
@@ -96,6 +91,12 @@ apps/*/lib/sig.ts
|
|
|
96
91
|
apps/*/lib/useClient.ts
|
|
97
92
|
apps/*/lib/useServer.ts
|
|
98
93
|
apps/*/lib/*/index.tsx
|
|
94
|
+
apps/*/lib/*/index.ts
|
|
95
|
+
apps/*/lib/__scalar/*/index.ts
|
|
96
|
+
apps/*/ui/index.ts
|
|
97
|
+
apps/*/webkit/index.ts
|
|
98
|
+
apps/*/srvkit/index.ts
|
|
99
|
+
apps/*/common/index.ts
|
|
99
100
|
apps/*/client.ts
|
|
100
101
|
apps/*/server.ts
|
|
101
102
|
libs/*/lib/cnst.ts
|
|
@@ -107,13 +108,13 @@ libs/*/lib/sig.ts
|
|
|
107
108
|
libs/*/lib/useClient.ts
|
|
108
109
|
libs/*/lib/useServer.ts
|
|
109
110
|
libs/*/lib/*/index.tsx
|
|
111
|
+
libs/*/lib/*/index.ts
|
|
112
|
+
libs/*/lib/__scalar/*/index.ts
|
|
113
|
+
libs/*/ui/index.ts
|
|
114
|
+
libs/*/webkit/index.ts
|
|
115
|
+
libs/*/srvkit/index.ts
|
|
116
|
+
libs/*/common/index.ts
|
|
110
117
|
libs/*/client.ts
|
|
111
118
|
libs/*/server.ts
|
|
112
119
|
libs/*/index.ts
|
|
113
|
-
|
|
114
|
-
# **/postcss.config.js
|
|
115
|
-
# **/playwright.config.ts
|
|
116
|
-
# **/jest.config.ts
|
|
117
|
-
# **/next-env.d.ts
|
|
118
|
-
# **/tsconfig.json
|
|
119
|
-
# **/tsconfig.spec.json
|
|
120
|
+
**/.akan
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"typescript.tsdk": "node_modules/typescript/lib",
|
|
3
|
+
"editor.defaultFormatter": "biomejs.biome",
|
|
4
|
+
"editor.formatOnSave": true,
|
|
5
|
+
"editor.codeActionsOnSave": {
|
|
6
|
+
"source.fixAll.biome": "explicit"
|
|
7
|
+
},
|
|
8
|
+
"[typescript]": {
|
|
9
|
+
"editor.defaultFormatter": "biomejs.biome"
|
|
10
|
+
},
|
|
11
|
+
"[typescriptreact]": {
|
|
12
|
+
"editor.defaultFormatter": "biomejs.biome"
|
|
13
|
+
},
|
|
14
|
+
"[javascript]": {
|
|
15
|
+
"editor.defaultFormatter": "biomejs.biome"
|
|
16
|
+
},
|
|
17
|
+
"[javascriptreact]": {
|
|
18
|
+
"editor.defaultFormatter": "biomejs.biome"
|
|
19
|
+
},
|
|
20
|
+
"[json]": {
|
|
21
|
+
"editor.defaultFormatter": "biomejs.biome"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.4.4/schema.json",
|
|
3
|
+
"vcs": {
|
|
4
|
+
"enabled": true,
|
|
5
|
+
"clientKind": "git",
|
|
6
|
+
"useIgnoreFile": false
|
|
7
|
+
},
|
|
8
|
+
"files": {
|
|
9
|
+
"includes": [
|
|
10
|
+
"**/*.ts",
|
|
11
|
+
"**/*.tsx",
|
|
12
|
+
"**/*.json",
|
|
13
|
+
"**/*.jsonc",
|
|
14
|
+
"!**/env.client.local.ts",
|
|
15
|
+
"!**/env.client.debug.ts",
|
|
16
|
+
"!**/env.client.develop.ts",
|
|
17
|
+
"!**/env.client.main.ts",
|
|
18
|
+
"!**/env.client.testing.ts",
|
|
19
|
+
"!**/env.server.local.ts",
|
|
20
|
+
"!**/env.server.develop.ts",
|
|
21
|
+
"!**/env.server.main.ts",
|
|
22
|
+
"!**/env.server.testing.ts",
|
|
23
|
+
"!**/env.server.type.ts",
|
|
24
|
+
"!apps/*/lib/cnst.ts",
|
|
25
|
+
"!apps/*/lib/dict.ts",
|
|
26
|
+
"!apps/*/lib/db.ts",
|
|
27
|
+
"!apps/*/lib/srv.ts",
|
|
28
|
+
"!apps/*/lib/st.ts",
|
|
29
|
+
"!apps/*/lib/sig.ts",
|
|
30
|
+
"!apps/*/lib/useClient.ts",
|
|
31
|
+
"!apps/*/lib/useServer.ts",
|
|
32
|
+
"!apps/*/client.ts",
|
|
33
|
+
"!apps/*/server.ts",
|
|
34
|
+
"!apps/*/lib/*/index.tsx",
|
|
35
|
+
"!libs/*/lib/cnst.ts",
|
|
36
|
+
"!libs/*/lib/dict.ts",
|
|
37
|
+
"!libs/*/lib/db.ts",
|
|
38
|
+
"!libs/*/lib/srv.ts",
|
|
39
|
+
"!libs/*/lib/st.ts",
|
|
40
|
+
"!libs/*/lib/sig.ts",
|
|
41
|
+
"!libs/*/lib/useClient.ts",
|
|
42
|
+
"!libs/*/lib/useServer.ts",
|
|
43
|
+
"!libs/*/client.ts",
|
|
44
|
+
"!libs/*/server.ts",
|
|
45
|
+
"!libs/*/index.ts",
|
|
46
|
+
"!libs/*/lib/*/index.tsx",
|
|
47
|
+
"!infra/master/createRecords.ts",
|
|
48
|
+
"!pkgs/contract/env.ts",
|
|
49
|
+
"!!**/node_modules",
|
|
50
|
+
"!!**/dist",
|
|
51
|
+
"!!**/.akan",
|
|
52
|
+
"!!**/dump",
|
|
53
|
+
"!!**/local"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"formatter": {
|
|
57
|
+
"enabled": true,
|
|
58
|
+
"indentStyle": "space",
|
|
59
|
+
"indentWidth": 2,
|
|
60
|
+
"lineWidth": 120
|
|
61
|
+
},
|
|
62
|
+
"linter": {
|
|
63
|
+
"enabled": true,
|
|
64
|
+
"rules": {
|
|
65
|
+
"recommended": true,
|
|
66
|
+
"suspicious": {
|
|
67
|
+
"noConsole": {
|
|
68
|
+
"level": "error",
|
|
69
|
+
"options": {
|
|
70
|
+
"allow": ["assert", "error", "info", "warn"]
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"noArrayIndexKey": "off",
|
|
74
|
+
"noShadowRestrictedNames": "off"
|
|
75
|
+
},
|
|
76
|
+
"correctness": {
|
|
77
|
+
"noUnusedFunctionParameters": "off",
|
|
78
|
+
"noUnusedImports": {
|
|
79
|
+
"level": "error",
|
|
80
|
+
"fix": "safe"
|
|
81
|
+
},
|
|
82
|
+
"useParseIntRadix": "off",
|
|
83
|
+
"useExhaustiveDependencies": "off"
|
|
84
|
+
},
|
|
85
|
+
"nursery": {
|
|
86
|
+
"useSortedClasses": {
|
|
87
|
+
"level": "error",
|
|
88
|
+
"fix": "safe",
|
|
89
|
+
"options": {
|
|
90
|
+
"attributes": ["classList"],
|
|
91
|
+
"functions": ["clsx", "cva"]
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"a11y": "off",
|
|
96
|
+
"complexity": {
|
|
97
|
+
"noStaticOnlyClass": "off"
|
|
98
|
+
},
|
|
99
|
+
"style": {
|
|
100
|
+
"useTemplate": {
|
|
101
|
+
"level": "warn",
|
|
102
|
+
"fix": "safe"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"domains": {
|
|
107
|
+
"project": "recommended",
|
|
108
|
+
"react": "recommended",
|
|
109
|
+
"test": "recommended",
|
|
110
|
+
"types": "all"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"javascript": {
|
|
114
|
+
"parser": {
|
|
115
|
+
"unsafeParameterDecoratorsEnabled": true
|
|
116
|
+
},
|
|
117
|
+
"formatter": {
|
|
118
|
+
"quoteStyle": "double"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"assist": {
|
|
122
|
+
"enabled": true,
|
|
123
|
+
"actions": {
|
|
124
|
+
"source": {
|
|
125
|
+
"organizeImports": "on"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"overrides": [
|
|
130
|
+
{
|
|
131
|
+
"includes": ["**/page/**/*.ts", "**/page/**/*.tsx", "**/*.Unit.tsx", "**/*.View.tsx"],
|
|
132
|
+
"plugins": [
|
|
133
|
+
"./node_modules/@akanjs/devkit/lint/no-import-client-functions.grit",
|
|
134
|
+
"./node_modules/@akanjs/devkit/lint/no-use-client-in-server.grit"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"includes": ["**/page/**/*.ts", "**/page/**/*.tsx"],
|
|
139
|
+
"plugins": ["./node_modules/@akanjs/devkit/lint/non-scalar-props-restricted.grit"]
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"includes": ["**/*.constant.ts", "**/*.document.ts", "**/*.service.ts", "**/*.store.ts"],
|
|
143
|
+
"plugins": ["./node_modules/@akanjs/devkit/lint/no-js-private-class-method.grit"]
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"includes": [
|
|
147
|
+
"**/*.constant.ts",
|
|
148
|
+
"**/*.dictionary.ts",
|
|
149
|
+
"**/*.document.ts",
|
|
150
|
+
"**/*.service.ts",
|
|
151
|
+
"**/*.signal.ts",
|
|
152
|
+
"**/*.store.ts",
|
|
153
|
+
"**/*.Template.tsx",
|
|
154
|
+
"**/*.Unit.tsx",
|
|
155
|
+
"**/*.Util.tsx",
|
|
156
|
+
"**/*.View.tsx",
|
|
157
|
+
"**/*.Zone.tsx"
|
|
158
|
+
],
|
|
159
|
+
"plugins": ["./node_modules/@akanjs/devkit/lint/no-deep-internal-import.grit"]
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"includes": [
|
|
163
|
+
"**/page/**/*.ts",
|
|
164
|
+
"**/page/**/*.tsx",
|
|
165
|
+
"**/index.ts",
|
|
166
|
+
"**/index.tsx",
|
|
167
|
+
"**/cnst.ts",
|
|
168
|
+
"**/db.ts",
|
|
169
|
+
"**/dict.ts",
|
|
170
|
+
"**/option.ts",
|
|
171
|
+
"**/sig.ts",
|
|
172
|
+
"**/srv.ts",
|
|
173
|
+
"**/st.ts",
|
|
174
|
+
"**/*.constant.ts",
|
|
175
|
+
"**/*.dictionary.ts",
|
|
176
|
+
"**/*.document.ts",
|
|
177
|
+
"**/*.service.ts",
|
|
178
|
+
"**/*.signal.ts",
|
|
179
|
+
"**/*.signal.test.ts",
|
|
180
|
+
"**/*.service.test.ts",
|
|
181
|
+
"**/*.store.ts",
|
|
182
|
+
"**/*.Template.tsx",
|
|
183
|
+
"**/*.Unit.tsx",
|
|
184
|
+
"**/*.Util.tsx",
|
|
185
|
+
"**/*.View.tsx",
|
|
186
|
+
"**/*.Zone.tsx"
|
|
187
|
+
],
|
|
188
|
+
"plugins": ["./node_modules/@akanjs/devkit/lint/no-import-external-library.grit"]
|
|
189
|
+
}
|
|
190
|
+
]
|
|
191
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": ["ESNext", "DOM"],
|
|
4
|
+
"target": "ESNext",
|
|
5
|
+
"module": "esnext",
|
|
6
|
+
"moduleDetection": "force",
|
|
7
|
+
"jsx": "react-jsx",
|
|
8
|
+
"allowJs": true,
|
|
9
|
+
"types": ["bun"],
|
|
10
|
+
"moduleResolution": "bundler",
|
|
11
|
+
"allowImportingTsExtensions": true,
|
|
12
|
+
"verbatimModuleSyntax": true,
|
|
13
|
+
"noEmit": true,
|
|
14
|
+
"strict": true,
|
|
15
|
+
"skipLibCheck": true,
|
|
16
|
+
"noFallthroughCasesInSwitch": true,
|
|
17
|
+
"noUncheckedSideEffectImports": false,
|
|
18
|
+
"noUncheckedIndexedAccess": false,
|
|
19
|
+
"noImplicitOverride": true,
|
|
20
|
+
"noUnusedLocals": false,
|
|
21
|
+
"noUnusedParameters": false,
|
|
22
|
+
"noPropertyAccessFromIndexSignature": false,
|
|
23
|
+
"experimentalDecorators": true,
|
|
24
|
+
"paths": {
|
|
25
|
+
"@apps/*": ["./apps/*"],
|
|
26
|
+
"@libs/*": ["./libs/*"]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
package/README.md
DELETED
|
@@ -1,307 +0,0 @@
|
|
|
1
|
-
> 🎉 **Akanjs v2 has been released!**
|
|
2
|
-
>
|
|
3
|
-
> This package is under maintenance for existing users, but we recommend using Akanjs v2 for new projects.
|
|
4
|
-
>
|
|
5
|
-
> For the unified and latest version package, please visit [akanjs](https://www.npmjs.com/package/akanjs).
|
|
6
|
-
|
|
7
|
-
# ⚡ Akan.js CLI
|
|
8
|
-
|
|
9
|
-
The official command-line interface for the Akan.js ecosystem, providing powerful development tools for creating, managing, and deploying modern web applications with ease.
|
|
10
|
-
|
|
11
|
-
## 🚀 Get Started
|
|
12
|
-
|
|
13
|
-
### Prerequisites
|
|
14
|
-
|
|
15
|
-
- Node.js >=20.x
|
|
16
|
-
- pnpm >=10.x
|
|
17
|
-
- docker
|
|
18
|
-
- (temporary) access permission to akan-team github organization
|
|
19
|
-
|
|
20
|
-
### How to create your project
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
npm install -g @akanjs/cli --latest
|
|
24
|
-
# or if you want to update, run below
|
|
25
|
-
# npm update -g @akanjs/cli --latest
|
|
26
|
-
|
|
27
|
-
akan create-workspace
|
|
28
|
-
# workspace name?
|
|
29
|
-
# application name?
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
### How to start your project
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
cd <workspace-name> && akan start <app-name> --open
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
you can navigate to default webpage
|
|
39
|
-
|
|
40
|
-
- home: http://localhost:4200
|
|
41
|
-
|
|
42
|
-
### Recipes
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
# set llm model
|
|
46
|
-
akan set-llm
|
|
47
|
-
|
|
48
|
-
# create module
|
|
49
|
-
akan create-module
|
|
50
|
-
|
|
51
|
-
# create scalar
|
|
52
|
-
akan create-scalar
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
## ✨ Features
|
|
56
|
-
|
|
57
|
-
The `@akanjs/cli` is a comprehensive development toolkit that streamlines the entire application lifecycle:
|
|
58
|
-
|
|
59
|
-
### 🏗️ **Workspace Management** (`workspace`)
|
|
60
|
-
|
|
61
|
-
Complete workspace and project management:
|
|
62
|
-
|
|
63
|
-
- **🚀 Project Initialization**
|
|
64
|
-
- `create-workspace` - Create new Akan.js workspace with organization setup
|
|
65
|
-
- `generate-mongo` - Generate MongoDB configuration and setup
|
|
66
|
-
- `lint` / `lint-all` - Code linting with auto-fix capabilities
|
|
67
|
-
|
|
68
|
-
### 📱 **Application Lifecycle** (`application`)
|
|
69
|
-
|
|
70
|
-
Full-stack application development and deployment:
|
|
71
|
-
|
|
72
|
-
- **🔧 Application Management**
|
|
73
|
-
- `create-application` - Scaffold new applications with templates
|
|
74
|
-
- `remove-application` - Clean application removal
|
|
75
|
-
- `sync-application` - Synchronize application dependencies
|
|
76
|
-
|
|
77
|
-
- **🏗️ Build System**
|
|
78
|
-
- `build` - Complete application build
|
|
79
|
-
- `build-backend` - Server-side build optimization
|
|
80
|
-
- `build-frontend` - Client-side build with Next.js
|
|
81
|
-
- `build-csr` - Client-side rendering build
|
|
82
|
-
- `build-ios` - iOS native app compilation
|
|
83
|
-
- `build-android` - Android native app compilation
|
|
84
|
-
|
|
85
|
-
- **🚀 Development Server**
|
|
86
|
-
- `start` - Full-stack development server
|
|
87
|
-
- `start-backend` - GraphQL backend server
|
|
88
|
-
- `start-frontend` - Next.js frontend server with Turbo support
|
|
89
|
-
- `start-csr` - Client-side rendering server
|
|
90
|
-
- `start-ios` - iOS simulator with live reload
|
|
91
|
-
- `start-android` - Android emulator with live reload
|
|
92
|
-
|
|
93
|
-
- **📦 Release Management**
|
|
94
|
-
- `release-ios` - iOS App Store deployment
|
|
95
|
-
- `release-android` - Google Play deployment
|
|
96
|
-
- `release-source` - Source code release with versioning
|
|
97
|
-
|
|
98
|
-
- **🗄️ Database Operations**
|
|
99
|
-
- `dump-database` - Database backup across environments
|
|
100
|
-
- `restore-database` - Database restoration with environment selection
|
|
101
|
-
- `pull-database` - Pull remote database locally
|
|
102
|
-
- `dbup` / `dbdown` - Local database container management
|
|
103
|
-
|
|
104
|
-
### 📚 **Library Management** (`library`)
|
|
105
|
-
|
|
106
|
-
Modular library system for code reusability:
|
|
107
|
-
|
|
108
|
-
- **📦 Library Operations**
|
|
109
|
-
- `create-library` - Create new shared libraries
|
|
110
|
-
- `remove-library` - Clean library removal
|
|
111
|
-
- `sync-library` - Synchronize library dependencies
|
|
112
|
-
- `install-library` - Install existing libraries into workspace
|
|
113
|
-
|
|
114
|
-
- **🔄 Version Control Integration**
|
|
115
|
-
- `push-library` - Push library changes to remote repository
|
|
116
|
-
- `pull-library` - Pull latest library updates
|
|
117
|
-
|
|
118
|
-
### 🧩 **Module Development** (`module`)
|
|
119
|
-
|
|
120
|
-
AI-powered module generation and management:
|
|
121
|
-
|
|
122
|
-
- **🤖 Smart Module Creation**
|
|
123
|
-
- `create-module` - Generate modules with AI assistance
|
|
124
|
-
- `create-scalar` - Create scalar data models
|
|
125
|
-
- `remove-module` - Module cleanup with dependency checks
|
|
126
|
-
|
|
127
|
-
- **🎨 Component Generation**
|
|
128
|
-
- `create-view` - Generate React view components
|
|
129
|
-
- `create-unit` - Create reusable unit components
|
|
130
|
-
- `create-template` - Generate component templates
|
|
131
|
-
|
|
132
|
-
### 📄 **Page Generation** (`page`)
|
|
133
|
-
|
|
134
|
-
Dynamic page scaffolding:
|
|
135
|
-
|
|
136
|
-
- **📝 Page Management**
|
|
137
|
-
- `create-page` - Generate Next.js pages with routing
|
|
138
|
-
|
|
139
|
-
### ☁️ **Cloud Integration** (`cloud`)
|
|
140
|
-
|
|
141
|
-
Seamless cloud services and AI integration:
|
|
142
|
-
|
|
143
|
-
- **🔐 Authentication**
|
|
144
|
-
- `login` / `logout` - Cloud service authentication
|
|
145
|
-
- User session and credential management
|
|
146
|
-
|
|
147
|
-
- **🤖 AI Development Assistant**
|
|
148
|
-
- `set-llm` / `reset-llm` - Configure AI language models
|
|
149
|
-
- `ask` - Interactive AI development assistance
|
|
150
|
-
|
|
151
|
-
- **🚀 Deployment**
|
|
152
|
-
- `deploy-akan` - Deploy to Akan.js cloud infrastructure
|
|
153
|
-
- `update` - Update CLI and cloud integrations
|
|
154
|
-
|
|
155
|
-
### 📦 **Package Operations** (`package`)
|
|
156
|
-
|
|
157
|
-
NPM package management and publishing:
|
|
158
|
-
|
|
159
|
-
- **🔧 Package Lifecycle**
|
|
160
|
-
- Package building and optimization
|
|
161
|
-
- NPM publishing with versioning
|
|
162
|
-
- Dependency management
|
|
163
|
-
|
|
164
|
-
## 📖 Usage Examples
|
|
165
|
-
|
|
166
|
-
### Workspace Management
|
|
167
|
-
|
|
168
|
-
```bash
|
|
169
|
-
# Create new workspace
|
|
170
|
-
akan create-workspace "acme-corp" --app "web-app" --dir "./projects"
|
|
171
|
-
|
|
172
|
-
# Setup MongoDB for development
|
|
173
|
-
akan generate-mongo
|
|
174
|
-
|
|
175
|
-
# Lint entire workspace
|
|
176
|
-
akan lint-all --fix
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
### Application Development
|
|
180
|
-
|
|
181
|
-
```bash
|
|
182
|
-
# Create new application
|
|
183
|
-
akan create-application "mobile-app" --start
|
|
184
|
-
|
|
185
|
-
# Start full development environment
|
|
186
|
-
akan start web-app --open
|
|
187
|
-
|
|
188
|
-
# Build for production
|
|
189
|
-
akan build web-app
|
|
190
|
-
|
|
191
|
-
# Start backend only
|
|
192
|
-
akan start-backend web-app --open # Opens GraphQL playground
|
|
193
|
-
|
|
194
|
-
# Build and start mobile app
|
|
195
|
-
akan build-ios mobile-app
|
|
196
|
-
akan start-ios mobile-app --open --release
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
### Library Management
|
|
200
|
-
|
|
201
|
-
```bash
|
|
202
|
-
# Create shared library
|
|
203
|
-
akan create-library "ui-components"
|
|
204
|
-
|
|
205
|
-
# Install existing library
|
|
206
|
-
akan install-library "util"
|
|
207
|
-
|
|
208
|
-
# Update library from remote
|
|
209
|
-
akan pull-library "shared" --branch main
|
|
210
|
-
|
|
211
|
-
# Push library changes (development)
|
|
212
|
-
akan push-library "ui-components" --branch feature/new-buttons
|
|
213
|
-
```
|
|
214
|
-
|
|
215
|
-
### AI-Powered Module Creation
|
|
216
|
-
|
|
217
|
-
```bash
|
|
218
|
-
# Create module with AI assistance
|
|
219
|
-
akan create-module "user-profile" \
|
|
220
|
-
--description "User profile management with avatar upload" \
|
|
221
|
-
--schema-description "User entity with profile fields and file relationships" \
|
|
222
|
-
--ai
|
|
223
|
-
|
|
224
|
-
# Create scalar data model
|
|
225
|
-
akan create-scalar "address" \
|
|
226
|
-
--description "Address information for users" \
|
|
227
|
-
--schema-description "Street, city, country, postal code fields"
|
|
228
|
-
|
|
229
|
-
# Generate view components
|
|
230
|
-
akan create-view # Interactive selection
|
|
231
|
-
akan create-unit # Interactive selection
|
|
232
|
-
```
|
|
233
|
-
|
|
234
|
-
### Cloud & AI Integration
|
|
235
|
-
|
|
236
|
-
```bash
|
|
237
|
-
# Setup cloud authentication
|
|
238
|
-
akan login
|
|
239
|
-
|
|
240
|
-
# Configure AI assistant
|
|
241
|
-
akan set-llm
|
|
242
|
-
|
|
243
|
-
# Get AI development help
|
|
244
|
-
akan ask "How do I implement user authentication with JWT?"
|
|
245
|
-
```
|
|
246
|
-
|
|
247
|
-
### Database Operations
|
|
248
|
-
|
|
249
|
-
```bash
|
|
250
|
-
# Backup production database
|
|
251
|
-
akan dump-database web-app --environment main
|
|
252
|
-
|
|
253
|
-
# Restore from staging to development
|
|
254
|
-
akan restore-database web-app --source develop --target debug
|
|
255
|
-
|
|
256
|
-
# Pull remote database locally
|
|
257
|
-
akan pull-database web-app --env debug --dump
|
|
258
|
-
|
|
259
|
-
# Start local database
|
|
260
|
-
akan dbup
|
|
261
|
-
```
|
|
262
|
-
|
|
263
|
-
## 🤖 AI-Powered Development
|
|
264
|
-
|
|
265
|
-
The CLI integrates advanced AI capabilities:
|
|
266
|
-
|
|
267
|
-
- **🧠 Smart Code Generation** - AI analyzes requirements and generates optimized code
|
|
268
|
-
- **📋 Schema Intelligence** - Automatic database schema generation from descriptions
|
|
269
|
-
- **🔍 Context-Aware Assistance** - AI understands your project structure for better suggestions
|
|
270
|
-
- **⚡ Rapid Prototyping** - Generate complete modules with business logic in seconds
|
|
271
|
-
|
|
272
|
-
## 🛠️ Advanced Features
|
|
273
|
-
|
|
274
|
-
- **🔄 Hot Reload** - Instant development feedback across all platforms
|
|
275
|
-
- **📱 Cross-Platform** - Build web, iOS, and Android from single codebase
|
|
276
|
-
- **🎯 TypeScript First** - Full TypeScript support with strict type checking
|
|
277
|
-
- **🌐 GraphQL Integration** - Built-in GraphQL server and client generation
|
|
278
|
-
- **🔐 Security Built-in** - JWT authentication, RBAC, and security best practices
|
|
279
|
-
- **📊 Performance Monitoring** - Built-in performance tracking and optimization
|
|
280
|
-
- **🧪 Testing Framework** - Integrated Jest and Playwright testing
|
|
281
|
-
- **📦 Micro-frontends** - Support for modular frontend architecture
|
|
282
|
-
|
|
283
|
-
## 🤝 Contributing
|
|
284
|
-
|
|
285
|
-
1. Fork the repository
|
|
286
|
-
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
|
|
287
|
-
3. Commit your changes (`git commit -m 'Add amazing CLI feature'`)
|
|
288
|
-
4. Push to the branch (`git push origin feature/amazing-feature`)
|
|
289
|
-
5. Open a Pull Request
|
|
290
|
-
|
|
291
|
-
## 📄 License
|
|
292
|
-
|
|
293
|
-
This project is part of the Akan.js ecosystem. See the main repository for license information.
|
|
294
|
-
|
|
295
|
-
## 🔗 Related Packages
|
|
296
|
-
|
|
297
|
-
- [`@akanjs/devkit`](../devkit) - Development toolkit and command infrastructure
|
|
298
|
-
- [`@akanjs/base`](../base) - Core foundation
|
|
299
|
-
- [`@akanjs/common`](../common) - Shared utilities
|
|
300
|
-
- [`@akanjs/nest`](../nest) - NestJS integrations
|
|
301
|
-
- [`@akanjs/next`](../next) - Next.js utilities
|
|
302
|
-
|
|
303
|
-
---
|
|
304
|
-
|
|
305
|
-
<p align="center">
|
|
306
|
-
<strong>Built with ❤️ by the Akan.js team</strong>
|
|
307
|
-
</p>
|