Skip to content

Migrate tce-boot#38

Merged
rkusan00 merged 26 commits intomainfrom
task/migrate-tce-boot
Jul 10, 2025
Merged

Migrate tce-boot#38
rkusan00 merged 26 commits intomainfrom
task/migrate-tce-boot

Conversation

@rkusan00
Copy link
Contributor

@rkusan00 rkusan00 commented Jun 25, 2025

Migration guide:

Root changes

  • add .devcontainer directory with setup.sh and devcontainer.json
  • update setup/action.yml node to 24
  • add .pnpm.store and nohup.out to gitignore
  • add .prettierrc from individual packages
  • add eslint.config.js
  • replace scripts accordingly
  • update and cleanup dependencies
  • add sqlite3 to onlyBuiltDependencies in pnpm-workspace
  • add root tsconfig.js

Common Packages changes

  • Replace eslintrc.cjs with eslint.config.js
  • Remove .prettierrc since it's in root now
  • Bump dependencies
  • Update scripts

Display

  • instead of passing element data to Display now entire element is passed, update accordingly: defineProps<{ element: Element; userState: any }>();

Edit

  • isReadonly prop replaced isDisabled prop, also isDragged is passed

Manifest

  • manifest interfaces now should extend common interfaces from cek-common:
import type * as common from '@tailor-cms/cek-common';

export interface ElementData extends common.ElementConfig {
  ...
}

export type DataInitializer = common.DataInitializer<ElementData>;
export type Element = common.Element<ElementData>;
export type ElementManifest = common.ElementManifest<ElementData>;

Server

  • Remove eslint disables from the src/index.ts and underscore unused args instead
  • If used ai should be imported from manifest and exported from server both in default and named export

Test

  • update dotenv config import in playwright.config, eslint fixes
  • in playwright.config remove:
timeout: 10 * 60 * 1000,
expect: { timeout: 30 * 1000 },
  • users can now utilize cek pom for the CEK related models by importing it from @tailor-cms/cek-e2e

@rkusan00 rkusan00 changed the title Task/migrate tce boot Migrate tce-boot Jun 30, 2025
@rkusan00 rkusan00 force-pushed the task/migrate-tce-boot branch 2 times, most recently from 6733994 to 380a175 Compare June 30, 2025 14:17
@rkusan00 rkusan00 force-pushed the task/migrate-tce-boot branch from 5239be0 to 8fc4815 Compare June 30, 2025 17:13
@rkusan00 rkusan00 force-pushed the task/migrate-tce-boot branch from 8fc4815 to fba8e53 Compare June 30, 2025 17:21
@rkusan00 rkusan00 requested a review from underscope July 2, 2025 13:49
@rkusan00 rkusan00 force-pushed the task/migrate-tce-boot branch from 6a00d4a to 05e5fd3 Compare July 7, 2025 18:39
@rkusan00 rkusan00 merged commit 8e21080 into main Jul 10, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant