From 5e03a3cca8d167fbb8cd2a7c68905fef98b3af40 Mon Sep 17 00:00:00 2001 From: Ruan Jiazhen Date: Sun, 18 Oct 2026 21:56:44 +0800 Subject: [PATCH 1/3] feat(courses): add chibivue configs for English, Japanese, and Traditional Chinese The same book/impls snapshots can be opened with chapter titles and docs links that match each chibivue book locale. Co-authored-by: Cursor --- docs/architecture.md | 2 +- packages/courses-config/README.md | 3 + .../chapters/001-project-setup.jsonc | 42 +++++++ .../chibivue-en/chapters/002-create-app.jsonc | 26 +++++ .../chapters/003-package-architecture.jsonc | 50 ++++++++ .../chapters/004-simple-h-function.jsonc | 62 ++++++++++ .../chapters/005-reactive-system.jsonc | 54 +++++++++ .../chapters/006-vdom-system.jsonc | 34 ++++++ .../chapters/007-component-system.jsonc | 38 ++++++ .../chapters/008-component-props.jsonc | 34 ++++++ .../chapters/009-component-emits.jsonc | 46 ++++++++ .../chapters/010-template-compiler.jsonc | 66 +++++++++++ .../011-template-compiler-parser.jsonc | 30 +++++ .../chapters/012-template-binding.jsonc | 42 +++++++ .../chapters/013-sfc-prerequisite.jsonc | 74 ++++++++++++ .../chibivue-en/chapters/014-parse-sfc.jsonc | 110 ++++++++++++++++++ .../chapters/015-compile-sfc-template.jsonc | 38 ++++++ .../chapters/016-compile-sfc-style.jsonc | 38 ++++++ .../chapters/017-patch-keyed-children.jsonc | 38 ++++++ .../chibivue-en/chapters/018-bit-flags.jsonc | 34 ++++++ .../chibivue-en/chapters/019-scheduler.jsonc | 34 ++++++ .../chibivue-en/chapters/020-next-tick.jsonc | 30 +++++ .../chapters/021-other-props.jsonc | 42 +++++++ .../chibivue-en/chapters/022-ref.jsonc | 46 ++++++++ .../chapters/023-shallow-ref.jsonc | 38 ++++++ .../chibivue-en/chapters/024-to-ref.jsonc | 46 ++++++++ .../chibivue-en/chapters/025-to-refs.jsonc | 34 ++++++ .../chibivue-en/chapters/026-computed.jsonc | 30 +++++ .../chapters/027-computed-setter.jsonc | 30 +++++ .../chibivue-en/chapters/028-watch.jsonc | 38 ++++++ .../chapters/029-watch-api-extends.jsonc | 34 ++++++ .../chapters/030-watch-effect.jsonc | 30 +++++ .../031-reactive-proxy-target-type.jsonc | 30 +++++ .../chapters/032-template-refs.jsonc | 34 ++++++ .../033-proxy-handler-improvement.jsonc | 42 +++++++ .../chapters/034-cleanup-effects.jsonc | 30 +++++ .../chapters/035-effect-scope.jsonc | 38 ++++++ .../chibivue-en/chapters/036-other-apis.jsonc | 42 +++++++ .../chapters/037-lifecycle-hooks.jsonc | 54 +++++++++ .../chapters/038-provide-inject.jsonc | 46 ++++++++ .../chapters/039-component-proxy.jsonc | 50 ++++++++ .../chapters/040-setup-context.jsonc | 38 ++++++ .../chapters/041-component-slot.jsonc | 54 +++++++++ .../chapters/042-slot-extend.jsonc | 34 ++++++ .../chapters/043-options-api.jsonc | 42 +++++++ .../chapters/044-transformer.jsonc | 46 ++++++++ .../chibivue-en/chapters/045-v-bind.jsonc | 66 +++++++++++ .../chapters/046-transform-expression.jsonc | 66 +++++++++++ .../chibivue-en/chapters/047-v-on.jsonc | 70 +++++++++++ .../chapters/048-event-modifier.jsonc | 74 ++++++++++++ .../chapters/049-event-modifier2.jsonc | 42 +++++++ .../chibivue-en/chapters/050-fragment.jsonc | 58 +++++++++ .../chibivue-en/chapters/051-comment.jsonc | 54 +++++++++ .../chibivue-en/chapters/052-v-if.jsonc | 42 +++++++ .../chibivue-en/chapters/053-v-for.jsonc | 78 +++++++++++++ .../chapters/054-resolve-components.jsonc | 102 ++++++++++++++++ .../chapters/055-component-slot-outlet.jsonc | 70 +++++++++++ .../chapters/056-component-slot-insert.jsonc | 46 ++++++++ .../chapters/057-other-directives.jsonc | 66 +++++++++++ .../chapters/058-chore-compiler.jsonc | 9 ++ .../chapters/059-script-setup.jsonc | 34 ++++++ .../chapters/060-define-props.jsonc | 42 +++++++ .../chapters/061-define-emits.jsonc | 26 +++++ .../chibivue-en/chapters/062-scoped-css.jsonc | 26 +++++ .../chapters/063-props-destructure.jsonc | 22 ++++ .../chapters/064-type-based-macros.jsonc | 26 +++++ .../chibivue-en/chapters/065-ssr.jsonc | 110 ++++++++++++++++++ .../chibivue-en/chapters/066-keep-alive.jsonc | 58 +++++++++ .../chibivue-en/chapters/067-transition.jsonc | 34 ++++++ .../chapters/068-static-hoisting.jsonc | 34 ++++++ .../chapters/069-patch-flags.jsonc | 38 ++++++ .../chapters/070-minimal-vue.jsonc | 46 ++++++++ .../courses-config/chibivue-en/course.jsonc | 10 ++ .../chapters/001-project-setup.jsonc | 42 +++++++ .../chibivue-ja/chapters/002-create-app.jsonc | 26 +++++ .../chapters/003-package-architecture.jsonc | 50 ++++++++ .../chapters/004-simple-h-function.jsonc | 62 ++++++++++ .../chapters/005-reactive-system.jsonc | 54 +++++++++ .../chapters/006-vdom-system.jsonc | 34 ++++++ .../chapters/007-component-system.jsonc | 38 ++++++ .../chapters/008-component-props.jsonc | 34 ++++++ .../chapters/009-component-emits.jsonc | 46 ++++++++ .../chapters/010-template-compiler.jsonc | 66 +++++++++++ .../011-template-compiler-parser.jsonc | 30 +++++ .../chapters/012-template-binding.jsonc | 42 +++++++ .../chapters/013-sfc-prerequisite.jsonc | 74 ++++++++++++ .../chibivue-ja/chapters/014-parse-sfc.jsonc | 110 ++++++++++++++++++ .../chapters/015-compile-sfc-template.jsonc | 38 ++++++ .../chapters/016-compile-sfc-style.jsonc | 38 ++++++ .../chapters/017-patch-keyed-children.jsonc | 38 ++++++ .../chibivue-ja/chapters/018-bit-flags.jsonc | 34 ++++++ .../chibivue-ja/chapters/019-scheduler.jsonc | 34 ++++++ .../chibivue-ja/chapters/020-next-tick.jsonc | 30 +++++ .../chapters/021-other-props.jsonc | 42 +++++++ .../chibivue-ja/chapters/022-ref.jsonc | 46 ++++++++ .../chapters/023-shallow-ref.jsonc | 38 ++++++ .../chibivue-ja/chapters/024-to-ref.jsonc | 46 ++++++++ .../chibivue-ja/chapters/025-to-refs.jsonc | 34 ++++++ .../chibivue-ja/chapters/026-computed.jsonc | 30 +++++ .../chapters/027-computed-setter.jsonc | 30 +++++ .../chibivue-ja/chapters/028-watch.jsonc | 38 ++++++ .../chapters/029-watch-api-extends.jsonc | 34 ++++++ .../chapters/030-watch-effect.jsonc | 30 +++++ .../031-reactive-proxy-target-type.jsonc | 30 +++++ .../chapters/032-template-refs.jsonc | 34 ++++++ .../033-proxy-handler-improvement.jsonc | 42 +++++++ .../chapters/034-cleanup-effects.jsonc | 30 +++++ .../chapters/035-effect-scope.jsonc | 38 ++++++ .../chibivue-ja/chapters/036-other-apis.jsonc | 42 +++++++ .../chapters/037-lifecycle-hooks.jsonc | 54 +++++++++ .../chapters/038-provide-inject.jsonc | 46 ++++++++ .../chapters/039-component-proxy.jsonc | 50 ++++++++ .../chapters/040-setup-context.jsonc | 38 ++++++ .../chapters/041-component-slot.jsonc | 54 +++++++++ .../chapters/042-slot-extend.jsonc | 34 ++++++ .../chapters/043-options-api.jsonc | 42 +++++++ .../chapters/044-transformer.jsonc | 46 ++++++++ .../chibivue-ja/chapters/045-v-bind.jsonc | 66 +++++++++++ .../chapters/046-transform-expression.jsonc | 66 +++++++++++ .../chibivue-ja/chapters/047-v-on.jsonc | 70 +++++++++++ .../chapters/048-event-modifier.jsonc | 74 ++++++++++++ .../chapters/049-event-modifier2.jsonc | 42 +++++++ .../chibivue-ja/chapters/050-fragment.jsonc | 58 +++++++++ .../chibivue-ja/chapters/051-comment.jsonc | 54 +++++++++ .../chibivue-ja/chapters/052-v-if.jsonc | 42 +++++++ .../chibivue-ja/chapters/053-v-for.jsonc | 78 +++++++++++++ .../chapters/054-resolve-components.jsonc | 102 ++++++++++++++++ .../chapters/055-component-slot-outlet.jsonc | 70 +++++++++++ .../chapters/056-component-slot-insert.jsonc | 46 ++++++++ .../chapters/057-other-directives.jsonc | 66 +++++++++++ .../chapters/058-chore-compiler.jsonc | 9 ++ .../chapters/059-script-setup.jsonc | 34 ++++++ .../chapters/060-define-props.jsonc | 42 +++++++ .../chapters/061-define-emits.jsonc | 26 +++++ .../chibivue-ja/chapters/062-scoped-css.jsonc | 26 +++++ .../chapters/063-props-destructure.jsonc | 22 ++++ .../chapters/064-type-based-macros.jsonc | 26 +++++ .../chibivue-ja/chapters/065-ssr.jsonc | 110 ++++++++++++++++++ .../chibivue-ja/chapters/066-keep-alive.jsonc | 58 +++++++++ .../chibivue-ja/chapters/067-transition.jsonc | 34 ++++++ .../chapters/068-static-hoisting.jsonc | 34 ++++++ .../chapters/069-patch-flags.jsonc | 38 ++++++ .../chapters/070-minimal-vue.jsonc | 46 ++++++++ .../courses-config/chibivue-ja/course.jsonc | 10 ++ .../chapters/001-project-setup.jsonc | 42 +++++++ .../chapters/002-create-app.jsonc | 26 +++++ .../chapters/003-package-architecture.jsonc | 50 ++++++++ .../chapters/004-simple-h-function.jsonc | 62 ++++++++++ .../chapters/005-reactive-system.jsonc | 54 +++++++++ .../chapters/006-vdom-system.jsonc | 34 ++++++ .../chapters/007-component-system.jsonc | 38 ++++++ .../chapters/008-component-props.jsonc | 34 ++++++ .../chapters/009-component-emits.jsonc | 46 ++++++++ .../chapters/010-template-compiler.jsonc | 66 +++++++++++ .../011-template-compiler-parser.jsonc | 30 +++++ .../chapters/012-template-binding.jsonc | 42 +++++++ .../chapters/013-sfc-prerequisite.jsonc | 74 ++++++++++++ .../chapters/014-parse-sfc.jsonc | 110 ++++++++++++++++++ .../chapters/015-compile-sfc-template.jsonc | 38 ++++++ .../chapters/016-compile-sfc-style.jsonc | 38 ++++++ .../chapters/017-patch-keyed-children.jsonc | 38 ++++++ .../chapters/018-bit-flags.jsonc | 34 ++++++ .../chapters/019-scheduler.jsonc | 34 ++++++ .../chapters/020-next-tick.jsonc | 30 +++++ .../chapters/021-other-props.jsonc | 42 +++++++ .../chibivue-zh-tw/chapters/022-ref.jsonc | 46 ++++++++ .../chapters/023-shallow-ref.jsonc | 38 ++++++ .../chibivue-zh-tw/chapters/024-to-ref.jsonc | 46 ++++++++ .../chibivue-zh-tw/chapters/025-to-refs.jsonc | 34 ++++++ .../chapters/026-computed.jsonc | 30 +++++ .../chapters/027-computed-setter.jsonc | 30 +++++ .../chibivue-zh-tw/chapters/028-watch.jsonc | 38 ++++++ .../chapters/029-watch-api-extends.jsonc | 34 ++++++ .../chapters/030-watch-effect.jsonc | 30 +++++ .../031-reactive-proxy-target-type.jsonc | 30 +++++ .../chapters/032-template-refs.jsonc | 34 ++++++ .../033-proxy-handler-improvement.jsonc | 42 +++++++ .../chapters/034-cleanup-effects.jsonc | 30 +++++ .../chapters/035-effect-scope.jsonc | 38 ++++++ .../chapters/036-other-apis.jsonc | 42 +++++++ .../chapters/037-lifecycle-hooks.jsonc | 54 +++++++++ .../chapters/038-provide-inject.jsonc | 46 ++++++++ .../chapters/039-component-proxy.jsonc | 50 ++++++++ .../chapters/040-setup-context.jsonc | 38 ++++++ .../chapters/041-component-slot.jsonc | 54 +++++++++ .../chapters/042-slot-extend.jsonc | 34 ++++++ .../chapters/043-options-api.jsonc | 42 +++++++ .../chapters/044-transformer.jsonc | 46 ++++++++ .../chibivue-zh-tw/chapters/045-v-bind.jsonc | 66 +++++++++++ .../chapters/046-transform-expression.jsonc | 66 +++++++++++ .../chibivue-zh-tw/chapters/047-v-on.jsonc | 70 +++++++++++ .../chapters/048-event-modifier.jsonc | 74 ++++++++++++ .../chapters/049-event-modifier2.jsonc | 42 +++++++ .../chapters/050-fragment.jsonc | 58 +++++++++ .../chibivue-zh-tw/chapters/051-comment.jsonc | 54 +++++++++ .../chibivue-zh-tw/chapters/052-v-if.jsonc | 42 +++++++ .../chibivue-zh-tw/chapters/053-v-for.jsonc | 78 +++++++++++++ .../chapters/054-resolve-components.jsonc | 102 ++++++++++++++++ .../chapters/055-component-slot-outlet.jsonc | 70 +++++++++++ .../chapters/056-component-slot-insert.jsonc | 46 ++++++++ .../chapters/057-other-directives.jsonc | 66 +++++++++++ .../chapters/058-chore-compiler.jsonc | 9 ++ .../chapters/059-script-setup.jsonc | 34 ++++++ .../chapters/060-define-props.jsonc | 42 +++++++ .../chapters/061-define-emits.jsonc | 26 +++++ .../chapters/062-scoped-css.jsonc | 26 +++++ .../chapters/063-props-destructure.jsonc | 22 ++++ .../chapters/064-type-based-macros.jsonc | 26 +++++ .../chibivue-zh-tw/chapters/065-ssr.jsonc | 110 ++++++++++++++++++ .../chapters/066-keep-alive.jsonc | 58 +++++++++ .../chapters/067-transition.jsonc | 34 ++++++ .../chapters/068-static-hoisting.jsonc | 34 ++++++ .../chapters/069-patch-flags.jsonc | 38 ++++++ .../chapters/070-minimal-vue.jsonc | 46 ++++++++ .../chibivue-zh-tw/course.jsonc | 10 ++ packages/courses-config/courses.jsonc | 15 +++ 216 files changed, 9670 insertions(+), 1 deletion(-) create mode 100644 packages/courses-config/chibivue-en/chapters/001-project-setup.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/002-create-app.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/003-package-architecture.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/004-simple-h-function.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/005-reactive-system.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/006-vdom-system.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/007-component-system.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/008-component-props.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/009-component-emits.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/010-template-compiler.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/011-template-compiler-parser.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/012-template-binding.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/013-sfc-prerequisite.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/014-parse-sfc.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/015-compile-sfc-template.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/016-compile-sfc-style.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/017-patch-keyed-children.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/018-bit-flags.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/019-scheduler.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/020-next-tick.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/021-other-props.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/022-ref.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/023-shallow-ref.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/024-to-ref.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/025-to-refs.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/026-computed.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/027-computed-setter.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/028-watch.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/029-watch-api-extends.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/030-watch-effect.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/031-reactive-proxy-target-type.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/032-template-refs.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/033-proxy-handler-improvement.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/034-cleanup-effects.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/035-effect-scope.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/036-other-apis.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/037-lifecycle-hooks.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/038-provide-inject.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/039-component-proxy.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/040-setup-context.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/041-component-slot.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/042-slot-extend.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/043-options-api.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/044-transformer.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/045-v-bind.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/046-transform-expression.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/047-v-on.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/048-event-modifier.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/049-event-modifier2.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/050-fragment.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/051-comment.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/052-v-if.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/053-v-for.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/054-resolve-components.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/055-component-slot-outlet.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/056-component-slot-insert.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/057-other-directives.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/058-chore-compiler.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/059-script-setup.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/060-define-props.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/061-define-emits.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/062-scoped-css.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/063-props-destructure.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/064-type-based-macros.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/065-ssr.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/066-keep-alive.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/067-transition.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/068-static-hoisting.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/069-patch-flags.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/070-minimal-vue.jsonc create mode 100644 packages/courses-config/chibivue-en/course.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/001-project-setup.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/002-create-app.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/003-package-architecture.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/004-simple-h-function.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/005-reactive-system.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/006-vdom-system.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/007-component-system.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/008-component-props.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/009-component-emits.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/010-template-compiler.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/011-template-compiler-parser.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/012-template-binding.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/013-sfc-prerequisite.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/014-parse-sfc.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/015-compile-sfc-template.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/016-compile-sfc-style.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/017-patch-keyed-children.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/018-bit-flags.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/019-scheduler.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/020-next-tick.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/021-other-props.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/022-ref.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/023-shallow-ref.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/024-to-ref.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/025-to-refs.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/026-computed.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/027-computed-setter.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/028-watch.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/029-watch-api-extends.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/030-watch-effect.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/031-reactive-proxy-target-type.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/032-template-refs.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/033-proxy-handler-improvement.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/034-cleanup-effects.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/035-effect-scope.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/036-other-apis.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/037-lifecycle-hooks.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/038-provide-inject.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/039-component-proxy.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/040-setup-context.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/041-component-slot.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/042-slot-extend.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/043-options-api.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/044-transformer.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/045-v-bind.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/046-transform-expression.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/047-v-on.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/048-event-modifier.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/049-event-modifier2.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/050-fragment.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/051-comment.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/052-v-if.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/053-v-for.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/054-resolve-components.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/055-component-slot-outlet.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/056-component-slot-insert.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/057-other-directives.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/058-chore-compiler.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/059-script-setup.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/060-define-props.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/061-define-emits.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/062-scoped-css.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/063-props-destructure.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/064-type-based-macros.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/065-ssr.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/066-keep-alive.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/067-transition.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/068-static-hoisting.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/069-patch-flags.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/070-minimal-vue.jsonc create mode 100644 packages/courses-config/chibivue-ja/course.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/001-project-setup.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/002-create-app.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/003-package-architecture.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/004-simple-h-function.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/005-reactive-system.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/006-vdom-system.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/007-component-system.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/008-component-props.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/009-component-emits.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/010-template-compiler.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/011-template-compiler-parser.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/012-template-binding.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/013-sfc-prerequisite.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/014-parse-sfc.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/015-compile-sfc-template.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/016-compile-sfc-style.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/017-patch-keyed-children.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/018-bit-flags.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/019-scheduler.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/020-next-tick.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/021-other-props.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/022-ref.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/023-shallow-ref.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/024-to-ref.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/025-to-refs.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/026-computed.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/027-computed-setter.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/028-watch.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/029-watch-api-extends.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/030-watch-effect.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/031-reactive-proxy-target-type.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/032-template-refs.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/033-proxy-handler-improvement.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/034-cleanup-effects.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/035-effect-scope.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/036-other-apis.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/037-lifecycle-hooks.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/038-provide-inject.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/039-component-proxy.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/040-setup-context.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/041-component-slot.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/042-slot-extend.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/043-options-api.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/044-transformer.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/045-v-bind.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/046-transform-expression.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/047-v-on.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/048-event-modifier.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/049-event-modifier2.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/050-fragment.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/051-comment.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/052-v-if.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/053-v-for.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/054-resolve-components.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/055-component-slot-outlet.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/056-component-slot-insert.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/057-other-directives.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/058-chore-compiler.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/059-script-setup.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/060-define-props.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/061-define-emits.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/062-scoped-css.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/063-props-destructure.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/064-type-based-macros.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/065-ssr.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/066-keep-alive.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/067-transition.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/068-static-hoisting.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/069-patch-flags.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/070-minimal-vue.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/course.jsonc diff --git a/docs/architecture.md b/docs/architecture.md index fb02220..98b2aca 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -187,7 +187,7 @@ Deep link authority = `publisher.name` → `RuanJiazhen.learn-by-diff`. ## Examples -- `packages/courses-config` — course catalog plus each course’s JSONC. Includes `chibivue-zh-cn` and `demo-course` (git URL + `source.root: examples/demo-source`, chapter `docs` samples: https tutorial, Markdown, PDF). +- `packages/courses-config` — course catalog plus each course’s JSONC. Includes `chibivue-zh-cn`, `chibivue-zh-tw`, `chibivue-ja`, `chibivue-en` (same `book/impls` snapshots; chapter `docs` follow the book locale) and `demo-course` (git URL + `source.root: examples/demo-source`, chapter `docs` samples: https tutorial, Markdown, PDF). - `examples/demo-source` — `start` / `skeleton` / `particles` / `follow` / `glow` snapshots (canvas particles that follow the cursor). - `apps/website` — VitePress docs site (`https://rjiazhen.github.io/learn-by-diff/`). diff --git a/packages/courses-config/README.md b/packages/courses-config/README.md index 8d65c3f..f8f7276 100644 --- a/packages/courses-config/README.md +++ b/packages/courses-config/README.md @@ -11,6 +11,9 @@ | 目录 | 课程 | 语言 | 说明 | | -------------------------------------------------------- | -------------------------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [chibivue-zh-cn](./chibivue-zh-cn/course.jsonc) | chibivue:从一行 Hello, World 开始,逐步构建 | 简体中文 | 对照 [chibivue 在线书](https://book.chibivue.land/zh-cn/00-introduction/010-about.html),从 `createApp` 逐步实现 Vue.js。源码来自 [chibivue](https://github.com/chibivue-land/chibivue) 的 `book/impls`。 | +| [chibivue-zh-tw](./chibivue-zh-tw/course.jsonc) | chibivue:從一行 Hello, World 開始,逐步建置 | 繁體中文 | 對照 [chibivue 線上書](https://book.chibivue.land/zh-tw/00-introduction/010-about.html),從 `createApp` 逐步實作 Vue.js。源碼同樣來自 `book/impls`。 | +| [chibivue-ja](./chibivue-ja/course.jsonc) | chibivue:Hello, World の 1 行から一歩ずつ | 日本語 | [chibivue オンラインブック](https://book.chibivue.land/ja/00-introduction/010-about.html)に沿って、`createApp` から Vue.js を実装する。ソースは同じ `book/impls`。 | +| [chibivue-en](./chibivue-en/course.jsonc) | chibivue: from one line of Hello, World | English | Follow the [chibivue book](https://book.chibivue.land/00-introduction/010-about.html) and implement Vue.js from `createApp`. Snapshots are the same `book/impls` tree. | | [demo-course](./demo-course/.course-config/course.jsonc) | Cursor particles | English | 本仓库内的示例课。快照在 `examples/demo-source`。 | 后续课程会继续以独立目录的形式加入本目录。新增含顶层 `course.jsonc` 的目录时,提交前的钩子会把它补进 `courses.jsonc`。`.course-config/course.jsonc` 这种布局需要手写目录行。 diff --git a/packages/courses-config/chibivue-en/chapters/001-project-setup.jsonc b/packages/courses-config/chibivue-en/chapters/001-project-setup.jsonc new file mode 100644 index 0000000..84ba45f --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/001-project-setup.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "project-setup", + "title": "Approach in This Book and Setting Up the Environment", + "fromDir": "", + "toDir": "00_introduction/010_project_setup", + "docs": "https://book.chibivue.land/00-introduction/040-setup-project", + "changedFiles": [ + { + "path": "examples/playground/index.html", + "kind": "U", + }, + { + "path": "examples/playground/package.json", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "U", + }, + { + "path": "examples/playground/tsconfig.json", + "kind": "U", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "U", + }, + { + "path": "package.json", + "kind": "U", + }, + { + "path": "packages/index.ts", + "kind": "U", + }, + { + "path": "tsconfig.json", + "kind": "U", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/002-create-app.jsonc b/packages/courses-config/chibivue-en/chapters/002-create-app.jsonc new file mode 100644 index 0000000..8b061a8 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/002-create-app.jsonc @@ -0,0 +1,26 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "create-app", + "title": "First Rendering and the createApp API", + "fromDir": "00_introduction/010_project_setup", + "toDir": "10_minimum_example/010_create_app", + "docs": "https://book.chibivue.land/10-minimum-example/010-create-app-api", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "U", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/003-package-architecture.jsonc b/packages/courses-config/chibivue-en/chapters/003-package-architecture.jsonc new file mode 100644 index 0000000..34f03ba --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/003-package-architecture.jsonc @@ -0,0 +1,50 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "package-architecture", + "title": "Package Architecture", + "fromDir": "10_minimum_example/010_create_app", + "toDir": "10_minimum_example/015_package_architecture", + "docs": "https://book.chibivue.land/10-minimum-example/015-package-architecture", + "changedFiles": [ + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/004-simple-h-function.jsonc b/packages/courses-config/chibivue-en/chapters/004-simple-h-function.jsonc new file mode 100644 index 0000000..e510abb --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/004-simple-h-function.jsonc @@ -0,0 +1,62 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "simple-h-function", + "title": "Let's Enable Rendering HTML Elements", + "fromDir": "10_minimum_example/015_package_architecture", + "toDir": "10_minimum_example/020_simple_h_function", + "docs": "https://book.chibivue.land/10-minimum-example/020-simple-h-function", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/h.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/modules/attrs.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/modules/events.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/patchProp.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/005-reactive-system.jsonc b/packages/courses-config/chibivue-en/chapters/005-reactive-system.jsonc new file mode 100644 index 0000000..312a194 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/005-reactive-system.jsonc @@ -0,0 +1,54 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "reactive-system", + "title": "Try Implementing a Small Reactivity System", + "fromDir": "10_minimum_example/020_simple_h_function", + "toDir": "10_minimum_example/030_reactive_system", + "docs": "https://book.chibivue.land/10-minimum-example/035-try-implementing-a-minimum-reactivity-system", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/baseHandler.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/dep.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/006-vdom-system.jsonc b/packages/courses-config/chibivue-en/chapters/006-vdom-system.jsonc new file mode 100644 index 0000000..bd84942 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/006-vdom-system.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "vdom-system", + "title": "A Minimal Virtual DOM", + "fromDir": "10_minimum_example/030_reactive_system", + "toDir": "10_minimum_example/040_vdom_system", + "docs": "https://book.chibivue.land/10-minimum-example/040-minimum-virtual-dom", + "changedFiles": [ + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/h.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/007-component-system.jsonc b/packages/courses-config/chibivue-en/chapters/007-component-system.jsonc new file mode 100644 index 0000000..46e13c0 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/007-component-system.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-system", + "title": "Aspiring for Component-Oriented Development", + "fromDir": "10_minimum_example/040_vdom_system", + "toDir": "10_minimum_example/050_component_system", + "docs": "https://book.chibivue.land/10-minimum-example/050-minimum-component", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/h.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/008-component-props.jsonc b/packages/courses-config/chibivue-en/chapters/008-component-props.jsonc new file mode 100644 index 0000000..e3ebf49 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/008-component-props.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-props", + "title": "Component Props", + "fromDir": "10_minimum_example/050_component_system", + "toDir": "10_minimum_example/050_component_system2", + "docs": "https://book.chibivue.land/10-minimum-example/051-component-props", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentProps.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/009-component-emits.jsonc b/packages/courses-config/chibivue-en/chapters/009-component-emits.jsonc new file mode 100644 index 0000000..0fc0d10 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/009-component-emits.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-emits", + "title": "Component Emit", + "fromDir": "10_minimum_example/050_component_system2", + "toDir": "10_minimum_example/050_component_system3", + "docs": "https://book.chibivue.land/10-minimum-example/052-component-emits", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentEmits.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentProps.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "U", + }, + { + "path": "packages/shared/index.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/010-template-compiler.jsonc b/packages/courses-config/chibivue-en/chapters/010-template-compiler.jsonc new file mode 100644 index 0000000..477a78a --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/010-template-compiler.jsonc @@ -0,0 +1,66 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "template-compiler", + "title": "Implementing the Template Compiler", + "fromDir": "10_minimum_example/050_component_system3", + "toDir": "10_minimum_example/060_template_compiler", + "docs": "https://book.chibivue.land/10-minimum-example/061-template-compiler-impl", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/index.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "U", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "U", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/011-template-compiler-parser.jsonc b/packages/courses-config/chibivue-en/chapters/011-template-compiler-parser.jsonc new file mode 100644 index 0000000..9519f6d --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/011-template-compiler-parser.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "template-compiler-parser", + "title": "Desire to Write More Complex HTML", + "fromDir": "10_minimum_example/060_template_compiler", + "toDir": "10_minimum_example/060_template_compiler2", + "docs": "https://book.chibivue.land/10-minimum-example/070-more-complex-parser", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/012-template-binding.jsonc b/packages/courses-config/chibivue-en/chapters/012-template-binding.jsonc new file mode 100644 index 0000000..d845b8a --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/012-template-binding.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "template-binding", + "title": "Data Binding", + "fromDir": "10_minimum_example/060_template_compiler2", + "toDir": "10_minimum_example/060_template_compiler3", + "docs": "https://book.chibivue.land/10-minimum-example/080-template-binding", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/013-sfc-prerequisite.jsonc b/packages/courses-config/chibivue-en/chapters/013-sfc-prerequisite.jsonc new file mode 100644 index 0000000..4655557 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/013-sfc-prerequisite.jsonc @@ -0,0 +1,74 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "sfc-prerequisite", + "title": "Developing with SFC (Peripheral Knowledge)", + "fromDir": "10_minimum_example/060_template_compiler3", + "toDir": "10_minimum_example/070_sfc_compiler", + "docs": "https://book.chibivue.land/10-minimum-example/090-prerequisite-knowledge-for-the-sfc", + "changedFiles": [ + { + "path": "plugin-sample/README.md", + "kind": "U", + }, + { + "path": "plugin-sample/index.html", + "kind": "U", + }, + { + "path": "plugin-sample/package.json", + "kind": "U", + }, + { + "path": "plugin-sample/pnpm-lock.yaml", + "kind": "U", + }, + { + "path": "plugin-sample/public/vite.svg", + "kind": "U", + }, + { + "path": "plugin-sample/src/App.vue", + "kind": "U", + }, + { + "path": "plugin-sample/src/assets/vue.svg", + "kind": "U", + }, + { + "path": "plugin-sample/src/components/HelloWorld.vue", + "kind": "U", + }, + { + "path": "plugin-sample/src/main.ts", + "kind": "U", + }, + { + "path": "plugin-sample/src/plugin.sample.js", + "kind": "U", + }, + { + "path": "plugin-sample/src/style.css", + "kind": "U", + }, + { + "path": "plugin-sample/src/vite-env.d.ts", + "kind": "U", + }, + { + "path": "plugin-sample/tsconfig.json", + "kind": "U", + }, + { + "path": "plugin-sample/tsconfig.node.json", + "kind": "U", + }, + { + "path": "plugin-sample/vite.config.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/014-parse-sfc.jsonc b/packages/courses-config/chibivue-en/chapters/014-parse-sfc.jsonc new file mode 100644 index 0000000..4c388b5 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/014-parse-sfc.jsonc @@ -0,0 +1,110 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "parse-sfc", + "title": "Parse SFC", + "fromDir": "10_minimum_example/070_sfc_compiler", + "toDir": "10_minimum_example/070_sfc_compiler2", + "docs": "https://book.chibivue.land/10-minimum-example/091-parse-sfc", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/@extensions/vite-plugin-chibivue/index.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileTemplate.ts", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/index.ts", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/parse.ts", + "kind": "U", + }, + { + "path": "plugin-sample/README.md", + "kind": "D", + }, + { + "path": "plugin-sample/index.html", + "kind": "D", + }, + { + "path": "plugin-sample/package.json", + "kind": "D", + }, + { + "path": "plugin-sample/pnpm-lock.yaml", + "kind": "D", + }, + { + "path": "plugin-sample/public/vite.svg", + "kind": "D", + }, + { + "path": "plugin-sample/src/App.vue", + "kind": "D", + }, + { + "path": "plugin-sample/src/assets/vue.svg", + "kind": "D", + }, + { + "path": "plugin-sample/src/components/HelloWorld.vue", + "kind": "D", + }, + { + "path": "plugin-sample/src/main.ts", + "kind": "D", + }, + { + "path": "plugin-sample/src/plugin.sample.js", + "kind": "D", + }, + { + "path": "plugin-sample/src/style.css", + "kind": "D", + }, + { + "path": "plugin-sample/src/vite-env.d.ts", + "kind": "D", + }, + { + "path": "plugin-sample/tsconfig.json", + "kind": "D", + }, + { + "path": "plugin-sample/tsconfig.node.json", + "kind": "D", + }, + { + "path": "plugin-sample/vite.config.ts", + "kind": "D", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/015-compile-sfc-template.jsonc b/packages/courses-config/chibivue-en/chapters/015-compile-sfc-template.jsonc new file mode 100644 index 0000000..6767144 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/015-compile-sfc-template.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "compile-sfc-template", + "title": "SFC template block", + "fromDir": "10_minimum_example/070_sfc_compiler2", + "toDir": "10_minimum_example/070_sfc_compiler3", + "docs": "https://book.chibivue.land/10-minimum-example/092-compile-sfc-template", + "changedFiles": [ + { + "path": "packages/@extensions/vite-plugin-chibivue/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/options.ts", + "kind": "U", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/016-compile-sfc-style.jsonc b/packages/courses-config/chibivue-en/chapters/016-compile-sfc-style.jsonc new file mode 100644 index 0000000..73502e9 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/016-compile-sfc-style.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "compile-sfc-style", + "title": "SFC style block", + "fromDir": "10_minimum_example/070_sfc_compiler3", + "toDir": "10_minimum_example/070_sfc_compiler4", + "docs": "https://book.chibivue.land/10-minimum-example/094-compile-sfc-style", + "changedFiles": [ + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "package.json", + "kind": "M", + }, + { + "path": "packages/@extensions/vite-plugin-chibivue/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/rewriteDefault.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/017-patch-keyed-children.jsonc b/packages/courses-config/chibivue-en/chapters/017-patch-keyed-children.jsonc new file mode 100644 index 0000000..4b71f13 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/017-patch-keyed-children.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "patch-keyed-children", + "title": "key Attribute and Patch Rendering", + "fromDir": "10_minimum_example/070_sfc_compiler4", + "toDir": "20_basic_virtual_dom/010_patch_keyed_children", + "docs": "https://book.chibivue.land/20-basic-virtual-dom/010-patch-keyed-children", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "D", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/018-bit-flags.jsonc b/packages/courses-config/chibivue-en/chapters/018-bit-flags.jsonc new file mode 100644 index 0000000..1940d5a --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/018-bit-flags.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "bit-flags", + "title": "Bit-Level Representation of VNodes", + "fromDir": "20_basic_virtual_dom/010_patch_keyed_children", + "toDir": "20_basic_virtual_dom/020_bit_flags", + "docs": "https://book.chibivue.land/20-basic-virtual-dom/020-bit-flags", + "changedFiles": [ + { + "path": "packages/reactivity/baseHandler.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "packages/shared/shapeFlags.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/019-scheduler.jsonc b/packages/courses-config/chibivue-en/chapters/019-scheduler.jsonc new file mode 100644 index 0000000..ff11ad6 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/019-scheduler.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "scheduler", + "title": "Scheduler", + "fromDir": "20_basic_virtual_dom/020_bit_flags", + "toDir": "20_basic_virtual_dom/040_scheduler", + "docs": "https://book.chibivue.land/20-basic-virtual-dom/030-scheduler", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/scheduler.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/020-next-tick.jsonc b/packages/courses-config/chibivue-en/chapters/020-next-tick.jsonc new file mode 100644 index 0000000..9f1ae64 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/020-next-tick.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "next-tick", + "title": "nextTick", + "fromDir": "20_basic_virtual_dom/040_scheduler", + "toDir": "20_basic_virtual_dom/050_next_tick", + "docs": "https://book.chibivue.land/20-basic-virtual-dom/030-scheduler", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/scheduler.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/021-other-props.jsonc b/packages/courses-config/chibivue-en/chapters/021-other-props.jsonc new file mode 100644 index 0000000..a6729fb --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/021-other-props.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "other-props", + "title": "Patch for Unhandled Props", + "fromDir": "20_basic_virtual_dom/050_next_tick", + "toDir": "20_basic_virtual_dom/060_other_props", + "docs": "https://book.chibivue.land/20-basic-virtual-dom/040-patch-other-attrs", + "changedFiles": [ + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/modules/class.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/modules/props.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/modules/style.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/patchProp.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/022-ref.jsonc b/packages/courses-config/chibivue-en/chapters/022-ref.jsonc new file mode 100644 index 0000000..4554af4 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/022-ref.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "ref", + "title": "ref API", + "fromDir": "20_basic_virtual_dom/060_other_props", + "toDir": "30_basic_reactivity_system/010_ref", + "docs": "https://book.chibivue.land/30-basic-reactivity-system/010-ref-api", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/@extensions/vite-plugin-chibivue/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/023-shallow-ref.jsonc b/packages/courses-config/chibivue-en/chapters/023-shallow-ref.jsonc new file mode 100644 index 0000000..f990e23 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/023-shallow-ref.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "shallow-ref", + "title": "shallowRef", + "fromDir": "30_basic_reactivity_system/010_ref", + "toDir": "30_basic_reactivity_system/020_shallow_ref", + "docs": "https://book.chibivue.land/30-basic-reactivity-system/010-ref-api", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/@extensions/vite-plugin-chibivue/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/024-to-ref.jsonc b/packages/courses-config/chibivue-en/chapters/024-to-ref.jsonc new file mode 100644 index 0000000..4ed87c0 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/024-to-ref.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "to-ref", + "title": "toRef", + "fromDir": "30_basic_reactivity_system/020_shallow_ref", + "toDir": "30_basic_reactivity_system/030_to_ref", + "docs": "https://book.chibivue.land/30-basic-reactivity-system/010-ref-api", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "packages/shared/index.ts", + "kind": "M", + }, + { + "path": "packages/shared/typeUtils.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/025-to-refs.jsonc b/packages/courses-config/chibivue-en/chapters/025-to-refs.jsonc new file mode 100644 index 0000000..3130f8f --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/025-to-refs.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "to-refs", + "title": "toRefs", + "fromDir": "30_basic_reactivity_system/030_to_ref", + "toDir": "30_basic_reactivity_system/040_to_refs", + "docs": "https://book.chibivue.land/30-basic-reactivity-system/010-ref-api", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/026-computed.jsonc b/packages/courses-config/chibivue-en/chapters/026-computed.jsonc new file mode 100644 index 0000000..2ee184c --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/026-computed.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "computed", + "title": "computed", + "fromDir": "30_basic_reactivity_system/040_to_refs", + "toDir": "30_basic_reactivity_system/050_computed", + "docs": "https://book.chibivue.land/30-basic-reactivity-system/020-computed-watch", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/computed.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/027-computed-setter.jsonc b/packages/courses-config/chibivue-en/chapters/027-computed-setter.jsonc new file mode 100644 index 0000000..e9e9dc6 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/027-computed-setter.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "computed-setter", + "title": "computed setter", + "fromDir": "30_basic_reactivity_system/050_computed", + "toDir": "30_basic_reactivity_system/060_computed_setter", + "docs": "https://book.chibivue.land/30-basic-reactivity-system/020-computed-watch", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/computed.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/028-watch.jsonc b/packages/courses-config/chibivue-en/chapters/028-watch.jsonc new file mode 100644 index 0000000..6334e43 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/028-watch.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "watch", + "title": "watch", + "fromDir": "30_basic_reactivity_system/060_computed_setter", + "toDir": "30_basic_reactivity_system/070_watch", + "docs": "https://book.chibivue.land/30-basic-reactivity-system/020-computed-watch", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/baseHandler.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiWatch.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/029-watch-api-extends.jsonc b/packages/courses-config/chibivue-en/chapters/029-watch-api-extends.jsonc new file mode 100644 index 0000000..7432dec --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/029-watch-api-extends.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "watch-api-extends", + "title": "Other APIs of watch", + "fromDir": "30_basic_reactivity_system/070_watch", + "toDir": "30_basic_reactivity_system/080_watch_api_extends", + "docs": "https://book.chibivue.land/30-basic-reactivity-system/020-computed-watch", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiWatch.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/030-watch-effect.jsonc b/packages/courses-config/chibivue-en/chapters/030-watch-effect.jsonc new file mode 100644 index 0000000..83aed60 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/030-watch-effect.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "watch-effect", + "title": "watchEffect", + "fromDir": "30_basic_reactivity_system/080_watch_api_extends", + "toDir": "30_basic_reactivity_system/090_watch_effect", + "docs": "https://book.chibivue.land/30-basic-reactivity-system/020-computed-watch", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiWatch.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/031-reactive-proxy-target-type.jsonc b/packages/courses-config/chibivue-en/chapters/031-reactive-proxy-target-type.jsonc new file mode 100644 index 0000000..16a3e3d --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/031-reactive-proxy-target-type.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "reactive-proxy-target-type", + "title": "Objects that should not be reactive", + "fromDir": "30_basic_reactivity_system/090_watch_effect", + "toDir": "30_basic_reactivity_system/100_reactive_proxy_target_type", + "docs": "https://book.chibivue.land/30-basic-reactivity-system/030-reactive-proxy-handlers", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/032-template-refs.jsonc b/packages/courses-config/chibivue-en/chapters/032-template-refs.jsonc new file mode 100644 index 0000000..70c20b8 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/032-template-refs.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "template-refs", + "title": "Template Refs", + "fromDir": "30_basic_reactivity_system/100_reactive_proxy_target_type", + "toDir": "30_basic_reactivity_system/110_template_refs", + "docs": "https://book.chibivue.land/30-basic-reactivity-system/030-reactive-proxy-handlers", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/rendererTemplateRef.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/033-proxy-handler-improvement.jsonc b/packages/courses-config/chibivue-en/chapters/033-proxy-handler-improvement.jsonc new file mode 100644 index 0000000..11a9e9e --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/033-proxy-handler-improvement.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "proxy-handler-improvement", + "title": "Support for collection built-ins", + "fromDir": "30_basic_reactivity_system/110_template_refs", + "toDir": "30_basic_reactivity_system/120_proxy_handler_improvement", + "docs": "https://book.chibivue.land/30-basic-reactivity-system/030-reactive-proxy-handlers", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/baseHandler.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/collectionHandlers.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/034-cleanup-effects.jsonc b/packages/courses-config/chibivue-en/chapters/034-cleanup-effects.jsonc new file mode 100644 index 0000000..e414951 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/034-cleanup-effects.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "cleanup-effects", + "title": "Cleanup of ReactiveEffect", + "fromDir": "30_basic_reactivity_system/120_proxy_handler_improvement", + "toDir": "30_basic_reactivity_system/130_cleanup_effects", + "docs": "https://book.chibivue.land/30-basic-reactivity-system/040-effect-scope", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "D", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiWatch.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/035-effect-scope.jsonc b/packages/courses-config/chibivue-en/chapters/035-effect-scope.jsonc new file mode 100644 index 0000000..84e97c2 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/035-effect-scope.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "effect-scope", + "title": "EffectScope", + "fromDir": "30_basic_reactivity_system/130_cleanup_effects", + "toDir": "30_basic_reactivity_system/140_effect_scope", + "docs": "https://book.chibivue.land/30-basic-reactivity-system/040-effect-scope", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effectScope.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/036-other-apis.jsonc b/packages/courses-config/chibivue-en/chapters/036-other-apis.jsonc new file mode 100644 index 0000000..00865b0 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/036-other-apis.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "other-apis", + "title": "Other Reactivity APIs", + "fromDir": "30_basic_reactivity_system/140_effect_scope", + "toDir": "30_basic_reactivity_system/150_other_apis", + "docs": "https://book.chibivue.land/30-basic-reactivity-system/050-other-apis", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/baseHandler.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/collectionHandlers.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/037-lifecycle-hooks.jsonc b/packages/courses-config/chibivue-en/chapters/037-lifecycle-hooks.jsonc new file mode 100644 index 0000000..5580a48 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/037-lifecycle-hooks.jsonc @@ -0,0 +1,54 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "lifecycle-hooks", + "title": "Lifecycle Hooks", + "fromDir": "30_basic_reactivity_system/150_other_apis", + "toDir": "40_basic_component_system/010_lifecycle_hooks", + "docs": "https://book.chibivue.land/40-basic-component-system/010-lifecycle-hooks", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/collectionHandlers.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiLifecycle.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/enums.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/scheduler.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/038-provide-inject.jsonc b/packages/courses-config/chibivue-en/chapters/038-provide-inject.jsonc new file mode 100644 index 0000000..60d4f40 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/038-provide-inject.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "provide-inject", + "title": "Provide/Inject", + "fromDir": "40_basic_component_system/010_lifecycle_hooks", + "toDir": "40_basic_component_system/020_provide_inject", + "docs": "https://book.chibivue.land/40-basic-component-system/020-provide-inject", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiInject.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/039-component-proxy.jsonc b/packages/courses-config/chibivue-en/chapters/039-component-proxy.jsonc new file mode 100644 index 0000000..865f67e --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/039-component-proxy.jsonc @@ -0,0 +1,50 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-proxy", + "title": "Component proxy", + "fromDir": "40_basic_component_system/020_provide_inject", + "toDir": "40_basic_component_system/030_component_proxy", + "docs": "https://book.chibivue.land/40-basic-component-system/030-component-proxy-setup-context", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiDefineComponent.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentProps.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentPublicInstance.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/rendererTemplateRef.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/040-setup-context.jsonc b/packages/courses-config/chibivue-en/chapters/040-setup-context.jsonc new file mode 100644 index 0000000..be9dc55 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/040-setup-context.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "setup-context", + "title": "setupContext", + "fromDir": "40_basic_component_system/030_component_proxy", + "toDir": "40_basic_component_system/040_setup_context", + "docs": "https://book.chibivue.land/40-basic-component-system/030-component-proxy-setup-context", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/rendererTemplateRef.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/041-component-slot.jsonc b/packages/courses-config/chibivue-en/chapters/041-component-slot.jsonc new file mode 100644 index 0000000..ff6f921 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/041-component-slot.jsonc @@ -0,0 +1,54 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-slot", + "title": "Default slot", + "fromDir": "40_basic_component_system/040_setup_context", + "toDir": "40_basic_component_system/050_component_slot", + "docs": "https://book.chibivue.land/40-basic-component-system/040-component-slot", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentRenderContext.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/componentSlots.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/h.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/shared/shapeFlags.ts", + "kind": "M", + }, + { + "path": "packages/shared/typeUtils.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/042-slot-extend.jsonc b/packages/courses-config/chibivue-en/chapters/042-slot-extend.jsonc new file mode 100644 index 0000000..5a1acfb --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/042-slot-extend.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "slot-extend", + "title": "Named slots and scoped slots", + "fromDir": "40_basic_component_system/050_component_slot", + "toDir": "40_basic_component_system/060_slot_extend", + "docs": "https://book.chibivue.land/40-basic-component-system/040-component-slot", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentRenderContext.ts", + "kind": "D", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/043-options-api.jsonc b/packages/courses-config/chibivue-en/chapters/043-options-api.jsonc new file mode 100644 index 0000000..f467180 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/043-options-api.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "options-api", + "title": "Supporting Options API", + "fromDir": "40_basic_component_system/060_slot_extend", + "toDir": "40_basic_component_system/070_options_api", + "docs": "https://book.chibivue.land/40-basic-component-system/050-options-api", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiDefineComponent.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentEmits.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentPublicInstance.ts", + "kind": "M", + }, + { + "path": "packages/shared/typeUtils.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/044-transformer.jsonc b/packages/courses-config/chibivue-en/chapters/044-transformer.jsonc new file mode 100644 index 0000000..7d97139 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/044-transformer.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "transformer", + "title": "Refactoring Implementation of Transformer for Codegen", + "fromDir": "40_basic_component_system/070_options_api", + "toDir": "50_basic_template_compiler/010_transformer", + "docs": "https://book.chibivue.land/50-basic-template-compiler/010-transform", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/options.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/045-v-bind.jsonc b/packages/courses-config/chibivue-en/chapters/045-v-bind.jsonc new file mode 100644 index 0000000..f6cb31d --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/045-v-bind.jsonc @@ -0,0 +1,66 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "v-bind", + "title": "Implementing Directives (v-bind)", + "fromDir": "50_basic_template_compiler/010_transformer", + "toDir": "50_basic_template_compiler/020_v_bind", + "docs": "https://book.chibivue.land/50-basic-template-compiler/020-v-bind", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vBind.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/shared/index.ts", + "kind": "M", + }, + { + "path": "packages/shared/normalizeProp.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/046-transform-expression.jsonc b/packages/courses-config/chibivue-en/chapters/046-transform-expression.jsonc new file mode 100644 index 0000000..d15b06e --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/046-transform-expression.jsonc @@ -0,0 +1,66 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "transform-expression", + "title": "Eval expression in template", + "fromDir": "50_basic_template_compiler/020_v_bind", + "toDir": "50_basic_template_compiler/022_transform_expression", + "docs": "https://book.chibivue.land/50-basic-template-compiler/022-transform-expression", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/babelUtils.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/options.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformExpression.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/transforms/vBind.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/shared/makeMap.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/047-v-on.jsonc b/packages/courses-config/chibivue-en/chapters/047-v-on.jsonc new file mode 100644 index 0000000..0a2b475 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/047-v-on.jsonc @@ -0,0 +1,70 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "v-on", + "title": "Supporting v-on", + "fromDir": "50_basic_template_compiler/022_transform_expression", + "toDir": "50_basic_template_compiler/025_v_on", + "docs": "https://book.chibivue.land/50-basic-template-compiler/025-v-on", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "D", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/babelUtils.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformExpression.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vOn.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/helpers/toHandlers.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/048-event-modifier.jsonc b/packages/courses-config/chibivue-en/chapters/048-event-modifier.jsonc new file mode 100644 index 0000000..ac4d050 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/048-event-modifier.jsonc @@ -0,0 +1,74 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "event-modifier", + "title": "withModifiers", + "fromDir": "50_basic_template_compiler/025_v_on", + "toDir": "50_basic_template_compiler/027_event_modifier", + "docs": "https://book.chibivue.land/50-basic-template-compiler/027-event-modifier", + "changedFiles": [ + { + "path": "examples/playground/package.json", + "kind": "D", + }, + { + "path": "examples/playground/pnpm-lock.yaml", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vOn.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/transforms/vOn.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/directives/vOn.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/runtimeHelpers.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/049-event-modifier2.jsonc b/packages/courses-config/chibivue-en/chapters/049-event-modifier2.jsonc new file mode 100644 index 0000000..f6f495d --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/049-event-modifier2.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "event-modifier2", + "title": "Other event modifiers", + "fromDir": "50_basic_template_compiler/027_event_modifier", + "toDir": "50_basic_template_compiler/027_event_modifier2", + "docs": "https://book.chibivue.land/50-basic-template-compiler/027-event-modifier", + "changedFiles": [ + { + "path": "examples/playground/package.json", + "kind": "U", + }, + { + "path": "examples/playground/pnpm-lock.yaml", + "kind": "D", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/transforms/vOn.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/directives/vOn.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/050-fragment.jsonc b/packages/courses-config/chibivue-en/chapters/050-fragment.jsonc new file mode 100644 index 0000000..e5a626c --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/050-fragment.jsonc @@ -0,0 +1,58 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "fragment", + "title": "Support for Fragment", + "fromDir": "50_basic_template_compiler/027_event_modifier2", + "toDir": "50_basic_template_compiler/030_fragment", + "docs": "https://book.chibivue.land/50-basic-template-compiler/030-fragment", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/h.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/051-comment.jsonc b/packages/courses-config/chibivue-en/chapters/051-comment.jsonc new file mode 100644 index 0000000..1faf15a --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/051-comment.jsonc @@ -0,0 +1,54 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "comment", + "title": "Support for Comment Node", + "fromDir": "50_basic_template_compiler/030_fragment", + "toDir": "50_basic_template_compiler/035_comment", + "docs": "https://book.chibivue.land/50-basic-template-compiler/035-comment", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/052-v-if.jsonc b/packages/courses-config/chibivue-en/chapters/052-v-if.jsonc new file mode 100644 index 0000000..1db3dd7 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/052-v-if.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "v-if", + "title": "v-if and Structural Directives", + "fromDir": "50_basic_template_compiler/035_comment", + "toDir": "50_basic_template_compiler/040_v_if_and_structural_directive", + "docs": "https://book.chibivue.land/50-basic-template-compiler/040-v-if-and-structural-directive", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vIf.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/053-v-for.jsonc b/packages/courses-config/chibivue-en/chapters/053-v-for.jsonc new file mode 100644 index 0000000..b50ad16 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/053-v-for.jsonc @@ -0,0 +1,78 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "v-for", + "title": "Support for v-for", + "fromDir": "50_basic_template_compiler/040_v_if_and_structural_directive", + "toDir": "50_basic_template_compiler/050_v_for", + "docs": "https://book.chibivue.land/50-basic-template-compiler/050-v-for", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.js", + "kind": "U", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "D", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/babelUtils.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformExpression.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vFor.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/helpers/renderList.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/054-resolve-components.jsonc b/packages/courses-config/chibivue-en/chapters/054-resolve-components.jsonc new file mode 100644 index 0000000..bbbea0a --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/054-resolve-components.jsonc @@ -0,0 +1,102 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "resolve-components", + "title": "Resolving Components", + "fromDir": "50_basic_template_compiler/050_v_for", + "toDir": "50_basic_template_compiler/060_resolve_components", + "docs": "https://book.chibivue.land/50-basic-template-compiler/070-resolve-component", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/components/Counter.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.js", + "kind": "D", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/options.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/parserOptions.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentRenderContext.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/helpers/resolveAssets.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/shared/domTagConfig.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/055-component-slot-outlet.jsonc b/packages/courses-config/chibivue-en/chapters/055-component-slot-outlet.jsonc new file mode 100644 index 0000000..2949c23 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/055-component-slot-outlet.jsonc @@ -0,0 +1,70 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-slot-outlet", + "title": "Support for Slots (Definition)", + "fromDir": "50_basic_template_compiler/060_resolve_components", + "toDir": "50_basic_template_compiler/080_component_slot_outlet", + "docs": "https://book.chibivue.land/50-basic-template-compiler/080-component-slot-outlet", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Comp.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/components/Counter.vue", + "kind": "D", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformSlotOutlet.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentPublicInstance.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/helpers/renderSlot.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/056-component-slot-insert.jsonc b/packages/courses-config/chibivue-en/chapters/056-component-slot-insert.jsonc new file mode 100644 index 0000000..f730e43 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/056-component-slot-insert.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-slot-insert", + "title": "Support for Slots (Usage)", + "fromDir": "50_basic_template_compiler/080_component_slot_outlet", + "toDir": "50_basic_template_compiler/085_component_slot_insert", + "docs": "https://book.chibivue.land/50-basic-template-compiler/085-component-slot-insert", + "changedFiles": [ + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vSlot.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentRenderContext.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/057-other-directives.jsonc b/packages/courses-config/chibivue-en/chapters/057-other-directives.jsonc new file mode 100644 index 0000000..5deea7c --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/057-other-directives.jsonc @@ -0,0 +1,66 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "other-directives", + "title": "Other Directives", + "fromDir": "50_basic_template_compiler/085_component_slot_insert", + "toDir": "50_basic_template_compiler/090_other_directives", + "docs": "https://book.chibivue.land/50-basic-template-compiler/090-other-directives", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Comp.vue", + "kind": "D", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vSlot.ts", + "kind": "D", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/transforms/vHtml.ts", + "kind": "U", + }, + { + "path": "packages/compiler-dom/transforms/vText.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/componentRenderContext.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/058-chore-compiler.jsonc b/packages/courses-config/chibivue-en/chapters/058-chore-compiler.jsonc new file mode 100644 index 0000000..1b008b2 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/058-chore-compiler.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "chore-compiler", + "title": "Compiler Refinements", + "fromDir": "50_basic_template_compiler/090_other_directives", + "toDir": "50_basic_template_compiler/100_chore_compiler", + "docs": "https://book.chibivue.land/50-basic-template-compiler/100-chore-compiler", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/059-script-setup.jsonc b/packages/courses-config/chibivue-en/chapters/059-script-setup.jsonc new file mode 100644 index 0000000..d4d9a6a --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/059-script-setup.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "script-setup", + "title": "Supporting script setup", + "fromDir": "50_basic_template_compiler/100_chore_compiler", + "toDir": "60_basic_sfc_compiler/010_script_setup", + "docs": "https://book.chibivue.land/60-basic-sfc-compiler/010-script-setup", + "changedFiles": [ + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileScript.ts", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/compileSfc.ts", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/parse.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/060-define-props.jsonc b/packages/courses-config/chibivue-en/chapters/060-define-props.jsonc new file mode 100644 index 0000000..9f6b844 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/060-define-props.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "define-props", + "title": "Supporting defineProps", + "fromDir": "60_basic_sfc_compiler/010_script_setup", + "toDir": "60_basic_sfc_compiler/020_define_props", + "docs": "https://book.chibivue.land/60-basic-sfc-compiler/020-define-props", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/compileScript.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileSfc.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileStyle.ts", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/parse.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/061-define-emits.jsonc b/packages/courses-config/chibivue-en/chapters/061-define-emits.jsonc new file mode 100644 index 0000000..1bf1ced --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/061-define-emits.jsonc @@ -0,0 +1,26 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "define-emits", + "title": "Supporting defineEmits", + "fromDir": "60_basic_sfc_compiler/020_define_props", + "toDir": "60_basic_sfc_compiler/030_define_emits", + "docs": "https://book.chibivue.land/60-basic-sfc-compiler/030-define-emits", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileScript.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/062-scoped-css.jsonc b/packages/courses-config/chibivue-en/chapters/062-scoped-css.jsonc new file mode 100644 index 0000000..6061d56 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/062-scoped-css.jsonc @@ -0,0 +1,26 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "scoped-css", + "title": "Supporting Scoped CSS", + "fromDir": "60_basic_sfc_compiler/030_define_emits", + "toDir": "60_basic_sfc_compiler/040_scoped_css", + "docs": "https://book.chibivue.land/60-basic-sfc-compiler/040-scoped-css", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileStyle.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/063-props-destructure.jsonc b/packages/courses-config/chibivue-en/chapters/063-props-destructure.jsonc new file mode 100644 index 0000000..58e9db9 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/063-props-destructure.jsonc @@ -0,0 +1,22 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "props-destructure", + "title": "Supporting Props Destructure", + "fromDir": "60_basic_sfc_compiler/040_scoped_css", + "toDir": "60_basic_sfc_compiler/050_props_destructure", + "docs": "https://book.chibivue.land/60-basic-sfc-compiler/050-props-destructure", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/064-type-based-macros.jsonc b/packages/courses-config/chibivue-en/chapters/064-type-based-macros.jsonc new file mode 100644 index 0000000..8d3d9f1 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/064-type-based-macros.jsonc @@ -0,0 +1,26 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "type-based-macros", + "title": "Type-based defineProps/defineEmits", + "fromDir": "60_basic_sfc_compiler/050_props_destructure", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/60-basic-sfc-compiler/060-type-based-macros", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileScript.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/065-ssr.jsonc b/packages/courses-config/chibivue-en/chapters/065-ssr.jsonc new file mode 100644 index 0000000..e16c9e8 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/065-ssr.jsonc @@ -0,0 +1,110 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "ssr", + "title": "renderToString", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "90_web_application_essentials/010_ssr", + "docs": "https://book.chibivue.land/90-web-application-essentials/020-ssr/010-create-ssr-app", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "D", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileScript.ts", + "kind": "D", + }, + { + "path": "packages/compiler-sfc/compileSfc.ts", + "kind": "D", + }, + { + "path": "packages/compiler-sfc/compileStyle.ts", + "kind": "D", + }, + { + "path": "packages/compiler-sfc/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/parse.ts", + "kind": "M", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/hydration.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/server-renderer/helpers/ssrInterpolate.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/helpers/ssrRenderAttrs.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/helpers/ssrRenderList.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/helpers/ssrUtils.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/index.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/render.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/renderToString.ts", + "kind": "U", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "packages/shared/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/066-keep-alive.jsonc b/packages/courses-config/chibivue-en/chapters/066-keep-alive.jsonc new file mode 100644 index 0000000..2af4b45 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/066-keep-alive.jsonc @@ -0,0 +1,58 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "keep-alive", + "title": "KeepAlive", + "fromDir": "90_web_application_essentials/010_ssr", + "toDir": "90_web_application_essentials/020_keep_alive", + "docs": "https://book.chibivue.land/90-web-application-essentials/030-builtins/010-keep-alive", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Counter.vue", + "kind": "U", + }, + { + "path": "packages/runtime-core/apiLifecycle.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/components/KeepAlive.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/hydration.ts", + "kind": "D", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/shared/shapeFlags.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/067-transition.jsonc b/packages/courses-config/chibivue-en/chapters/067-transition.jsonc new file mode 100644 index 0000000..d848d30 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/067-transition.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "transition", + "title": "Transition", + "fromDir": "90_web_application_essentials/020_keep_alive", + "toDir": "90_web_application_essentials/030_transition", + "docs": "https://book.chibivue.land/90-web-application-essentials/030-builtins/030-transition", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Counter.vue", + "kind": "D", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/components/Transition.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/068-static-hoisting.jsonc b/packages/courses-config/chibivue-en/chapters/068-static-hoisting.jsonc new file mode 100644 index 0000000..3270099 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/068-static-hoisting.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "static-hoisting", + "title": "Static Hoisting", + "fromDir": "90_web_application_essentials/030_transition", + "toDir": "90_web_application_essentials/040_static_hoisting", + "docs": "https://book.chibivue.land/90-web-application-essentials/040-optimizations/010-static-hoisting", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/options.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/069-patch-flags.jsonc b/packages/courses-config/chibivue-en/chapters/069-patch-flags.jsonc new file mode 100644 index 0000000..423f20d --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/069-patch-flags.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "patch-flags", + "title": "Patch Flags", + "fromDir": "90_web_application_essentials/040_static_hoisting", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/90-web-application-essentials/040-optimizations/020-patch-flags", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/shared/index.ts", + "kind": "M", + }, + { + "path": "packages/shared/patchFlags.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/chapters/070-minimal-vue.jsonc b/packages/courses-config/chibivue-en/chapters/070-minimal-vue.jsonc new file mode 100644 index 0000000..1790930 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/070-minimal-vue.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "minimal-vue", + "title": "Writing Vue.js in 15 minutes", + "fromDir": "", + "toDir": "bonus/hyper-ultimate-super-extreme-minimal-vue", + "docs": "https://book.chibivue.land/bonus/hyper-ultimate-super-extreme-minimal-vue/", + "changedFiles": [ + { + "path": "examples/playground/index.html", + "kind": "U", + }, + { + "path": "examples/playground/package.json", + "kind": "U", + }, + { + "path": "examples/playground/src/App.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "U", + }, + { + "path": "examples/playground/tsconfig.json", + "kind": "U", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "U", + }, + { + "path": "package.json", + "kind": "U", + }, + { + "path": "packages/index.ts", + "kind": "U", + }, + { + "path": "tsconfig.json", + "kind": "U", + }, + ], +} diff --git a/packages/courses-config/chibivue-en/course.jsonc b/packages/courses-config/chibivue-en/course.jsonc new file mode 100644 index 0000000..59bf6ba --- /dev/null +++ b/packages/courses-config/chibivue-en/course.jsonc @@ -0,0 +1,10 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/course", + "id": "chibivue-en", + "title": "chibivue", + "description": "Follow the chibivue online book and implement Vue.js step by step, starting from createApp. Snapshots come from chibivue's book/impls.", + "source": { + "repository": "https://github.com/chibivue-land/chibivue", + "root": "book/impls", + }, +} diff --git a/packages/courses-config/chibivue-ja/chapters/001-project-setup.jsonc b/packages/courses-config/chibivue-ja/chapters/001-project-setup.jsonc new file mode 100644 index 0000000..1c59404 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/001-project-setup.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "project-setup", + "title": "本書の進め方と環境構築", + "fromDir": "", + "toDir": "00_introduction/010_project_setup", + "docs": "https://book.chibivue.land/ja/00-introduction/040-setup-project", + "changedFiles": [ + { + "path": "examples/playground/index.html", + "kind": "U", + }, + { + "path": "examples/playground/package.json", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "U", + }, + { + "path": "examples/playground/tsconfig.json", + "kind": "U", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "U", + }, + { + "path": "package.json", + "kind": "U", + }, + { + "path": "packages/index.ts", + "kind": "U", + }, + { + "path": "tsconfig.json", + "kind": "U", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/002-create-app.jsonc b/packages/courses-config/chibivue-ja/chapters/002-create-app.jsonc new file mode 100644 index 0000000..e925752 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/002-create-app.jsonc @@ -0,0 +1,26 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "create-app", + "title": "初めてのレンダリングと createApp API", + "fromDir": "00_introduction/010_project_setup", + "toDir": "10_minimum_example/010_create_app", + "docs": "https://book.chibivue.land/ja/10-minimum-example/010-create-app-api", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "U", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/003-package-architecture.jsonc b/packages/courses-config/chibivue-ja/chapters/003-package-architecture.jsonc new file mode 100644 index 0000000..378b4ea --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/003-package-architecture.jsonc @@ -0,0 +1,50 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "package-architecture", + "title": "パッケージの設計", + "fromDir": "10_minimum_example/010_create_app", + "toDir": "10_minimum_example/015_package_architecture", + "docs": "https://book.chibivue.land/ja/10-minimum-example/015-package-architecture", + "changedFiles": [ + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/004-simple-h-function.jsonc b/packages/courses-config/chibivue-ja/chapters/004-simple-h-function.jsonc new file mode 100644 index 0000000..63fdb24 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/004-simple-h-function.jsonc @@ -0,0 +1,62 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "simple-h-function", + "title": "HTML要素をレンダリングできるようにしよう", + "fromDir": "10_minimum_example/015_package_architecture", + "toDir": "10_minimum_example/020_simple_h_function", + "docs": "https://book.chibivue.land/ja/10-minimum-example/020-simple-h-function", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/h.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/modules/attrs.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/modules/events.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/patchProp.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/005-reactive-system.jsonc b/packages/courses-config/chibivue-ja/chapters/005-reactive-system.jsonc new file mode 100644 index 0000000..1b10f6d --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/005-reactive-system.jsonc @@ -0,0 +1,54 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "reactive-system", + "title": "小さいリアクティビティシステムを実装してみる", + "fromDir": "10_minimum_example/020_simple_h_function", + "toDir": "10_minimum_example/030_reactive_system", + "docs": "https://book.chibivue.land/ja/10-minimum-example/035-try-implementing-a-minimum-reactivity-system", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/baseHandler.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/dep.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/006-vdom-system.jsonc b/packages/courses-config/chibivue-ja/chapters/006-vdom-system.jsonc new file mode 100644 index 0000000..cea4b1d --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/006-vdom-system.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "vdom-system", + "title": "小さい仮想 DOM", + "fromDir": "10_minimum_example/030_reactive_system", + "toDir": "10_minimum_example/040_vdom_system", + "docs": "https://book.chibivue.land/ja/10-minimum-example/040-minimum-virtual-dom", + "changedFiles": [ + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/h.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/007-component-system.jsonc b/packages/courses-config/chibivue-ja/chapters/007-component-system.jsonc new file mode 100644 index 0000000..a18b78d --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/007-component-system.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-system", + "title": "コンポーネント指向で開発したい", + "fromDir": "10_minimum_example/040_vdom_system", + "toDir": "10_minimum_example/050_component_system", + "docs": "https://book.chibivue.land/ja/10-minimum-example/050-minimum-component", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/h.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/008-component-props.jsonc b/packages/courses-config/chibivue-ja/chapters/008-component-props.jsonc new file mode 100644 index 0000000..7014a42 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/008-component-props.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-props", + "title": "Props の実装", + "fromDir": "10_minimum_example/050_component_system", + "toDir": "10_minimum_example/050_component_system2", + "docs": "https://book.chibivue.land/ja/10-minimum-example/051-component-props", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentProps.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/009-component-emits.jsonc b/packages/courses-config/chibivue-ja/chapters/009-component-emits.jsonc new file mode 100644 index 0000000..8ad4eda --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/009-component-emits.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-emits", + "title": "Emit の実装", + "fromDir": "10_minimum_example/050_component_system2", + "toDir": "10_minimum_example/050_component_system3", + "docs": "https://book.chibivue.land/ja/10-minimum-example/052-component-emits", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentEmits.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentProps.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "U", + }, + { + "path": "packages/shared/index.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/010-template-compiler.jsonc b/packages/courses-config/chibivue-ja/chapters/010-template-compiler.jsonc new file mode 100644 index 0000000..ed0a9a8 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/010-template-compiler.jsonc @@ -0,0 +1,66 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "template-compiler", + "title": "テンプレートコンパイラを実装する", + "fromDir": "10_minimum_example/050_component_system3", + "toDir": "10_minimum_example/060_template_compiler", + "docs": "https://book.chibivue.land/ja/10-minimum-example/061-template-compiler-impl", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/index.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "U", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "U", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/011-template-compiler-parser.jsonc b/packages/courses-config/chibivue-ja/chapters/011-template-compiler-parser.jsonc new file mode 100644 index 0000000..63c38a9 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/011-template-compiler-parser.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "template-compiler-parser", + "title": "もっと複雑な HTML を書きたい", + "fromDir": "10_minimum_example/060_template_compiler", + "toDir": "10_minimum_example/060_template_compiler2", + "docs": "https://book.chibivue.land/ja/10-minimum-example/070-more-complex-parser", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/012-template-binding.jsonc b/packages/courses-config/chibivue-ja/chapters/012-template-binding.jsonc new file mode 100644 index 0000000..1bb3030 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/012-template-binding.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "template-binding", + "title": "データバインディング", + "fromDir": "10_minimum_example/060_template_compiler2", + "toDir": "10_minimum_example/060_template_compiler3", + "docs": "https://book.chibivue.land/ja/10-minimum-example/080-template-binding", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/013-sfc-prerequisite.jsonc b/packages/courses-config/chibivue-ja/chapters/013-sfc-prerequisite.jsonc new file mode 100644 index 0000000..0676081 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/013-sfc-prerequisite.jsonc @@ -0,0 +1,74 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "sfc-prerequisite", + "title": "SFC で開発したい (周辺知識編)", + "fromDir": "10_minimum_example/060_template_compiler3", + "toDir": "10_minimum_example/070_sfc_compiler", + "docs": "https://book.chibivue.land/ja/10-minimum-example/090-prerequisite-knowledge-for-the-sfc", + "changedFiles": [ + { + "path": "plugin-sample/README.md", + "kind": "U", + }, + { + "path": "plugin-sample/index.html", + "kind": "U", + }, + { + "path": "plugin-sample/package.json", + "kind": "U", + }, + { + "path": "plugin-sample/pnpm-lock.yaml", + "kind": "U", + }, + { + "path": "plugin-sample/public/vite.svg", + "kind": "U", + }, + { + "path": "plugin-sample/src/App.vue", + "kind": "U", + }, + { + "path": "plugin-sample/src/assets/vue.svg", + "kind": "U", + }, + { + "path": "plugin-sample/src/components/HelloWorld.vue", + "kind": "U", + }, + { + "path": "plugin-sample/src/main.ts", + "kind": "U", + }, + { + "path": "plugin-sample/src/plugin.sample.js", + "kind": "U", + }, + { + "path": "plugin-sample/src/style.css", + "kind": "U", + }, + { + "path": "plugin-sample/src/vite-env.d.ts", + "kind": "U", + }, + { + "path": "plugin-sample/tsconfig.json", + "kind": "U", + }, + { + "path": "plugin-sample/tsconfig.node.json", + "kind": "U", + }, + { + "path": "plugin-sample/vite.config.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/014-parse-sfc.jsonc b/packages/courses-config/chibivue-ja/chapters/014-parse-sfc.jsonc new file mode 100644 index 0000000..25a788e --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/014-parse-sfc.jsonc @@ -0,0 +1,110 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "parse-sfc", + "title": "SFC のパース", + "fromDir": "10_minimum_example/070_sfc_compiler", + "toDir": "10_minimum_example/070_sfc_compiler2", + "docs": "https://book.chibivue.land/ja/10-minimum-example/091-parse-sfc", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/@extensions/vite-plugin-chibivue/index.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileTemplate.ts", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/index.ts", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/parse.ts", + "kind": "U", + }, + { + "path": "plugin-sample/README.md", + "kind": "D", + }, + { + "path": "plugin-sample/index.html", + "kind": "D", + }, + { + "path": "plugin-sample/package.json", + "kind": "D", + }, + { + "path": "plugin-sample/pnpm-lock.yaml", + "kind": "D", + }, + { + "path": "plugin-sample/public/vite.svg", + "kind": "D", + }, + { + "path": "plugin-sample/src/App.vue", + "kind": "D", + }, + { + "path": "plugin-sample/src/assets/vue.svg", + "kind": "D", + }, + { + "path": "plugin-sample/src/components/HelloWorld.vue", + "kind": "D", + }, + { + "path": "plugin-sample/src/main.ts", + "kind": "D", + }, + { + "path": "plugin-sample/src/plugin.sample.js", + "kind": "D", + }, + { + "path": "plugin-sample/src/style.css", + "kind": "D", + }, + { + "path": "plugin-sample/src/vite-env.d.ts", + "kind": "D", + }, + { + "path": "plugin-sample/tsconfig.json", + "kind": "D", + }, + { + "path": "plugin-sample/tsconfig.node.json", + "kind": "D", + }, + { + "path": "plugin-sample/vite.config.ts", + "kind": "D", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/015-compile-sfc-template.jsonc b/packages/courses-config/chibivue-ja/chapters/015-compile-sfc-template.jsonc new file mode 100644 index 0000000..fec8a45 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/015-compile-sfc-template.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "compile-sfc-template", + "title": "SFC の template block", + "fromDir": "10_minimum_example/070_sfc_compiler2", + "toDir": "10_minimum_example/070_sfc_compiler3", + "docs": "https://book.chibivue.land/ja/10-minimum-example/092-compile-sfc-template", + "changedFiles": [ + { + "path": "packages/@extensions/vite-plugin-chibivue/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/options.ts", + "kind": "U", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/016-compile-sfc-style.jsonc b/packages/courses-config/chibivue-ja/chapters/016-compile-sfc-style.jsonc new file mode 100644 index 0000000..522286e --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/016-compile-sfc-style.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "compile-sfc-style", + "title": "SFC の style block", + "fromDir": "10_minimum_example/070_sfc_compiler3", + "toDir": "10_minimum_example/070_sfc_compiler4", + "docs": "https://book.chibivue.land/ja/10-minimum-example/094-compile-sfc-style", + "changedFiles": [ + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "package.json", + "kind": "M", + }, + { + "path": "packages/@extensions/vite-plugin-chibivue/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/rewriteDefault.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/017-patch-keyed-children.jsonc b/packages/courses-config/chibivue-ja/chapters/017-patch-keyed-children.jsonc new file mode 100644 index 0000000..3ef3814 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/017-patch-keyed-children.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "patch-keyed-children", + "title": "key属性とパッチレンダリング", + "fromDir": "10_minimum_example/070_sfc_compiler4", + "toDir": "20_basic_virtual_dom/010_patch_keyed_children", + "docs": "https://book.chibivue.land/ja/20-basic-virtual-dom/010-patch-keyed-children", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "D", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/018-bit-flags.jsonc b/packages/courses-config/chibivue-ja/chapters/018-bit-flags.jsonc new file mode 100644 index 0000000..f3aea99 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/018-bit-flags.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "bit-flags", + "title": "ビットによるVNodeの表現", + "fromDir": "20_basic_virtual_dom/010_patch_keyed_children", + "toDir": "20_basic_virtual_dom/020_bit_flags", + "docs": "https://book.chibivue.land/ja/20-basic-virtual-dom/020-bit-flags", + "changedFiles": [ + { + "path": "packages/reactivity/baseHandler.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "packages/shared/shapeFlags.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/019-scheduler.jsonc b/packages/courses-config/chibivue-ja/chapters/019-scheduler.jsonc new file mode 100644 index 0000000..281aa59 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/019-scheduler.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "scheduler", + "title": "スケジューラ", + "fromDir": "20_basic_virtual_dom/020_bit_flags", + "toDir": "20_basic_virtual_dom/040_scheduler", + "docs": "https://book.chibivue.land/ja/20-basic-virtual-dom/030-scheduler", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/scheduler.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/020-next-tick.jsonc b/packages/courses-config/chibivue-ja/chapters/020-next-tick.jsonc new file mode 100644 index 0000000..15d2c3b --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/020-next-tick.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "next-tick", + "title": "nextTick", + "fromDir": "20_basic_virtual_dom/040_scheduler", + "toDir": "20_basic_virtual_dom/050_next_tick", + "docs": "https://book.chibivue.land/ja/20-basic-virtual-dom/030-scheduler", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/scheduler.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/021-other-props.jsonc b/packages/courses-config/chibivue-ja/chapters/021-other-props.jsonc new file mode 100644 index 0000000..0fe986a --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/021-other-props.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "other-props", + "title": "対応できていない Props のパッチ", + "fromDir": "20_basic_virtual_dom/050_next_tick", + "toDir": "20_basic_virtual_dom/060_other_props", + "docs": "https://book.chibivue.land/ja/20-basic-virtual-dom/040-patch-other-attrs", + "changedFiles": [ + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/modules/class.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/modules/props.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/modules/style.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/patchProp.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/022-ref.jsonc b/packages/courses-config/chibivue-ja/chapters/022-ref.jsonc new file mode 100644 index 0000000..5bfe185 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/022-ref.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "ref", + "title": "ref API", + "fromDir": "20_basic_virtual_dom/060_other_props", + "toDir": "30_basic_reactivity_system/010_ref", + "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/010-ref-api", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/@extensions/vite-plugin-chibivue/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/023-shallow-ref.jsonc b/packages/courses-config/chibivue-ja/chapters/023-shallow-ref.jsonc new file mode 100644 index 0000000..4555226 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/023-shallow-ref.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "shallow-ref", + "title": "shallowRef", + "fromDir": "30_basic_reactivity_system/010_ref", + "toDir": "30_basic_reactivity_system/020_shallow_ref", + "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/010-ref-api", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/@extensions/vite-plugin-chibivue/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/024-to-ref.jsonc b/packages/courses-config/chibivue-ja/chapters/024-to-ref.jsonc new file mode 100644 index 0000000..6c8dfd3 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/024-to-ref.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "to-ref", + "title": "toRef", + "fromDir": "30_basic_reactivity_system/020_shallow_ref", + "toDir": "30_basic_reactivity_system/030_to_ref", + "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/010-ref-api", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "packages/shared/index.ts", + "kind": "M", + }, + { + "path": "packages/shared/typeUtils.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/025-to-refs.jsonc b/packages/courses-config/chibivue-ja/chapters/025-to-refs.jsonc new file mode 100644 index 0000000..f246f7c --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/025-to-refs.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "to-refs", + "title": "toRefs", + "fromDir": "30_basic_reactivity_system/030_to_ref", + "toDir": "30_basic_reactivity_system/040_to_refs", + "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/010-ref-api", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/026-computed.jsonc b/packages/courses-config/chibivue-ja/chapters/026-computed.jsonc new file mode 100644 index 0000000..c149563 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/026-computed.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "computed", + "title": "computed", + "fromDir": "30_basic_reactivity_system/040_to_refs", + "toDir": "30_basic_reactivity_system/050_computed", + "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/020-computed-watch", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/computed.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/027-computed-setter.jsonc b/packages/courses-config/chibivue-ja/chapters/027-computed-setter.jsonc new file mode 100644 index 0000000..6801fe3 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/027-computed-setter.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "computed-setter", + "title": "computed の setter", + "fromDir": "30_basic_reactivity_system/050_computed", + "toDir": "30_basic_reactivity_system/060_computed_setter", + "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/020-computed-watch", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/computed.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/028-watch.jsonc b/packages/courses-config/chibivue-ja/chapters/028-watch.jsonc new file mode 100644 index 0000000..95066f2 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/028-watch.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "watch", + "title": "watch", + "fromDir": "30_basic_reactivity_system/060_computed_setter", + "toDir": "30_basic_reactivity_system/070_watch", + "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/020-computed-watch", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/baseHandler.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiWatch.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/029-watch-api-extends.jsonc b/packages/courses-config/chibivue-ja/chapters/029-watch-api-extends.jsonc new file mode 100644 index 0000000..65c45ed --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/029-watch-api-extends.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "watch-api-extends", + "title": "watch のその他の API", + "fromDir": "30_basic_reactivity_system/070_watch", + "toDir": "30_basic_reactivity_system/080_watch_api_extends", + "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/020-computed-watch", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiWatch.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/030-watch-effect.jsonc b/packages/courses-config/chibivue-ja/chapters/030-watch-effect.jsonc new file mode 100644 index 0000000..0516694 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/030-watch-effect.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "watch-effect", + "title": "watchEffect", + "fromDir": "30_basic_reactivity_system/080_watch_api_extends", + "toDir": "30_basic_reactivity_system/090_watch_effect", + "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/020-computed-watch", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiWatch.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/031-reactive-proxy-target-type.jsonc b/packages/courses-config/chibivue-ja/chapters/031-reactive-proxy-target-type.jsonc new file mode 100644 index 0000000..ddec6f1 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/031-reactive-proxy-target-type.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "reactive-proxy-target-type", + "title": "reactive にしたくないオブジェクト", + "fromDir": "30_basic_reactivity_system/090_watch_effect", + "toDir": "30_basic_reactivity_system/100_reactive_proxy_target_type", + "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/030-reactive-proxy-handlers", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/032-template-refs.jsonc b/packages/courses-config/chibivue-ja/chapters/032-template-refs.jsonc new file mode 100644 index 0000000..fc796b3 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/032-template-refs.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "template-refs", + "title": "TemplateRefs", + "fromDir": "30_basic_reactivity_system/100_reactive_proxy_target_type", + "toDir": "30_basic_reactivity_system/110_template_refs", + "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/030-reactive-proxy-handlers", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/rendererTemplateRef.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/033-proxy-handler-improvement.jsonc b/packages/courses-config/chibivue-ja/chapters/033-proxy-handler-improvement.jsonc new file mode 100644 index 0000000..a2cba4e --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/033-proxy-handler-improvement.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "proxy-handler-improvement", + "title": "Collection 系の組み込みオブジェクト", + "fromDir": "30_basic_reactivity_system/110_template_refs", + "toDir": "30_basic_reactivity_system/120_proxy_handler_improvement", + "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/030-reactive-proxy-handlers", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/baseHandler.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/collectionHandlers.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/034-cleanup-effects.jsonc b/packages/courses-config/chibivue-ja/chapters/034-cleanup-effects.jsonc new file mode 100644 index 0000000..713ab89 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/034-cleanup-effects.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "cleanup-effects", + "title": "ReactiveEffect のクリーンアップ", + "fromDir": "30_basic_reactivity_system/120_proxy_handler_improvement", + "toDir": "30_basic_reactivity_system/130_cleanup_effects", + "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/040-effect-scope", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "D", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiWatch.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/035-effect-scope.jsonc b/packages/courses-config/chibivue-ja/chapters/035-effect-scope.jsonc new file mode 100644 index 0000000..ac7829b --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/035-effect-scope.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "effect-scope", + "title": "EffectScope", + "fromDir": "30_basic_reactivity_system/130_cleanup_effects", + "toDir": "30_basic_reactivity_system/140_effect_scope", + "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/040-effect-scope", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effectScope.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/036-other-apis.jsonc b/packages/courses-config/chibivue-ja/chapters/036-other-apis.jsonc new file mode 100644 index 0000000..45bcc22 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/036-other-apis.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "other-apis", + "title": "その他の reactivity api", + "fromDir": "30_basic_reactivity_system/140_effect_scope", + "toDir": "30_basic_reactivity_system/150_other_apis", + "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/050-other-apis", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/baseHandler.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/collectionHandlers.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/037-lifecycle-hooks.jsonc b/packages/courses-config/chibivue-ja/chapters/037-lifecycle-hooks.jsonc new file mode 100644 index 0000000..79897dd --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/037-lifecycle-hooks.jsonc @@ -0,0 +1,54 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "lifecycle-hooks", + "title": "ライフサイクルフック", + "fromDir": "30_basic_reactivity_system/150_other_apis", + "toDir": "40_basic_component_system/010_lifecycle_hooks", + "docs": "https://book.chibivue.land/ja/40-basic-component-system/010-lifecycle-hooks", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/collectionHandlers.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiLifecycle.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/enums.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/scheduler.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/038-provide-inject.jsonc b/packages/courses-config/chibivue-ja/chapters/038-provide-inject.jsonc new file mode 100644 index 0000000..f1c14b1 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/038-provide-inject.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "provide-inject", + "title": "Provide/Inject", + "fromDir": "40_basic_component_system/010_lifecycle_hooks", + "toDir": "40_basic_component_system/020_provide_inject", + "docs": "https://book.chibivue.land/ja/40-basic-component-system/020-provide-inject", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiInject.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/039-component-proxy.jsonc b/packages/courses-config/chibivue-ja/chapters/039-component-proxy.jsonc new file mode 100644 index 0000000..07aeeac --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/039-component-proxy.jsonc @@ -0,0 +1,50 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-proxy", + "title": "コンポーネントの Proxy", + "fromDir": "40_basic_component_system/020_provide_inject", + "toDir": "40_basic_component_system/030_component_proxy", + "docs": "https://book.chibivue.land/ja/40-basic-component-system/030-component-proxy-setup-context", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiDefineComponent.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentProps.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentPublicInstance.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/rendererTemplateRef.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/040-setup-context.jsonc b/packages/courses-config/chibivue-ja/chapters/040-setup-context.jsonc new file mode 100644 index 0000000..4e4a0d7 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/040-setup-context.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "setup-context", + "title": "setupContext", + "fromDir": "40_basic_component_system/030_component_proxy", + "toDir": "40_basic_component_system/040_setup_context", + "docs": "https://book.chibivue.land/ja/40-basic-component-system/030-component-proxy-setup-context", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/rendererTemplateRef.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/041-component-slot.jsonc b/packages/courses-config/chibivue-ja/chapters/041-component-slot.jsonc new file mode 100644 index 0000000..c3a1621 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/041-component-slot.jsonc @@ -0,0 +1,54 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-slot", + "title": "デフォルトスロット", + "fromDir": "40_basic_component_system/040_setup_context", + "toDir": "40_basic_component_system/050_component_slot", + "docs": "https://book.chibivue.land/ja/40-basic-component-system/040-component-slot", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentRenderContext.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/componentSlots.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/h.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/shared/shapeFlags.ts", + "kind": "M", + }, + { + "path": "packages/shared/typeUtils.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/042-slot-extend.jsonc b/packages/courses-config/chibivue-ja/chapters/042-slot-extend.jsonc new file mode 100644 index 0000000..641a6ab --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/042-slot-extend.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "slot-extend", + "title": "名前付きスロットとスコープ付きスロット", + "fromDir": "40_basic_component_system/050_component_slot", + "toDir": "40_basic_component_system/060_slot_extend", + "docs": "https://book.chibivue.land/ja/40-basic-component-system/040-component-slot", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentRenderContext.ts", + "kind": "D", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/043-options-api.jsonc b/packages/courses-config/chibivue-ja/chapters/043-options-api.jsonc new file mode 100644 index 0000000..8b66189 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/043-options-api.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "options-api", + "title": "Options APIに対応する", + "fromDir": "40_basic_component_system/060_slot_extend", + "toDir": "40_basic_component_system/070_options_api", + "docs": "https://book.chibivue.land/ja/40-basic-component-system/050-options-api", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiDefineComponent.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentEmits.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentPublicInstance.ts", + "kind": "M", + }, + { + "path": "packages/shared/typeUtils.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/044-transformer.jsonc b/packages/courses-config/chibivue-ja/chapters/044-transformer.jsonc new file mode 100644 index 0000000..722dfa9 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/044-transformer.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "transformer", + "title": "Transformer の実装 の Codegen のリファクタ", + "fromDir": "40_basic_component_system/070_options_api", + "toDir": "50_basic_template_compiler/010_transformer", + "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/010-transform", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/options.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/045-v-bind.jsonc b/packages/courses-config/chibivue-ja/chapters/045-v-bind.jsonc new file mode 100644 index 0000000..e233f49 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/045-v-bind.jsonc @@ -0,0 +1,66 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "v-bind", + "title": "ディレクティブを実装しよう (v-bind)", + "fromDir": "50_basic_template_compiler/010_transformer", + "toDir": "50_basic_template_compiler/020_v_bind", + "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/020-v-bind", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vBind.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/shared/index.ts", + "kind": "M", + }, + { + "path": "packages/shared/normalizeProp.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/046-transform-expression.jsonc b/packages/courses-config/chibivue-ja/chapters/046-transform-expression.jsonc new file mode 100644 index 0000000..7daeda0 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/046-transform-expression.jsonc @@ -0,0 +1,66 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "transform-expression", + "title": "template 内での式の評価", + "fromDir": "50_basic_template_compiler/020_v_bind", + "toDir": "50_basic_template_compiler/022_transform_expression", + "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/022-transform-expression", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/babelUtils.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/options.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformExpression.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/transforms/vBind.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/shared/makeMap.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/047-v-on.jsonc b/packages/courses-config/chibivue-ja/chapters/047-v-on.jsonc new file mode 100644 index 0000000..17f6b82 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/047-v-on.jsonc @@ -0,0 +1,70 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "v-on", + "title": "v-on に対応する", + "fromDir": "50_basic_template_compiler/022_transform_expression", + "toDir": "50_basic_template_compiler/025_v_on", + "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/025-v-on", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "D", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/babelUtils.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformExpression.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vOn.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/helpers/toHandlers.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/048-event-modifier.jsonc b/packages/courses-config/chibivue-ja/chapters/048-event-modifier.jsonc new file mode 100644 index 0000000..383f553 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/048-event-modifier.jsonc @@ -0,0 +1,74 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "event-modifier", + "title": "withModifiers", + "fromDir": "50_basic_template_compiler/025_v_on", + "toDir": "50_basic_template_compiler/027_event_modifier", + "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/027-event-modifier", + "changedFiles": [ + { + "path": "examples/playground/package.json", + "kind": "D", + }, + { + "path": "examples/playground/pnpm-lock.yaml", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vOn.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/transforms/vOn.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/directives/vOn.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/runtimeHelpers.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/049-event-modifier2.jsonc b/packages/courses-config/chibivue-ja/chapters/049-event-modifier2.jsonc new file mode 100644 index 0000000..eee6de7 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/049-event-modifier2.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "event-modifier2", + "title": "その他のイベント修飾子", + "fromDir": "50_basic_template_compiler/027_event_modifier", + "toDir": "50_basic_template_compiler/027_event_modifier2", + "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/027-event-modifier", + "changedFiles": [ + { + "path": "examples/playground/package.json", + "kind": "U", + }, + { + "path": "examples/playground/pnpm-lock.yaml", + "kind": "D", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/transforms/vOn.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/directives/vOn.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/050-fragment.jsonc b/packages/courses-config/chibivue-ja/chapters/050-fragment.jsonc new file mode 100644 index 0000000..d72ac74 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/050-fragment.jsonc @@ -0,0 +1,58 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "fragment", + "title": "Fragment に対応する", + "fromDir": "50_basic_template_compiler/027_event_modifier2", + "toDir": "50_basic_template_compiler/030_fragment", + "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/030-fragment", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/h.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/051-comment.jsonc b/packages/courses-config/chibivue-ja/chapters/051-comment.jsonc new file mode 100644 index 0000000..b163c6b --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/051-comment.jsonc @@ -0,0 +1,54 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "comment", + "title": "コメントアウトに対応する", + "fromDir": "50_basic_template_compiler/030_fragment", + "toDir": "50_basic_template_compiler/035_comment", + "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/035-comment", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/052-v-if.jsonc b/packages/courses-config/chibivue-ja/chapters/052-v-if.jsonc new file mode 100644 index 0000000..6e2f648 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/052-v-if.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "v-if", + "title": "v-if と構造的ディレクティブ", + "fromDir": "50_basic_template_compiler/035_comment", + "toDir": "50_basic_template_compiler/040_v_if_and_structural_directive", + "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/040-v-if-and-structural-directive", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vIf.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/053-v-for.jsonc b/packages/courses-config/chibivue-ja/chapters/053-v-for.jsonc new file mode 100644 index 0000000..3f5251f --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/053-v-for.jsonc @@ -0,0 +1,78 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "v-for", + "title": "v-for に対応する", + "fromDir": "50_basic_template_compiler/040_v_if_and_structural_directive", + "toDir": "50_basic_template_compiler/050_v_for", + "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/050-v-for", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.js", + "kind": "U", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "D", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/babelUtils.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformExpression.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vFor.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/helpers/renderList.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/054-resolve-components.jsonc b/packages/courses-config/chibivue-ja/chapters/054-resolve-components.jsonc new file mode 100644 index 0000000..61fb5a4 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/054-resolve-components.jsonc @@ -0,0 +1,102 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "resolve-components", + "title": "コンポーネントを解決する", + "fromDir": "50_basic_template_compiler/050_v_for", + "toDir": "50_basic_template_compiler/060_resolve_components", + "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/070-resolve-component", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/components/Counter.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.js", + "kind": "D", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/options.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/parserOptions.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentRenderContext.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/helpers/resolveAssets.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/shared/domTagConfig.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/055-component-slot-outlet.jsonc b/packages/courses-config/chibivue-ja/chapters/055-component-slot-outlet.jsonc new file mode 100644 index 0000000..5052967 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/055-component-slot-outlet.jsonc @@ -0,0 +1,70 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-slot-outlet", + "title": "スロットに対応する (定義編)", + "fromDir": "50_basic_template_compiler/060_resolve_components", + "toDir": "50_basic_template_compiler/080_component_slot_outlet", + "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/080-component-slot-outlet", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Comp.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/components/Counter.vue", + "kind": "D", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformSlotOutlet.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentPublicInstance.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/helpers/renderSlot.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/056-component-slot-insert.jsonc b/packages/courses-config/chibivue-ja/chapters/056-component-slot-insert.jsonc new file mode 100644 index 0000000..49d863f --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/056-component-slot-insert.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-slot-insert", + "title": "スロットに対応する (利用編)", + "fromDir": "50_basic_template_compiler/080_component_slot_outlet", + "toDir": "50_basic_template_compiler/085_component_slot_insert", + "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/085-component-slot-insert", + "changedFiles": [ + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vSlot.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentRenderContext.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/057-other-directives.jsonc b/packages/courses-config/chibivue-ja/chapters/057-other-directives.jsonc new file mode 100644 index 0000000..bed5b3c --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/057-other-directives.jsonc @@ -0,0 +1,66 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "other-directives", + "title": "その他のディレクティブ", + "fromDir": "50_basic_template_compiler/085_component_slot_insert", + "toDir": "50_basic_template_compiler/090_other_directives", + "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/090-other-directives", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Comp.vue", + "kind": "D", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vSlot.ts", + "kind": "D", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/transforms/vHtml.ts", + "kind": "U", + }, + { + "path": "packages/compiler-dom/transforms/vText.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/componentRenderContext.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/058-chore-compiler.jsonc b/packages/courses-config/chibivue-ja/chapters/058-chore-compiler.jsonc new file mode 100644 index 0000000..31dc019 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/058-chore-compiler.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "chore-compiler", + "title": "コンパイラの細かい調整", + "fromDir": "50_basic_template_compiler/090_other_directives", + "toDir": "50_basic_template_compiler/100_chore_compiler", + "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/100-chore-compiler", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/059-script-setup.jsonc b/packages/courses-config/chibivue-ja/chapters/059-script-setup.jsonc new file mode 100644 index 0000000..792cf20 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/059-script-setup.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "script-setup", + "title": "script setup に対応する", + "fromDir": "50_basic_template_compiler/100_chore_compiler", + "toDir": "60_basic_sfc_compiler/010_script_setup", + "docs": "https://book.chibivue.land/ja/60-basic-sfc-compiler/010-script-setup", + "changedFiles": [ + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileScript.ts", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/compileSfc.ts", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/parse.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/060-define-props.jsonc b/packages/courses-config/chibivue-ja/chapters/060-define-props.jsonc new file mode 100644 index 0000000..134730e --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/060-define-props.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "define-props", + "title": "defineProps に対応する", + "fromDir": "60_basic_sfc_compiler/010_script_setup", + "toDir": "60_basic_sfc_compiler/020_define_props", + "docs": "https://book.chibivue.land/ja/60-basic-sfc-compiler/020-define-props", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/compileScript.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileSfc.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileStyle.ts", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/parse.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/061-define-emits.jsonc b/packages/courses-config/chibivue-ja/chapters/061-define-emits.jsonc new file mode 100644 index 0000000..6574531 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/061-define-emits.jsonc @@ -0,0 +1,26 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "define-emits", + "title": "defineEmits に対応する", + "fromDir": "60_basic_sfc_compiler/020_define_props", + "toDir": "60_basic_sfc_compiler/030_define_emits", + "docs": "https://book.chibivue.land/ja/60-basic-sfc-compiler/030-define-emits", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileScript.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/062-scoped-css.jsonc b/packages/courses-config/chibivue-ja/chapters/062-scoped-css.jsonc new file mode 100644 index 0000000..dae9743 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/062-scoped-css.jsonc @@ -0,0 +1,26 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "scoped-css", + "title": "Scoped CSS に対応する", + "fromDir": "60_basic_sfc_compiler/030_define_emits", + "toDir": "60_basic_sfc_compiler/040_scoped_css", + "docs": "https://book.chibivue.land/ja/60-basic-sfc-compiler/040-scoped-css", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileStyle.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/063-props-destructure.jsonc b/packages/courses-config/chibivue-ja/chapters/063-props-destructure.jsonc new file mode 100644 index 0000000..5153207 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/063-props-destructure.jsonc @@ -0,0 +1,22 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "props-destructure", + "title": "Props の分割代入に対応する", + "fromDir": "60_basic_sfc_compiler/040_scoped_css", + "toDir": "60_basic_sfc_compiler/050_props_destructure", + "docs": "https://book.chibivue.land/ja/60-basic-sfc-compiler/050-props-destructure", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/064-type-based-macros.jsonc b/packages/courses-config/chibivue-ja/chapters/064-type-based-macros.jsonc new file mode 100644 index 0000000..32e7809 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/064-type-based-macros.jsonc @@ -0,0 +1,26 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "type-based-macros", + "title": "型ベースの defineProps/defineEmits", + "fromDir": "60_basic_sfc_compiler/050_props_destructure", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/ja/60-basic-sfc-compiler/060-type-based-macros", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileScript.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/065-ssr.jsonc b/packages/courses-config/chibivue-ja/chapters/065-ssr.jsonc new file mode 100644 index 0000000..b3edcbd --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/065-ssr.jsonc @@ -0,0 +1,110 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "ssr", + "title": "renderToString", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "90_web_application_essentials/010_ssr", + "docs": "https://book.chibivue.land/ja/90-web-application-essentials/020-ssr/010-create-ssr-app", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "D", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileScript.ts", + "kind": "D", + }, + { + "path": "packages/compiler-sfc/compileSfc.ts", + "kind": "D", + }, + { + "path": "packages/compiler-sfc/compileStyle.ts", + "kind": "D", + }, + { + "path": "packages/compiler-sfc/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/parse.ts", + "kind": "M", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/hydration.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/server-renderer/helpers/ssrInterpolate.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/helpers/ssrRenderAttrs.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/helpers/ssrRenderList.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/helpers/ssrUtils.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/index.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/render.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/renderToString.ts", + "kind": "U", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "packages/shared/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/066-keep-alive.jsonc b/packages/courses-config/chibivue-ja/chapters/066-keep-alive.jsonc new file mode 100644 index 0000000..2da50c1 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/066-keep-alive.jsonc @@ -0,0 +1,58 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "keep-alive", + "title": "KeepAlive", + "fromDir": "90_web_application_essentials/010_ssr", + "toDir": "90_web_application_essentials/020_keep_alive", + "docs": "https://book.chibivue.land/ja/90-web-application-essentials/030-builtins/010-keep-alive", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Counter.vue", + "kind": "U", + }, + { + "path": "packages/runtime-core/apiLifecycle.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/components/KeepAlive.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/hydration.ts", + "kind": "D", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/shared/shapeFlags.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/067-transition.jsonc b/packages/courses-config/chibivue-ja/chapters/067-transition.jsonc new file mode 100644 index 0000000..7ddb6c4 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/067-transition.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "transition", + "title": "Transition", + "fromDir": "90_web_application_essentials/020_keep_alive", + "toDir": "90_web_application_essentials/030_transition", + "docs": "https://book.chibivue.land/ja/90-web-application-essentials/030-builtins/030-transition", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Counter.vue", + "kind": "D", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/components/Transition.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/068-static-hoisting.jsonc b/packages/courses-config/chibivue-ja/chapters/068-static-hoisting.jsonc new file mode 100644 index 0000000..55e808c --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/068-static-hoisting.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "static-hoisting", + "title": "Static Hoisting", + "fromDir": "90_web_application_essentials/030_transition", + "toDir": "90_web_application_essentials/040_static_hoisting", + "docs": "https://book.chibivue.land/ja/90-web-application-essentials/040-optimizations/010-static-hoisting", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/options.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/069-patch-flags.jsonc b/packages/courses-config/chibivue-ja/chapters/069-patch-flags.jsonc new file mode 100644 index 0000000..01953b1 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/069-patch-flags.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "patch-flags", + "title": "Patch Flags", + "fromDir": "90_web_application_essentials/040_static_hoisting", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/ja/90-web-application-essentials/040-optimizations/020-patch-flags", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/shared/index.ts", + "kind": "M", + }, + { + "path": "packages/shared/patchFlags.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/chapters/070-minimal-vue.jsonc b/packages/courses-config/chibivue-ja/chapters/070-minimal-vue.jsonc new file mode 100644 index 0000000..73de507 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/070-minimal-vue.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "minimal-vue", + "title": "15 分で Vue を作る", + "fromDir": "", + "toDir": "bonus/hyper-ultimate-super-extreme-minimal-vue", + "docs": "https://book.chibivue.land/ja/bonus/hyper-ultimate-super-extreme-minimal-vue/", + "changedFiles": [ + { + "path": "examples/playground/index.html", + "kind": "U", + }, + { + "path": "examples/playground/package.json", + "kind": "U", + }, + { + "path": "examples/playground/src/App.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "U", + }, + { + "path": "examples/playground/tsconfig.json", + "kind": "U", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "U", + }, + { + "path": "package.json", + "kind": "U", + }, + { + "path": "packages/index.ts", + "kind": "U", + }, + { + "path": "tsconfig.json", + "kind": "U", + }, + ], +} diff --git a/packages/courses-config/chibivue-ja/course.jsonc b/packages/courses-config/chibivue-ja/course.jsonc new file mode 100644 index 0000000..33fa7e5 --- /dev/null +++ b/packages/courses-config/chibivue-ja/course.jsonc @@ -0,0 +1,10 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/course", + "id": "chibivue-ja", + "title": "chibivue 日本語コース", + "description": "chibivue のオンラインブックに沿って、createApp から Vue.js を段階的に実装する。ソースは chibivue の book/impls。", + "source": { + "repository": "https://github.com/chibivue-land/chibivue", + "root": "book/impls", + }, +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/001-project-setup.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/001-project-setup.jsonc new file mode 100644 index 0000000..05e225d --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/001-project-setup.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "project-setup", + "title": "本書的方法和環境設定", + "fromDir": "", + "toDir": "00_introduction/010_project_setup", + "docs": "https://book.chibivue.land/zh-tw/00-introduction/040-setup-project", + "changedFiles": [ + { + "path": "examples/playground/index.html", + "kind": "U", + }, + { + "path": "examples/playground/package.json", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "U", + }, + { + "path": "examples/playground/tsconfig.json", + "kind": "U", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "U", + }, + { + "path": "package.json", + "kind": "U", + }, + { + "path": "packages/index.ts", + "kind": "U", + }, + { + "path": "tsconfig.json", + "kind": "U", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/002-create-app.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/002-create-app.jsonc new file mode 100644 index 0000000..f5f694b --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/002-create-app.jsonc @@ -0,0 +1,26 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "create-app", + "title": "第一次渲染和 createApp API", + "fromDir": "00_introduction/010_project_setup", + "toDir": "10_minimum_example/010_create_app", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/010-create-app-api", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "U", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/003-package-architecture.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/003-package-architecture.jsonc new file mode 100644 index 0000000..0ff0a37 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/003-package-architecture.jsonc @@ -0,0 +1,50 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "package-architecture", + "title": "套件架構", + "fromDir": "10_minimum_example/010_create_app", + "toDir": "10_minimum_example/015_package_architecture", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/015-package-architecture", + "changedFiles": [ + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/004-simple-h-function.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/004-simple-h-function.jsonc new file mode 100644 index 0000000..5b036ba --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/004-simple-h-function.jsonc @@ -0,0 +1,62 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "simple-h-function", + "title": "讓我們啟用 HTML 元素渲染", + "fromDir": "10_minimum_example/015_package_architecture", + "toDir": "10_minimum_example/020_simple_h_function", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/020-simple-h-function", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/h.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/modules/attrs.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/modules/events.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/patchProp.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/005-reactive-system.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/005-reactive-system.jsonc new file mode 100644 index 0000000..e12133f --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/005-reactive-system.jsonc @@ -0,0 +1,54 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "reactive-system", + "title": "嘗試實作一個小型響應式系統", + "fromDir": "10_minimum_example/020_simple_h_function", + "toDir": "10_minimum_example/030_reactive_system", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/035-try-implementing-a-minimum-reactivity-system", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/baseHandler.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/dep.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/006-vdom-system.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/006-vdom-system.jsonc new file mode 100644 index 0000000..b5bc7f6 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/006-vdom-system.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "vdom-system", + "title": "最小虛擬 DOM", + "fromDir": "10_minimum_example/030_reactive_system", + "toDir": "10_minimum_example/040_vdom_system", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/040-minimum-virtual-dom", + "changedFiles": [ + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/h.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/007-component-system.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/007-component-system.jsonc new file mode 100644 index 0000000..31f322a --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/007-component-system.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-system", + "title": "邁向元件導向開發", + "fromDir": "10_minimum_example/040_vdom_system", + "toDir": "10_minimum_example/050_component_system", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/050-minimum-component", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/h.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/008-component-props.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/008-component-props.jsonc new file mode 100644 index 0000000..8e54149 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/008-component-props.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-props", + "title": "元件 Props", + "fromDir": "10_minimum_example/050_component_system", + "toDir": "10_minimum_example/050_component_system2", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/051-component-props", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentProps.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/009-component-emits.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/009-component-emits.jsonc new file mode 100644 index 0000000..8a73f88 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/009-component-emits.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-emits", + "title": "元件事件", + "fromDir": "10_minimum_example/050_component_system2", + "toDir": "10_minimum_example/050_component_system3", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/052-component-emits", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentEmits.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentProps.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "U", + }, + { + "path": "packages/shared/index.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/010-template-compiler.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/010-template-compiler.jsonc new file mode 100644 index 0000000..b45fd2a --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/010-template-compiler.jsonc @@ -0,0 +1,66 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "template-compiler", + "title": "實作模板編譯器", + "fromDir": "10_minimum_example/050_component_system3", + "toDir": "10_minimum_example/060_template_compiler", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/061-template-compiler-impl", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/index.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "U", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "U", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/011-template-compiler-parser.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/011-template-compiler-parser.jsonc new file mode 100644 index 0000000..0cb1e6f --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/011-template-compiler-parser.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "template-compiler-parser", + "title": "希望編寫更複雜的 HTML", + "fromDir": "10_minimum_example/060_template_compiler", + "toDir": "10_minimum_example/060_template_compiler2", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/070-more-complex-parser", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/012-template-binding.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/012-template-binding.jsonc new file mode 100644 index 0000000..b000afd --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/012-template-binding.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "template-binding", + "title": "資料綁定", + "fromDir": "10_minimum_example/060_template_compiler2", + "toDir": "10_minimum_example/060_template_compiler3", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/080-template-binding", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/013-sfc-prerequisite.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/013-sfc-prerequisite.jsonc new file mode 100644 index 0000000..7cf0174 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/013-sfc-prerequisite.jsonc @@ -0,0 +1,74 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "sfc-prerequisite", + "title": "使用 SFC 開發(外圍知識)", + "fromDir": "10_minimum_example/060_template_compiler3", + "toDir": "10_minimum_example/070_sfc_compiler", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/090-prerequisite-knowledge-for-the-sfc", + "changedFiles": [ + { + "path": "plugin-sample/README.md", + "kind": "U", + }, + { + "path": "plugin-sample/index.html", + "kind": "U", + }, + { + "path": "plugin-sample/package.json", + "kind": "U", + }, + { + "path": "plugin-sample/pnpm-lock.yaml", + "kind": "U", + }, + { + "path": "plugin-sample/public/vite.svg", + "kind": "U", + }, + { + "path": "plugin-sample/src/App.vue", + "kind": "U", + }, + { + "path": "plugin-sample/src/assets/vue.svg", + "kind": "U", + }, + { + "path": "plugin-sample/src/components/HelloWorld.vue", + "kind": "U", + }, + { + "path": "plugin-sample/src/main.ts", + "kind": "U", + }, + { + "path": "plugin-sample/src/plugin.sample.js", + "kind": "U", + }, + { + "path": "plugin-sample/src/style.css", + "kind": "U", + }, + { + "path": "plugin-sample/src/vite-env.d.ts", + "kind": "U", + }, + { + "path": "plugin-sample/tsconfig.json", + "kind": "U", + }, + { + "path": "plugin-sample/tsconfig.node.json", + "kind": "U", + }, + { + "path": "plugin-sample/vite.config.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/014-parse-sfc.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/014-parse-sfc.jsonc new file mode 100644 index 0000000..53573ac --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/014-parse-sfc.jsonc @@ -0,0 +1,110 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "parse-sfc", + "title": "解析 SFC", + "fromDir": "10_minimum_example/070_sfc_compiler", + "toDir": "10_minimum_example/070_sfc_compiler2", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/091-parse-sfc", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/@extensions/vite-plugin-chibivue/index.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileTemplate.ts", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/index.ts", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/parse.ts", + "kind": "U", + }, + { + "path": "plugin-sample/README.md", + "kind": "D", + }, + { + "path": "plugin-sample/index.html", + "kind": "D", + }, + { + "path": "plugin-sample/package.json", + "kind": "D", + }, + { + "path": "plugin-sample/pnpm-lock.yaml", + "kind": "D", + }, + { + "path": "plugin-sample/public/vite.svg", + "kind": "D", + }, + { + "path": "plugin-sample/src/App.vue", + "kind": "D", + }, + { + "path": "plugin-sample/src/assets/vue.svg", + "kind": "D", + }, + { + "path": "plugin-sample/src/components/HelloWorld.vue", + "kind": "D", + }, + { + "path": "plugin-sample/src/main.ts", + "kind": "D", + }, + { + "path": "plugin-sample/src/plugin.sample.js", + "kind": "D", + }, + { + "path": "plugin-sample/src/style.css", + "kind": "D", + }, + { + "path": "plugin-sample/src/vite-env.d.ts", + "kind": "D", + }, + { + "path": "plugin-sample/tsconfig.json", + "kind": "D", + }, + { + "path": "plugin-sample/tsconfig.node.json", + "kind": "D", + }, + { + "path": "plugin-sample/vite.config.ts", + "kind": "D", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/015-compile-sfc-template.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/015-compile-sfc-template.jsonc new file mode 100644 index 0000000..970e612 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/015-compile-sfc-template.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "compile-sfc-template", + "title": "SFC template 區塊", + "fromDir": "10_minimum_example/070_sfc_compiler2", + "toDir": "10_minimum_example/070_sfc_compiler3", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/092-compile-sfc-template", + "changedFiles": [ + { + "path": "packages/@extensions/vite-plugin-chibivue/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/options.ts", + "kind": "U", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/016-compile-sfc-style.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/016-compile-sfc-style.jsonc new file mode 100644 index 0000000..9511365 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/016-compile-sfc-style.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "compile-sfc-style", + "title": "SFC style 區塊", + "fromDir": "10_minimum_example/070_sfc_compiler3", + "toDir": "10_minimum_example/070_sfc_compiler4", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/094-compile-sfc-style", + "changedFiles": [ + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "package.json", + "kind": "M", + }, + { + "path": "packages/@extensions/vite-plugin-chibivue/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/rewriteDefault.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/017-patch-keyed-children.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/017-patch-keyed-children.jsonc new file mode 100644 index 0000000..c530973 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/017-patch-keyed-children.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "patch-keyed-children", + "title": "key 屬性和補丁渲染", + "fromDir": "10_minimum_example/070_sfc_compiler4", + "toDir": "20_basic_virtual_dom/010_patch_keyed_children", + "docs": "https://book.chibivue.land/zh-tw/20-basic-virtual-dom/010-patch-keyed-children", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "D", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/018-bit-flags.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/018-bit-flags.jsonc new file mode 100644 index 0000000..8040e4d --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/018-bit-flags.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "bit-flags", + "title": "VNode 的位元級表示", + "fromDir": "20_basic_virtual_dom/010_patch_keyed_children", + "toDir": "20_basic_virtual_dom/020_bit_flags", + "docs": "https://book.chibivue.land/zh-tw/20-basic-virtual-dom/020-bit-flags", + "changedFiles": [ + { + "path": "packages/reactivity/baseHandler.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "packages/shared/shapeFlags.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/019-scheduler.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/019-scheduler.jsonc new file mode 100644 index 0000000..81e44f3 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/019-scheduler.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "scheduler", + "title": "調度器", + "fromDir": "20_basic_virtual_dom/020_bit_flags", + "toDir": "20_basic_virtual_dom/040_scheduler", + "docs": "https://book.chibivue.land/zh-tw/20-basic-virtual-dom/030-scheduler", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/scheduler.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/020-next-tick.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/020-next-tick.jsonc new file mode 100644 index 0000000..773b976 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/020-next-tick.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "next-tick", + "title": "nextTick", + "fromDir": "20_basic_virtual_dom/040_scheduler", + "toDir": "20_basic_virtual_dom/050_next_tick", + "docs": "https://book.chibivue.land/zh-tw/20-basic-virtual-dom/030-scheduler", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/scheduler.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/021-other-props.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/021-other-props.jsonc new file mode 100644 index 0000000..6bd5263 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/021-other-props.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "other-props", + "title": "未處理 Props 的補丁", + "fromDir": "20_basic_virtual_dom/050_next_tick", + "toDir": "20_basic_virtual_dom/060_other_props", + "docs": "https://book.chibivue.land/zh-tw/20-basic-virtual-dom/040-patch-other-attrs", + "changedFiles": [ + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/modules/class.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/modules/props.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/modules/style.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/patchProp.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/022-ref.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/022-ref.jsonc new file mode 100644 index 0000000..8f3c83d --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/022-ref.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "ref", + "title": "ref API", + "fromDir": "20_basic_virtual_dom/060_other_props", + "toDir": "30_basic_reactivity_system/010_ref", + "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/010-ref-api", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/@extensions/vite-plugin-chibivue/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/023-shallow-ref.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/023-shallow-ref.jsonc new file mode 100644 index 0000000..641c105 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/023-shallow-ref.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "shallow-ref", + "title": "shallowRef", + "fromDir": "30_basic_reactivity_system/010_ref", + "toDir": "30_basic_reactivity_system/020_shallow_ref", + "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/010-ref-api", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/@extensions/vite-plugin-chibivue/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/024-to-ref.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/024-to-ref.jsonc new file mode 100644 index 0000000..bb170fb --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/024-to-ref.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "to-ref", + "title": "toRef", + "fromDir": "30_basic_reactivity_system/020_shallow_ref", + "toDir": "30_basic_reactivity_system/030_to_ref", + "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/010-ref-api", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "packages/shared/index.ts", + "kind": "M", + }, + { + "path": "packages/shared/typeUtils.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/025-to-refs.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/025-to-refs.jsonc new file mode 100644 index 0000000..92b5152 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/025-to-refs.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "to-refs", + "title": "toRefs", + "fromDir": "30_basic_reactivity_system/030_to_ref", + "toDir": "30_basic_reactivity_system/040_to_refs", + "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/010-ref-api", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/026-computed.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/026-computed.jsonc new file mode 100644 index 0000000..3cf0761 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/026-computed.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "computed", + "title": "computed", + "fromDir": "30_basic_reactivity_system/040_to_refs", + "toDir": "30_basic_reactivity_system/050_computed", + "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/020-computed-watch", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/computed.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/027-computed-setter.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/027-computed-setter.jsonc new file mode 100644 index 0000000..39e99a6 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/027-computed-setter.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "computed-setter", + "title": "computed 的 setter", + "fromDir": "30_basic_reactivity_system/050_computed", + "toDir": "30_basic_reactivity_system/060_computed_setter", + "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/020-computed-watch", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/computed.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/028-watch.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/028-watch.jsonc new file mode 100644 index 0000000..7549222 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/028-watch.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "watch", + "title": "watch", + "fromDir": "30_basic_reactivity_system/060_computed_setter", + "toDir": "30_basic_reactivity_system/070_watch", + "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/020-computed-watch", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/baseHandler.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiWatch.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/029-watch-api-extends.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/029-watch-api-extends.jsonc new file mode 100644 index 0000000..1207593 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/029-watch-api-extends.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "watch-api-extends", + "title": "watch 的其他 API", + "fromDir": "30_basic_reactivity_system/070_watch", + "toDir": "30_basic_reactivity_system/080_watch_api_extends", + "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/020-computed-watch", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiWatch.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/030-watch-effect.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/030-watch-effect.jsonc new file mode 100644 index 0000000..ffb3560 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/030-watch-effect.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "watch-effect", + "title": "watchEffect", + "fromDir": "30_basic_reactivity_system/080_watch_api_extends", + "toDir": "30_basic_reactivity_system/090_watch_effect", + "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/020-computed-watch", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiWatch.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/031-reactive-proxy-target-type.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/031-reactive-proxy-target-type.jsonc new file mode 100644 index 0000000..a0eda36 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/031-reactive-proxy-target-type.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "reactive-proxy-target-type", + "title": "不應該是響應式的物件", + "fromDir": "30_basic_reactivity_system/090_watch_effect", + "toDir": "30_basic_reactivity_system/100_reactive_proxy_target_type", + "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/030-reactive-proxy-handlers", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/032-template-refs.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/032-template-refs.jsonc new file mode 100644 index 0000000..a5a3a51 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/032-template-refs.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "template-refs", + "title": "Template Refs", + "fromDir": "30_basic_reactivity_system/100_reactive_proxy_target_type", + "toDir": "30_basic_reactivity_system/110_template_refs", + "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/030-reactive-proxy-handlers", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/rendererTemplateRef.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/033-proxy-handler-improvement.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/033-proxy-handler-improvement.jsonc new file mode 100644 index 0000000..64d365c --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/033-proxy-handler-improvement.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "proxy-handler-improvement", + "title": "支援集合類內建物件", + "fromDir": "30_basic_reactivity_system/110_template_refs", + "toDir": "30_basic_reactivity_system/120_proxy_handler_improvement", + "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/030-reactive-proxy-handlers", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/baseHandler.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/collectionHandlers.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/034-cleanup-effects.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/034-cleanup-effects.jsonc new file mode 100644 index 0000000..e8ebfb4 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/034-cleanup-effects.jsonc @@ -0,0 +1,30 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "cleanup-effects", + "title": "ReactiveEffect 的清理", + "fromDir": "30_basic_reactivity_system/120_proxy_handler_improvement", + "toDir": "30_basic_reactivity_system/130_cleanup_effects", + "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/040-effect-scope", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "D", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiWatch.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/035-effect-scope.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/035-effect-scope.jsonc new file mode 100644 index 0000000..bb35588 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/035-effect-scope.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "effect-scope", + "title": "EffectScope", + "fromDir": "30_basic_reactivity_system/130_cleanup_effects", + "toDir": "30_basic_reactivity_system/140_effect_scope", + "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/040-effect-scope", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effect.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/effectScope.ts", + "kind": "U", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/036-other-apis.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/036-other-apis.jsonc new file mode 100644 index 0000000..cc24f02 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/036-other-apis.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "other-apis", + "title": "其他響應式 API", + "fromDir": "30_basic_reactivity_system/140_effect_scope", + "toDir": "30_basic_reactivity_system/150_other_apis", + "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/050-other-apis", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/baseHandler.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/collectionHandlers.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/037-lifecycle-hooks.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/037-lifecycle-hooks.jsonc new file mode 100644 index 0000000..4610438 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/037-lifecycle-hooks.jsonc @@ -0,0 +1,54 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "lifecycle-hooks", + "title": "生命週期鉤子", + "fromDir": "30_basic_reactivity_system/150_other_apis", + "toDir": "40_basic_component_system/010_lifecycle_hooks", + "docs": "https://book.chibivue.land/zh-tw/40-basic-component-system/010-lifecycle-hooks", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/collectionHandlers.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiLifecycle.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/enums.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/scheduler.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/038-provide-inject.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/038-provide-inject.jsonc new file mode 100644 index 0000000..60589c0 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/038-provide-inject.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "provide-inject", + "title": "Provide/Inject", + "fromDir": "40_basic_component_system/010_lifecycle_hooks", + "toDir": "40_basic_component_system/020_provide_inject", + "docs": "https://book.chibivue.land/zh-tw/40-basic-component-system/020-provide-inject", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiInject.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/039-component-proxy.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/039-component-proxy.jsonc new file mode 100644 index 0000000..30ba415 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/039-component-proxy.jsonc @@ -0,0 +1,50 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-proxy", + "title": "元件的代理", + "fromDir": "40_basic_component_system/020_provide_inject", + "toDir": "40_basic_component_system/030_component_proxy", + "docs": "https://book.chibivue.land/zh-tw/40-basic-component-system/030-component-proxy-setup-context", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiDefineComponent.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentProps.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentPublicInstance.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/rendererTemplateRef.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/040-setup-context.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/040-setup-context.jsonc new file mode 100644 index 0000000..c22cd5d --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/040-setup-context.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "setup-context", + "title": "setupContext", + "fromDir": "40_basic_component_system/030_component_proxy", + "toDir": "40_basic_component_system/040_setup_context", + "docs": "https://book.chibivue.land/zh-tw/40-basic-component-system/030-component-proxy-setup-context", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/rendererTemplateRef.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/041-component-slot.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/041-component-slot.jsonc new file mode 100644 index 0000000..6086bb8 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/041-component-slot.jsonc @@ -0,0 +1,54 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-slot", + "title": "預設插槽", + "fromDir": "40_basic_component_system/040_setup_context", + "toDir": "40_basic_component_system/050_component_slot", + "docs": "https://book.chibivue.land/zh-tw/40-basic-component-system/040-component-slot", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentRenderContext.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/componentSlots.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/h.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/shared/shapeFlags.ts", + "kind": "M", + }, + { + "path": "packages/shared/typeUtils.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/042-slot-extend.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/042-slot-extend.jsonc new file mode 100644 index 0000000..c1cdc2d --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/042-slot-extend.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "slot-extend", + "title": "命名插槽與作用域插槽", + "fromDir": "40_basic_component_system/050_component_slot", + "toDir": "40_basic_component_system/060_slot_extend", + "docs": "https://book.chibivue.land/zh-tw/40-basic-component-system/040-component-slot", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentRenderContext.ts", + "kind": "D", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/043-options-api.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/043-options-api.jsonc new file mode 100644 index 0000000..f8ffff7 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/043-options-api.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "options-api", + "title": "支援 Options API", + "fromDir": "40_basic_component_system/060_slot_extend", + "toDir": "40_basic_component_system/070_options_api", + "docs": "https://book.chibivue.land/zh-tw/40-basic-component-system/050-options-api", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiDefineComponent.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentEmits.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentPublicInstance.ts", + "kind": "M", + }, + { + "path": "packages/shared/typeUtils.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/044-transformer.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/044-transformer.jsonc new file mode 100644 index 0000000..3460f57 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/044-transformer.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "transformer", + "title": "重構 Transformer 的 Codegen 實作", + "fromDir": "40_basic_component_system/070_options_api", + "toDir": "50_basic_template_compiler/010_transformer", + "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/010-transform", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/options.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/045-v-bind.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/045-v-bind.jsonc new file mode 100644 index 0000000..11cc40a --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/045-v-bind.jsonc @@ -0,0 +1,66 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "v-bind", + "title": "實作指令(v-bind)", + "fromDir": "50_basic_template_compiler/010_transformer", + "toDir": "50_basic_template_compiler/020_v_bind", + "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/020-v-bind", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vBind.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/shared/index.ts", + "kind": "M", + }, + { + "path": "packages/shared/normalizeProp.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/046-transform-expression.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/046-transform-expression.jsonc new file mode 100644 index 0000000..1f7af43 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/046-transform-expression.jsonc @@ -0,0 +1,66 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "transform-expression", + "title": "在模板中求值運算式", + "fromDir": "50_basic_template_compiler/020_v_bind", + "toDir": "50_basic_template_compiler/022_transform_expression", + "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/022-transform-expression", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/babelUtils.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/options.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformExpression.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/transforms/vBind.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/shared/makeMap.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/047-v-on.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/047-v-on.jsonc new file mode 100644 index 0000000..838b4de --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/047-v-on.jsonc @@ -0,0 +1,70 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "v-on", + "title": "支援 v-on", + "fromDir": "50_basic_template_compiler/022_transform_expression", + "toDir": "50_basic_template_compiler/025_v_on", + "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/025-v-on", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "D", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/babelUtils.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformExpression.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vOn.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/helpers/toHandlers.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/048-event-modifier.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/048-event-modifier.jsonc new file mode 100644 index 0000000..2bc94ba --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/048-event-modifier.jsonc @@ -0,0 +1,74 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "event-modifier", + "title": "withModifiers", + "fromDir": "50_basic_template_compiler/025_v_on", + "toDir": "50_basic_template_compiler/027_event_modifier", + "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/027-event-modifier", + "changedFiles": [ + { + "path": "examples/playground/package.json", + "kind": "D", + }, + { + "path": "examples/playground/pnpm-lock.yaml", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vOn.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/transforms/vOn.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/directives/vOn.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/runtimeHelpers.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/049-event-modifier2.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/049-event-modifier2.jsonc new file mode 100644 index 0000000..dc7257c --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/049-event-modifier2.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "event-modifier2", + "title": "其他事件修飾符", + "fromDir": "50_basic_template_compiler/027_event_modifier", + "toDir": "50_basic_template_compiler/027_event_modifier2", + "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/027-event-modifier", + "changedFiles": [ + { + "path": "examples/playground/package.json", + "kind": "U", + }, + { + "path": "examples/playground/pnpm-lock.yaml", + "kind": "D", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/transforms/vOn.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/directives/vOn.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/050-fragment.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/050-fragment.jsonc new file mode 100644 index 0000000..198d611 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/050-fragment.jsonc @@ -0,0 +1,58 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "fragment", + "title": "支援 Fragment", + "fromDir": "50_basic_template_compiler/027_event_modifier2", + "toDir": "50_basic_template_compiler/030_fragment", + "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/030-fragment", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/h.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/051-comment.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/051-comment.jsonc new file mode 100644 index 0000000..4b6c167 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/051-comment.jsonc @@ -0,0 +1,54 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "comment", + "title": "支援註釋節點", + "fromDir": "50_basic_template_compiler/030_fragment", + "toDir": "50_basic_template_compiler/035_comment", + "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/035-comment", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/nodeOps.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/052-v-if.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/052-v-if.jsonc new file mode 100644 index 0000000..0c29bbe --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/052-v-if.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "v-if", + "title": "v-if 和結構指令", + "fromDir": "50_basic_template_compiler/035_comment", + "toDir": "50_basic_template_compiler/040_v_if_and_structural_directive", + "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/040-v-if-and-structural-directive", + "changedFiles": [ + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vIf.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/053-v-for.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/053-v-for.jsonc new file mode 100644 index 0000000..814c57b --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/053-v-for.jsonc @@ -0,0 +1,78 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "v-for", + "title": "支援 v-for", + "fromDir": "50_basic_template_compiler/040_v_if_and_structural_directive", + "toDir": "50_basic_template_compiler/050_v_for", + "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/050-v-for", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.js", + "kind": "U", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "D", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/babelUtils.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformExpression.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vFor.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/helpers/renderList.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/054-resolve-components.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/054-resolve-components.jsonc new file mode 100644 index 0000000..4699415 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/054-resolve-components.jsonc @@ -0,0 +1,102 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "resolve-components", + "title": "解析元件", + "fromDir": "50_basic_template_compiler/050_v_for", + "toDir": "50_basic_template_compiler/060_resolve_components", + "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/070-resolve-component", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/components/Counter.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "examples/playground/vite.config.js", + "kind": "D", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/options.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/parserOptions.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentOptions.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentRenderContext.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/helpers/resolveAssets.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/shared/domTagConfig.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/055-component-slot-outlet.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/055-component-slot-outlet.jsonc new file mode 100644 index 0000000..1cb228f --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/055-component-slot-outlet.jsonc @@ -0,0 +1,70 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-slot-outlet", + "title": "支援插槽(定義)", + "fromDir": "50_basic_template_compiler/060_resolve_components", + "toDir": "50_basic_template_compiler/080_component_slot_outlet", + "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/080-component-slot-outlet", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Comp.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/components/Counter.vue", + "kind": "D", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/compile.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformSlotOutlet.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentPublicInstance.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/helpers/renderSlot.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/056-component-slot-insert.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/056-component-slot-insert.jsonc new file mode 100644 index 0000000..2339ffc --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/056-component-slot-insert.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "component-slot-insert", + "title": "支援插槽(使用)", + "fromDir": "50_basic_template_compiler/080_component_slot_outlet", + "toDir": "50_basic_template_compiler/085_component_slot_insert", + "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/085-component-slot-insert", + "changedFiles": [ + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vSlot.ts", + "kind": "U", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/componentRenderContext.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/057-other-directives.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/057-other-directives.jsonc new file mode 100644 index 0000000..cbc0b51 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/057-other-directives.jsonc @@ -0,0 +1,66 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "other-directives", + "title": "其他指令", + "fromDir": "50_basic_template_compiler/085_component_slot_insert", + "toDir": "50_basic_template_compiler/090_other_directives", + "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/090-other-directives", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Comp.vue", + "kind": "D", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/runtimeHelpers.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/transformElement.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transforms/vSlot.ts", + "kind": "D", + }, + { + "path": "packages/compiler-core/utils.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-dom/transforms/vHtml.ts", + "kind": "U", + }, + { + "path": "packages/compiler-dom/transforms/vText.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/componentRenderContext.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/058-chore-compiler.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/058-chore-compiler.jsonc new file mode 100644 index 0000000..a1ba885 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/058-chore-compiler.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "chore-compiler", + "title": "編譯器細節最佳化", + "fromDir": "50_basic_template_compiler/090_other_directives", + "toDir": "50_basic_template_compiler/100_chore_compiler", + "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/100-chore-compiler", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/059-script-setup.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/059-script-setup.jsonc new file mode 100644 index 0000000..e14ff83 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/059-script-setup.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "script-setup", + "title": "支援 script setup", + "fromDir": "50_basic_template_compiler/100_chore_compiler", + "toDir": "60_basic_sfc_compiler/010_script_setup", + "docs": "https://book.chibivue.land/zh-tw/60-basic-sfc-compiler/010-script-setup", + "changedFiles": [ + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileScript.ts", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/compileSfc.ts", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/parse.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/060-define-props.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/060-define-props.jsonc new file mode 100644 index 0000000..b14843a --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/060-define-props.jsonc @@ -0,0 +1,42 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "define-props", + "title": "支援 defineProps", + "fromDir": "60_basic_sfc_compiler/010_script_setup", + "toDir": "60_basic_sfc_compiler/020_define_props", + "docs": "https://book.chibivue.land/zh-tw/60-basic-sfc-compiler/020-define-props", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/compileScript.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileSfc.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileStyle.ts", + "kind": "U", + }, + { + "path": "packages/compiler-sfc/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/parse.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/061-define-emits.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/061-define-emits.jsonc new file mode 100644 index 0000000..cdf68b7 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/061-define-emits.jsonc @@ -0,0 +1,26 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "define-emits", + "title": "支援 defineEmits", + "fromDir": "60_basic_sfc_compiler/020_define_props", + "toDir": "60_basic_sfc_compiler/030_define_emits", + "docs": "https://book.chibivue.land/zh-tw/60-basic-sfc-compiler/030-define-emits", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileScript.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/062-scoped-css.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/062-scoped-css.jsonc new file mode 100644 index 0000000..af629d4 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/062-scoped-css.jsonc @@ -0,0 +1,26 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "scoped-css", + "title": "支援作用域 CSS", + "fromDir": "60_basic_sfc_compiler/030_define_emits", + "toDir": "60_basic_sfc_compiler/040_scoped_css", + "docs": "https://book.chibivue.land/zh-tw/60-basic-sfc-compiler/040-scoped-css", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileStyle.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/063-props-destructure.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/063-props-destructure.jsonc new file mode 100644 index 0000000..bb864c1 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/063-props-destructure.jsonc @@ -0,0 +1,22 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "props-destructure", + "title": "支援 Props 解構", + "fromDir": "60_basic_sfc_compiler/040_scoped_css", + "toDir": "60_basic_sfc_compiler/050_props_destructure", + "docs": "https://book.chibivue.land/zh-tw/60-basic-sfc-compiler/050-props-destructure", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/064-type-based-macros.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/064-type-based-macros.jsonc new file mode 100644 index 0000000..170ddfd --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/064-type-based-macros.jsonc @@ -0,0 +1,26 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "type-based-macros", + "title": "基於型別的 defineProps/defineEmits", + "fromDir": "60_basic_sfc_compiler/050_props_destructure", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/zh-tw/60-basic-sfc-compiler/060-type-based-macros", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileScript.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/065-ssr.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/065-ssr.jsonc new file mode 100644 index 0000000..fdda53b --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/065-ssr.jsonc @@ -0,0 +1,110 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "ssr", + "title": "renderToString", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "90_web_application_essentials/010_ssr", + "docs": "https://book.chibivue.land/zh-tw/90-web-application-essentials/020-ssr/010-create-ssr-app", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Child.vue", + "kind": "D", + }, + { + "path": "packages/compiler-core/parse.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/compileScript.ts", + "kind": "D", + }, + { + "path": "packages/compiler-sfc/compileSfc.ts", + "kind": "D", + }, + { + "path": "packages/compiler-sfc/compileStyle.ts", + "kind": "D", + }, + { + "path": "packages/compiler-sfc/index.ts", + "kind": "M", + }, + { + "path": "packages/compiler-sfc/parse.ts", + "kind": "M", + }, + { + "path": "packages/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/apiCreateApp.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/hydration.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/server-renderer/helpers/ssrInterpolate.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/helpers/ssrRenderAttrs.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/helpers/ssrRenderList.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/helpers/ssrUtils.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/index.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/render.ts", + "kind": "U", + }, + { + "path": "packages/server-renderer/renderToString.ts", + "kind": "U", + }, + { + "path": "packages/shared/general.ts", + "kind": "M", + }, + { + "path": "packages/shared/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/066-keep-alive.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/066-keep-alive.jsonc new file mode 100644 index 0000000..9244723 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/066-keep-alive.jsonc @@ -0,0 +1,58 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "keep-alive", + "title": "KeepAlive", + "fromDir": "90_web_application_essentials/010_ssr", + "toDir": "90_web_application_essentials/020_keep_alive", + "docs": "https://book.chibivue.land/zh-tw/90-web-application-essentials/030-builtins/010-keep-alive", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Counter.vue", + "kind": "U", + }, + { + "path": "packages/runtime-core/apiLifecycle.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/component.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/components/KeepAlive.ts", + "kind": "U", + }, + { + "path": "packages/runtime-core/hydration.ts", + "kind": "D", + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "packages/shared/shapeFlags.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/067-transition.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/067-transition.jsonc new file mode 100644 index 0000000..c6a9c33 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/067-transition.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "transition", + "title": "Transition", + "fromDir": "90_web_application_essentials/020_keep_alive", + "toDir": "90_web_application_essentials/030_transition", + "docs": "https://book.chibivue.land/zh-tw/90-web-application-essentials/030-builtins/030-transition", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "examples/playground/src/Counter.vue", + "kind": "D", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/runtime-dom/components/Transition.ts", + "kind": "U", + }, + { + "path": "packages/runtime-dom/index.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/068-static-hoisting.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/068-static-hoisting.jsonc new file mode 100644 index 0000000..c655705 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/068-static-hoisting.jsonc @@ -0,0 +1,34 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "static-hoisting", + "title": "靜態提升", + "fromDir": "90_web_application_essentials/030_transition", + "toDir": "90_web_application_essentials/040_static_hoisting", + "docs": "https://book.chibivue.land/zh-tw/90-web-application-essentials/040-optimizations/010-static-hoisting", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/options.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/transform.ts", + "kind": "M", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/069-patch-flags.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/069-patch-flags.jsonc new file mode 100644 index 0000000..67fa4b7 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/069-patch-flags.jsonc @@ -0,0 +1,38 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "patch-flags", + "title": "補丁標誌", + "fromDir": "90_web_application_essentials/040_static_hoisting", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-tw/90-web-application-essentials/040-optimizations/020-patch-flags", + "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "M", + }, + { + "path": "packages/compiler-core/ast.ts", + "kind": "M", + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M", + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M", + }, + { + "path": "packages/shared/index.ts", + "kind": "M", + }, + { + "path": "packages/shared/patchFlags.ts", + "kind": "U", + }, + { + "path": "tests/e2e.spec.ts", + "kind": "M", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/070-minimal-vue.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/070-minimal-vue.jsonc new file mode 100644 index 0000000..8638541 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/070-minimal-vue.jsonc @@ -0,0 +1,46 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "minimal-vue", + "title": "15 分鐘編寫 Vue.js", + "fromDir": "", + "toDir": "bonus/hyper-ultimate-super-extreme-minimal-vue", + "docs": "https://book.chibivue.land/zh-tw/bonus/hyper-ultimate-super-extreme-minimal-vue/", + "changedFiles": [ + { + "path": "examples/playground/index.html", + "kind": "U", + }, + { + "path": "examples/playground/package.json", + "kind": "U", + }, + { + "path": "examples/playground/src/App.vue", + "kind": "U", + }, + { + "path": "examples/playground/src/main.ts", + "kind": "U", + }, + { + "path": "examples/playground/tsconfig.json", + "kind": "U", + }, + { + "path": "examples/playground/vite.config.ts", + "kind": "U", + }, + { + "path": "package.json", + "kind": "U", + }, + { + "path": "packages/index.ts", + "kind": "U", + }, + { + "path": "tsconfig.json", + "kind": "U", + }, + ], +} diff --git a/packages/courses-config/chibivue-zh-tw/course.jsonc b/packages/courses-config/chibivue-zh-tw/course.jsonc new file mode 100644 index 0000000..4c0ab80 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/course.jsonc @@ -0,0 +1,10 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/course", + "id": "chibivue-zh-tw", + "title": "chibivue 繁體中文課程", + "description": "對照 chibivue 線上書,從 createApp 逐步實作 Vue.js。源碼來自 chibivue 的 book/impls。", + "source": { + "repository": "https://github.com/chibivue-land/chibivue", + "root": "book/impls", + }, +} diff --git a/packages/courses-config/courses.jsonc b/packages/courses-config/courses.jsonc index e9b3748..5e4ad74 100644 --- a/packages/courses-config/courses.jsonc +++ b/packages/courses-config/courses.jsonc @@ -9,6 +9,21 @@ "title": "chibivue 中文课程", "path": "chibivue-zh-cn", }, + { + "id": "chibivue-zh-tw", + "title": "chibivue 繁體中文課程", + "path": "chibivue-zh-tw", + }, + { + "id": "chibivue-ja", + "title": "chibivue 日本語コース", + "path": "chibivue-ja", + }, + { + "id": "chibivue-en", + "title": "chibivue", + "path": "chibivue-en", + }, { "id": "demo-course", "title": "Cursor particles", From e8a1c278732aa55f99d57eb6b081a42acf227cc3 Mon Sep 17 00:00:00 2001 From: Ruan Jiazhen Date: Sun, 18 Oct 2026 22:31:05 +0800 Subject: [PATCH 2/3] feat(courses): align chibivue chapters with the book sidebar Each online-book sidebar page is one chapter, including pages whose snapshots do not change, so course order and titles follow the book. Co-authored-by: Cursor --- .../chibivue-en/chapters/001-about.jsonc | 9 ++++ .../chapters/002-what-is-vue.jsonc | 9 ++++ .../chapters/003-vue-core-components.jsonc | 9 ++++ ...ct-setup.jsonc => 004-setup-project.jsonc} | 26 +++++---- ...ate-app.jsonc => 005-create-app-api.jsonc} | 12 ++--- ...e.jsonc => 006-package-architecture.jsonc} | 22 ++++---- ...tion.jsonc => 007-simple-h-function.jsonc} | 28 +++++----- .../008-event-handler-and-attrs.jsonc | 9 ++++ ...-knowledge-for-the-reactivity-system.jsonc | 9 ++++ ...menting-a-minimum-reactivity-system.jsonc} | 26 ++++----- ...em.jsonc => 011-minimum-virtual-dom.jsonc} | 16 +++--- ...stem.jsonc => 012-minimum-component.jsonc} | 18 +++---- ...-props.jsonc => 013-component-props.jsonc} | 14 ++--- ...-emits.jsonc => 014-component-emits.jsonc} | 20 +++---- .../chapters/015-template-compiler.jsonc | 9 ++++ ...jsonc => 016-template-compiler-impl.jsonc} | 32 +++++------ ...er.jsonc => 017-more-complex-parser.jsonc} | 14 ++--- ...nding.jsonc => 018-template-binding.jsonc} | 18 +++---- ...-prerequisite-knowledge-for-the-sfc.jsonc} | 36 ++++++------- .../chibivue-en/chapters/020-next-tick.jsonc | 30 ----------- ...14-parse-sfc.jsonc => 020-parse-sfc.jsonc} | 52 +++++++++--------- ...e.jsonc => 021-compile-sfc-template.jsonc} | 16 +++--- .../chapters/022-compile-sfc-script.jsonc | 9 ++++ .../chibivue-en/chapters/022-ref.jsonc | 46 ---------------- ...tyle.jsonc => 023-compile-sfc-style.jsonc} | 16 +++--- .../chapters/023-shallow-ref.jsonc | 38 ------------- .../chibivue-en/chapters/024-break.jsonc | 9 ++++ ...n.jsonc => 025-patch-keyed-children.jsonc} | 16 +++--- .../chibivue-en/chapters/025-to-refs.jsonc | 34 ------------ ...18-bit-flags.jsonc => 026-bit-flags.jsonc} | 14 ++--- .../chibivue-en/chapters/026-computed.jsonc | 30 ----------- .../chapters/027-computed-setter.jsonc | 30 ----------- ...19-scheduler.jsonc => 027-scheduler.jsonc} | 24 ++++++--- ...rops.jsonc => 028-patch-other-attrs.jsonc} | 20 +++---- .../029-reactivity-optimization.jsonc | 9 ++++ .../chapters/029-watch-api-extends.jsonc | 34 ------------ .../{024-to-ref.jsonc => 030-ref-api.jsonc} | 36 ++++++++----- .../chapters/030-watch-effect.jsonc | 30 ----------- ...8-watch.jsonc => 031-computed-watch.jsonc} | 32 ++++++----- .../031-reactive-proxy-target-type.jsonc | 30 ----------- ...sonc => 032-reactive-proxy-handlers.jsonc} | 36 ++++++++----- .../chapters/032-template-refs.jsonc | 34 ------------ ...ect-scope.jsonc => 033-effect-scope.jsonc} | 28 ++++++---- .../chapters/034-cleanup-effects.jsonc | 30 ----------- ...-other-apis.jsonc => 034-other-apis.jsonc} | 18 +++---- ...-hooks.jsonc => 035-lifecycle-hooks.jsonc} | 24 ++++----- ...-inject.jsonc => 036-provide-inject.jsonc} | 20 +++---- ...> 037-component-proxy-setup-context.jsonc} | 32 ++++++----- ...nt-slot.jsonc => 038-component-slot.jsonc} | 32 +++++------ ...ptions-api.jsonc => 039-options-api.jsonc} | 18 +++---- .../chapters/040-setup-context.jsonc | 38 ------------- ...-transformer.jsonc => 040-transform.jsonc} | 22 ++++---- .../{045-v-bind.jsonc => 041-v-bind.jsonc} | 30 +++++------ .../chapters/042-slot-extend.jsonc | 34 ------------ ...n.jsonc => 042-transform-expression.jsonc} | 30 +++++------ .../{047-v-on.jsonc => 043-v-on.jsonc} | 32 +++++------ ...odifier.jsonc => 044-event-modifier.jsonc} | 46 ++++++++-------- ...{050-fragment.jsonc => 045-fragment.jsonc} | 26 ++++----- .../{051-comment.jsonc => 046-comment.jsonc} | 24 ++++----- ...> 047-v-if-and-structural-directive.jsonc} | 20 +++---- .../{053-v-for.jsonc => 048-v-for.jsonc} | 36 ++++++------- .../chapters/049-event-modifier2.jsonc | 42 --------------- ...ents.jsonc => 049-resolve-component.jsonc} | 50 ++++++++--------- ....jsonc => 050-component-slot-outlet.jsonc} | 32 +++++------ ....jsonc => 051-component-slot-insert.jsonc} | 20 +++---- ...tives.jsonc => 052-other-directives.jsonc} | 30 +++++------ ...ompiler.jsonc => 053-chore-compiler.jsonc} | 0 .../chapters/054-parser-optimization.jsonc | 9 ++++ .../chapters/055-custom-directive.jsonc | 9 ++++ ...ipt-setup.jsonc => 056-script-setup.jsonc} | 14 ++--- ...ine-props.jsonc => 057-define-props.jsonc} | 18 +++---- ...ine-emits.jsonc => 058-define-emits.jsonc} | 10 ++-- ...-scoped-css.jsonc => 059-scoped-css.jsonc} | 10 ++-- ...ture.jsonc => 060-props-destructure.jsonc} | 8 +-- ...cros.jsonc => 061-type-based-macros.jsonc} | 10 ++-- .../chibivue-en/chapters/062-router.jsonc | 9 ++++ .../chapters/063-preprocessors.jsonc | 9 ++++ .../chibivue-en/chapters/064-store.jsonc | 9 ++++ .../chibivue-en/chapters/065-data-fetch.jsonc | 9 ++++ .../chapters/066-language-tools.jsonc | 9 ++++ ...065-ssr.jsonc => 067-create-ssr-app.jsonc} | 54 +++++++++---------- .../chibivue-en/chapters/068-hydration.jsonc | 9 ++++ .../chapters/069-compiler-ssr.jsonc | 9 ++++ ...-keep-alive.jsonc => 070-keep-alive.jsonc} | 26 ++++----- ...-transition.jsonc => 071-transition.jsonc} | 14 ++--- ...isting.jsonc => 072-static-hoisting.jsonc} | 14 ++--- ...atch-flags.jsonc => 073-patch-flags.jsonc} | 16 +++--- .../chapters/074-tree-flattening.jsonc | 9 ++++ .../chapters/075-introduction.jsonc | 9 ++++ .../chapters/076-vapor-compiler.jsonc | 9 ++++ .../chibivue-en/chapters/077-vapor-ssr.jsonc | 9 ++++ .../chibivue-en/chapters/078-hot-paths.jsonc | 9 ++++ .../079-beginner-30-min-hands-on.jsonc | 9 ++++ .../080-beginner-60-min-hands-on.jsonc | 9 ++++ .../081-intermediate-60-min-hands-on.jsonc | 9 ++++ .../082-advanced-30-min-summary.jsonc | 9 ++++ ...r-ultimate-super-extreme-minimal-vue.jsonc | 9 ++++ ...inimal-vue.jsonc => 084-15-min-impl.jsonc} | 32 ++++++----- .../chapters/085-debug-vuejs-core.jsonc | 9 ++++ .../chibivue-ja/chapters/001-about.jsonc | 9 ++++ .../chapters/002-what-is-vue.jsonc | 9 ++++ .../chapters/003-vue-core-components.jsonc | 9 ++++ ...ct-setup.jsonc => 004-setup-project.jsonc} | 26 +++++---- ...ate-app.jsonc => 005-create-app-api.jsonc} | 12 ++--- ...e.jsonc => 006-package-architecture.jsonc} | 22 ++++---- ...tion.jsonc => 007-simple-h-function.jsonc} | 28 +++++----- .../008-event-handler-and-attrs.jsonc | 9 ++++ ...-knowledge-for-the-reactivity-system.jsonc | 9 ++++ ...menting-a-minimum-reactivity-system.jsonc} | 26 ++++----- ...em.jsonc => 011-minimum-virtual-dom.jsonc} | 16 +++--- ...stem.jsonc => 012-minimum-component.jsonc} | 18 +++---- ...-props.jsonc => 013-component-props.jsonc} | 14 ++--- ...-emits.jsonc => 014-component-emits.jsonc} | 20 +++---- .../chapters/015-template-compiler.jsonc | 9 ++++ ...jsonc => 016-template-compiler-impl.jsonc} | 32 +++++------ ...er.jsonc => 017-more-complex-parser.jsonc} | 14 ++--- ...nding.jsonc => 018-template-binding.jsonc} | 18 +++---- ...-prerequisite-knowledge-for-the-sfc.jsonc} | 36 ++++++------- .../chibivue-ja/chapters/020-next-tick.jsonc | 30 ----------- ...14-parse-sfc.jsonc => 020-parse-sfc.jsonc} | 52 +++++++++--------- ...e.jsonc => 021-compile-sfc-template.jsonc} | 16 +++--- .../chapters/022-compile-sfc-script.jsonc | 9 ++++ .../chibivue-ja/chapters/022-ref.jsonc | 46 ---------------- ...tyle.jsonc => 023-compile-sfc-style.jsonc} | 16 +++--- .../chapters/023-shallow-ref.jsonc | 38 ------------- .../chibivue-ja/chapters/024-break.jsonc | 9 ++++ ...n.jsonc => 025-patch-keyed-children.jsonc} | 16 +++--- .../chibivue-ja/chapters/025-to-refs.jsonc | 34 ------------ ...18-bit-flags.jsonc => 026-bit-flags.jsonc} | 14 ++--- .../chibivue-ja/chapters/026-computed.jsonc | 30 ----------- .../chapters/027-computed-setter.jsonc | 30 ----------- ...19-scheduler.jsonc => 027-scheduler.jsonc} | 24 ++++++--- ...rops.jsonc => 028-patch-other-attrs.jsonc} | 20 +++---- .../029-reactivity-optimization.jsonc | 9 ++++ .../chapters/029-watch-api-extends.jsonc | 34 ------------ .../{024-to-ref.jsonc => 030-ref-api.jsonc} | 36 ++++++++----- .../chapters/030-watch-effect.jsonc | 30 ----------- ...8-watch.jsonc => 031-computed-watch.jsonc} | 32 ++++++----- .../031-reactive-proxy-target-type.jsonc | 30 ----------- ...sonc => 032-reactive-proxy-handlers.jsonc} | 36 ++++++++----- .../chapters/032-template-refs.jsonc | 34 ------------ ...ect-scope.jsonc => 033-effect-scope.jsonc} | 28 ++++++---- .../chapters/034-cleanup-effects.jsonc | 30 ----------- ...-other-apis.jsonc => 034-other-apis.jsonc} | 18 +++---- ...-hooks.jsonc => 035-lifecycle-hooks.jsonc} | 24 ++++----- ...-inject.jsonc => 036-provide-inject.jsonc} | 20 +++---- ...> 037-component-proxy-setup-context.jsonc} | 32 ++++++----- ...nt-slot.jsonc => 038-component-slot.jsonc} | 32 +++++------ ...ptions-api.jsonc => 039-options-api.jsonc} | 18 +++---- .../chapters/040-setup-context.jsonc | 38 ------------- ...-transformer.jsonc => 040-transform.jsonc} | 22 ++++---- .../{045-v-bind.jsonc => 041-v-bind.jsonc} | 30 +++++------ .../chapters/042-slot-extend.jsonc | 34 ------------ ...n.jsonc => 042-transform-expression.jsonc} | 30 +++++------ .../{047-v-on.jsonc => 043-v-on.jsonc} | 32 +++++------ ...odifier.jsonc => 044-event-modifier.jsonc} | 46 ++++++++-------- ...{050-fragment.jsonc => 045-fragment.jsonc} | 26 ++++----- .../{051-comment.jsonc => 046-comment.jsonc} | 24 ++++----- ...> 047-v-if-and-structural-directive.jsonc} | 20 +++---- .../{053-v-for.jsonc => 048-v-for.jsonc} | 36 ++++++------- .../chapters/049-event-modifier2.jsonc | 42 --------------- ...ents.jsonc => 049-resolve-component.jsonc} | 50 ++++++++--------- ....jsonc => 050-component-slot-outlet.jsonc} | 32 +++++------ ....jsonc => 051-component-slot-insert.jsonc} | 20 +++---- ...tives.jsonc => 052-other-directives.jsonc} | 30 +++++------ ...ompiler.jsonc => 053-chore-compiler.jsonc} | 0 .../chapters/054-parser-optimization.jsonc | 9 ++++ .../chapters/055-custom-directive.jsonc | 9 ++++ ...ipt-setup.jsonc => 056-script-setup.jsonc} | 14 ++--- ...ine-props.jsonc => 057-define-props.jsonc} | 18 +++---- ...ine-emits.jsonc => 058-define-emits.jsonc} | 10 ++-- ...-scoped-css.jsonc => 059-scoped-css.jsonc} | 10 ++-- ...ture.jsonc => 060-props-destructure.jsonc} | 8 +-- ...cros.jsonc => 061-type-based-macros.jsonc} | 10 ++-- .../chibivue-ja/chapters/062-router.jsonc | 9 ++++ .../chapters/063-preprocessors.jsonc | 9 ++++ .../chibivue-ja/chapters/064-store.jsonc | 9 ++++ .../chibivue-ja/chapters/065-data-fetch.jsonc | 9 ++++ .../chapters/066-language-tools.jsonc | 9 ++++ ...065-ssr.jsonc => 067-create-ssr-app.jsonc} | 54 +++++++++---------- .../chibivue-ja/chapters/068-hydration.jsonc | 9 ++++ .../chapters/069-compiler-ssr.jsonc | 9 ++++ ...-keep-alive.jsonc => 070-keep-alive.jsonc} | 26 ++++----- ...-transition.jsonc => 071-transition.jsonc} | 14 ++--- ...isting.jsonc => 072-static-hoisting.jsonc} | 14 ++--- ...atch-flags.jsonc => 073-patch-flags.jsonc} | 16 +++--- .../chapters/074-tree-flattening.jsonc | 9 ++++ .../chapters/075-introduction.jsonc | 9 ++++ .../chapters/076-vapor-compiler.jsonc | 9 ++++ .../chibivue-ja/chapters/077-vapor-ssr.jsonc | 9 ++++ .../chibivue-ja/chapters/078-hot-paths.jsonc | 9 ++++ .../079-beginner-30-min-hands-on.jsonc | 9 ++++ .../080-beginner-60-min-hands-on.jsonc | 9 ++++ .../081-intermediate-60-min-hands-on.jsonc | 9 ++++ .../082-advanced-30-min-summary.jsonc | 9 ++++ ...r-ultimate-super-extreme-minimal-vue.jsonc | 9 ++++ ...inimal-vue.jsonc => 084-15-min-impl.jsonc} | 32 ++++++----- .../chapters/085-debug-vuejs-core.jsonc | 9 ++++ .../chibivue-zh-cn/chapters/001-about.jsonc | 9 ++++ .../chapters/002-what-is-vue.jsonc | 9 ++++ .../chapters/003-vue-core-components.jsonc | 9 ++++ ...ct-setup.jsonc => 004-setup-project.jsonc} | 26 +++++---- ...ate-app.jsonc => 005-create-app-api.jsonc} | 12 ++--- ...e.jsonc => 006-package-architecture.jsonc} | 22 ++++---- ...tion.jsonc => 007-simple-h-function.jsonc} | 28 +++++----- .../008-event-handler-and-attrs.jsonc | 9 ++++ ...-knowledge-for-the-reactivity-system.jsonc | 9 ++++ ...menting-a-minimum-reactivity-system.jsonc} | 26 ++++----- ...em.jsonc => 011-minimum-virtual-dom.jsonc} | 16 +++--- ...stem.jsonc => 012-minimum-component.jsonc} | 18 +++---- ...-props.jsonc => 013-component-props.jsonc} | 14 ++--- ...-emits.jsonc => 014-component-emits.jsonc} | 20 +++---- .../chapters/015-template-compiler.jsonc | 9 ++++ ...jsonc => 016-template-compiler-impl.jsonc} | 32 +++++------ ...er.jsonc => 017-more-complex-parser.jsonc} | 14 ++--- ...nding.jsonc => 018-template-binding.jsonc} | 18 +++---- ...-prerequisite-knowledge-for-the-sfc.jsonc} | 36 ++++++------- .../chapters/020-next-tick.jsonc | 30 ----------- ...14-parse-sfc.jsonc => 020-parse-sfc.jsonc} | 52 +++++++++--------- ...e.jsonc => 021-compile-sfc-template.jsonc} | 16 +++--- .../chapters/022-compile-sfc-script.jsonc | 9 ++++ .../chibivue-zh-cn/chapters/022-ref.jsonc | 46 ---------------- ...tyle.jsonc => 023-compile-sfc-style.jsonc} | 16 +++--- .../chapters/023-shallow-ref.jsonc | 38 ------------- .../chibivue-zh-cn/chapters/024-break.jsonc | 9 ++++ ...n.jsonc => 025-patch-keyed-children.jsonc} | 16 +++--- .../chibivue-zh-cn/chapters/025-to-refs.jsonc | 34 ------------ ...18-bit-flags.jsonc => 026-bit-flags.jsonc} | 14 ++--- .../chapters/026-computed.jsonc | 30 ----------- .../chapters/027-computed-setter.jsonc | 30 ----------- ...19-scheduler.jsonc => 027-scheduler.jsonc} | 24 ++++++--- ...rops.jsonc => 028-patch-other-attrs.jsonc} | 20 +++---- .../029-reactivity-optimization.jsonc | 9 ++++ .../chapters/029-watch-api-extends.jsonc | 34 ------------ .../{024-to-ref.jsonc => 030-ref-api.jsonc} | 36 ++++++++----- .../chapters/030-watch-effect.jsonc | 30 ----------- ...8-watch.jsonc => 031-computed-watch.jsonc} | 32 ++++++----- .../031-reactive-proxy-target-type.jsonc | 30 ----------- ...sonc => 032-reactive-proxy-handlers.jsonc} | 36 ++++++++----- .../chapters/032-template-refs.jsonc | 34 ------------ ...ect-scope.jsonc => 033-effect-scope.jsonc} | 28 ++++++---- .../chapters/034-cleanup-effects.jsonc | 30 ----------- ...-other-apis.jsonc => 034-other-apis.jsonc} | 18 +++---- ...-hooks.jsonc => 035-lifecycle-hooks.jsonc} | 24 ++++----- ...-inject.jsonc => 036-provide-inject.jsonc} | 20 +++---- ...> 037-component-proxy-setup-context.jsonc} | 32 ++++++----- ...nt-slot.jsonc => 038-component-slot.jsonc} | 32 +++++------ ...ptions-api.jsonc => 039-options-api.jsonc} | 18 +++---- .../chapters/040-setup-context.jsonc | 38 ------------- ...-transformer.jsonc => 040-transform.jsonc} | 22 ++++---- .../{045-v-bind.jsonc => 041-v-bind.jsonc} | 30 +++++------ .../chapters/042-slot-extend.jsonc | 34 ------------ ...n.jsonc => 042-transform-expression.jsonc} | 30 +++++------ .../{047-v-on.jsonc => 043-v-on.jsonc} | 32 +++++------ ...odifier.jsonc => 044-event-modifier.jsonc} | 46 ++++++++-------- ...{050-fragment.jsonc => 045-fragment.jsonc} | 26 ++++----- .../{051-comment.jsonc => 046-comment.jsonc} | 24 ++++----- ...> 047-v-if-and-structural-directive.jsonc} | 20 +++---- .../{053-v-for.jsonc => 048-v-for.jsonc} | 36 ++++++------- .../chapters/049-event-modifier2.jsonc | 42 --------------- ...ents.jsonc => 049-resolve-component.jsonc} | 50 ++++++++--------- ....jsonc => 050-component-slot-outlet.jsonc} | 32 +++++------ ....jsonc => 051-component-slot-insert.jsonc} | 20 +++---- ...tives.jsonc => 052-other-directives.jsonc} | 30 +++++------ ...ompiler.jsonc => 053-chore-compiler.jsonc} | 0 .../chapters/054-parser-optimization.jsonc | 9 ++++ .../chapters/055-custom-directive.jsonc | 9 ++++ ...ipt-setup.jsonc => 056-script-setup.jsonc} | 14 ++--- ...ine-props.jsonc => 057-define-props.jsonc} | 18 +++---- ...ine-emits.jsonc => 058-define-emits.jsonc} | 10 ++-- ...-scoped-css.jsonc => 059-scoped-css.jsonc} | 10 ++-- ...ture.jsonc => 060-props-destructure.jsonc} | 8 +-- ...cros.jsonc => 061-type-based-macros.jsonc} | 10 ++-- .../chibivue-zh-cn/chapters/062-router.jsonc | 9 ++++ .../chapters/063-preprocessors.jsonc | 9 ++++ .../chibivue-zh-cn/chapters/064-store.jsonc | 9 ++++ .../chapters/065-data-fetch.jsonc | 9 ++++ .../chapters/066-language-tools.jsonc | 9 ++++ ...065-ssr.jsonc => 067-create-ssr-app.jsonc} | 54 +++++++++---------- .../chapters/068-hydration.jsonc | 9 ++++ .../chapters/069-compiler-ssr.jsonc | 9 ++++ ...-keep-alive.jsonc => 070-keep-alive.jsonc} | 26 ++++----- ...-transition.jsonc => 071-transition.jsonc} | 14 ++--- ...isting.jsonc => 072-static-hoisting.jsonc} | 14 ++--- ...atch-flags.jsonc => 073-patch-flags.jsonc} | 16 +++--- .../chapters/074-tree-flattening.jsonc | 9 ++++ .../chapters/075-introduction.jsonc | 9 ++++ .../chapters/076-vapor-compiler.jsonc | 9 ++++ .../chapters/077-vapor-ssr.jsonc | 9 ++++ .../chapters/078-hot-paths.jsonc | 9 ++++ .../079-beginner-30-min-hands-on.jsonc | 9 ++++ .../080-beginner-60-min-hands-on.jsonc | 9 ++++ .../081-intermediate-60-min-hands-on.jsonc | 9 ++++ .../082-advanced-30-min-summary.jsonc | 9 ++++ ...r-ultimate-super-extreme-minimal-vue.jsonc | 9 ++++ ...inimal-vue.jsonc => 084-15-min-impl.jsonc} | 32 ++++++----- .../chapters/085-debug-vuejs-core.jsonc | 9 ++++ .../chibivue-zh-tw/chapters/001-about.jsonc | 9 ++++ .../chapters/002-what-is-vue.jsonc | 9 ++++ .../chapters/003-vue-core-components.jsonc | 9 ++++ ...ct-setup.jsonc => 004-setup-project.jsonc} | 26 +++++---- ...ate-app.jsonc => 005-create-app-api.jsonc} | 12 ++--- ...e.jsonc => 006-package-architecture.jsonc} | 22 ++++---- ...tion.jsonc => 007-simple-h-function.jsonc} | 28 +++++----- .../008-event-handler-and-attrs.jsonc | 9 ++++ ...-knowledge-for-the-reactivity-system.jsonc | 9 ++++ ...menting-a-minimum-reactivity-system.jsonc} | 26 ++++----- ...em.jsonc => 011-minimum-virtual-dom.jsonc} | 16 +++--- ...stem.jsonc => 012-minimum-component.jsonc} | 18 +++---- ...-props.jsonc => 013-component-props.jsonc} | 14 ++--- ...-emits.jsonc => 014-component-emits.jsonc} | 20 +++---- .../chapters/015-template-compiler.jsonc | 9 ++++ ...jsonc => 016-template-compiler-impl.jsonc} | 32 +++++------ ...er.jsonc => 017-more-complex-parser.jsonc} | 14 ++--- ...nding.jsonc => 018-template-binding.jsonc} | 18 +++---- ...-prerequisite-knowledge-for-the-sfc.jsonc} | 36 ++++++------- .../chapters/020-next-tick.jsonc | 30 ----------- ...14-parse-sfc.jsonc => 020-parse-sfc.jsonc} | 52 +++++++++--------- ...e.jsonc => 021-compile-sfc-template.jsonc} | 16 +++--- .../chapters/022-compile-sfc-script.jsonc | 9 ++++ .../chibivue-zh-tw/chapters/022-ref.jsonc | 46 ---------------- ...tyle.jsonc => 023-compile-sfc-style.jsonc} | 16 +++--- .../chapters/023-shallow-ref.jsonc | 38 ------------- .../chibivue-zh-tw/chapters/024-break.jsonc | 9 ++++ ...n.jsonc => 025-patch-keyed-children.jsonc} | 16 +++--- .../chibivue-zh-tw/chapters/025-to-refs.jsonc | 34 ------------ ...18-bit-flags.jsonc => 026-bit-flags.jsonc} | 14 ++--- .../chapters/026-computed.jsonc | 30 ----------- .../chapters/027-computed-setter.jsonc | 30 ----------- ...19-scheduler.jsonc => 027-scheduler.jsonc} | 24 ++++++--- ...rops.jsonc => 028-patch-other-attrs.jsonc} | 20 +++---- .../029-reactivity-optimization.jsonc | 9 ++++ .../chapters/029-watch-api-extends.jsonc | 34 ------------ .../{024-to-ref.jsonc => 030-ref-api.jsonc} | 36 ++++++++----- .../chapters/030-watch-effect.jsonc | 30 ----------- ...8-watch.jsonc => 031-computed-watch.jsonc} | 32 ++++++----- .../031-reactive-proxy-target-type.jsonc | 30 ----------- ...sonc => 032-reactive-proxy-handlers.jsonc} | 36 ++++++++----- .../chapters/032-template-refs.jsonc | 34 ------------ ...ect-scope.jsonc => 033-effect-scope.jsonc} | 28 ++++++---- .../chapters/034-cleanup-effects.jsonc | 30 ----------- ...-other-apis.jsonc => 034-other-apis.jsonc} | 18 +++---- ...-hooks.jsonc => 035-lifecycle-hooks.jsonc} | 24 ++++----- ...-inject.jsonc => 036-provide-inject.jsonc} | 20 +++---- ...> 037-component-proxy-setup-context.jsonc} | 32 ++++++----- ...nt-slot.jsonc => 038-component-slot.jsonc} | 32 +++++------ ...ptions-api.jsonc => 039-options-api.jsonc} | 18 +++---- .../chapters/040-setup-context.jsonc | 38 ------------- ...-transformer.jsonc => 040-transform.jsonc} | 22 ++++---- .../{045-v-bind.jsonc => 041-v-bind.jsonc} | 30 +++++------ .../chapters/042-slot-extend.jsonc | 34 ------------ ...n.jsonc => 042-transform-expression.jsonc} | 30 +++++------ .../{047-v-on.jsonc => 043-v-on.jsonc} | 32 +++++------ ...odifier.jsonc => 044-event-modifier.jsonc} | 46 ++++++++-------- ...{050-fragment.jsonc => 045-fragment.jsonc} | 26 ++++----- .../{051-comment.jsonc => 046-comment.jsonc} | 24 ++++----- ...> 047-v-if-and-structural-directive.jsonc} | 20 +++---- .../{053-v-for.jsonc => 048-v-for.jsonc} | 36 ++++++------- .../chapters/049-event-modifier2.jsonc | 42 --------------- ...ents.jsonc => 049-resolve-component.jsonc} | 50 ++++++++--------- ....jsonc => 050-component-slot-outlet.jsonc} | 32 +++++------ ....jsonc => 051-component-slot-insert.jsonc} | 20 +++---- ...tives.jsonc => 052-other-directives.jsonc} | 30 +++++------ ...ompiler.jsonc => 053-chore-compiler.jsonc} | 0 .../chapters/054-parser-optimization.jsonc | 9 ++++ .../chapters/055-custom-directive.jsonc | 9 ++++ ...ipt-setup.jsonc => 056-script-setup.jsonc} | 14 ++--- ...ine-props.jsonc => 057-define-props.jsonc} | 18 +++---- ...ine-emits.jsonc => 058-define-emits.jsonc} | 10 ++-- ...-scoped-css.jsonc => 059-scoped-css.jsonc} | 10 ++-- ...ture.jsonc => 060-props-destructure.jsonc} | 8 +-- ...cros.jsonc => 061-type-based-macros.jsonc} | 10 ++-- .../chibivue-zh-tw/chapters/062-router.jsonc | 9 ++++ .../chapters/063-preprocessors.jsonc | 9 ++++ .../chibivue-zh-tw/chapters/064-store.jsonc | 9 ++++ .../chapters/065-data-fetch.jsonc | 9 ++++ .../chapters/066-language-tools.jsonc | 9 ++++ ...065-ssr.jsonc => 067-create-ssr-app.jsonc} | 54 +++++++++---------- .../chapters/068-hydration.jsonc | 9 ++++ .../chapters/069-compiler-ssr.jsonc | 9 ++++ ...-keep-alive.jsonc => 070-keep-alive.jsonc} | 26 ++++----- ...-transition.jsonc => 071-transition.jsonc} | 14 ++--- ...isting.jsonc => 072-static-hoisting.jsonc} | 14 ++--- ...atch-flags.jsonc => 073-patch-flags.jsonc} | 16 +++--- .../chapters/074-tree-flattening.jsonc | 9 ++++ .../chapters/075-introduction.jsonc | 9 ++++ .../chapters/076-vapor-compiler.jsonc | 9 ++++ .../chapters/077-vapor-ssr.jsonc | 9 ++++ .../chapters/078-hot-paths.jsonc | 9 ++++ .../079-beginner-30-min-hands-on.jsonc | 9 ++++ .../080-beginner-60-min-hands-on.jsonc | 9 ++++ .../081-intermediate-60-min-hands-on.jsonc | 9 ++++ .../082-advanced-30-min-summary.jsonc | 9 ++++ ...r-ultimate-super-extreme-minimal-vue.jsonc | 9 ++++ ...inimal-vue.jsonc => 084-15-min-impl.jsonc} | 32 ++++++----- .../chapters/085-debug-vuejs-core.jsonc | 9 ++++ 396 files changed, 3828 insertions(+), 4496 deletions(-) create mode 100644 packages/courses-config/chibivue-en/chapters/001-about.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/002-what-is-vue.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/003-vue-core-components.jsonc rename packages/courses-config/chibivue-en/chapters/{001-project-setup.jsonc => 004-setup-project.jsonc} (73%) rename packages/courses-config/chibivue-en/chapters/{002-create-app.jsonc => 005-create-app-api.jsonc} (85%) rename packages/courses-config/chibivue-en/chapters/{003-package-architecture.jsonc => 006-package-architecture.jsonc} (83%) rename packages/courses-config/chibivue-en/chapters/{004-simple-h-function.jsonc => 007-simple-h-function.jsonc} (82%) create mode 100644 packages/courses-config/chibivue-en/chapters/008-event-handler-and-attrs.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/009-prerequisite-knowledge-for-the-reactivity-system.jsonc rename packages/courses-config/chibivue-en/chapters/{005-reactive-system.jsonc => 010-try-implementing-a-minimum-reactivity-system.jsonc} (80%) rename packages/courses-config/chibivue-en/chapters/{006-vdom-system.jsonc => 011-minimum-virtual-dom.jsonc} (83%) rename packages/courses-config/chibivue-en/chapters/{007-component-system.jsonc => 012-minimum-component.jsonc} (82%) rename packages/courses-config/chibivue-en/chapters/{008-component-props.jsonc => 013-component-props.jsonc} (86%) rename packages/courses-config/chibivue-en/chapters/{009-component-emits.jsonc => 014-component-emits.jsonc} (84%) create mode 100644 packages/courses-config/chibivue-en/chapters/015-template-compiler.jsonc rename packages/courses-config/chibivue-en/chapters/{010-template-compiler.jsonc => 016-template-compiler-impl.jsonc} (80%) rename packages/courses-config/chibivue-en/chapters/{011-template-compiler-parser.jsonc => 017-more-complex-parser.jsonc} (83%) rename packages/courses-config/chibivue-en/chapters/{012-template-binding.jsonc => 018-template-binding.jsonc} (85%) rename packages/courses-config/chibivue-en/chapters/{013-sfc-prerequisite.jsonc => 019-prerequisite-knowledge-for-the-sfc.jsonc} (80%) delete mode 100644 packages/courses-config/chibivue-en/chapters/020-next-tick.jsonc rename packages/courses-config/chibivue-en/chapters/{014-parse-sfc.jsonc => 020-parse-sfc.jsonc} (79%) rename packages/courses-config/chibivue-en/chapters/{015-compile-sfc-template.jsonc => 021-compile-sfc-template.jsonc} (85%) create mode 100644 packages/courses-config/chibivue-en/chapters/022-compile-sfc-script.jsonc delete mode 100644 packages/courses-config/chibivue-en/chapters/022-ref.jsonc rename packages/courses-config/chibivue-en/chapters/{016-compile-sfc-style.jsonc => 023-compile-sfc-style.jsonc} (85%) delete mode 100644 packages/courses-config/chibivue-en/chapters/023-shallow-ref.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/024-break.jsonc rename packages/courses-config/chibivue-en/chapters/{017-patch-keyed-children.jsonc => 025-patch-keyed-children.jsonc} (85%) delete mode 100644 packages/courses-config/chibivue-en/chapters/025-to-refs.jsonc rename packages/courses-config/chibivue-en/chapters/{018-bit-flags.jsonc => 026-bit-flags.jsonc} (86%) delete mode 100644 packages/courses-config/chibivue-en/chapters/026-computed.jsonc delete mode 100644 packages/courses-config/chibivue-en/chapters/027-computed-setter.jsonc rename packages/courses-config/chibivue-en/chapters/{019-scheduler.jsonc => 027-scheduler.jsonc} (68%) rename packages/courses-config/chibivue-en/chapters/{021-other-props.jsonc => 028-patch-other-attrs.jsonc} (82%) create mode 100644 packages/courses-config/chibivue-en/chapters/029-reactivity-optimization.jsonc delete mode 100644 packages/courses-config/chibivue-en/chapters/029-watch-api-extends.jsonc rename packages/courses-config/chibivue-en/chapters/{024-to-ref.jsonc => 030-ref-api.jsonc} (61%) delete mode 100644 packages/courses-config/chibivue-en/chapters/030-watch-effect.jsonc rename packages/courses-config/chibivue-en/chapters/{028-watch.jsonc => 031-computed-watch.jsonc} (59%) delete mode 100644 packages/courses-config/chibivue-en/chapters/031-reactive-proxy-target-type.jsonc rename packages/courses-config/chibivue-en/chapters/{033-proxy-handler-improvement.jsonc => 032-reactive-proxy-handlers.jsonc} (60%) delete mode 100644 packages/courses-config/chibivue-en/chapters/032-template-refs.jsonc rename packages/courses-config/chibivue-en/chapters/{035-effect-scope.jsonc => 033-effect-scope.jsonc} (64%) delete mode 100644 packages/courses-config/chibivue-en/chapters/034-cleanup-effects.jsonc rename packages/courses-config/chibivue-en/chapters/{036-other-apis.jsonc => 034-other-apis.jsonc} (85%) rename packages/courses-config/chibivue-en/chapters/{037-lifecycle-hooks.jsonc => 035-lifecycle-hooks.jsonc} (83%) rename packages/courses-config/chibivue-en/chapters/{038-provide-inject.jsonc => 036-provide-inject.jsonc} (84%) rename packages/courses-config/chibivue-en/chapters/{039-component-proxy.jsonc => 037-component-proxy-setup-context.jsonc} (71%) rename packages/courses-config/chibivue-en/chapters/{041-component-slot.jsonc => 038-component-slot.jsonc} (66%) rename packages/courses-config/chibivue-en/chapters/{043-options-api.jsonc => 039-options-api.jsonc} (85%) delete mode 100644 packages/courses-config/chibivue-en/chapters/040-setup-context.jsonc rename packages/courses-config/chibivue-en/chapters/{044-transformer.jsonc => 040-transform.jsonc} (83%) rename packages/courses-config/chibivue-en/chapters/{045-v-bind.jsonc => 041-v-bind.jsonc} (82%) delete mode 100644 packages/courses-config/chibivue-en/chapters/042-slot-extend.jsonc rename packages/courses-config/chibivue-en/chapters/{046-transform-expression.jsonc => 042-transform-expression.jsonc} (83%) rename packages/courses-config/chibivue-en/chapters/{047-v-on.jsonc => 043-v-on.jsonc} (82%) rename packages/courses-config/chibivue-en/chapters/{048-event-modifier.jsonc => 044-event-modifier.jsonc} (70%) rename packages/courses-config/chibivue-en/chapters/{050-fragment.jsonc => 045-fragment.jsonc} (82%) rename packages/courses-config/chibivue-en/chapters/{051-comment.jsonc => 046-comment.jsonc} (83%) rename packages/courses-config/chibivue-en/chapters/{052-v-if.jsonc => 047-v-if-and-structural-directive.jsonc} (82%) rename packages/courses-config/chibivue-en/chapters/{053-v-for.jsonc => 048-v-for.jsonc} (82%) delete mode 100644 packages/courses-config/chibivue-en/chapters/049-event-modifier2.jsonc rename packages/courses-config/chibivue-en/chapters/{054-resolve-components.jsonc => 049-resolve-component.jsonc} (80%) rename packages/courses-config/chibivue-en/chapters/{055-component-slot-outlet.jsonc => 050-component-slot-outlet.jsonc} (83%) rename packages/courses-config/chibivue-en/chapters/{056-component-slot-insert.jsonc => 051-component-slot-insert.jsonc} (85%) rename packages/courses-config/chibivue-en/chapters/{057-other-directives.jsonc => 052-other-directives.jsonc} (83%) rename packages/courses-config/chibivue-en/chapters/{058-chore-compiler.jsonc => 053-chore-compiler.jsonc} (100%) create mode 100644 packages/courses-config/chibivue-en/chapters/054-parser-optimization.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/055-custom-directive.jsonc rename packages/courses-config/chibivue-en/chapters/{059-script-setup.jsonc => 056-script-setup.jsonc} (86%) rename packages/courses-config/chibivue-en/chapters/{060-define-props.jsonc => 057-define-props.jsonc} (85%) rename packages/courses-config/chibivue-en/chapters/{061-define-emits.jsonc => 058-define-emits.jsonc} (88%) rename packages/courses-config/chibivue-en/chapters/{062-scoped-css.jsonc => 059-scoped-css.jsonc} (88%) rename packages/courses-config/chibivue-en/chapters/{063-props-destructure.jsonc => 060-props-destructure.jsonc} (90%) rename packages/courses-config/chibivue-en/chapters/{064-type-based-macros.jsonc => 061-type-based-macros.jsonc} (89%) create mode 100644 packages/courses-config/chibivue-en/chapters/062-router.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/063-preprocessors.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/064-store.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/065-data-fetch.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/066-language-tools.jsonc rename packages/courses-config/chibivue-en/chapters/{065-ssr.jsonc => 067-create-ssr-app.jsonc} (80%) create mode 100644 packages/courses-config/chibivue-en/chapters/068-hydration.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/069-compiler-ssr.jsonc rename packages/courses-config/chibivue-en/chapters/{066-keep-alive.jsonc => 070-keep-alive.jsonc} (83%) rename packages/courses-config/chibivue-en/chapters/{067-transition.jsonc => 071-transition.jsonc} (86%) rename packages/courses-config/chibivue-en/chapters/{068-static-hoisting.jsonc => 072-static-hoisting.jsonc} (87%) rename packages/courses-config/chibivue-en/chapters/{069-patch-flags.jsonc => 073-patch-flags.jsonc} (85%) create mode 100644 packages/courses-config/chibivue-en/chapters/074-tree-flattening.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/075-introduction.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/076-vapor-compiler.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/077-vapor-ssr.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/078-hot-paths.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/079-beginner-30-min-hands-on.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/080-beginner-60-min-hands-on.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/081-intermediate-60-min-hands-on.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/082-advanced-30-min-summary.jsonc create mode 100644 packages/courses-config/chibivue-en/chapters/083-hyper-ultimate-super-extreme-minimal-vue.jsonc rename packages/courses-config/chibivue-en/chapters/{070-minimal-vue.jsonc => 084-15-min-impl.jsonc} (68%) create mode 100644 packages/courses-config/chibivue-en/chapters/085-debug-vuejs-core.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/001-about.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/002-what-is-vue.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/003-vue-core-components.jsonc rename packages/courses-config/chibivue-ja/chapters/{001-project-setup.jsonc => 004-setup-project.jsonc} (72%) rename packages/courses-config/chibivue-ja/chapters/{002-create-app.jsonc => 005-create-app-api.jsonc} (85%) rename packages/courses-config/chibivue-ja/chapters/{003-package-architecture.jsonc => 006-package-architecture.jsonc} (84%) rename packages/courses-config/chibivue-ja/chapters/{004-simple-h-function.jsonc => 007-simple-h-function.jsonc} (83%) create mode 100644 packages/courses-config/chibivue-ja/chapters/008-event-handler-and-attrs.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/009-prerequisite-knowledge-for-the-reactivity-system.jsonc rename packages/courses-config/chibivue-ja/chapters/{005-reactive-system.jsonc => 010-try-implementing-a-minimum-reactivity-system.jsonc} (81%) rename packages/courses-config/chibivue-ja/chapters/{006-vdom-system.jsonc => 011-minimum-virtual-dom.jsonc} (83%) rename packages/courses-config/chibivue-ja/chapters/{007-component-system.jsonc => 012-minimum-component.jsonc} (83%) rename packages/courses-config/chibivue-ja/chapters/{008-component-props.jsonc => 013-component-props.jsonc} (86%) rename packages/courses-config/chibivue-ja/chapters/{009-component-emits.jsonc => 014-component-emits.jsonc} (84%) create mode 100644 packages/courses-config/chibivue-ja/chapters/015-template-compiler.jsonc rename packages/courses-config/chibivue-ja/chapters/{010-template-compiler.jsonc => 016-template-compiler-impl.jsonc} (80%) rename packages/courses-config/chibivue-ja/chapters/{011-template-compiler-parser.jsonc => 017-more-complex-parser.jsonc} (83%) rename packages/courses-config/chibivue-ja/chapters/{012-template-binding.jsonc => 018-template-binding.jsonc} (85%) rename packages/courses-config/chibivue-ja/chapters/{013-sfc-prerequisite.jsonc => 019-prerequisite-knowledge-for-the-sfc.jsonc} (80%) delete mode 100644 packages/courses-config/chibivue-ja/chapters/020-next-tick.jsonc rename packages/courses-config/chibivue-ja/chapters/{014-parse-sfc.jsonc => 020-parse-sfc.jsonc} (79%) rename packages/courses-config/chibivue-ja/chapters/{015-compile-sfc-template.jsonc => 021-compile-sfc-template.jsonc} (86%) create mode 100644 packages/courses-config/chibivue-ja/chapters/022-compile-sfc-script.jsonc delete mode 100644 packages/courses-config/chibivue-ja/chapters/022-ref.jsonc rename packages/courses-config/chibivue-ja/chapters/{016-compile-sfc-style.jsonc => 023-compile-sfc-style.jsonc} (85%) delete mode 100644 packages/courses-config/chibivue-ja/chapters/023-shallow-ref.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/024-break.jsonc rename packages/courses-config/chibivue-ja/chapters/{017-patch-keyed-children.jsonc => 025-patch-keyed-children.jsonc} (86%) delete mode 100644 packages/courses-config/chibivue-ja/chapters/025-to-refs.jsonc rename packages/courses-config/chibivue-ja/chapters/{018-bit-flags.jsonc => 026-bit-flags.jsonc} (86%) delete mode 100644 packages/courses-config/chibivue-ja/chapters/026-computed.jsonc delete mode 100644 packages/courses-config/chibivue-ja/chapters/027-computed-setter.jsonc rename packages/courses-config/chibivue-ja/chapters/{019-scheduler.jsonc => 027-scheduler.jsonc} (69%) rename packages/courses-config/chibivue-ja/chapters/{021-other-props.jsonc => 028-patch-other-attrs.jsonc} (83%) create mode 100644 packages/courses-config/chibivue-ja/chapters/029-reactivity-optimization.jsonc delete mode 100644 packages/courses-config/chibivue-ja/chapters/029-watch-api-extends.jsonc rename packages/courses-config/chibivue-ja/chapters/{024-to-ref.jsonc => 030-ref-api.jsonc} (61%) delete mode 100644 packages/courses-config/chibivue-ja/chapters/030-watch-effect.jsonc rename packages/courses-config/chibivue-ja/chapters/{028-watch.jsonc => 031-computed-watch.jsonc} (59%) delete mode 100644 packages/courses-config/chibivue-ja/chapters/031-reactive-proxy-target-type.jsonc rename packages/courses-config/chibivue-ja/chapters/{033-proxy-handler-improvement.jsonc => 032-reactive-proxy-handlers.jsonc} (60%) delete mode 100644 packages/courses-config/chibivue-ja/chapters/032-template-refs.jsonc rename packages/courses-config/chibivue-ja/chapters/{035-effect-scope.jsonc => 033-effect-scope.jsonc} (64%) delete mode 100644 packages/courses-config/chibivue-ja/chapters/034-cleanup-effects.jsonc rename packages/courses-config/chibivue-ja/chapters/{036-other-apis.jsonc => 034-other-apis.jsonc} (85%) rename packages/courses-config/chibivue-ja/chapters/{037-lifecycle-hooks.jsonc => 035-lifecycle-hooks.jsonc} (83%) rename packages/courses-config/chibivue-ja/chapters/{038-provide-inject.jsonc => 036-provide-inject.jsonc} (84%) rename packages/courses-config/chibivue-ja/chapters/{039-component-proxy.jsonc => 037-component-proxy-setup-context.jsonc} (70%) rename packages/courses-config/chibivue-ja/chapters/{041-component-slot.jsonc => 038-component-slot.jsonc} (65%) rename packages/courses-config/chibivue-ja/chapters/{043-options-api.jsonc => 039-options-api.jsonc} (85%) delete mode 100644 packages/courses-config/chibivue-ja/chapters/040-setup-context.jsonc rename packages/courses-config/chibivue-ja/chapters/{044-transformer.jsonc => 040-transform.jsonc} (83%) rename packages/courses-config/chibivue-ja/chapters/{045-v-bind.jsonc => 041-v-bind.jsonc} (82%) delete mode 100644 packages/courses-config/chibivue-ja/chapters/042-slot-extend.jsonc rename packages/courses-config/chibivue-ja/chapters/{046-transform-expression.jsonc => 042-transform-expression.jsonc} (83%) rename packages/courses-config/chibivue-ja/chapters/{047-v-on.jsonc => 043-v-on.jsonc} (82%) rename packages/courses-config/chibivue-ja/chapters/{048-event-modifier.jsonc => 044-event-modifier.jsonc} (70%) rename packages/courses-config/chibivue-ja/chapters/{050-fragment.jsonc => 045-fragment.jsonc} (83%) rename packages/courses-config/chibivue-ja/chapters/{051-comment.jsonc => 046-comment.jsonc} (83%) rename packages/courses-config/chibivue-ja/chapters/{052-v-if.jsonc => 047-v-if-and-structural-directive.jsonc} (83%) rename packages/courses-config/chibivue-ja/chapters/{053-v-for.jsonc => 048-v-for.jsonc} (82%) delete mode 100644 packages/courses-config/chibivue-ja/chapters/049-event-modifier2.jsonc rename packages/courses-config/chibivue-ja/chapters/{054-resolve-components.jsonc => 049-resolve-component.jsonc} (80%) rename packages/courses-config/chibivue-ja/chapters/{055-component-slot-outlet.jsonc => 050-component-slot-outlet.jsonc} (83%) rename packages/courses-config/chibivue-ja/chapters/{056-component-slot-insert.jsonc => 051-component-slot-insert.jsonc} (85%) rename packages/courses-config/chibivue-ja/chapters/{057-other-directives.jsonc => 052-other-directives.jsonc} (83%) rename packages/courses-config/chibivue-ja/chapters/{058-chore-compiler.jsonc => 053-chore-compiler.jsonc} (100%) create mode 100644 packages/courses-config/chibivue-ja/chapters/054-parser-optimization.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/055-custom-directive.jsonc rename packages/courses-config/chibivue-ja/chapters/{059-script-setup.jsonc => 056-script-setup.jsonc} (86%) rename packages/courses-config/chibivue-ja/chapters/{060-define-props.jsonc => 057-define-props.jsonc} (85%) rename packages/courses-config/chibivue-ja/chapters/{061-define-emits.jsonc => 058-define-emits.jsonc} (88%) rename packages/courses-config/chibivue-ja/chapters/{062-scoped-css.jsonc => 059-scoped-css.jsonc} (88%) rename packages/courses-config/chibivue-ja/chapters/{063-props-destructure.jsonc => 060-props-destructure.jsonc} (90%) rename packages/courses-config/chibivue-ja/chapters/{064-type-based-macros.jsonc => 061-type-based-macros.jsonc} (89%) create mode 100644 packages/courses-config/chibivue-ja/chapters/062-router.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/063-preprocessors.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/064-store.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/065-data-fetch.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/066-language-tools.jsonc rename packages/courses-config/chibivue-ja/chapters/{065-ssr.jsonc => 067-create-ssr-app.jsonc} (80%) create mode 100644 packages/courses-config/chibivue-ja/chapters/068-hydration.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/069-compiler-ssr.jsonc rename packages/courses-config/chibivue-ja/chapters/{066-keep-alive.jsonc => 070-keep-alive.jsonc} (83%) rename packages/courses-config/chibivue-ja/chapters/{067-transition.jsonc => 071-transition.jsonc} (86%) rename packages/courses-config/chibivue-ja/chapters/{068-static-hoisting.jsonc => 072-static-hoisting.jsonc} (87%) rename packages/courses-config/chibivue-ja/chapters/{069-patch-flags.jsonc => 073-patch-flags.jsonc} (85%) create mode 100644 packages/courses-config/chibivue-ja/chapters/074-tree-flattening.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/075-introduction.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/076-vapor-compiler.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/077-vapor-ssr.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/078-hot-paths.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/079-beginner-30-min-hands-on.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/080-beginner-60-min-hands-on.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/081-intermediate-60-min-hands-on.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/082-advanced-30-min-summary.jsonc create mode 100644 packages/courses-config/chibivue-ja/chapters/083-hyper-ultimate-super-extreme-minimal-vue.jsonc rename packages/courses-config/chibivue-ja/chapters/{070-minimal-vue.jsonc => 084-15-min-impl.jsonc} (68%) create mode 100644 packages/courses-config/chibivue-ja/chapters/085-debug-vuejs-core.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/001-about.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/002-what-is-vue.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/003-vue-core-components.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{001-project-setup.jsonc => 004-setup-project.jsonc} (72%) rename packages/courses-config/chibivue-zh-cn/chapters/{002-create-app.jsonc => 005-create-app-api.jsonc} (85%) rename packages/courses-config/chibivue-zh-cn/chapters/{003-package-architecture.jsonc => 006-package-architecture.jsonc} (83%) rename packages/courses-config/chibivue-zh-cn/chapters/{004-simple-h-function.jsonc => 007-simple-h-function.jsonc} (82%) create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/008-event-handler-and-attrs.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/009-prerequisite-knowledge-for-the-reactivity-system.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{005-reactive-system.jsonc => 010-try-implementing-a-minimum-reactivity-system.jsonc} (80%) rename packages/courses-config/chibivue-zh-cn/chapters/{006-vdom-system.jsonc => 011-minimum-virtual-dom.jsonc} (83%) rename packages/courses-config/chibivue-zh-cn/chapters/{007-component-system.jsonc => 012-minimum-component.jsonc} (82%) rename packages/courses-config/chibivue-zh-cn/chapters/{008-component-props.jsonc => 013-component-props.jsonc} (86%) rename packages/courses-config/chibivue-zh-cn/chapters/{009-component-emits.jsonc => 014-component-emits.jsonc} (84%) create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/015-template-compiler.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{010-template-compiler.jsonc => 016-template-compiler-impl.jsonc} (80%) rename packages/courses-config/chibivue-zh-cn/chapters/{011-template-compiler-parser.jsonc => 017-more-complex-parser.jsonc} (83%) rename packages/courses-config/chibivue-zh-cn/chapters/{012-template-binding.jsonc => 018-template-binding.jsonc} (85%) rename packages/courses-config/chibivue-zh-cn/chapters/{013-sfc-prerequisite.jsonc => 019-prerequisite-knowledge-for-the-sfc.jsonc} (80%) delete mode 100644 packages/courses-config/chibivue-zh-cn/chapters/020-next-tick.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{014-parse-sfc.jsonc => 020-parse-sfc.jsonc} (79%) rename packages/courses-config/chibivue-zh-cn/chapters/{015-compile-sfc-template.jsonc => 021-compile-sfc-template.jsonc} (85%) create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/022-compile-sfc-script.jsonc delete mode 100644 packages/courses-config/chibivue-zh-cn/chapters/022-ref.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{016-compile-sfc-style.jsonc => 023-compile-sfc-style.jsonc} (85%) delete mode 100644 packages/courses-config/chibivue-zh-cn/chapters/023-shallow-ref.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/024-break.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{017-patch-keyed-children.jsonc => 025-patch-keyed-children.jsonc} (85%) delete mode 100644 packages/courses-config/chibivue-zh-cn/chapters/025-to-refs.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{018-bit-flags.jsonc => 026-bit-flags.jsonc} (86%) delete mode 100644 packages/courses-config/chibivue-zh-cn/chapters/026-computed.jsonc delete mode 100644 packages/courses-config/chibivue-zh-cn/chapters/027-computed-setter.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{019-scheduler.jsonc => 027-scheduler.jsonc} (69%) rename packages/courses-config/chibivue-zh-cn/chapters/{021-other-props.jsonc => 028-patch-other-attrs.jsonc} (82%) create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/029-reactivity-optimization.jsonc delete mode 100644 packages/courses-config/chibivue-zh-cn/chapters/029-watch-api-extends.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{024-to-ref.jsonc => 030-ref-api.jsonc} (62%) delete mode 100644 packages/courses-config/chibivue-zh-cn/chapters/030-watch-effect.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{028-watch.jsonc => 031-computed-watch.jsonc} (59%) delete mode 100644 packages/courses-config/chibivue-zh-cn/chapters/031-reactive-proxy-target-type.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{033-proxy-handler-improvement.jsonc => 032-reactive-proxy-handlers.jsonc} (60%) delete mode 100644 packages/courses-config/chibivue-zh-cn/chapters/032-template-refs.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{035-effect-scope.jsonc => 033-effect-scope.jsonc} (65%) delete mode 100644 packages/courses-config/chibivue-zh-cn/chapters/034-cleanup-effects.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{036-other-apis.jsonc => 034-other-apis.jsonc} (85%) rename packages/courses-config/chibivue-zh-cn/chapters/{037-lifecycle-hooks.jsonc => 035-lifecycle-hooks.jsonc} (83%) rename packages/courses-config/chibivue-zh-cn/chapters/{038-provide-inject.jsonc => 036-provide-inject.jsonc} (84%) rename packages/courses-config/chibivue-zh-cn/chapters/{039-component-proxy.jsonc => 037-component-proxy-setup-context.jsonc} (71%) rename packages/courses-config/chibivue-zh-cn/chapters/{041-component-slot.jsonc => 038-component-slot.jsonc} (66%) rename packages/courses-config/chibivue-zh-cn/chapters/{043-options-api.jsonc => 039-options-api.jsonc} (85%) delete mode 100644 packages/courses-config/chibivue-zh-cn/chapters/040-setup-context.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{044-transformer.jsonc => 040-transform.jsonc} (83%) rename packages/courses-config/chibivue-zh-cn/chapters/{045-v-bind.jsonc => 041-v-bind.jsonc} (82%) delete mode 100644 packages/courses-config/chibivue-zh-cn/chapters/042-slot-extend.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{046-transform-expression.jsonc => 042-transform-expression.jsonc} (83%) rename packages/courses-config/chibivue-zh-cn/chapters/{047-v-on.jsonc => 043-v-on.jsonc} (82%) rename packages/courses-config/chibivue-zh-cn/chapters/{048-event-modifier.jsonc => 044-event-modifier.jsonc} (70%) rename packages/courses-config/chibivue-zh-cn/chapters/{050-fragment.jsonc => 045-fragment.jsonc} (82%) rename packages/courses-config/chibivue-zh-cn/chapters/{051-comment.jsonc => 046-comment.jsonc} (83%) rename packages/courses-config/chibivue-zh-cn/chapters/{052-v-if.jsonc => 047-v-if-and-structural-directive.jsonc} (82%) rename packages/courses-config/chibivue-zh-cn/chapters/{053-v-for.jsonc => 048-v-for.jsonc} (82%) delete mode 100644 packages/courses-config/chibivue-zh-cn/chapters/049-event-modifier2.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{054-resolve-components.jsonc => 049-resolve-component.jsonc} (80%) rename packages/courses-config/chibivue-zh-cn/chapters/{055-component-slot-outlet.jsonc => 050-component-slot-outlet.jsonc} (83%) rename packages/courses-config/chibivue-zh-cn/chapters/{056-component-slot-insert.jsonc => 051-component-slot-insert.jsonc} (85%) rename packages/courses-config/chibivue-zh-cn/chapters/{057-other-directives.jsonc => 052-other-directives.jsonc} (83%) rename packages/courses-config/chibivue-zh-cn/chapters/{058-chore-compiler.jsonc => 053-chore-compiler.jsonc} (100%) create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/054-parser-optimization.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/055-custom-directive.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{059-script-setup.jsonc => 056-script-setup.jsonc} (86%) rename packages/courses-config/chibivue-zh-cn/chapters/{060-define-props.jsonc => 057-define-props.jsonc} (85%) rename packages/courses-config/chibivue-zh-cn/chapters/{061-define-emits.jsonc => 058-define-emits.jsonc} (88%) rename packages/courses-config/chibivue-zh-cn/chapters/{062-scoped-css.jsonc => 059-scoped-css.jsonc} (88%) rename packages/courses-config/chibivue-zh-cn/chapters/{063-props-destructure.jsonc => 060-props-destructure.jsonc} (90%) rename packages/courses-config/chibivue-zh-cn/chapters/{064-type-based-macros.jsonc => 061-type-based-macros.jsonc} (89%) create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/062-router.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/063-preprocessors.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/064-store.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/065-data-fetch.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/066-language-tools.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{065-ssr.jsonc => 067-create-ssr-app.jsonc} (80%) create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/068-hydration.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/069-compiler-ssr.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{066-keep-alive.jsonc => 070-keep-alive.jsonc} (83%) rename packages/courses-config/chibivue-zh-cn/chapters/{067-transition.jsonc => 071-transition.jsonc} (86%) rename packages/courses-config/chibivue-zh-cn/chapters/{068-static-hoisting.jsonc => 072-static-hoisting.jsonc} (87%) rename packages/courses-config/chibivue-zh-cn/chapters/{069-patch-flags.jsonc => 073-patch-flags.jsonc} (85%) create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/074-tree-flattening.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/075-introduction.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/076-vapor-compiler.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/077-vapor-ssr.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/078-hot-paths.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/079-beginner-30-min-hands-on.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/080-beginner-60-min-hands-on.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/081-intermediate-60-min-hands-on.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/082-advanced-30-min-summary.jsonc create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/083-hyper-ultimate-super-extreme-minimal-vue.jsonc rename packages/courses-config/chibivue-zh-cn/chapters/{070-minimal-vue.jsonc => 084-15-min-impl.jsonc} (68%) create mode 100644 packages/courses-config/chibivue-zh-cn/chapters/085-debug-vuejs-core.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/001-about.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/002-what-is-vue.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/003-vue-core-components.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{001-project-setup.jsonc => 004-setup-project.jsonc} (72%) rename packages/courses-config/chibivue-zh-tw/chapters/{002-create-app.jsonc => 005-create-app-api.jsonc} (85%) rename packages/courses-config/chibivue-zh-tw/chapters/{003-package-architecture.jsonc => 006-package-architecture.jsonc} (83%) rename packages/courses-config/chibivue-zh-tw/chapters/{004-simple-h-function.jsonc => 007-simple-h-function.jsonc} (82%) create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/008-event-handler-and-attrs.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/009-prerequisite-knowledge-for-the-reactivity-system.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{005-reactive-system.jsonc => 010-try-implementing-a-minimum-reactivity-system.jsonc} (80%) rename packages/courses-config/chibivue-zh-tw/chapters/{006-vdom-system.jsonc => 011-minimum-virtual-dom.jsonc} (83%) rename packages/courses-config/chibivue-zh-tw/chapters/{007-component-system.jsonc => 012-minimum-component.jsonc} (82%) rename packages/courses-config/chibivue-zh-tw/chapters/{008-component-props.jsonc => 013-component-props.jsonc} (86%) rename packages/courses-config/chibivue-zh-tw/chapters/{009-component-emits.jsonc => 014-component-emits.jsonc} (84%) create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/015-template-compiler.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{010-template-compiler.jsonc => 016-template-compiler-impl.jsonc} (80%) rename packages/courses-config/chibivue-zh-tw/chapters/{011-template-compiler-parser.jsonc => 017-more-complex-parser.jsonc} (83%) rename packages/courses-config/chibivue-zh-tw/chapters/{012-template-binding.jsonc => 018-template-binding.jsonc} (85%) rename packages/courses-config/chibivue-zh-tw/chapters/{013-sfc-prerequisite.jsonc => 019-prerequisite-knowledge-for-the-sfc.jsonc} (80%) delete mode 100644 packages/courses-config/chibivue-zh-tw/chapters/020-next-tick.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{014-parse-sfc.jsonc => 020-parse-sfc.jsonc} (79%) rename packages/courses-config/chibivue-zh-tw/chapters/{015-compile-sfc-template.jsonc => 021-compile-sfc-template.jsonc} (86%) create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/022-compile-sfc-script.jsonc delete mode 100644 packages/courses-config/chibivue-zh-tw/chapters/022-ref.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{016-compile-sfc-style.jsonc => 023-compile-sfc-style.jsonc} (85%) delete mode 100644 packages/courses-config/chibivue-zh-tw/chapters/023-shallow-ref.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/024-break.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{017-patch-keyed-children.jsonc => 025-patch-keyed-children.jsonc} (85%) delete mode 100644 packages/courses-config/chibivue-zh-tw/chapters/025-to-refs.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{018-bit-flags.jsonc => 026-bit-flags.jsonc} (86%) delete mode 100644 packages/courses-config/chibivue-zh-tw/chapters/026-computed.jsonc delete mode 100644 packages/courses-config/chibivue-zh-tw/chapters/027-computed-setter.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{019-scheduler.jsonc => 027-scheduler.jsonc} (69%) rename packages/courses-config/chibivue-zh-tw/chapters/{021-other-props.jsonc => 028-patch-other-attrs.jsonc} (82%) create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/029-reactivity-optimization.jsonc delete mode 100644 packages/courses-config/chibivue-zh-tw/chapters/029-watch-api-extends.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{024-to-ref.jsonc => 030-ref-api.jsonc} (62%) delete mode 100644 packages/courses-config/chibivue-zh-tw/chapters/030-watch-effect.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{028-watch.jsonc => 031-computed-watch.jsonc} (59%) delete mode 100644 packages/courses-config/chibivue-zh-tw/chapters/031-reactive-proxy-target-type.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{033-proxy-handler-improvement.jsonc => 032-reactive-proxy-handlers.jsonc} (60%) delete mode 100644 packages/courses-config/chibivue-zh-tw/chapters/032-template-refs.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{035-effect-scope.jsonc => 033-effect-scope.jsonc} (65%) delete mode 100644 packages/courses-config/chibivue-zh-tw/chapters/034-cleanup-effects.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{036-other-apis.jsonc => 034-other-apis.jsonc} (85%) rename packages/courses-config/chibivue-zh-tw/chapters/{037-lifecycle-hooks.jsonc => 035-lifecycle-hooks.jsonc} (83%) rename packages/courses-config/chibivue-zh-tw/chapters/{038-provide-inject.jsonc => 036-provide-inject.jsonc} (84%) rename packages/courses-config/chibivue-zh-tw/chapters/{039-component-proxy.jsonc => 037-component-proxy-setup-context.jsonc} (71%) rename packages/courses-config/chibivue-zh-tw/chapters/{041-component-slot.jsonc => 038-component-slot.jsonc} (66%) rename packages/courses-config/chibivue-zh-tw/chapters/{043-options-api.jsonc => 039-options-api.jsonc} (85%) delete mode 100644 packages/courses-config/chibivue-zh-tw/chapters/040-setup-context.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{044-transformer.jsonc => 040-transform.jsonc} (83%) rename packages/courses-config/chibivue-zh-tw/chapters/{045-v-bind.jsonc => 041-v-bind.jsonc} (82%) delete mode 100644 packages/courses-config/chibivue-zh-tw/chapters/042-slot-extend.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{046-transform-expression.jsonc => 042-transform-expression.jsonc} (83%) rename packages/courses-config/chibivue-zh-tw/chapters/{047-v-on.jsonc => 043-v-on.jsonc} (82%) rename packages/courses-config/chibivue-zh-tw/chapters/{048-event-modifier.jsonc => 044-event-modifier.jsonc} (70%) rename packages/courses-config/chibivue-zh-tw/chapters/{050-fragment.jsonc => 045-fragment.jsonc} (82%) rename packages/courses-config/chibivue-zh-tw/chapters/{051-comment.jsonc => 046-comment.jsonc} (83%) rename packages/courses-config/chibivue-zh-tw/chapters/{052-v-if.jsonc => 047-v-if-and-structural-directive.jsonc} (82%) rename packages/courses-config/chibivue-zh-tw/chapters/{053-v-for.jsonc => 048-v-for.jsonc} (82%) delete mode 100644 packages/courses-config/chibivue-zh-tw/chapters/049-event-modifier2.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{054-resolve-components.jsonc => 049-resolve-component.jsonc} (80%) rename packages/courses-config/chibivue-zh-tw/chapters/{055-component-slot-outlet.jsonc => 050-component-slot-outlet.jsonc} (83%) rename packages/courses-config/chibivue-zh-tw/chapters/{056-component-slot-insert.jsonc => 051-component-slot-insert.jsonc} (85%) rename packages/courses-config/chibivue-zh-tw/chapters/{057-other-directives.jsonc => 052-other-directives.jsonc} (83%) rename packages/courses-config/chibivue-zh-tw/chapters/{058-chore-compiler.jsonc => 053-chore-compiler.jsonc} (100%) create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/054-parser-optimization.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/055-custom-directive.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{059-script-setup.jsonc => 056-script-setup.jsonc} (86%) rename packages/courses-config/chibivue-zh-tw/chapters/{060-define-props.jsonc => 057-define-props.jsonc} (85%) rename packages/courses-config/chibivue-zh-tw/chapters/{061-define-emits.jsonc => 058-define-emits.jsonc} (88%) rename packages/courses-config/chibivue-zh-tw/chapters/{062-scoped-css.jsonc => 059-scoped-css.jsonc} (88%) rename packages/courses-config/chibivue-zh-tw/chapters/{063-props-destructure.jsonc => 060-props-destructure.jsonc} (90%) rename packages/courses-config/chibivue-zh-tw/chapters/{064-type-based-macros.jsonc => 061-type-based-macros.jsonc} (89%) create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/062-router.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/063-preprocessors.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/064-store.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/065-data-fetch.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/066-language-tools.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{065-ssr.jsonc => 067-create-ssr-app.jsonc} (80%) create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/068-hydration.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/069-compiler-ssr.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{066-keep-alive.jsonc => 070-keep-alive.jsonc} (83%) rename packages/courses-config/chibivue-zh-tw/chapters/{067-transition.jsonc => 071-transition.jsonc} (86%) rename packages/courses-config/chibivue-zh-tw/chapters/{068-static-hoisting.jsonc => 072-static-hoisting.jsonc} (87%) rename packages/courses-config/chibivue-zh-tw/chapters/{069-patch-flags.jsonc => 073-patch-flags.jsonc} (85%) create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/074-tree-flattening.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/075-introduction.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/076-vapor-compiler.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/077-vapor-ssr.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/078-hot-paths.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/079-beginner-30-min-hands-on.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/080-beginner-60-min-hands-on.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/081-intermediate-60-min-hands-on.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/082-advanced-30-min-summary.jsonc create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/083-hyper-ultimate-super-extreme-minimal-vue.jsonc rename packages/courses-config/chibivue-zh-tw/chapters/{070-minimal-vue.jsonc => 084-15-min-impl.jsonc} (68%) create mode 100644 packages/courses-config/chibivue-zh-tw/chapters/085-debug-vuejs-core.jsonc diff --git a/packages/courses-config/chibivue-en/chapters/001-about.jsonc b/packages/courses-config/chibivue-en/chapters/001-about.jsonc new file mode 100644 index 0000000..9a89d7e --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/001-about.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "about", + "title": "Getting Started", + "fromDir": "", + "toDir": "", + "docs": "https://book.chibivue.land/00-introduction/010-about", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/002-what-is-vue.jsonc b/packages/courses-config/chibivue-en/chapters/002-what-is-vue.jsonc new file mode 100644 index 0000000..564e523 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/002-what-is-vue.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "what-is-vue", + "title": "What is Vue.js?", + "fromDir": "", + "toDir": "", + "docs": "https://book.chibivue.land/00-introduction/020-what-is-vue", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/003-vue-core-components.jsonc b/packages/courses-config/chibivue-en/chapters/003-vue-core-components.jsonc new file mode 100644 index 0000000..2979749 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/003-vue-core-components.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "vue-core-components", + "title": "Key Elements of Vue.js", + "fromDir": "", + "toDir": "", + "docs": "https://book.chibivue.land/00-introduction/030-vue-core-components", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/001-project-setup.jsonc b/packages/courses-config/chibivue-en/chapters/004-setup-project.jsonc similarity index 73% rename from packages/courses-config/chibivue-en/chapters/001-project-setup.jsonc rename to packages/courses-config/chibivue-en/chapters/004-setup-project.jsonc index 84ba45f..fa6d03f 100644 --- a/packages/courses-config/chibivue-en/chapters/001-project-setup.jsonc +++ b/packages/courses-config/chibivue-en/chapters/004-setup-project.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "project-setup", + "id": "setup-project", "title": "Approach in This Book and Setting Up the Environment", "fromDir": "", "toDir": "00_introduction/010_project_setup", @@ -8,35 +8,43 @@ "changedFiles": [ { "path": "examples/playground/index.html", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/package.json", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/tsconfig.json", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/vite.config.ts", - "kind": "U", + "kind": "U" }, { "path": "package.json", - "kind": "U", + "kind": "U" }, { "path": "packages/index.ts", - "kind": "U", + "kind": "U" + }, + { + "path": "pnpm-workspace.yaml", + "kind": "U" }, { "path": "tsconfig.json", - "kind": "U", + "kind": "U" }, + { + "path": "vite.config.ts", + "kind": "U" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/002-create-app.jsonc b/packages/courses-config/chibivue-en/chapters/005-create-app-api.jsonc similarity index 85% rename from packages/courses-config/chibivue-en/chapters/002-create-app.jsonc rename to packages/courses-config/chibivue-en/chapters/005-create-app-api.jsonc index 8b061a8..766191e 100644 --- a/packages/courses-config/chibivue-en/chapters/002-create-app.jsonc +++ b/packages/courses-config/chibivue-en/chapters/005-create-app-api.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "create-app", + "id": "create-app-api", "title": "First Rendering and the createApp API", "fromDir": "00_introduction/010_project_setup", "toDir": "10_minimum_example/010_create_app", @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "U", - }, + "kind": "U" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/003-package-architecture.jsonc b/packages/courses-config/chibivue-en/chapters/006-package-architecture.jsonc similarity index 83% rename from packages/courses-config/chibivue-en/chapters/003-package-architecture.jsonc rename to packages/courses-config/chibivue-en/chapters/006-package-architecture.jsonc index 34f03ba..75b9459 100644 --- a/packages/courses-config/chibivue-en/chapters/003-package-architecture.jsonc +++ b/packages/courses-config/chibivue-en/chapters/006-package-architecture.jsonc @@ -8,43 +8,43 @@ "changedFiles": [ { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/004-simple-h-function.jsonc b/packages/courses-config/chibivue-en/chapters/007-simple-h-function.jsonc similarity index 82% rename from packages/courses-config/chibivue-en/chapters/004-simple-h-function.jsonc rename to packages/courses-config/chibivue-en/chapters/007-simple-h-function.jsonc index e510abb..3db0d2c 100644 --- a/packages/courses-config/chibivue-en/chapters/004-simple-h-function.jsonc +++ b/packages/courses-config/chibivue-en/chapters/007-simple-h-function.jsonc @@ -8,55 +8,55 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/h.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/modules/attrs.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/modules/events.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/patchProp.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/008-event-handler-and-attrs.jsonc b/packages/courses-config/chibivue-en/chapters/008-event-handler-and-attrs.jsonc new file mode 100644 index 0000000..e3d40c8 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/008-event-handler-and-attrs.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "event-handler-and-attrs", + "title": "Let's work on supporting event handlers and attributes.", + "fromDir": "10_minimum_example/020_simple_h_function", + "toDir": "10_minimum_example/020_simple_h_function", + "docs": "https://book.chibivue.land/10-minimum-example/025-event-handler-and-attrs", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/009-prerequisite-knowledge-for-the-reactivity-system.jsonc b/packages/courses-config/chibivue-en/chapters/009-prerequisite-knowledge-for-the-reactivity-system.jsonc new file mode 100644 index 0000000..6a5a976 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/009-prerequisite-knowledge-for-the-reactivity-system.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "prerequisite-knowledge-for-the-reactivity-system", + "title": "Prerequisite Knowledge for the Reactivity System", + "fromDir": "10_minimum_example/020_simple_h_function", + "toDir": "10_minimum_example/020_simple_h_function", + "docs": "https://book.chibivue.land/10-minimum-example/030-prerequisite-knowledge-for-the-reactivity-system", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/005-reactive-system.jsonc b/packages/courses-config/chibivue-en/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc similarity index 80% rename from packages/courses-config/chibivue-en/chapters/005-reactive-system.jsonc rename to packages/courses-config/chibivue-en/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc index 312a194..2808d8c 100644 --- a/packages/courses-config/chibivue-en/chapters/005-reactive-system.jsonc +++ b/packages/courses-config/chibivue-en/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "reactive-system", + "id": "try-implementing-a-minimum-reactivity-system", "title": "Try Implementing a Small Reactivity System", "fromDir": "10_minimum_example/020_simple_h_function", "toDir": "10_minimum_example/030_reactive_system", @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/dep.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/effect.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/reactive.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/006-vdom-system.jsonc b/packages/courses-config/chibivue-en/chapters/011-minimum-virtual-dom.jsonc similarity index 83% rename from packages/courses-config/chibivue-en/chapters/006-vdom-system.jsonc rename to packages/courses-config/chibivue-en/chapters/011-minimum-virtual-dom.jsonc index bd84942..ca9299a 100644 --- a/packages/courses-config/chibivue-en/chapters/006-vdom-system.jsonc +++ b/packages/courses-config/chibivue-en/chapters/011-minimum-virtual-dom.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "vdom-system", + "id": "minimum-virtual-dom", "title": "A Minimal Virtual DOM", "fromDir": "10_minimum_example/030_reactive_system", "toDir": "10_minimum_example/040_vdom_system", @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/h.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/007-component-system.jsonc b/packages/courses-config/chibivue-en/chapters/012-minimum-component.jsonc similarity index 82% rename from packages/courses-config/chibivue-en/chapters/007-component-system.jsonc rename to packages/courses-config/chibivue-en/chapters/012-minimum-component.jsonc index 46e13c0..d88ffa8 100644 --- a/packages/courses-config/chibivue-en/chapters/007-component-system.jsonc +++ b/packages/courses-config/chibivue-en/chapters/012-minimum-component.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "component-system", + "id": "minimum-component", "title": "Aspiring for Component-Oriented Development", "fromDir": "10_minimum_example/040_vdom_system", "toDir": "10_minimum_example/050_component_system", @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/h.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/008-component-props.jsonc b/packages/courses-config/chibivue-en/chapters/013-component-props.jsonc similarity index 86% rename from packages/courses-config/chibivue-en/chapters/008-component-props.jsonc rename to packages/courses-config/chibivue-en/chapters/013-component-props.jsonc index e3ebf49..54b1154 100644 --- a/packages/courses-config/chibivue-en/chapters/008-component-props.jsonc +++ b/packages/courses-config/chibivue-en/chapters/013-component-props.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/009-component-emits.jsonc b/packages/courses-config/chibivue-en/chapters/014-component-emits.jsonc similarity index 84% rename from packages/courses-config/chibivue-en/chapters/009-component-emits.jsonc rename to packages/courses-config/chibivue-en/chapters/014-component-emits.jsonc index 0fc0d10..a7fa0d2 100644 --- a/packages/courses-config/chibivue-en/chapters/009-component-emits.jsonc +++ b/packages/courses-config/chibivue-en/chapters/014-component-emits.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentEmits.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/shared/index.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/015-template-compiler.jsonc b/packages/courses-config/chibivue-en/chapters/015-template-compiler.jsonc new file mode 100644 index 0000000..ba8e08c --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/015-template-compiler.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "template-compiler", + "title": "Understanding the Template Compiler", + "fromDir": "10_minimum_example/050_component_system3", + "toDir": "10_minimum_example/050_component_system3", + "docs": "https://book.chibivue.land/10-minimum-example/060-template-compiler", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/010-template-compiler.jsonc b/packages/courses-config/chibivue-en/chapters/016-template-compiler-impl.jsonc similarity index 80% rename from packages/courses-config/chibivue-en/chapters/010-template-compiler.jsonc rename to packages/courses-config/chibivue-en/chapters/016-template-compiler-impl.jsonc index 477a78a..0cabba2 100644 --- a/packages/courses-config/chibivue-en/chapters/010-template-compiler.jsonc +++ b/packages/courses-config/chibivue-en/chapters/016-template-compiler-impl.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "template-compiler", + "id": "template-compiler-impl", "title": "Implementing the Template Compiler", "fromDir": "10_minimum_example/050_component_system3", "toDir": "10_minimum_example/060_template_compiler", @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/compile.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/parse.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-dom/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/011-template-compiler-parser.jsonc b/packages/courses-config/chibivue-en/chapters/017-more-complex-parser.jsonc similarity index 83% rename from packages/courses-config/chibivue-en/chapters/011-template-compiler-parser.jsonc rename to packages/courses-config/chibivue-en/chapters/017-more-complex-parser.jsonc index 9519f6d..f313dc2 100644 --- a/packages/courses-config/chibivue-en/chapters/011-template-compiler-parser.jsonc +++ b/packages/courses-config/chibivue-en/chapters/017-more-complex-parser.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "template-compiler-parser", + "id": "more-complex-parser", "title": "Desire to Write More Complex HTML", "fromDir": "10_minimum_example/060_template_compiler", "toDir": "10_minimum_example/060_template_compiler2", @@ -8,23 +8,23 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/012-template-binding.jsonc b/packages/courses-config/chibivue-en/chapters/018-template-binding.jsonc similarity index 85% rename from packages/courses-config/chibivue-en/chapters/012-template-binding.jsonc rename to packages/courses-config/chibivue-en/chapters/018-template-binding.jsonc index d845b8a..aa8a7bf 100644 --- a/packages/courses-config/chibivue-en/chapters/012-template-binding.jsonc +++ b/packages/courses-config/chibivue-en/chapters/018-template-binding.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/013-sfc-prerequisite.jsonc b/packages/courses-config/chibivue-en/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc similarity index 80% rename from packages/courses-config/chibivue-en/chapters/013-sfc-prerequisite.jsonc rename to packages/courses-config/chibivue-en/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc index 4655557..fee0bef 100644 --- a/packages/courses-config/chibivue-en/chapters/013-sfc-prerequisite.jsonc +++ b/packages/courses-config/chibivue-en/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "sfc-prerequisite", + "id": "prerequisite-knowledge-for-the-sfc", "title": "Developing with SFC (Peripheral Knowledge)", "fromDir": "10_minimum_example/060_template_compiler3", "toDir": "10_minimum_example/070_sfc_compiler", @@ -8,67 +8,67 @@ "changedFiles": [ { "path": "plugin-sample/README.md", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/index.html", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/package.json", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/pnpm-lock.yaml", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/public/vite.svg", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/assets/vue.svg", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/components/HelloWorld.vue", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/main.ts", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/plugin.sample.js", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/style.css", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/vite-env.d.ts", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/tsconfig.json", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/tsconfig.node.json", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/vite.config.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/020-next-tick.jsonc b/packages/courses-config/chibivue-en/chapters/020-next-tick.jsonc deleted file mode 100644 index 9f1ae64..0000000 --- a/packages/courses-config/chibivue-en/chapters/020-next-tick.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "next-tick", - "title": "nextTick", - "fromDir": "20_basic_virtual_dom/040_scheduler", - "toDir": "20_basic_virtual_dom/050_next_tick", - "docs": "https://book.chibivue.land/20-basic-virtual-dom/030-scheduler", - "changedFiles": [ - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/index.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/scheduler.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/vnode.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-en/chapters/014-parse-sfc.jsonc b/packages/courses-config/chibivue-en/chapters/020-parse-sfc.jsonc similarity index 79% rename from packages/courses-config/chibivue-en/chapters/014-parse-sfc.jsonc rename to packages/courses-config/chibivue-en/chapters/020-parse-sfc.jsonc index 4c388b5..5a1c3c8 100644 --- a/packages/courses-config/chibivue-en/chapters/014-parse-sfc.jsonc +++ b/packages/courses-config/chibivue-en/chapters/020-parse-sfc.jsonc @@ -8,103 +8,103 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileTemplate.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/README.md", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/index.html", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/package.json", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/pnpm-lock.yaml", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/public/vite.svg", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/App.vue", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/assets/vue.svg", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/components/HelloWorld.vue", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/main.ts", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/plugin.sample.js", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/style.css", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/vite-env.d.ts", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/tsconfig.json", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/tsconfig.node.json", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/vite.config.ts", - "kind": "D", + "kind": "D" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/015-compile-sfc-template.jsonc b/packages/courses-config/chibivue-en/chapters/021-compile-sfc-template.jsonc similarity index 85% rename from packages/courses-config/chibivue-en/chapters/015-compile-sfc-template.jsonc rename to packages/courses-config/chibivue-en/chapters/021-compile-sfc-template.jsonc index 6767144..0300993 100644 --- a/packages/courses-config/chibivue-en/chapters/015-compile-sfc-template.jsonc +++ b/packages/courses-config/chibivue-en/chapters/021-compile-sfc-template.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/022-compile-sfc-script.jsonc b/packages/courses-config/chibivue-en/chapters/022-compile-sfc-script.jsonc new file mode 100644 index 0000000..b6ea2ca --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/022-compile-sfc-script.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "compile-sfc-script", + "title": "SFC script block", + "fromDir": "10_minimum_example/070_sfc_compiler3", + "toDir": "10_minimum_example/070_sfc_compiler3", + "docs": "https://book.chibivue.land/10-minimum-example/093-compile-sfc-script", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/022-ref.jsonc b/packages/courses-config/chibivue-en/chapters/022-ref.jsonc deleted file mode 100644 index 4554af4..0000000 --- a/packages/courses-config/chibivue-en/chapters/022-ref.jsonc +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "ref", - "title": "ref API", - "fromDir": "20_basic_virtual_dom/060_other_props", - "toDir": "30_basic_reactivity_system/010_ref", - "docs": "https://book.chibivue.land/30-basic-reactivity-system/010-ref-api", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "U", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/effect.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/reactive.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/ref.ts", - "kind": "U", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-en/chapters/016-compile-sfc-style.jsonc b/packages/courses-config/chibivue-en/chapters/023-compile-sfc-style.jsonc similarity index 85% rename from packages/courses-config/chibivue-en/chapters/016-compile-sfc-style.jsonc rename to packages/courses-config/chibivue-en/chapters/023-compile-sfc-style.jsonc index 73502e9..29af878 100644 --- a/packages/courses-config/chibivue-en/chapters/016-compile-sfc-style.jsonc +++ b/packages/courses-config/chibivue-en/chapters/023-compile-sfc-style.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "package.json", - "kind": "M", + "kind": "M" }, { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/rewriteDefault.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/023-shallow-ref.jsonc b/packages/courses-config/chibivue-en/chapters/023-shallow-ref.jsonc deleted file mode 100644 index f990e23..0000000 --- a/packages/courses-config/chibivue-en/chapters/023-shallow-ref.jsonc +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "shallow-ref", - "title": "shallowRef", - "fromDir": "30_basic_reactivity_system/010_ref", - "toDir": "30_basic_reactivity_system/020_shallow_ref", - "docs": "https://book.chibivue.land/30-basic-reactivity-system/010-ref-api", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/ref.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-en/chapters/024-break.jsonc b/packages/courses-config/chibivue-en/chapters/024-break.jsonc new file mode 100644 index 0000000..4420ef6 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/024-break.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "break", + "title": "Taking a Short Break", + "fromDir": "10_minimum_example/070_sfc_compiler4", + "toDir": "10_minimum_example/070_sfc_compiler4", + "docs": "https://book.chibivue.land/10-minimum-example/100-break", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/017-patch-keyed-children.jsonc b/packages/courses-config/chibivue-en/chapters/025-patch-keyed-children.jsonc similarity index 85% rename from packages/courses-config/chibivue-en/chapters/017-patch-keyed-children.jsonc rename to packages/courses-config/chibivue-en/chapters/025-patch-keyed-children.jsonc index 4b71f13..fcf2566 100644 --- a/packages/courses-config/chibivue-en/chapters/017-patch-keyed-children.jsonc +++ b/packages/courses-config/chibivue-en/chapters/025-patch-keyed-children.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D", + "kind": "D" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/025-to-refs.jsonc b/packages/courses-config/chibivue-en/chapters/025-to-refs.jsonc deleted file mode 100644 index 3130f8f..0000000 --- a/packages/courses-config/chibivue-en/chapters/025-to-refs.jsonc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "to-refs", - "title": "toRefs", - "fromDir": "30_basic_reactivity_system/030_to_ref", - "toDir": "30_basic_reactivity_system/040_to_refs", - "docs": "https://book.chibivue.land/30-basic-reactivity-system/010-ref-api", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/compiler-core/codegen.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/ref.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-en/chapters/018-bit-flags.jsonc b/packages/courses-config/chibivue-en/chapters/026-bit-flags.jsonc similarity index 86% rename from packages/courses-config/chibivue-en/chapters/018-bit-flags.jsonc rename to packages/courses-config/chibivue-en/chapters/026-bit-flags.jsonc index 1940d5a..edada63 100644 --- a/packages/courses-config/chibivue-en/chapters/018-bit-flags.jsonc +++ b/packages/courses-config/chibivue-en/chapters/026-bit-flags.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/reactivity/baseHandler.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/shapeFlags.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/026-computed.jsonc b/packages/courses-config/chibivue-en/chapters/026-computed.jsonc deleted file mode 100644 index 2ee184c..0000000 --- a/packages/courses-config/chibivue-en/chapters/026-computed.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "computed", - "title": "computed", - "fromDir": "30_basic_reactivity_system/040_to_refs", - "toDir": "30_basic_reactivity_system/050_computed", - "docs": "https://book.chibivue.land/30-basic-reactivity-system/020-computed-watch", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/computed.ts", - "kind": "U", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-en/chapters/027-computed-setter.jsonc b/packages/courses-config/chibivue-en/chapters/027-computed-setter.jsonc deleted file mode 100644 index e9e9dc6..0000000 --- a/packages/courses-config/chibivue-en/chapters/027-computed-setter.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "computed-setter", - "title": "computed setter", - "fromDir": "30_basic_reactivity_system/050_computed", - "toDir": "30_basic_reactivity_system/060_computed_setter", - "docs": "https://book.chibivue.land/30-basic-reactivity-system/020-computed-watch", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/computed.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-en/chapters/019-scheduler.jsonc b/packages/courses-config/chibivue-en/chapters/027-scheduler.jsonc similarity index 68% rename from packages/courses-config/chibivue-en/chapters/019-scheduler.jsonc rename to packages/courses-config/chibivue-en/chapters/027-scheduler.jsonc index ff11ad6..201c242 100644 --- a/packages/courses-config/chibivue-en/chapters/019-scheduler.jsonc +++ b/packages/courses-config/chibivue-en/chapters/027-scheduler.jsonc @@ -3,32 +3,40 @@ "id": "scheduler", "title": "Scheduler", "fromDir": "20_basic_virtual_dom/020_bit_flags", - "toDir": "20_basic_virtual_dom/040_scheduler", + "toDir": "20_basic_virtual_dom/050_next_tick", "docs": "https://book.chibivue.land/20-basic-virtual-dom/030-scheduler", "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/effect.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/scheduler.ts", - "kind": "U", + "kind": "U" }, { - "path": "tests/e2e.spec.ts", - "kind": "M", + "path": "packages/runtime-core/vnode.ts", + "kind": "M" }, + { + "path": "tests/e2e.spec.ts", + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/021-other-props.jsonc b/packages/courses-config/chibivue-en/chapters/028-patch-other-attrs.jsonc similarity index 82% rename from packages/courses-config/chibivue-en/chapters/021-other-props.jsonc rename to packages/courses-config/chibivue-en/chapters/028-patch-other-attrs.jsonc index a6729fb..9a128f5 100644 --- a/packages/courses-config/chibivue-en/chapters/021-other-props.jsonc +++ b/packages/courses-config/chibivue-en/chapters/028-patch-other-attrs.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "other-props", + "id": "patch-other-attrs", "title": "Patch for Unhandled Props", "fromDir": "20_basic_virtual_dom/050_next_tick", "toDir": "20_basic_virtual_dom/060_other_props", @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/modules/class.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/modules/props.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/modules/style.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/patchProp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/029-reactivity-optimization.jsonc b/packages/courses-config/chibivue-en/chapters/029-reactivity-optimization.jsonc new file mode 100644 index 0000000..5ac713f --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/029-reactivity-optimization.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "reactivity-optimization", + "title": "Reactivity Optimization", + "fromDir": "20_basic_virtual_dom/060_other_props", + "toDir": "20_basic_virtual_dom/060_other_props", + "docs": "https://book.chibivue.land/30-basic-reactivity-system/005-reactivity-optimization", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/029-watch-api-extends.jsonc b/packages/courses-config/chibivue-en/chapters/029-watch-api-extends.jsonc deleted file mode 100644 index 7432dec..0000000 --- a/packages/courses-config/chibivue-en/chapters/029-watch-api-extends.jsonc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "watch-api-extends", - "title": "Other APIs of watch", - "fromDir": "30_basic_reactivity_system/070_watch", - "toDir": "30_basic_reactivity_system/080_watch_api_extends", - "docs": "https://book.chibivue.land/30-basic-reactivity-system/020-computed-watch", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/apiWatch.ts", - "kind": "M", - }, - { - "path": "packages/shared/general.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-en/chapters/024-to-ref.jsonc b/packages/courses-config/chibivue-en/chapters/030-ref-api.jsonc similarity index 61% rename from packages/courses-config/chibivue-en/chapters/024-to-ref.jsonc rename to packages/courses-config/chibivue-en/chapters/030-ref-api.jsonc index 4ed87c0..4f50a36 100644 --- a/packages/courses-config/chibivue-en/chapters/024-to-ref.jsonc +++ b/packages/courses-config/chibivue-en/chapters/030-ref-api.jsonc @@ -1,46 +1,54 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "to-ref", - "title": "toRef", - "fromDir": "30_basic_reactivity_system/020_shallow_ref", - "toDir": "30_basic_reactivity_system/030_to_ref", + "id": "ref-api", + "title": "ref API", + "fromDir": "20_basic_virtual_dom/060_other_props", + "toDir": "30_basic_reactivity_system/040_to_refs", "docs": "https://book.chibivue.land/30-basic-reactivity-system/010-ref-api", "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M" }, { "path": "packages/reactivity/effect.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/index.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "M" }, { "path": "packages/reactivity/ref.ts", - "kind": "M", + "kind": "U" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/typeUtils.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/030-watch-effect.jsonc b/packages/courses-config/chibivue-en/chapters/030-watch-effect.jsonc deleted file mode 100644 index 83aed60..0000000 --- a/packages/courses-config/chibivue-en/chapters/030-watch-effect.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "watch-effect", - "title": "watchEffect", - "fromDir": "30_basic_reactivity_system/080_watch_api_extends", - "toDir": "30_basic_reactivity_system/090_watch_effect", - "docs": "https://book.chibivue.land/30-basic-reactivity-system/020-computed-watch", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/apiWatch.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/index.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-en/chapters/028-watch.jsonc b/packages/courses-config/chibivue-en/chapters/031-computed-watch.jsonc similarity index 59% rename from packages/courses-config/chibivue-en/chapters/028-watch.jsonc rename to packages/courses-config/chibivue-en/chapters/031-computed-watch.jsonc index 6334e43..93b33c1 100644 --- a/packages/courses-config/chibivue-en/chapters/028-watch.jsonc +++ b/packages/courses-config/chibivue-en/chapters/031-computed-watch.jsonc @@ -1,38 +1,46 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "watch", - "title": "watch", - "fromDir": "30_basic_reactivity_system/060_computed_setter", - "toDir": "30_basic_reactivity_system/070_watch", + "id": "computed-watch", + "title": "computed / watch API", + "fromDir": "30_basic_reactivity_system/040_to_refs", + "toDir": "30_basic_reactivity_system/090_watch_effect", "docs": "https://book.chibivue.land/30-basic-reactivity-system/020-computed-watch", "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/reactivity/computed.ts", + "kind": "U" + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M" }, { "path": "packages/runtime-core/apiWatch.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/031-reactive-proxy-target-type.jsonc b/packages/courses-config/chibivue-en/chapters/031-reactive-proxy-target-type.jsonc deleted file mode 100644 index 16a3e3d..0000000 --- a/packages/courses-config/chibivue-en/chapters/031-reactive-proxy-target-type.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "reactive-proxy-target-type", - "title": "Objects that should not be reactive", - "fromDir": "30_basic_reactivity_system/090_watch_effect", - "toDir": "30_basic_reactivity_system/100_reactive_proxy_target_type", - "docs": "https://book.chibivue.land/30-basic-reactivity-system/030-reactive-proxy-handlers", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/reactive.ts", - "kind": "M", - }, - { - "path": "packages/shared/general.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-en/chapters/033-proxy-handler-improvement.jsonc b/packages/courses-config/chibivue-en/chapters/032-reactive-proxy-handlers.jsonc similarity index 60% rename from packages/courses-config/chibivue-en/chapters/033-proxy-handler-improvement.jsonc rename to packages/courses-config/chibivue-en/chapters/032-reactive-proxy-handlers.jsonc index 11a9e9e..8aaa407 100644 --- a/packages/courses-config/chibivue-en/chapters/033-proxy-handler-improvement.jsonc +++ b/packages/courses-config/chibivue-en/chapters/032-reactive-proxy-handlers.jsonc @@ -1,42 +1,54 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "proxy-handler-improvement", - "title": "Support for collection built-ins", - "fromDir": "30_basic_reactivity_system/110_template_refs", + "id": "reactive-proxy-handlers", + "title": "Various Reactive Proxy Handlers", + "fromDir": "30_basic_reactivity_system/090_watch_effect", "toDir": "30_basic_reactivity_system/120_proxy_handler_improvement", "docs": "https://book.chibivue.land/30-basic-reactivity-system/030-reactive-proxy-handlers", "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/effect.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/reactive.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M" + }, + { + "path": "packages/runtime-core/rendererTemplateRef.ts", + "kind": "U" + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/032-template-refs.jsonc b/packages/courses-config/chibivue-en/chapters/032-template-refs.jsonc deleted file mode 100644 index 70c20b8..0000000 --- a/packages/courses-config/chibivue-en/chapters/032-template-refs.jsonc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "template-refs", - "title": "Template Refs", - "fromDir": "30_basic_reactivity_system/100_reactive_proxy_target_type", - "toDir": "30_basic_reactivity_system/110_template_refs", - "docs": "https://book.chibivue.land/30-basic-reactivity-system/030-reactive-proxy-handlers", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "U", - }, - { - "path": "packages/runtime-core/vnode.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-en/chapters/035-effect-scope.jsonc b/packages/courses-config/chibivue-en/chapters/033-effect-scope.jsonc similarity index 64% rename from packages/courses-config/chibivue-en/chapters/035-effect-scope.jsonc rename to packages/courses-config/chibivue-en/chapters/033-effect-scope.jsonc index 84e97c2..754e99e 100644 --- a/packages/courses-config/chibivue-en/chapters/035-effect-scope.jsonc +++ b/packages/courses-config/chibivue-en/chapters/033-effect-scope.jsonc @@ -1,38 +1,46 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", "id": "effect-scope", - "title": "EffectScope", - "fromDir": "30_basic_reactivity_system/130_cleanup_effects", + "title": "Effect Cleanup and Effect Scope", + "fromDir": "30_basic_reactivity_system/120_proxy_handler_improvement", "toDir": "30_basic_reactivity_system/140_effect_scope", "docs": "https://book.chibivue.land/30-basic-reactivity-system/040-effect-scope", "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "D" + }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/effect.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/effectScope.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/index.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/runtime-core/apiWatch.ts", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/034-cleanup-effects.jsonc b/packages/courses-config/chibivue-en/chapters/034-cleanup-effects.jsonc deleted file mode 100644 index e414951..0000000 --- a/packages/courses-config/chibivue-en/chapters/034-cleanup-effects.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "cleanup-effects", - "title": "Cleanup of ReactiveEffect", - "fromDir": "30_basic_reactivity_system/120_proxy_handler_improvement", - "toDir": "30_basic_reactivity_system/130_cleanup_effects", - "docs": "https://book.chibivue.land/30-basic-reactivity-system/040-effect-scope", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "D", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/effect.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/apiWatch.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-en/chapters/036-other-apis.jsonc b/packages/courses-config/chibivue-en/chapters/034-other-apis.jsonc similarity index 85% rename from packages/courses-config/chibivue-en/chapters/036-other-apis.jsonc rename to packages/courses-config/chibivue-en/chapters/034-other-apis.jsonc index 00865b0..2828f0a 100644 --- a/packages/courses-config/chibivue-en/chapters/036-other-apis.jsonc +++ b/packages/courses-config/chibivue-en/chapters/034-other-apis.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/reactive.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/ref.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/037-lifecycle-hooks.jsonc b/packages/courses-config/chibivue-en/chapters/035-lifecycle-hooks.jsonc similarity index 83% rename from packages/courses-config/chibivue-en/chapters/037-lifecycle-hooks.jsonc rename to packages/courses-config/chibivue-en/chapters/035-lifecycle-hooks.jsonc index 5580a48..9619866 100644 --- a/packages/courses-config/chibivue-en/chapters/037-lifecycle-hooks.jsonc +++ b/packages/courses-config/chibivue-en/chapters/035-lifecycle-hooks.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiLifecycle.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/enums.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/scheduler.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/038-provide-inject.jsonc b/packages/courses-config/chibivue-en/chapters/036-provide-inject.jsonc similarity index 84% rename from packages/courses-config/chibivue-en/chapters/038-provide-inject.jsonc rename to packages/courses-config/chibivue-en/chapters/036-provide-inject.jsonc index 60d4f40..7a2b7f8 100644 --- a/packages/courses-config/chibivue-en/chapters/038-provide-inject.jsonc +++ b/packages/courses-config/chibivue-en/chapters/036-provide-inject.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiInject.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/039-component-proxy.jsonc b/packages/courses-config/chibivue-en/chapters/037-component-proxy-setup-context.jsonc similarity index 71% rename from packages/courses-config/chibivue-en/chapters/039-component-proxy.jsonc rename to packages/courses-config/chibivue-en/chapters/037-component-proxy-setup-context.jsonc index 865f67e..2dbb96c 100644 --- a/packages/courses-config/chibivue-en/chapters/039-component-proxy.jsonc +++ b/packages/courses-config/chibivue-en/chapters/037-component-proxy-setup-context.jsonc @@ -1,50 +1,54 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "component-proxy", - "title": "Component proxy", + "id": "component-proxy-setup-context", + "title": "Component Proxies and setupContext", "fromDir": "40_basic_component_system/020_provide_inject", - "toDir": "40_basic_component_system/030_component_proxy", + "toDir": "40_basic_component_system/040_setup_context", "docs": "https://book.chibivue.land/40-basic-component-system/030-component-proxy-setup-context", "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M" }, { "path": "packages/runtime-core/apiDefineComponent.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/041-component-slot.jsonc b/packages/courses-config/chibivue-en/chapters/038-component-slot.jsonc similarity index 66% rename from packages/courses-config/chibivue-en/chapters/041-component-slot.jsonc rename to packages/courses-config/chibivue-en/chapters/038-component-slot.jsonc index ff6f921..7bce5d3 100644 --- a/packages/courses-config/chibivue-en/chapters/041-component-slot.jsonc +++ b/packages/courses-config/chibivue-en/chapters/038-component-slot.jsonc @@ -1,54 +1,46 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", "id": "component-slot", - "title": "Default slot", + "title": "Slots", "fromDir": "40_basic_component_system/040_setup_context", - "toDir": "40_basic_component_system/050_component_slot", + "toDir": "40_basic_component_system/060_slot_extend", "docs": "https://book.chibivue.land/40-basic-component-system/040-component-slot", "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "U", + "kind": "M" }, { "path": "packages/runtime-core/componentSlots.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/h.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/shapeFlags.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/typeUtils.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/043-options-api.jsonc b/packages/courses-config/chibivue-en/chapters/039-options-api.jsonc similarity index 85% rename from packages/courses-config/chibivue-en/chapters/043-options-api.jsonc rename to packages/courses-config/chibivue-en/chapters/039-options-api.jsonc index f467180..be63e48 100644 --- a/packages/courses-config/chibivue-en/chapters/043-options-api.jsonc +++ b/packages/courses-config/chibivue-en/chapters/039-options-api.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiDefineComponent.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentEmits.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/typeUtils.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/040-setup-context.jsonc b/packages/courses-config/chibivue-en/chapters/040-setup-context.jsonc deleted file mode 100644 index be9dc55..0000000 --- a/packages/courses-config/chibivue-en/chapters/040-setup-context.jsonc +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "setup-context", - "title": "setupContext", - "fromDir": "40_basic_component_system/030_component_proxy", - "toDir": "40_basic_component_system/040_setup_context", - "docs": "https://book.chibivue.land/40-basic-component-system/030-component-proxy-setup-context", - "changedFiles": [ - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/ref.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/component.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-en/chapters/044-transformer.jsonc b/packages/courses-config/chibivue-en/chapters/040-transform.jsonc similarity index 83% rename from packages/courses-config/chibivue-en/chapters/044-transformer.jsonc rename to packages/courses-config/chibivue-en/chapters/040-transform.jsonc index 7d97139..2a516ba 100644 --- a/packages/courses-config/chibivue-en/chapters/044-transformer.jsonc +++ b/packages/courses-config/chibivue-en/chapters/040-transform.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "transformer", + "id": "transform", "title": "Refactoring Implementation of Transformer for Codegen", "fromDir": "40_basic_component_system/070_options_api", "toDir": "50_basic_template_compiler/010_transformer", @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/045-v-bind.jsonc b/packages/courses-config/chibivue-en/chapters/041-v-bind.jsonc similarity index 82% rename from packages/courses-config/chibivue-en/chapters/045-v-bind.jsonc rename to packages/courses-config/chibivue-en/chapters/041-v-bind.jsonc index f6cb31d..215fea4 100644 --- a/packages/courses-config/chibivue-en/chapters/045-v-bind.jsonc +++ b/packages/courses-config/chibivue-en/chapters/041-v-bind.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vBind.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/normalizeProp.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/042-slot-extend.jsonc b/packages/courses-config/chibivue-en/chapters/042-slot-extend.jsonc deleted file mode 100644 index 5a1acfb..0000000 --- a/packages/courses-config/chibivue-en/chapters/042-slot-extend.jsonc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "slot-extend", - "title": "Named slots and scoped slots", - "fromDir": "40_basic_component_system/050_component_slot", - "toDir": "40_basic_component_system/060_slot_extend", - "docs": "https://book.chibivue.land/40-basic-component-system/040-component-slot", - "changedFiles": [ - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "D", - }, - { - "path": "packages/runtime-core/index.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/vnode.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-en/chapters/046-transform-expression.jsonc b/packages/courses-config/chibivue-en/chapters/042-transform-expression.jsonc similarity index 83% rename from packages/courses-config/chibivue-en/chapters/046-transform-expression.jsonc rename to packages/courses-config/chibivue-en/chapters/042-transform-expression.jsonc index d15b06e..66d0489 100644 --- a/packages/courses-config/chibivue-en/chapters/046-transform-expression.jsonc +++ b/packages/courses-config/chibivue-en/chapters/042-transform-expression.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/transforms/vBind.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/makeMap.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/047-v-on.jsonc b/packages/courses-config/chibivue-en/chapters/043-v-on.jsonc similarity index 82% rename from packages/courses-config/chibivue-en/chapters/047-v-on.jsonc rename to packages/courses-config/chibivue-en/chapters/043-v-on.jsonc index 0a2b475..11f6092 100644 --- a/packages/courses-config/chibivue-en/chapters/047-v-on.jsonc +++ b/packages/courses-config/chibivue-en/chapters/043-v-on.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D", + "kind": "D" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vOn.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/helpers/toHandlers.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/048-event-modifier.jsonc b/packages/courses-config/chibivue-en/chapters/044-event-modifier.jsonc similarity index 70% rename from packages/courses-config/chibivue-en/chapters/048-event-modifier.jsonc rename to packages/courses-config/chibivue-en/chapters/044-event-modifier.jsonc index ac4d050..2227134 100644 --- a/packages/courses-config/chibivue-en/chapters/048-event-modifier.jsonc +++ b/packages/courses-config/chibivue-en/chapters/044-event-modifier.jsonc @@ -1,74 +1,70 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", "id": "event-modifier", - "title": "withModifiers", + "title": "compiler-dom and Event Modifiers", "fromDir": "50_basic_template_compiler/025_v_on", - "toDir": "50_basic_template_compiler/027_event_modifier", + "toDir": "50_basic_template_compiler/027_event_modifier2", "docs": "https://book.chibivue.land/50-basic-template-compiler/027-event-modifier", "changedFiles": [ - { - "path": "examples/playground/package.json", - "kind": "D", - }, - { - "path": "examples/playground/pnpm-lock.yaml", - "kind": "U", - }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vOn.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/transforms/vOn.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/directives/vOn.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/runtimeHelpers.ts", - "kind": "U", + "kind": "U" }, { - "path": "tests/e2e.spec.ts", - "kind": "M", + "path": "packages/shared/general.ts", + "kind": "M" }, + { + "path": "tests/e2e.spec.ts", + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/050-fragment.jsonc b/packages/courses-config/chibivue-en/chapters/045-fragment.jsonc similarity index 82% rename from packages/courses-config/chibivue-en/chapters/050-fragment.jsonc rename to packages/courses-config/chibivue-en/chapters/045-fragment.jsonc index e5a626c..0b4ed23 100644 --- a/packages/courses-config/chibivue-en/chapters/050-fragment.jsonc +++ b/packages/courses-config/chibivue-en/chapters/045-fragment.jsonc @@ -8,51 +8,51 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/h.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/051-comment.jsonc b/packages/courses-config/chibivue-en/chapters/046-comment.jsonc similarity index 83% rename from packages/courses-config/chibivue-en/chapters/051-comment.jsonc rename to packages/courses-config/chibivue-en/chapters/046-comment.jsonc index 1faf15a..c952191 100644 --- a/packages/courses-config/chibivue-en/chapters/051-comment.jsonc +++ b/packages/courses-config/chibivue-en/chapters/046-comment.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/052-v-if.jsonc b/packages/courses-config/chibivue-en/chapters/047-v-if-and-structural-directive.jsonc similarity index 82% rename from packages/courses-config/chibivue-en/chapters/052-v-if.jsonc rename to packages/courses-config/chibivue-en/chapters/047-v-if-and-structural-directive.jsonc index 1db3dd7..2d9bd46 100644 --- a/packages/courses-config/chibivue-en/chapters/052-v-if.jsonc +++ b/packages/courses-config/chibivue-en/chapters/047-v-if-and-structural-directive.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "v-if", + "id": "v-if-and-structural-directive", "title": "v-if and Structural Directives", "fromDir": "50_basic_template_compiler/035_comment", "toDir": "50_basic_template_compiler/040_v_if_and_structural_directive", @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vIf.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/053-v-for.jsonc b/packages/courses-config/chibivue-en/chapters/048-v-for.jsonc similarity index 82% rename from packages/courses-config/chibivue-en/chapters/053-v-for.jsonc rename to packages/courses-config/chibivue-en/chapters/048-v-for.jsonc index b50ad16..9d38cae 100644 --- a/packages/courses-config/chibivue-en/chapters/053-v-for.jsonc +++ b/packages/courses-config/chibivue-en/chapters/048-v-for.jsonc @@ -8,71 +8,71 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.js", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/vite.config.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vFor.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/helpers/renderList.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/049-event-modifier2.jsonc b/packages/courses-config/chibivue-en/chapters/049-event-modifier2.jsonc deleted file mode 100644 index f6f495d..0000000 --- a/packages/courses-config/chibivue-en/chapters/049-event-modifier2.jsonc +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "event-modifier2", - "title": "Other event modifiers", - "fromDir": "50_basic_template_compiler/027_event_modifier", - "toDir": "50_basic_template_compiler/027_event_modifier2", - "docs": "https://book.chibivue.land/50-basic-template-compiler/027-event-modifier", - "changedFiles": [ - { - "path": "examples/playground/package.json", - "kind": "U", - }, - { - "path": "examples/playground/pnpm-lock.yaml", - "kind": "D", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/compiler-dom/transforms/vOn.ts", - "kind": "M", - }, - { - "path": "packages/runtime-dom/directives/vOn.ts", - "kind": "M", - }, - { - "path": "packages/runtime-dom/runtimeHelpers.ts", - "kind": "M", - }, - { - "path": "packages/shared/general.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-en/chapters/054-resolve-components.jsonc b/packages/courses-config/chibivue-en/chapters/049-resolve-component.jsonc similarity index 80% rename from packages/courses-config/chibivue-en/chapters/054-resolve-components.jsonc rename to packages/courses-config/chibivue-en/chapters/049-resolve-component.jsonc index bbbea0a..577d993 100644 --- a/packages/courses-config/chibivue-en/chapters/054-resolve-components.jsonc +++ b/packages/courses-config/chibivue-en/chapters/049-resolve-component.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "resolve-components", + "id": "resolve-component", "title": "Resolving Components", "fromDir": "50_basic_template_compiler/050_v_for", "toDir": "50_basic_template_compiler/060_resolve_components", @@ -8,95 +8,95 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/components/Counter.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.js", - "kind": "D", + "kind": "D" }, { "path": "examples/playground/vite.config.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/parserOptions.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/helpers/resolveAssets.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/domTagConfig.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/055-component-slot-outlet.jsonc b/packages/courses-config/chibivue-en/chapters/050-component-slot-outlet.jsonc similarity index 83% rename from packages/courses-config/chibivue-en/chapters/055-component-slot-outlet.jsonc rename to packages/courses-config/chibivue-en/chapters/050-component-slot-outlet.jsonc index 2949c23..5cd5da9 100644 --- a/packages/courses-config/chibivue-en/chapters/055-component-slot-outlet.jsonc +++ b/packages/courses-config/chibivue-en/chapters/050-component-slot-outlet.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Comp.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/components/Counter.vue", - "kind": "D", + "kind": "D" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformSlotOutlet.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/helpers/renderSlot.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/056-component-slot-insert.jsonc b/packages/courses-config/chibivue-en/chapters/051-component-slot-insert.jsonc similarity index 85% rename from packages/courses-config/chibivue-en/chapters/056-component-slot-insert.jsonc rename to packages/courses-config/chibivue-en/chapters/051-component-slot-insert.jsonc index f730e43..0522c06 100644 --- a/packages/courses-config/chibivue-en/chapters/056-component-slot-insert.jsonc +++ b/packages/courses-config/chibivue-en/chapters/051-component-slot-insert.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vSlot.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/057-other-directives.jsonc b/packages/courses-config/chibivue-en/chapters/052-other-directives.jsonc similarity index 83% rename from packages/courses-config/chibivue-en/chapters/057-other-directives.jsonc rename to packages/courses-config/chibivue-en/chapters/052-other-directives.jsonc index 5deea7c..20231ed 100644 --- a/packages/courses-config/chibivue-en/chapters/057-other-directives.jsonc +++ b/packages/courses-config/chibivue-en/chapters/052-other-directives.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Comp.vue", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vSlot.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/transforms/vHtml.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-dom/transforms/vText.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/058-chore-compiler.jsonc b/packages/courses-config/chibivue-en/chapters/053-chore-compiler.jsonc similarity index 100% rename from packages/courses-config/chibivue-en/chapters/058-chore-compiler.jsonc rename to packages/courses-config/chibivue-en/chapters/053-chore-compiler.jsonc diff --git a/packages/courses-config/chibivue-en/chapters/054-parser-optimization.jsonc b/packages/courses-config/chibivue-en/chapters/054-parser-optimization.jsonc new file mode 100644 index 0000000..ced6a1f --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/054-parser-optimization.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "parser-optimization", + "title": "Parser Optimization", + "fromDir": "50_basic_template_compiler/100_chore_compiler", + "toDir": "50_basic_template_compiler/100_chore_compiler", + "docs": "https://book.chibivue.land/50-basic-template-compiler/110-parser-optimization", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/055-custom-directive.jsonc b/packages/courses-config/chibivue-en/chapters/055-custom-directive.jsonc new file mode 100644 index 0000000..ce27610 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/055-custom-directive.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "custom-directive", + "title": "Custom Directives", + "fromDir": "50_basic_template_compiler/100_chore_compiler", + "toDir": "50_basic_template_compiler/100_chore_compiler", + "docs": "https://book.chibivue.land/50-basic-template-compiler/500-custom-directive", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/059-script-setup.jsonc b/packages/courses-config/chibivue-en/chapters/056-script-setup.jsonc similarity index 86% rename from packages/courses-config/chibivue-en/chapters/059-script-setup.jsonc rename to packages/courses-config/chibivue-en/chapters/056-script-setup.jsonc index d4d9a6a..320fef6 100644 --- a/packages/courses-config/chibivue-en/chapters/059-script-setup.jsonc +++ b/packages/courses-config/chibivue-en/chapters/056-script-setup.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/060-define-props.jsonc b/packages/courses-config/chibivue-en/chapters/057-define-props.jsonc similarity index 85% rename from packages/courses-config/chibivue-en/chapters/060-define-props.jsonc rename to packages/courses-config/chibivue-en/chapters/057-define-props.jsonc index 9f6b844..a0450fc 100644 --- a/packages/courses-config/chibivue-en/chapters/060-define-props.jsonc +++ b/packages/courses-config/chibivue-en/chapters/057-define-props.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/061-define-emits.jsonc b/packages/courses-config/chibivue-en/chapters/058-define-emits.jsonc similarity index 88% rename from packages/courses-config/chibivue-en/chapters/061-define-emits.jsonc rename to packages/courses-config/chibivue-en/chapters/058-define-emits.jsonc index 1bf1ced..83109a6 100644 --- a/packages/courses-config/chibivue-en/chapters/061-define-emits.jsonc +++ b/packages/courses-config/chibivue-en/chapters/058-define-emits.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/062-scoped-css.jsonc b/packages/courses-config/chibivue-en/chapters/059-scoped-css.jsonc similarity index 88% rename from packages/courses-config/chibivue-en/chapters/062-scoped-css.jsonc rename to packages/courses-config/chibivue-en/chapters/059-scoped-css.jsonc index 6061d56..65645bb 100644 --- a/packages/courses-config/chibivue-en/chapters/062-scoped-css.jsonc +++ b/packages/courses-config/chibivue-en/chapters/059-scoped-css.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/063-props-destructure.jsonc b/packages/courses-config/chibivue-en/chapters/060-props-destructure.jsonc similarity index 90% rename from packages/courses-config/chibivue-en/chapters/063-props-destructure.jsonc rename to packages/courses-config/chibivue-en/chapters/060-props-destructure.jsonc index 58e9db9..d3a6df6 100644 --- a/packages/courses-config/chibivue-en/chapters/063-props-destructure.jsonc +++ b/packages/courses-config/chibivue-en/chapters/060-props-destructure.jsonc @@ -8,15 +8,15 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/064-type-based-macros.jsonc b/packages/courses-config/chibivue-en/chapters/061-type-based-macros.jsonc similarity index 89% rename from packages/courses-config/chibivue-en/chapters/064-type-based-macros.jsonc rename to packages/courses-config/chibivue-en/chapters/061-type-based-macros.jsonc index 8d3d9f1..83f6e7d 100644 --- a/packages/courses-config/chibivue-en/chapters/064-type-based-macros.jsonc +++ b/packages/courses-config/chibivue-en/chapters/061-type-based-macros.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/062-router.jsonc b/packages/courses-config/chibivue-en/chapters/062-router.jsonc new file mode 100644 index 0000000..03c397e --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/062-router.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "router", + "title": "Router", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/90-web-application-essentials/010-plugins/010-router", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/063-preprocessors.jsonc b/packages/courses-config/chibivue-en/chapters/063-preprocessors.jsonc new file mode 100644 index 0000000..3d81469 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/063-preprocessors.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "preprocessors", + "title": "CSS Preprocessors", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/90-web-application-essentials/010-plugins/020-preprocessors", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/064-store.jsonc b/packages/courses-config/chibivue-en/chapters/064-store.jsonc new file mode 100644 index 0000000..645a873 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/064-store.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "store", + "title": "Store", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/90-web-application-essentials/010-plugins/020-store", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/065-data-fetch.jsonc b/packages/courses-config/chibivue-en/chapters/065-data-fetch.jsonc new file mode 100644 index 0000000..0f7c8af --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/065-data-fetch.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "data-fetch", + "title": "Data Fetch", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/90-web-application-essentials/010-plugins/030-data-fetch", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/066-language-tools.jsonc b/packages/courses-config/chibivue-en/chapters/066-language-tools.jsonc new file mode 100644 index 0000000..0456522 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/066-language-tools.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "language-tools", + "title": "Language Tools", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/90-web-application-essentials/010-plugins/040-language-tools", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/065-ssr.jsonc b/packages/courses-config/chibivue-en/chapters/067-create-ssr-app.jsonc similarity index 80% rename from packages/courses-config/chibivue-en/chapters/065-ssr.jsonc rename to packages/courses-config/chibivue-en/chapters/067-create-ssr-app.jsonc index e16c9e8..f69f247 100644 --- a/packages/courses-config/chibivue-en/chapters/065-ssr.jsonc +++ b/packages/courses-config/chibivue-en/chapters/067-create-ssr-app.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "ssr", + "id": "create-ssr-app", "title": "renderToString", "fromDir": "60_basic_sfc_compiler/060_type_based_macros", "toDir": "90_web_application_essentials/010_ssr", @@ -8,103 +8,103 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/hydration.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/server-renderer/helpers/ssrInterpolate.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/helpers/ssrRenderAttrs.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/helpers/ssrRenderList.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/helpers/ssrUtils.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/render.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/renderToString.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/068-hydration.jsonc b/packages/courses-config/chibivue-en/chapters/068-hydration.jsonc new file mode 100644 index 0000000..7ca5927 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/068-hydration.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "hydration", + "title": "Hydration", + "fromDir": "90_web_application_essentials/010_ssr", + "toDir": "90_web_application_essentials/010_ssr", + "docs": "https://book.chibivue.land/90-web-application-essentials/020-ssr/020-hydration", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/069-compiler-ssr.jsonc b/packages/courses-config/chibivue-en/chapters/069-compiler-ssr.jsonc new file mode 100644 index 0000000..7291f8b --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/069-compiler-ssr.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "compiler-ssr", + "title": "Compiler SSR", + "fromDir": "90_web_application_essentials/010_ssr", + "toDir": "90_web_application_essentials/010_ssr", + "docs": "https://book.chibivue.land/90-web-application-essentials/020-ssr/030-compiler-ssr", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/066-keep-alive.jsonc b/packages/courses-config/chibivue-en/chapters/070-keep-alive.jsonc similarity index 83% rename from packages/courses-config/chibivue-en/chapters/066-keep-alive.jsonc rename to packages/courses-config/chibivue-en/chapters/070-keep-alive.jsonc index 2af4b45..4c02466 100644 --- a/packages/courses-config/chibivue-en/chapters/066-keep-alive.jsonc +++ b/packages/courses-config/chibivue-en/chapters/070-keep-alive.jsonc @@ -8,51 +8,51 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Counter.vue", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/apiLifecycle.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/components/KeepAlive.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/hydration.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/shapeFlags.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/067-transition.jsonc b/packages/courses-config/chibivue-en/chapters/071-transition.jsonc similarity index 86% rename from packages/courses-config/chibivue-en/chapters/067-transition.jsonc rename to packages/courses-config/chibivue-en/chapters/071-transition.jsonc index d848d30..e975341 100644 --- a/packages/courses-config/chibivue-en/chapters/067-transition.jsonc +++ b/packages/courses-config/chibivue-en/chapters/071-transition.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Counter.vue", - "kind": "D", + "kind": "D" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/components/Transition.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/068-static-hoisting.jsonc b/packages/courses-config/chibivue-en/chapters/072-static-hoisting.jsonc similarity index 87% rename from packages/courses-config/chibivue-en/chapters/068-static-hoisting.jsonc rename to packages/courses-config/chibivue-en/chapters/072-static-hoisting.jsonc index 3270099..6ef2058 100644 --- a/packages/courses-config/chibivue-en/chapters/068-static-hoisting.jsonc +++ b/packages/courses-config/chibivue-en/chapters/072-static-hoisting.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/069-patch-flags.jsonc b/packages/courses-config/chibivue-en/chapters/073-patch-flags.jsonc similarity index 85% rename from packages/courses-config/chibivue-en/chapters/069-patch-flags.jsonc rename to packages/courses-config/chibivue-en/chapters/073-patch-flags.jsonc index 423f20d..48544cb 100644 --- a/packages/courses-config/chibivue-en/chapters/069-patch-flags.jsonc +++ b/packages/courses-config/chibivue-en/chapters/073-patch-flags.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/patchFlags.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/074-tree-flattening.jsonc b/packages/courses-config/chibivue-en/chapters/074-tree-flattening.jsonc new file mode 100644 index 0000000..8beb309 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/074-tree-flattening.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "tree-flattening", + "title": "Tree Flattening", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/90-web-application-essentials/040-optimizations/030-tree-flattening", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/075-introduction.jsonc b/packages/courses-config/chibivue-en/chapters/075-introduction.jsonc new file mode 100644 index 0000000..644e4ec --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/075-introduction.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "introduction", + "title": "Vapor Mode", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/90-web-application-essentials/050-vapor/010-introduction", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/076-vapor-compiler.jsonc b/packages/courses-config/chibivue-en/chapters/076-vapor-compiler.jsonc new file mode 100644 index 0000000..b951ec1 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/076-vapor-compiler.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "vapor-compiler", + "title": "Vapor Compiler", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/90-web-application-essentials/050-vapor/020-vapor-compiler", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/077-vapor-ssr.jsonc b/packages/courses-config/chibivue-en/chapters/077-vapor-ssr.jsonc new file mode 100644 index 0000000..d0d9418 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/077-vapor-ssr.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "vapor-ssr", + "title": "Vapor SSR", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/90-web-application-essentials/050-vapor/030-vapor-ssr", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/078-hot-paths.jsonc b/packages/courses-config/chibivue-en/chapters/078-hot-paths.jsonc new file mode 100644 index 0000000..cb58fca --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/078-hot-paths.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "hot-paths", + "title": "Overview", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/bonus/hot-paths", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/079-beginner-30-min-hands-on.jsonc b/packages/courses-config/chibivue-en/chapters/079-beginner-30-min-hands-on.jsonc new file mode 100644 index 0000000..956fa62 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/079-beginner-30-min-hands-on.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "beginner-30-min-hands-on", + "title": "Beginner 30-minute hands-on", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/bonus/hot-paths/beginner-30-min-hands-on", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/080-beginner-60-min-hands-on.jsonc b/packages/courses-config/chibivue-en/chapters/080-beginner-60-min-hands-on.jsonc new file mode 100644 index 0000000..a99d00c --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/080-beginner-60-min-hands-on.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "beginner-60-min-hands-on", + "title": "Beginner 60-minute hands-on", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/bonus/hot-paths/beginner-60-min-hands-on", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/081-intermediate-60-min-hands-on.jsonc b/packages/courses-config/chibivue-en/chapters/081-intermediate-60-min-hands-on.jsonc new file mode 100644 index 0000000..71ab6bb --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/081-intermediate-60-min-hands-on.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "intermediate-60-min-hands-on", + "title": "Intermediate 60-minute hands-on", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/bonus/hot-paths/intermediate-60-min-hands-on", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/082-advanced-30-min-summary.jsonc b/packages/courses-config/chibivue-en/chapters/082-advanced-30-min-summary.jsonc new file mode 100644 index 0000000..ae4a5d4 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/082-advanced-30-min-summary.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "advanced-30-min-summary", + "title": "Advanced 30-minute summary", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/bonus/hot-paths/advanced-30-min-summary", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/083-hyper-ultimate-super-extreme-minimal-vue.jsonc b/packages/courses-config/chibivue-en/chapters/083-hyper-ultimate-super-extreme-minimal-vue.jsonc new file mode 100644 index 0000000..13c20da --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/083-hyper-ultimate-super-extreme-minimal-vue.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "hyper-ultimate-super-extreme-minimal-vue", + "title": "chibivue, isn't it small...?", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/bonus/hyper-ultimate-super-extreme-minimal-vue", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-en/chapters/070-minimal-vue.jsonc b/packages/courses-config/chibivue-en/chapters/084-15-min-impl.jsonc similarity index 68% rename from packages/courses-config/chibivue-en/chapters/070-minimal-vue.jsonc rename to packages/courses-config/chibivue-en/chapters/084-15-min-impl.jsonc index 1790930..2535a27 100644 --- a/packages/courses-config/chibivue-en/chapters/070-minimal-vue.jsonc +++ b/packages/courses-config/chibivue-en/chapters/084-15-min-impl.jsonc @@ -1,46 +1,54 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "minimal-vue", - "title": "Writing Vue.js in 15 minutes", + "id": "15-min-impl", + "title": "Implement", "fromDir": "", "toDir": "bonus/hyper-ultimate-super-extreme-minimal-vue", - "docs": "https://book.chibivue.land/bonus/hyper-ultimate-super-extreme-minimal-vue/", + "docs": "https://book.chibivue.land/bonus/hyper-ultimate-super-extreme-minimal-vue/15-min-impl", "changedFiles": [ { "path": "examples/playground/index.html", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/package.json", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/tsconfig.json", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/vite.config.ts", - "kind": "U", + "kind": "U" }, { "path": "package.json", - "kind": "U", + "kind": "U" }, { "path": "packages/index.ts", - "kind": "U", + "kind": "U" + }, + { + "path": "pnpm-workspace.yaml", + "kind": "U" }, { "path": "tsconfig.json", - "kind": "U", + "kind": "U" }, + { + "path": "vite.config.ts", + "kind": "U" + } ], } diff --git a/packages/courses-config/chibivue-en/chapters/085-debug-vuejs-core.jsonc b/packages/courses-config/chibivue-en/chapters/085-debug-vuejs-core.jsonc new file mode 100644 index 0000000..6470882 --- /dev/null +++ b/packages/courses-config/chibivue-en/chapters/085-debug-vuejs-core.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "debug-vuejs-core", + "title": "debug original Vue.js source", + "fromDir": "bonus/hyper-ultimate-super-extreme-minimal-vue", + "toDir": "bonus/hyper-ultimate-super-extreme-minimal-vue", + "docs": "https://book.chibivue.land/bonus/debug-vuejs-core", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/001-about.jsonc b/packages/courses-config/chibivue-ja/chapters/001-about.jsonc new file mode 100644 index 0000000..002fbe1 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/001-about.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "about", + "title": "初めに", + "fromDir": "", + "toDir": "", + "docs": "https://book.chibivue.land/ja/00-introduction/010-about", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/002-what-is-vue.jsonc b/packages/courses-config/chibivue-ja/chapters/002-what-is-vue.jsonc new file mode 100644 index 0000000..64e1dba --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/002-what-is-vue.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "what-is-vue", + "title": "Vue.jsとは", + "fromDir": "", + "toDir": "", + "docs": "https://book.chibivue.land/ja/00-introduction/020-what-is-vue", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/003-vue-core-components.jsonc b/packages/courses-config/chibivue-ja/chapters/003-vue-core-components.jsonc new file mode 100644 index 0000000..91df23c --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/003-vue-core-components.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "vue-core-components", + "title": "Vue.jsを構成する主要な要素", + "fromDir": "", + "toDir": "", + "docs": "https://book.chibivue.land/ja/00-introduction/030-vue-core-components", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/001-project-setup.jsonc b/packages/courses-config/chibivue-ja/chapters/004-setup-project.jsonc similarity index 72% rename from packages/courses-config/chibivue-ja/chapters/001-project-setup.jsonc rename to packages/courses-config/chibivue-ja/chapters/004-setup-project.jsonc index 1c59404..80d0f57 100644 --- a/packages/courses-config/chibivue-ja/chapters/001-project-setup.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/004-setup-project.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "project-setup", + "id": "setup-project", "title": "本書の進め方と環境構築", "fromDir": "", "toDir": "00_introduction/010_project_setup", @@ -8,35 +8,43 @@ "changedFiles": [ { "path": "examples/playground/index.html", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/package.json", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/tsconfig.json", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/vite.config.ts", - "kind": "U", + "kind": "U" }, { "path": "package.json", - "kind": "U", + "kind": "U" }, { "path": "packages/index.ts", - "kind": "U", + "kind": "U" + }, + { + "path": "pnpm-workspace.yaml", + "kind": "U" }, { "path": "tsconfig.json", - "kind": "U", + "kind": "U" }, + { + "path": "vite.config.ts", + "kind": "U" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/002-create-app.jsonc b/packages/courses-config/chibivue-ja/chapters/005-create-app-api.jsonc similarity index 85% rename from packages/courses-config/chibivue-ja/chapters/002-create-app.jsonc rename to packages/courses-config/chibivue-ja/chapters/005-create-app-api.jsonc index e925752..eb7ec79 100644 --- a/packages/courses-config/chibivue-ja/chapters/002-create-app.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/005-create-app-api.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "create-app", + "id": "create-app-api", "title": "初めてのレンダリングと createApp API", "fromDir": "00_introduction/010_project_setup", "toDir": "10_minimum_example/010_create_app", @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "U", - }, + "kind": "U" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/003-package-architecture.jsonc b/packages/courses-config/chibivue-ja/chapters/006-package-architecture.jsonc similarity index 84% rename from packages/courses-config/chibivue-ja/chapters/003-package-architecture.jsonc rename to packages/courses-config/chibivue-ja/chapters/006-package-architecture.jsonc index 378b4ea..33df693 100644 --- a/packages/courses-config/chibivue-ja/chapters/003-package-architecture.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/006-package-architecture.jsonc @@ -8,43 +8,43 @@ "changedFiles": [ { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/004-simple-h-function.jsonc b/packages/courses-config/chibivue-ja/chapters/007-simple-h-function.jsonc similarity index 83% rename from packages/courses-config/chibivue-ja/chapters/004-simple-h-function.jsonc rename to packages/courses-config/chibivue-ja/chapters/007-simple-h-function.jsonc index 63fdb24..f0798f1 100644 --- a/packages/courses-config/chibivue-ja/chapters/004-simple-h-function.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/007-simple-h-function.jsonc @@ -8,55 +8,55 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/h.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/modules/attrs.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/modules/events.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/patchProp.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/008-event-handler-and-attrs.jsonc b/packages/courses-config/chibivue-ja/chapters/008-event-handler-and-attrs.jsonc new file mode 100644 index 0000000..3ee9807 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/008-event-handler-and-attrs.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "event-handler-and-attrs", + "title": "イベントハンドラや属性に対応してみる", + "fromDir": "10_minimum_example/020_simple_h_function", + "toDir": "10_minimum_example/020_simple_h_function", + "docs": "https://book.chibivue.land/ja/10-minimum-example/025-event-handler-and-attrs", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/009-prerequisite-knowledge-for-the-reactivity-system.jsonc b/packages/courses-config/chibivue-ja/chapters/009-prerequisite-knowledge-for-the-reactivity-system.jsonc new file mode 100644 index 0000000..2d3e59d --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/009-prerequisite-knowledge-for-the-reactivity-system.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "prerequisite-knowledge-for-the-reactivity-system", + "title": "リアクティビティシステムの前程知識", + "fromDir": "10_minimum_example/020_simple_h_function", + "toDir": "10_minimum_example/020_simple_h_function", + "docs": "https://book.chibivue.land/ja/10-minimum-example/030-prerequisite-knowledge-for-the-reactivity-system", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/005-reactive-system.jsonc b/packages/courses-config/chibivue-ja/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc similarity index 81% rename from packages/courses-config/chibivue-ja/chapters/005-reactive-system.jsonc rename to packages/courses-config/chibivue-ja/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc index 1b10f6d..7d20df6 100644 --- a/packages/courses-config/chibivue-ja/chapters/005-reactive-system.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "reactive-system", + "id": "try-implementing-a-minimum-reactivity-system", "title": "小さいリアクティビティシステムを実装してみる", "fromDir": "10_minimum_example/020_simple_h_function", "toDir": "10_minimum_example/030_reactive_system", @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/dep.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/effect.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/reactive.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/006-vdom-system.jsonc b/packages/courses-config/chibivue-ja/chapters/011-minimum-virtual-dom.jsonc similarity index 83% rename from packages/courses-config/chibivue-ja/chapters/006-vdom-system.jsonc rename to packages/courses-config/chibivue-ja/chapters/011-minimum-virtual-dom.jsonc index cea4b1d..67d97c1 100644 --- a/packages/courses-config/chibivue-ja/chapters/006-vdom-system.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/011-minimum-virtual-dom.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "vdom-system", + "id": "minimum-virtual-dom", "title": "小さい仮想 DOM", "fromDir": "10_minimum_example/030_reactive_system", "toDir": "10_minimum_example/040_vdom_system", @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/h.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/007-component-system.jsonc b/packages/courses-config/chibivue-ja/chapters/012-minimum-component.jsonc similarity index 83% rename from packages/courses-config/chibivue-ja/chapters/007-component-system.jsonc rename to packages/courses-config/chibivue-ja/chapters/012-minimum-component.jsonc index a18b78d..5371072 100644 --- a/packages/courses-config/chibivue-ja/chapters/007-component-system.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/012-minimum-component.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "component-system", + "id": "minimum-component", "title": "コンポーネント指向で開発したい", "fromDir": "10_minimum_example/040_vdom_system", "toDir": "10_minimum_example/050_component_system", @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/h.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/008-component-props.jsonc b/packages/courses-config/chibivue-ja/chapters/013-component-props.jsonc similarity index 86% rename from packages/courses-config/chibivue-ja/chapters/008-component-props.jsonc rename to packages/courses-config/chibivue-ja/chapters/013-component-props.jsonc index 7014a42..7c48559 100644 --- a/packages/courses-config/chibivue-ja/chapters/008-component-props.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/013-component-props.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/009-component-emits.jsonc b/packages/courses-config/chibivue-ja/chapters/014-component-emits.jsonc similarity index 84% rename from packages/courses-config/chibivue-ja/chapters/009-component-emits.jsonc rename to packages/courses-config/chibivue-ja/chapters/014-component-emits.jsonc index 8ad4eda..1aab425 100644 --- a/packages/courses-config/chibivue-ja/chapters/009-component-emits.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/014-component-emits.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentEmits.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/shared/index.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/015-template-compiler.jsonc b/packages/courses-config/chibivue-ja/chapters/015-template-compiler.jsonc new file mode 100644 index 0000000..f1e9630 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/015-template-compiler.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "template-compiler", + "title": "テンプレートコンパイラを理解する", + "fromDir": "10_minimum_example/050_component_system3", + "toDir": "10_minimum_example/050_component_system3", + "docs": "https://book.chibivue.land/ja/10-minimum-example/060-template-compiler", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/010-template-compiler.jsonc b/packages/courses-config/chibivue-ja/chapters/016-template-compiler-impl.jsonc similarity index 80% rename from packages/courses-config/chibivue-ja/chapters/010-template-compiler.jsonc rename to packages/courses-config/chibivue-ja/chapters/016-template-compiler-impl.jsonc index ed0a9a8..67a9c71 100644 --- a/packages/courses-config/chibivue-ja/chapters/010-template-compiler.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/016-template-compiler-impl.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "template-compiler", + "id": "template-compiler-impl", "title": "テンプレートコンパイラを実装する", "fromDir": "10_minimum_example/050_component_system3", "toDir": "10_minimum_example/060_template_compiler", @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/compile.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/parse.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-dom/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/011-template-compiler-parser.jsonc b/packages/courses-config/chibivue-ja/chapters/017-more-complex-parser.jsonc similarity index 83% rename from packages/courses-config/chibivue-ja/chapters/011-template-compiler-parser.jsonc rename to packages/courses-config/chibivue-ja/chapters/017-more-complex-parser.jsonc index 63c38a9..0dfa76f 100644 --- a/packages/courses-config/chibivue-ja/chapters/011-template-compiler-parser.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/017-more-complex-parser.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "template-compiler-parser", + "id": "more-complex-parser", "title": "もっと複雑な HTML を書きたい", "fromDir": "10_minimum_example/060_template_compiler", "toDir": "10_minimum_example/060_template_compiler2", @@ -8,23 +8,23 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/012-template-binding.jsonc b/packages/courses-config/chibivue-ja/chapters/018-template-binding.jsonc similarity index 85% rename from packages/courses-config/chibivue-ja/chapters/012-template-binding.jsonc rename to packages/courses-config/chibivue-ja/chapters/018-template-binding.jsonc index 1bb3030..4597b1c 100644 --- a/packages/courses-config/chibivue-ja/chapters/012-template-binding.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/018-template-binding.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/013-sfc-prerequisite.jsonc b/packages/courses-config/chibivue-ja/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc similarity index 80% rename from packages/courses-config/chibivue-ja/chapters/013-sfc-prerequisite.jsonc rename to packages/courses-config/chibivue-ja/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc index 0676081..d43bca1 100644 --- a/packages/courses-config/chibivue-ja/chapters/013-sfc-prerequisite.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "sfc-prerequisite", + "id": "prerequisite-knowledge-for-the-sfc", "title": "SFC で開発したい (周辺知識編)", "fromDir": "10_minimum_example/060_template_compiler3", "toDir": "10_minimum_example/070_sfc_compiler", @@ -8,67 +8,67 @@ "changedFiles": [ { "path": "plugin-sample/README.md", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/index.html", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/package.json", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/pnpm-lock.yaml", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/public/vite.svg", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/assets/vue.svg", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/components/HelloWorld.vue", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/main.ts", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/plugin.sample.js", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/style.css", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/vite-env.d.ts", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/tsconfig.json", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/tsconfig.node.json", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/vite.config.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/020-next-tick.jsonc b/packages/courses-config/chibivue-ja/chapters/020-next-tick.jsonc deleted file mode 100644 index 15d2c3b..0000000 --- a/packages/courses-config/chibivue-ja/chapters/020-next-tick.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "next-tick", - "title": "nextTick", - "fromDir": "20_basic_virtual_dom/040_scheduler", - "toDir": "20_basic_virtual_dom/050_next_tick", - "docs": "https://book.chibivue.land/ja/20-basic-virtual-dom/030-scheduler", - "changedFiles": [ - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/index.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/scheduler.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/vnode.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-ja/chapters/014-parse-sfc.jsonc b/packages/courses-config/chibivue-ja/chapters/020-parse-sfc.jsonc similarity index 79% rename from packages/courses-config/chibivue-ja/chapters/014-parse-sfc.jsonc rename to packages/courses-config/chibivue-ja/chapters/020-parse-sfc.jsonc index 25a788e..d34eb39 100644 --- a/packages/courses-config/chibivue-ja/chapters/014-parse-sfc.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/020-parse-sfc.jsonc @@ -8,103 +8,103 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileTemplate.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/README.md", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/index.html", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/package.json", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/pnpm-lock.yaml", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/public/vite.svg", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/App.vue", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/assets/vue.svg", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/components/HelloWorld.vue", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/main.ts", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/plugin.sample.js", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/style.css", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/vite-env.d.ts", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/tsconfig.json", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/tsconfig.node.json", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/vite.config.ts", - "kind": "D", + "kind": "D" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/015-compile-sfc-template.jsonc b/packages/courses-config/chibivue-ja/chapters/021-compile-sfc-template.jsonc similarity index 86% rename from packages/courses-config/chibivue-ja/chapters/015-compile-sfc-template.jsonc rename to packages/courses-config/chibivue-ja/chapters/021-compile-sfc-template.jsonc index fec8a45..1f69197 100644 --- a/packages/courses-config/chibivue-ja/chapters/015-compile-sfc-template.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/021-compile-sfc-template.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/022-compile-sfc-script.jsonc b/packages/courses-config/chibivue-ja/chapters/022-compile-sfc-script.jsonc new file mode 100644 index 0000000..dcc1c64 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/022-compile-sfc-script.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "compile-sfc-script", + "title": "SFC の script block", + "fromDir": "10_minimum_example/070_sfc_compiler3", + "toDir": "10_minimum_example/070_sfc_compiler3", + "docs": "https://book.chibivue.land/ja/10-minimum-example/093-compile-sfc-script", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/022-ref.jsonc b/packages/courses-config/chibivue-ja/chapters/022-ref.jsonc deleted file mode 100644 index 5bfe185..0000000 --- a/packages/courses-config/chibivue-ja/chapters/022-ref.jsonc +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "ref", - "title": "ref API", - "fromDir": "20_basic_virtual_dom/060_other_props", - "toDir": "30_basic_reactivity_system/010_ref", - "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/010-ref-api", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "U", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/effect.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/reactive.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/ref.ts", - "kind": "U", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-ja/chapters/016-compile-sfc-style.jsonc b/packages/courses-config/chibivue-ja/chapters/023-compile-sfc-style.jsonc similarity index 85% rename from packages/courses-config/chibivue-ja/chapters/016-compile-sfc-style.jsonc rename to packages/courses-config/chibivue-ja/chapters/023-compile-sfc-style.jsonc index 522286e..6bcb0bc 100644 --- a/packages/courses-config/chibivue-ja/chapters/016-compile-sfc-style.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/023-compile-sfc-style.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "package.json", - "kind": "M", + "kind": "M" }, { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/rewriteDefault.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/023-shallow-ref.jsonc b/packages/courses-config/chibivue-ja/chapters/023-shallow-ref.jsonc deleted file mode 100644 index 4555226..0000000 --- a/packages/courses-config/chibivue-ja/chapters/023-shallow-ref.jsonc +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "shallow-ref", - "title": "shallowRef", - "fromDir": "30_basic_reactivity_system/010_ref", - "toDir": "30_basic_reactivity_system/020_shallow_ref", - "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/010-ref-api", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/ref.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-ja/chapters/024-break.jsonc b/packages/courses-config/chibivue-ja/chapters/024-break.jsonc new file mode 100644 index 0000000..200babe --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/024-break.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "break", + "title": "ちょっと一息", + "fromDir": "10_minimum_example/070_sfc_compiler4", + "toDir": "10_minimum_example/070_sfc_compiler4", + "docs": "https://book.chibivue.land/ja/10-minimum-example/100-break", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/017-patch-keyed-children.jsonc b/packages/courses-config/chibivue-ja/chapters/025-patch-keyed-children.jsonc similarity index 86% rename from packages/courses-config/chibivue-ja/chapters/017-patch-keyed-children.jsonc rename to packages/courses-config/chibivue-ja/chapters/025-patch-keyed-children.jsonc index 3ef3814..8723490 100644 --- a/packages/courses-config/chibivue-ja/chapters/017-patch-keyed-children.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/025-patch-keyed-children.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D", + "kind": "D" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/025-to-refs.jsonc b/packages/courses-config/chibivue-ja/chapters/025-to-refs.jsonc deleted file mode 100644 index f246f7c..0000000 --- a/packages/courses-config/chibivue-ja/chapters/025-to-refs.jsonc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "to-refs", - "title": "toRefs", - "fromDir": "30_basic_reactivity_system/030_to_ref", - "toDir": "30_basic_reactivity_system/040_to_refs", - "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/010-ref-api", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/compiler-core/codegen.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/ref.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-ja/chapters/018-bit-flags.jsonc b/packages/courses-config/chibivue-ja/chapters/026-bit-flags.jsonc similarity index 86% rename from packages/courses-config/chibivue-ja/chapters/018-bit-flags.jsonc rename to packages/courses-config/chibivue-ja/chapters/026-bit-flags.jsonc index f3aea99..4025879 100644 --- a/packages/courses-config/chibivue-ja/chapters/018-bit-flags.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/026-bit-flags.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/reactivity/baseHandler.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/shapeFlags.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/026-computed.jsonc b/packages/courses-config/chibivue-ja/chapters/026-computed.jsonc deleted file mode 100644 index c149563..0000000 --- a/packages/courses-config/chibivue-ja/chapters/026-computed.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "computed", - "title": "computed", - "fromDir": "30_basic_reactivity_system/040_to_refs", - "toDir": "30_basic_reactivity_system/050_computed", - "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/020-computed-watch", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/computed.ts", - "kind": "U", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-ja/chapters/027-computed-setter.jsonc b/packages/courses-config/chibivue-ja/chapters/027-computed-setter.jsonc deleted file mode 100644 index 6801fe3..0000000 --- a/packages/courses-config/chibivue-ja/chapters/027-computed-setter.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "computed-setter", - "title": "computed の setter", - "fromDir": "30_basic_reactivity_system/050_computed", - "toDir": "30_basic_reactivity_system/060_computed_setter", - "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/020-computed-watch", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/computed.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-ja/chapters/019-scheduler.jsonc b/packages/courses-config/chibivue-ja/chapters/027-scheduler.jsonc similarity index 69% rename from packages/courses-config/chibivue-ja/chapters/019-scheduler.jsonc rename to packages/courses-config/chibivue-ja/chapters/027-scheduler.jsonc index 281aa59..b0c75ce 100644 --- a/packages/courses-config/chibivue-ja/chapters/019-scheduler.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/027-scheduler.jsonc @@ -3,32 +3,40 @@ "id": "scheduler", "title": "スケジューラ", "fromDir": "20_basic_virtual_dom/020_bit_flags", - "toDir": "20_basic_virtual_dom/040_scheduler", + "toDir": "20_basic_virtual_dom/050_next_tick", "docs": "https://book.chibivue.land/ja/20-basic-virtual-dom/030-scheduler", "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/effect.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/scheduler.ts", - "kind": "U", + "kind": "U" }, { - "path": "tests/e2e.spec.ts", - "kind": "M", + "path": "packages/runtime-core/vnode.ts", + "kind": "M" }, + { + "path": "tests/e2e.spec.ts", + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/021-other-props.jsonc b/packages/courses-config/chibivue-ja/chapters/028-patch-other-attrs.jsonc similarity index 83% rename from packages/courses-config/chibivue-ja/chapters/021-other-props.jsonc rename to packages/courses-config/chibivue-ja/chapters/028-patch-other-attrs.jsonc index 0fe986a..2a6e51d 100644 --- a/packages/courses-config/chibivue-ja/chapters/021-other-props.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/028-patch-other-attrs.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "other-props", + "id": "patch-other-attrs", "title": "対応できていない Props のパッチ", "fromDir": "20_basic_virtual_dom/050_next_tick", "toDir": "20_basic_virtual_dom/060_other_props", @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/modules/class.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/modules/props.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/modules/style.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/patchProp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/029-reactivity-optimization.jsonc b/packages/courses-config/chibivue-ja/chapters/029-reactivity-optimization.jsonc new file mode 100644 index 0000000..7cd99a0 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/029-reactivity-optimization.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "reactivity-optimization", + "title": "Reactivity の最適化", + "fromDir": "20_basic_virtual_dom/060_other_props", + "toDir": "20_basic_virtual_dom/060_other_props", + "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/005-reactivity-optimization", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/029-watch-api-extends.jsonc b/packages/courses-config/chibivue-ja/chapters/029-watch-api-extends.jsonc deleted file mode 100644 index 65c45ed..0000000 --- a/packages/courses-config/chibivue-ja/chapters/029-watch-api-extends.jsonc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "watch-api-extends", - "title": "watch のその他の API", - "fromDir": "30_basic_reactivity_system/070_watch", - "toDir": "30_basic_reactivity_system/080_watch_api_extends", - "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/020-computed-watch", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/apiWatch.ts", - "kind": "M", - }, - { - "path": "packages/shared/general.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-ja/chapters/024-to-ref.jsonc b/packages/courses-config/chibivue-ja/chapters/030-ref-api.jsonc similarity index 61% rename from packages/courses-config/chibivue-ja/chapters/024-to-ref.jsonc rename to packages/courses-config/chibivue-ja/chapters/030-ref-api.jsonc index 6c8dfd3..bd603e8 100644 --- a/packages/courses-config/chibivue-ja/chapters/024-to-ref.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/030-ref-api.jsonc @@ -1,46 +1,54 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "to-ref", - "title": "toRef", - "fromDir": "30_basic_reactivity_system/020_shallow_ref", - "toDir": "30_basic_reactivity_system/030_to_ref", + "id": "ref-api", + "title": "ref api", + "fromDir": "20_basic_virtual_dom/060_other_props", + "toDir": "30_basic_reactivity_system/040_to_refs", "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/010-ref-api", "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M" }, { "path": "packages/reactivity/effect.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/index.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "M" }, { "path": "packages/reactivity/ref.ts", - "kind": "M", + "kind": "U" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/typeUtils.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/030-watch-effect.jsonc b/packages/courses-config/chibivue-ja/chapters/030-watch-effect.jsonc deleted file mode 100644 index 0516694..0000000 --- a/packages/courses-config/chibivue-ja/chapters/030-watch-effect.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "watch-effect", - "title": "watchEffect", - "fromDir": "30_basic_reactivity_system/080_watch_api_extends", - "toDir": "30_basic_reactivity_system/090_watch_effect", - "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/020-computed-watch", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/apiWatch.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/index.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-ja/chapters/028-watch.jsonc b/packages/courses-config/chibivue-ja/chapters/031-computed-watch.jsonc similarity index 59% rename from packages/courses-config/chibivue-ja/chapters/028-watch.jsonc rename to packages/courses-config/chibivue-ja/chapters/031-computed-watch.jsonc index 95066f2..e3c6e6b 100644 --- a/packages/courses-config/chibivue-ja/chapters/028-watch.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/031-computed-watch.jsonc @@ -1,38 +1,46 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "watch", - "title": "watch", - "fromDir": "30_basic_reactivity_system/060_computed_setter", - "toDir": "30_basic_reactivity_system/070_watch", + "id": "computed-watch", + "title": "computed / watch api", + "fromDir": "30_basic_reactivity_system/040_to_refs", + "toDir": "30_basic_reactivity_system/090_watch_effect", "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/020-computed-watch", "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/reactivity/computed.ts", + "kind": "U" + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M" }, { "path": "packages/runtime-core/apiWatch.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/031-reactive-proxy-target-type.jsonc b/packages/courses-config/chibivue-ja/chapters/031-reactive-proxy-target-type.jsonc deleted file mode 100644 index ddec6f1..0000000 --- a/packages/courses-config/chibivue-ja/chapters/031-reactive-proxy-target-type.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "reactive-proxy-target-type", - "title": "reactive にしたくないオブジェクト", - "fromDir": "30_basic_reactivity_system/090_watch_effect", - "toDir": "30_basic_reactivity_system/100_reactive_proxy_target_type", - "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/030-reactive-proxy-handlers", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/reactive.ts", - "kind": "M", - }, - { - "path": "packages/shared/general.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-ja/chapters/033-proxy-handler-improvement.jsonc b/packages/courses-config/chibivue-ja/chapters/032-reactive-proxy-handlers.jsonc similarity index 60% rename from packages/courses-config/chibivue-ja/chapters/033-proxy-handler-improvement.jsonc rename to packages/courses-config/chibivue-ja/chapters/032-reactive-proxy-handlers.jsonc index a2cba4e..a3b8f0f 100644 --- a/packages/courses-config/chibivue-ja/chapters/033-proxy-handler-improvement.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/032-reactive-proxy-handlers.jsonc @@ -1,42 +1,54 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "proxy-handler-improvement", - "title": "Collection 系の組み込みオブジェクト", - "fromDir": "30_basic_reactivity_system/110_template_refs", + "id": "reactive-proxy-handlers", + "title": "様々な Reactive Proxy Handler", + "fromDir": "30_basic_reactivity_system/090_watch_effect", "toDir": "30_basic_reactivity_system/120_proxy_handler_improvement", "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/030-reactive-proxy-handlers", "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/effect.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/reactive.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M" + }, + { + "path": "packages/runtime-core/rendererTemplateRef.ts", + "kind": "U" + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/032-template-refs.jsonc b/packages/courses-config/chibivue-ja/chapters/032-template-refs.jsonc deleted file mode 100644 index fc796b3..0000000 --- a/packages/courses-config/chibivue-ja/chapters/032-template-refs.jsonc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "template-refs", - "title": "TemplateRefs", - "fromDir": "30_basic_reactivity_system/100_reactive_proxy_target_type", - "toDir": "30_basic_reactivity_system/110_template_refs", - "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/030-reactive-proxy-handlers", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "U", - }, - { - "path": "packages/runtime-core/vnode.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-ja/chapters/035-effect-scope.jsonc b/packages/courses-config/chibivue-ja/chapters/033-effect-scope.jsonc similarity index 64% rename from packages/courses-config/chibivue-ja/chapters/035-effect-scope.jsonc rename to packages/courses-config/chibivue-ja/chapters/033-effect-scope.jsonc index ac7829b..6593089 100644 --- a/packages/courses-config/chibivue-ja/chapters/035-effect-scope.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/033-effect-scope.jsonc @@ -1,38 +1,46 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", "id": "effect-scope", - "title": "EffectScope", - "fromDir": "30_basic_reactivity_system/130_cleanup_effects", + "title": "Effect のクリーンアップと Effect Scope", + "fromDir": "30_basic_reactivity_system/120_proxy_handler_improvement", "toDir": "30_basic_reactivity_system/140_effect_scope", "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/040-effect-scope", "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "D" + }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/effect.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/effectScope.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/index.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/runtime-core/apiWatch.ts", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/034-cleanup-effects.jsonc b/packages/courses-config/chibivue-ja/chapters/034-cleanup-effects.jsonc deleted file mode 100644 index 713ab89..0000000 --- a/packages/courses-config/chibivue-ja/chapters/034-cleanup-effects.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "cleanup-effects", - "title": "ReactiveEffect のクリーンアップ", - "fromDir": "30_basic_reactivity_system/120_proxy_handler_improvement", - "toDir": "30_basic_reactivity_system/130_cleanup_effects", - "docs": "https://book.chibivue.land/ja/30-basic-reactivity-system/040-effect-scope", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "D", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/effect.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/apiWatch.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-ja/chapters/036-other-apis.jsonc b/packages/courses-config/chibivue-ja/chapters/034-other-apis.jsonc similarity index 85% rename from packages/courses-config/chibivue-ja/chapters/036-other-apis.jsonc rename to packages/courses-config/chibivue-ja/chapters/034-other-apis.jsonc index 45bcc22..20f45cc 100644 --- a/packages/courses-config/chibivue-ja/chapters/036-other-apis.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/034-other-apis.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/reactive.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/ref.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/037-lifecycle-hooks.jsonc b/packages/courses-config/chibivue-ja/chapters/035-lifecycle-hooks.jsonc similarity index 83% rename from packages/courses-config/chibivue-ja/chapters/037-lifecycle-hooks.jsonc rename to packages/courses-config/chibivue-ja/chapters/035-lifecycle-hooks.jsonc index 79897dd..cff5ae2 100644 --- a/packages/courses-config/chibivue-ja/chapters/037-lifecycle-hooks.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/035-lifecycle-hooks.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiLifecycle.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/enums.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/scheduler.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/038-provide-inject.jsonc b/packages/courses-config/chibivue-ja/chapters/036-provide-inject.jsonc similarity index 84% rename from packages/courses-config/chibivue-ja/chapters/038-provide-inject.jsonc rename to packages/courses-config/chibivue-ja/chapters/036-provide-inject.jsonc index f1c14b1..54272fd 100644 --- a/packages/courses-config/chibivue-ja/chapters/038-provide-inject.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/036-provide-inject.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiInject.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/039-component-proxy.jsonc b/packages/courses-config/chibivue-ja/chapters/037-component-proxy-setup-context.jsonc similarity index 70% rename from packages/courses-config/chibivue-ja/chapters/039-component-proxy.jsonc rename to packages/courses-config/chibivue-ja/chapters/037-component-proxy-setup-context.jsonc index 07aeeac..9a9c322 100644 --- a/packages/courses-config/chibivue-ja/chapters/039-component-proxy.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/037-component-proxy-setup-context.jsonc @@ -1,50 +1,54 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "component-proxy", - "title": "コンポーネントの Proxy", + "id": "component-proxy-setup-context", + "title": "コンポーネントの Proxy と setupContext", "fromDir": "40_basic_component_system/020_provide_inject", - "toDir": "40_basic_component_system/030_component_proxy", + "toDir": "40_basic_component_system/040_setup_context", "docs": "https://book.chibivue.land/ja/40-basic-component-system/030-component-proxy-setup-context", "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M" }, { "path": "packages/runtime-core/apiDefineComponent.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/041-component-slot.jsonc b/packages/courses-config/chibivue-ja/chapters/038-component-slot.jsonc similarity index 65% rename from packages/courses-config/chibivue-ja/chapters/041-component-slot.jsonc rename to packages/courses-config/chibivue-ja/chapters/038-component-slot.jsonc index c3a1621..7e8bb06 100644 --- a/packages/courses-config/chibivue-ja/chapters/041-component-slot.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/038-component-slot.jsonc @@ -1,54 +1,46 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", "id": "component-slot", - "title": "デフォルトスロット", + "title": "スロット", "fromDir": "40_basic_component_system/040_setup_context", - "toDir": "40_basic_component_system/050_component_slot", + "toDir": "40_basic_component_system/060_slot_extend", "docs": "https://book.chibivue.land/ja/40-basic-component-system/040-component-slot", "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "U", + "kind": "M" }, { "path": "packages/runtime-core/componentSlots.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/h.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/shapeFlags.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/typeUtils.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/043-options-api.jsonc b/packages/courses-config/chibivue-ja/chapters/039-options-api.jsonc similarity index 85% rename from packages/courses-config/chibivue-ja/chapters/043-options-api.jsonc rename to packages/courses-config/chibivue-ja/chapters/039-options-api.jsonc index 8b66189..6bb71a3 100644 --- a/packages/courses-config/chibivue-ja/chapters/043-options-api.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/039-options-api.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiDefineComponent.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentEmits.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/typeUtils.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/040-setup-context.jsonc b/packages/courses-config/chibivue-ja/chapters/040-setup-context.jsonc deleted file mode 100644 index 4e4a0d7..0000000 --- a/packages/courses-config/chibivue-ja/chapters/040-setup-context.jsonc +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "setup-context", - "title": "setupContext", - "fromDir": "40_basic_component_system/030_component_proxy", - "toDir": "40_basic_component_system/040_setup_context", - "docs": "https://book.chibivue.land/ja/40-basic-component-system/030-component-proxy-setup-context", - "changedFiles": [ - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/ref.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/component.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-ja/chapters/044-transformer.jsonc b/packages/courses-config/chibivue-ja/chapters/040-transform.jsonc similarity index 83% rename from packages/courses-config/chibivue-ja/chapters/044-transformer.jsonc rename to packages/courses-config/chibivue-ja/chapters/040-transform.jsonc index 722dfa9..926465c 100644 --- a/packages/courses-config/chibivue-ja/chapters/044-transformer.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/040-transform.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "transformer", + "id": "transform", "title": "Transformer の実装 の Codegen のリファクタ", "fromDir": "40_basic_component_system/070_options_api", "toDir": "50_basic_template_compiler/010_transformer", @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/045-v-bind.jsonc b/packages/courses-config/chibivue-ja/chapters/041-v-bind.jsonc similarity index 82% rename from packages/courses-config/chibivue-ja/chapters/045-v-bind.jsonc rename to packages/courses-config/chibivue-ja/chapters/041-v-bind.jsonc index e233f49..7818f56 100644 --- a/packages/courses-config/chibivue-ja/chapters/045-v-bind.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/041-v-bind.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vBind.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/normalizeProp.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/042-slot-extend.jsonc b/packages/courses-config/chibivue-ja/chapters/042-slot-extend.jsonc deleted file mode 100644 index 641a6ab..0000000 --- a/packages/courses-config/chibivue-ja/chapters/042-slot-extend.jsonc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "slot-extend", - "title": "名前付きスロットとスコープ付きスロット", - "fromDir": "40_basic_component_system/050_component_slot", - "toDir": "40_basic_component_system/060_slot_extend", - "docs": "https://book.chibivue.land/ja/40-basic-component-system/040-component-slot", - "changedFiles": [ - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "D", - }, - { - "path": "packages/runtime-core/index.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/vnode.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-ja/chapters/046-transform-expression.jsonc b/packages/courses-config/chibivue-ja/chapters/042-transform-expression.jsonc similarity index 83% rename from packages/courses-config/chibivue-ja/chapters/046-transform-expression.jsonc rename to packages/courses-config/chibivue-ja/chapters/042-transform-expression.jsonc index 7daeda0..97f03dd 100644 --- a/packages/courses-config/chibivue-ja/chapters/046-transform-expression.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/042-transform-expression.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/transforms/vBind.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/makeMap.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/047-v-on.jsonc b/packages/courses-config/chibivue-ja/chapters/043-v-on.jsonc similarity index 82% rename from packages/courses-config/chibivue-ja/chapters/047-v-on.jsonc rename to packages/courses-config/chibivue-ja/chapters/043-v-on.jsonc index 17f6b82..ed6bc19 100644 --- a/packages/courses-config/chibivue-ja/chapters/047-v-on.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/043-v-on.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D", + "kind": "D" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vOn.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/helpers/toHandlers.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/048-event-modifier.jsonc b/packages/courses-config/chibivue-ja/chapters/044-event-modifier.jsonc similarity index 70% rename from packages/courses-config/chibivue-ja/chapters/048-event-modifier.jsonc rename to packages/courses-config/chibivue-ja/chapters/044-event-modifier.jsonc index 383f553..ec8d48f 100644 --- a/packages/courses-config/chibivue-ja/chapters/048-event-modifier.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/044-event-modifier.jsonc @@ -1,74 +1,70 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", "id": "event-modifier", - "title": "withModifiers", + "title": "compiler-dom とイベント修飾子", "fromDir": "50_basic_template_compiler/025_v_on", - "toDir": "50_basic_template_compiler/027_event_modifier", + "toDir": "50_basic_template_compiler/027_event_modifier2", "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/027-event-modifier", "changedFiles": [ - { - "path": "examples/playground/package.json", - "kind": "D", - }, - { - "path": "examples/playground/pnpm-lock.yaml", - "kind": "U", - }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vOn.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/transforms/vOn.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/directives/vOn.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/runtimeHelpers.ts", - "kind": "U", + "kind": "U" }, { - "path": "tests/e2e.spec.ts", - "kind": "M", + "path": "packages/shared/general.ts", + "kind": "M" }, + { + "path": "tests/e2e.spec.ts", + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/050-fragment.jsonc b/packages/courses-config/chibivue-ja/chapters/045-fragment.jsonc similarity index 83% rename from packages/courses-config/chibivue-ja/chapters/050-fragment.jsonc rename to packages/courses-config/chibivue-ja/chapters/045-fragment.jsonc index d72ac74..930937e 100644 --- a/packages/courses-config/chibivue-ja/chapters/050-fragment.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/045-fragment.jsonc @@ -8,51 +8,51 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/h.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/051-comment.jsonc b/packages/courses-config/chibivue-ja/chapters/046-comment.jsonc similarity index 83% rename from packages/courses-config/chibivue-ja/chapters/051-comment.jsonc rename to packages/courses-config/chibivue-ja/chapters/046-comment.jsonc index b163c6b..27c9b76 100644 --- a/packages/courses-config/chibivue-ja/chapters/051-comment.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/046-comment.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/052-v-if.jsonc b/packages/courses-config/chibivue-ja/chapters/047-v-if-and-structural-directive.jsonc similarity index 83% rename from packages/courses-config/chibivue-ja/chapters/052-v-if.jsonc rename to packages/courses-config/chibivue-ja/chapters/047-v-if-and-structural-directive.jsonc index 6e2f648..64ccfb1 100644 --- a/packages/courses-config/chibivue-ja/chapters/052-v-if.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/047-v-if-and-structural-directive.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "v-if", + "id": "v-if-and-structural-directive", "title": "v-if と構造的ディレクティブ", "fromDir": "50_basic_template_compiler/035_comment", "toDir": "50_basic_template_compiler/040_v_if_and_structural_directive", @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vIf.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/053-v-for.jsonc b/packages/courses-config/chibivue-ja/chapters/048-v-for.jsonc similarity index 82% rename from packages/courses-config/chibivue-ja/chapters/053-v-for.jsonc rename to packages/courses-config/chibivue-ja/chapters/048-v-for.jsonc index 3f5251f..c57d8b1 100644 --- a/packages/courses-config/chibivue-ja/chapters/053-v-for.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/048-v-for.jsonc @@ -8,71 +8,71 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.js", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/vite.config.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vFor.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/helpers/renderList.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/049-event-modifier2.jsonc b/packages/courses-config/chibivue-ja/chapters/049-event-modifier2.jsonc deleted file mode 100644 index eee6de7..0000000 --- a/packages/courses-config/chibivue-ja/chapters/049-event-modifier2.jsonc +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "event-modifier2", - "title": "その他のイベント修飾子", - "fromDir": "50_basic_template_compiler/027_event_modifier", - "toDir": "50_basic_template_compiler/027_event_modifier2", - "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/027-event-modifier", - "changedFiles": [ - { - "path": "examples/playground/package.json", - "kind": "U", - }, - { - "path": "examples/playground/pnpm-lock.yaml", - "kind": "D", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/compiler-dom/transforms/vOn.ts", - "kind": "M", - }, - { - "path": "packages/runtime-dom/directives/vOn.ts", - "kind": "M", - }, - { - "path": "packages/runtime-dom/runtimeHelpers.ts", - "kind": "M", - }, - { - "path": "packages/shared/general.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-ja/chapters/054-resolve-components.jsonc b/packages/courses-config/chibivue-ja/chapters/049-resolve-component.jsonc similarity index 80% rename from packages/courses-config/chibivue-ja/chapters/054-resolve-components.jsonc rename to packages/courses-config/chibivue-ja/chapters/049-resolve-component.jsonc index 61fb5a4..c258db9 100644 --- a/packages/courses-config/chibivue-ja/chapters/054-resolve-components.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/049-resolve-component.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "resolve-components", + "id": "resolve-component", "title": "コンポーネントを解決する", "fromDir": "50_basic_template_compiler/050_v_for", "toDir": "50_basic_template_compiler/060_resolve_components", @@ -8,95 +8,95 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/components/Counter.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.js", - "kind": "D", + "kind": "D" }, { "path": "examples/playground/vite.config.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/parserOptions.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/helpers/resolveAssets.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/domTagConfig.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/055-component-slot-outlet.jsonc b/packages/courses-config/chibivue-ja/chapters/050-component-slot-outlet.jsonc similarity index 83% rename from packages/courses-config/chibivue-ja/chapters/055-component-slot-outlet.jsonc rename to packages/courses-config/chibivue-ja/chapters/050-component-slot-outlet.jsonc index 5052967..a23090a 100644 --- a/packages/courses-config/chibivue-ja/chapters/055-component-slot-outlet.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/050-component-slot-outlet.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Comp.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/components/Counter.vue", - "kind": "D", + "kind": "D" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformSlotOutlet.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/helpers/renderSlot.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/056-component-slot-insert.jsonc b/packages/courses-config/chibivue-ja/chapters/051-component-slot-insert.jsonc similarity index 85% rename from packages/courses-config/chibivue-ja/chapters/056-component-slot-insert.jsonc rename to packages/courses-config/chibivue-ja/chapters/051-component-slot-insert.jsonc index 49d863f..939de78 100644 --- a/packages/courses-config/chibivue-ja/chapters/056-component-slot-insert.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/051-component-slot-insert.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vSlot.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/057-other-directives.jsonc b/packages/courses-config/chibivue-ja/chapters/052-other-directives.jsonc similarity index 83% rename from packages/courses-config/chibivue-ja/chapters/057-other-directives.jsonc rename to packages/courses-config/chibivue-ja/chapters/052-other-directives.jsonc index bed5b3c..6d28b7a 100644 --- a/packages/courses-config/chibivue-ja/chapters/057-other-directives.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/052-other-directives.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Comp.vue", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vSlot.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/transforms/vHtml.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-dom/transforms/vText.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/058-chore-compiler.jsonc b/packages/courses-config/chibivue-ja/chapters/053-chore-compiler.jsonc similarity index 100% rename from packages/courses-config/chibivue-ja/chapters/058-chore-compiler.jsonc rename to packages/courses-config/chibivue-ja/chapters/053-chore-compiler.jsonc diff --git a/packages/courses-config/chibivue-ja/chapters/054-parser-optimization.jsonc b/packages/courses-config/chibivue-ja/chapters/054-parser-optimization.jsonc new file mode 100644 index 0000000..e171220 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/054-parser-optimization.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "parser-optimization", + "title": "パーサーの最適化", + "fromDir": "50_basic_template_compiler/100_chore_compiler", + "toDir": "50_basic_template_compiler/100_chore_compiler", + "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/110-parser-optimization", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/055-custom-directive.jsonc b/packages/courses-config/chibivue-ja/chapters/055-custom-directive.jsonc new file mode 100644 index 0000000..0a54309 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/055-custom-directive.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "custom-directive", + "title": "カスタムディレクティブ", + "fromDir": "50_basic_template_compiler/100_chore_compiler", + "toDir": "50_basic_template_compiler/100_chore_compiler", + "docs": "https://book.chibivue.land/ja/50-basic-template-compiler/500-custom-directive", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/059-script-setup.jsonc b/packages/courses-config/chibivue-ja/chapters/056-script-setup.jsonc similarity index 86% rename from packages/courses-config/chibivue-ja/chapters/059-script-setup.jsonc rename to packages/courses-config/chibivue-ja/chapters/056-script-setup.jsonc index 792cf20..978e193 100644 --- a/packages/courses-config/chibivue-ja/chapters/059-script-setup.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/056-script-setup.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/060-define-props.jsonc b/packages/courses-config/chibivue-ja/chapters/057-define-props.jsonc similarity index 85% rename from packages/courses-config/chibivue-ja/chapters/060-define-props.jsonc rename to packages/courses-config/chibivue-ja/chapters/057-define-props.jsonc index 134730e..c1f4bd1 100644 --- a/packages/courses-config/chibivue-ja/chapters/060-define-props.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/057-define-props.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/061-define-emits.jsonc b/packages/courses-config/chibivue-ja/chapters/058-define-emits.jsonc similarity index 88% rename from packages/courses-config/chibivue-ja/chapters/061-define-emits.jsonc rename to packages/courses-config/chibivue-ja/chapters/058-define-emits.jsonc index 6574531..239cc9f 100644 --- a/packages/courses-config/chibivue-ja/chapters/061-define-emits.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/058-define-emits.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/062-scoped-css.jsonc b/packages/courses-config/chibivue-ja/chapters/059-scoped-css.jsonc similarity index 88% rename from packages/courses-config/chibivue-ja/chapters/062-scoped-css.jsonc rename to packages/courses-config/chibivue-ja/chapters/059-scoped-css.jsonc index dae9743..fb28d6b 100644 --- a/packages/courses-config/chibivue-ja/chapters/062-scoped-css.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/059-scoped-css.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/063-props-destructure.jsonc b/packages/courses-config/chibivue-ja/chapters/060-props-destructure.jsonc similarity index 90% rename from packages/courses-config/chibivue-ja/chapters/063-props-destructure.jsonc rename to packages/courses-config/chibivue-ja/chapters/060-props-destructure.jsonc index 5153207..c1956f4 100644 --- a/packages/courses-config/chibivue-ja/chapters/063-props-destructure.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/060-props-destructure.jsonc @@ -8,15 +8,15 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/064-type-based-macros.jsonc b/packages/courses-config/chibivue-ja/chapters/061-type-based-macros.jsonc similarity index 89% rename from packages/courses-config/chibivue-ja/chapters/064-type-based-macros.jsonc rename to packages/courses-config/chibivue-ja/chapters/061-type-based-macros.jsonc index 32e7809..9c863af 100644 --- a/packages/courses-config/chibivue-ja/chapters/064-type-based-macros.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/061-type-based-macros.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/062-router.jsonc b/packages/courses-config/chibivue-ja/chapters/062-router.jsonc new file mode 100644 index 0000000..b872e34 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/062-router.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "router", + "title": "ルーター", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/ja/90-web-application-essentials/010-plugins/010-router", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/063-preprocessors.jsonc b/packages/courses-config/chibivue-ja/chapters/063-preprocessors.jsonc new file mode 100644 index 0000000..3652738 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/063-preprocessors.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "preprocessors", + "title": "CSS プリプロセッサ", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/ja/90-web-application-essentials/010-plugins/020-preprocessors", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/064-store.jsonc b/packages/courses-config/chibivue-ja/chapters/064-store.jsonc new file mode 100644 index 0000000..b2feb04 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/064-store.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "store", + "title": "ストア", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/ja/90-web-application-essentials/010-plugins/020-store", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/065-data-fetch.jsonc b/packages/courses-config/chibivue-ja/chapters/065-data-fetch.jsonc new file mode 100644 index 0000000..aae9cbf --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/065-data-fetch.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "data-fetch", + "title": "データフェッチ", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/ja/90-web-application-essentials/010-plugins/030-data-fetch", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/066-language-tools.jsonc b/packages/courses-config/chibivue-ja/chapters/066-language-tools.jsonc new file mode 100644 index 0000000..847f1fb --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/066-language-tools.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "language-tools", + "title": "Language Tools", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/ja/90-web-application-essentials/010-plugins/040-language-tools", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/065-ssr.jsonc b/packages/courses-config/chibivue-ja/chapters/067-create-ssr-app.jsonc similarity index 80% rename from packages/courses-config/chibivue-ja/chapters/065-ssr.jsonc rename to packages/courses-config/chibivue-ja/chapters/067-create-ssr-app.jsonc index b3edcbd..a288e6a 100644 --- a/packages/courses-config/chibivue-ja/chapters/065-ssr.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/067-create-ssr-app.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "ssr", + "id": "create-ssr-app", "title": "renderToString", "fromDir": "60_basic_sfc_compiler/060_type_based_macros", "toDir": "90_web_application_essentials/010_ssr", @@ -8,103 +8,103 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/hydration.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/server-renderer/helpers/ssrInterpolate.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/helpers/ssrRenderAttrs.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/helpers/ssrRenderList.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/helpers/ssrUtils.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/render.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/renderToString.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/068-hydration.jsonc b/packages/courses-config/chibivue-ja/chapters/068-hydration.jsonc new file mode 100644 index 0000000..e891249 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/068-hydration.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "hydration", + "title": "Hydration", + "fromDir": "90_web_application_essentials/010_ssr", + "toDir": "90_web_application_essentials/010_ssr", + "docs": "https://book.chibivue.land/ja/90-web-application-essentials/020-ssr/020-hydration", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/069-compiler-ssr.jsonc b/packages/courses-config/chibivue-ja/chapters/069-compiler-ssr.jsonc new file mode 100644 index 0000000..c63bfad --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/069-compiler-ssr.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "compiler-ssr", + "title": "Compiler SSR", + "fromDir": "90_web_application_essentials/010_ssr", + "toDir": "90_web_application_essentials/010_ssr", + "docs": "https://book.chibivue.land/ja/90-web-application-essentials/020-ssr/030-compiler-ssr", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/066-keep-alive.jsonc b/packages/courses-config/chibivue-ja/chapters/070-keep-alive.jsonc similarity index 83% rename from packages/courses-config/chibivue-ja/chapters/066-keep-alive.jsonc rename to packages/courses-config/chibivue-ja/chapters/070-keep-alive.jsonc index 2da50c1..0d298aa 100644 --- a/packages/courses-config/chibivue-ja/chapters/066-keep-alive.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/070-keep-alive.jsonc @@ -8,51 +8,51 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Counter.vue", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/apiLifecycle.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/components/KeepAlive.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/hydration.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/shapeFlags.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/067-transition.jsonc b/packages/courses-config/chibivue-ja/chapters/071-transition.jsonc similarity index 86% rename from packages/courses-config/chibivue-ja/chapters/067-transition.jsonc rename to packages/courses-config/chibivue-ja/chapters/071-transition.jsonc index 7ddb6c4..63acfcf 100644 --- a/packages/courses-config/chibivue-ja/chapters/067-transition.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/071-transition.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Counter.vue", - "kind": "D", + "kind": "D" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/components/Transition.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/068-static-hoisting.jsonc b/packages/courses-config/chibivue-ja/chapters/072-static-hoisting.jsonc similarity index 87% rename from packages/courses-config/chibivue-ja/chapters/068-static-hoisting.jsonc rename to packages/courses-config/chibivue-ja/chapters/072-static-hoisting.jsonc index 55e808c..3f11e84 100644 --- a/packages/courses-config/chibivue-ja/chapters/068-static-hoisting.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/072-static-hoisting.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/069-patch-flags.jsonc b/packages/courses-config/chibivue-ja/chapters/073-patch-flags.jsonc similarity index 85% rename from packages/courses-config/chibivue-ja/chapters/069-patch-flags.jsonc rename to packages/courses-config/chibivue-ja/chapters/073-patch-flags.jsonc index 01953b1..e397dde 100644 --- a/packages/courses-config/chibivue-ja/chapters/069-patch-flags.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/073-patch-flags.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/patchFlags.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/074-tree-flattening.jsonc b/packages/courses-config/chibivue-ja/chapters/074-tree-flattening.jsonc new file mode 100644 index 0000000..628876b --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/074-tree-flattening.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "tree-flattening", + "title": "Tree Flattening", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/ja/90-web-application-essentials/040-optimizations/030-tree-flattening", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/075-introduction.jsonc b/packages/courses-config/chibivue-ja/chapters/075-introduction.jsonc new file mode 100644 index 0000000..1aac1f6 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/075-introduction.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "introduction", + "title": "Vapor Mode", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/ja/90-web-application-essentials/050-vapor/010-introduction", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/076-vapor-compiler.jsonc b/packages/courses-config/chibivue-ja/chapters/076-vapor-compiler.jsonc new file mode 100644 index 0000000..4be25a5 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/076-vapor-compiler.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "vapor-compiler", + "title": "Vapor Compiler", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/ja/90-web-application-essentials/050-vapor/020-vapor-compiler", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/077-vapor-ssr.jsonc b/packages/courses-config/chibivue-ja/chapters/077-vapor-ssr.jsonc new file mode 100644 index 0000000..743f263 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/077-vapor-ssr.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "vapor-ssr", + "title": "Vapor SSR", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/ja/90-web-application-essentials/050-vapor/030-vapor-ssr", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/078-hot-paths.jsonc b/packages/courses-config/chibivue-ja/chapters/078-hot-paths.jsonc new file mode 100644 index 0000000..800efb0 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/078-hot-paths.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "hot-paths", + "title": "概要", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/ja/bonus/hot-paths", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/079-beginner-30-min-hands-on.jsonc b/packages/courses-config/chibivue-ja/chapters/079-beginner-30-min-hands-on.jsonc new file mode 100644 index 0000000..dfa0bad --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/079-beginner-30-min-hands-on.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "beginner-30-min-hands-on", + "title": "初心者向け 30 分ハンズオン", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/ja/bonus/hot-paths/beginner-30-min-hands-on", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/080-beginner-60-min-hands-on.jsonc b/packages/courses-config/chibivue-ja/chapters/080-beginner-60-min-hands-on.jsonc new file mode 100644 index 0000000..dbaa3de --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/080-beginner-60-min-hands-on.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "beginner-60-min-hands-on", + "title": "初心者向け 1 時間ハンズオン", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/ja/bonus/hot-paths/beginner-60-min-hands-on", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/081-intermediate-60-min-hands-on.jsonc b/packages/courses-config/chibivue-ja/chapters/081-intermediate-60-min-hands-on.jsonc new file mode 100644 index 0000000..42cabe8 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/081-intermediate-60-min-hands-on.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "intermediate-60-min-hands-on", + "title": "中級者向け 1 時間ハンズオン", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/ja/bonus/hot-paths/intermediate-60-min-hands-on", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/082-advanced-30-min-summary.jsonc b/packages/courses-config/chibivue-ja/chapters/082-advanced-30-min-summary.jsonc new file mode 100644 index 0000000..abe7fe8 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/082-advanced-30-min-summary.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "advanced-30-min-summary", + "title": "上級者向け 30 分サマリ", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/ja/bonus/hot-paths/advanced-30-min-summary", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/083-hyper-ultimate-super-extreme-minimal-vue.jsonc b/packages/courses-config/chibivue-ja/chapters/083-hyper-ultimate-super-extreme-minimal-vue.jsonc new file mode 100644 index 0000000..d889067 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/083-hyper-ultimate-super-extreme-minimal-vue.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "hyper-ultimate-super-extreme-minimal-vue", + "title": "chibivue、デカくないですか...?", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/ja/bonus/hyper-ultimate-super-extreme-minimal-vue", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-ja/chapters/070-minimal-vue.jsonc b/packages/courses-config/chibivue-ja/chapters/084-15-min-impl.jsonc similarity index 68% rename from packages/courses-config/chibivue-ja/chapters/070-minimal-vue.jsonc rename to packages/courses-config/chibivue-ja/chapters/084-15-min-impl.jsonc index 73de507..2c9a675 100644 --- a/packages/courses-config/chibivue-ja/chapters/070-minimal-vue.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/084-15-min-impl.jsonc @@ -1,46 +1,54 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "minimal-vue", - "title": "15 分で Vue を作る", + "id": "15-min-impl", + "title": "実装", "fromDir": "", "toDir": "bonus/hyper-ultimate-super-extreme-minimal-vue", - "docs": "https://book.chibivue.land/ja/bonus/hyper-ultimate-super-extreme-minimal-vue/", + "docs": "https://book.chibivue.land/ja/bonus/hyper-ultimate-super-extreme-minimal-vue/15-min-impl", "changedFiles": [ { "path": "examples/playground/index.html", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/package.json", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/tsconfig.json", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/vite.config.ts", - "kind": "U", + "kind": "U" }, { "path": "package.json", - "kind": "U", + "kind": "U" }, { "path": "packages/index.ts", - "kind": "U", + "kind": "U" + }, + { + "path": "pnpm-workspace.yaml", + "kind": "U" }, { "path": "tsconfig.json", - "kind": "U", + "kind": "U" }, + { + "path": "vite.config.ts", + "kind": "U" + } ], } diff --git a/packages/courses-config/chibivue-ja/chapters/085-debug-vuejs-core.jsonc b/packages/courses-config/chibivue-ja/chapters/085-debug-vuejs-core.jsonc new file mode 100644 index 0000000..de41109 --- /dev/null +++ b/packages/courses-config/chibivue-ja/chapters/085-debug-vuejs-core.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "debug-vuejs-core", + "title": "本家のソースコードをデバッグする", + "fromDir": "bonus/hyper-ultimate-super-extreme-minimal-vue", + "toDir": "bonus/hyper-ultimate-super-extreme-minimal-vue", + "docs": "https://book.chibivue.land/ja/bonus/debug-vuejs-core", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/001-about.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/001-about.jsonc new file mode 100644 index 0000000..64cfd76 --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/001-about.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "about", + "title": "入门指南", + "fromDir": "", + "toDir": "", + "docs": "https://book.chibivue.land/zh-cn/00-introduction/010-about", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/002-what-is-vue.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/002-what-is-vue.jsonc new file mode 100644 index 0000000..97b1381 --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/002-what-is-vue.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "what-is-vue", + "title": "什么是 Vue.js?", + "fromDir": "", + "toDir": "", + "docs": "https://book.chibivue.land/zh-cn/00-introduction/020-what-is-vue", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/003-vue-core-components.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/003-vue-core-components.jsonc new file mode 100644 index 0000000..4ea0c99 --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/003-vue-core-components.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "vue-core-components", + "title": "Vue.js 的关键要素", + "fromDir": "", + "toDir": "", + "docs": "https://book.chibivue.land/zh-cn/00-introduction/030-vue-core-components", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/001-project-setup.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/004-setup-project.jsonc similarity index 72% rename from packages/courses-config/chibivue-zh-cn/chapters/001-project-setup.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/004-setup-project.jsonc index 34350fa..7dacce2 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/001-project-setup.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/004-setup-project.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "project-setup", + "id": "setup-project", "title": "本书的方法和环境设置", "fromDir": "", "toDir": "00_introduction/010_project_setup", @@ -8,35 +8,43 @@ "changedFiles": [ { "path": "examples/playground/index.html", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/package.json", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/tsconfig.json", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/vite.config.ts", - "kind": "U", + "kind": "U" }, { "path": "package.json", - "kind": "U", + "kind": "U" }, { "path": "packages/index.ts", - "kind": "U", + "kind": "U" + }, + { + "path": "pnpm-workspace.yaml", + "kind": "U" }, { "path": "tsconfig.json", - "kind": "U", + "kind": "U" }, + { + "path": "vite.config.ts", + "kind": "U" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/002-create-app.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/005-create-app-api.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-cn/chapters/002-create-app.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/005-create-app-api.jsonc index d46966e..b6a3595 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/002-create-app.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/005-create-app-api.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "create-app", + "id": "create-app-api", "title": "第一次渲染和 createApp API", "fromDir": "00_introduction/010_project_setup", "toDir": "10_minimum_example/010_create_app", @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "U", - }, + "kind": "U" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/003-package-architecture.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/006-package-architecture.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-cn/chapters/003-package-architecture.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/006-package-architecture.jsonc index eda6a58..eedda63 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/003-package-architecture.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/006-package-architecture.jsonc @@ -8,43 +8,43 @@ "changedFiles": [ { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/004-simple-h-function.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/007-simple-h-function.jsonc similarity index 82% rename from packages/courses-config/chibivue-zh-cn/chapters/004-simple-h-function.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/007-simple-h-function.jsonc index b370aa8..304c524 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/004-simple-h-function.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/007-simple-h-function.jsonc @@ -8,55 +8,55 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/h.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/modules/attrs.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/modules/events.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/patchProp.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/008-event-handler-and-attrs.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/008-event-handler-and-attrs.jsonc new file mode 100644 index 0000000..970ea8b --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/008-event-handler-and-attrs.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "event-handler-and-attrs", + "title": "让我们支持事件处理器和属性", + "fromDir": "10_minimum_example/020_simple_h_function", + "toDir": "10_minimum_example/020_simple_h_function", + "docs": "https://book.chibivue.land/zh-cn/10-minimum-example/025-event-handler-and-attrs", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/009-prerequisite-knowledge-for-the-reactivity-system.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/009-prerequisite-knowledge-for-the-reactivity-system.jsonc new file mode 100644 index 0000000..f82da1d --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/009-prerequisite-knowledge-for-the-reactivity-system.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "prerequisite-knowledge-for-the-reactivity-system", + "title": "响应式系统的前置知识", + "fromDir": "10_minimum_example/020_simple_h_function", + "toDir": "10_minimum_example/020_simple_h_function", + "docs": "https://book.chibivue.land/zh-cn/10-minimum-example/030-prerequisite-knowledge-for-the-reactivity-system", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/005-reactive-system.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc similarity index 80% rename from packages/courses-config/chibivue-zh-cn/chapters/005-reactive-system.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc index 00dbbe5..ecf97e8 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/005-reactive-system.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "reactive-system", + "id": "try-implementing-a-minimum-reactivity-system", "title": "尝试实现一个小型响应式系统", "fromDir": "10_minimum_example/020_simple_h_function", "toDir": "10_minimum_example/030_reactive_system", @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/dep.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/effect.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/reactive.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/006-vdom-system.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/011-minimum-virtual-dom.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-cn/chapters/006-vdom-system.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/011-minimum-virtual-dom.jsonc index f8c5648..c2d20c5 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/006-vdom-system.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/011-minimum-virtual-dom.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "vdom-system", + "id": "minimum-virtual-dom", "title": "最小虚拟 DOM", "fromDir": "10_minimum_example/030_reactive_system", "toDir": "10_minimum_example/040_vdom_system", @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/h.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/007-component-system.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/012-minimum-component.jsonc similarity index 82% rename from packages/courses-config/chibivue-zh-cn/chapters/007-component-system.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/012-minimum-component.jsonc index 771f529..0f2b879 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/007-component-system.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/012-minimum-component.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "component-system", + "id": "minimum-component", "title": "追求组件导向开发", "fromDir": "10_minimum_example/040_vdom_system", "toDir": "10_minimum_example/050_component_system", @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/h.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/008-component-props.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/013-component-props.jsonc similarity index 86% rename from packages/courses-config/chibivue-zh-cn/chapters/008-component-props.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/013-component-props.jsonc index 3dfffea..04c1243 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/008-component-props.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/013-component-props.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/009-component-emits.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/014-component-emits.jsonc similarity index 84% rename from packages/courses-config/chibivue-zh-cn/chapters/009-component-emits.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/014-component-emits.jsonc index b6cc2ef..fa4c2a5 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/009-component-emits.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/014-component-emits.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentEmits.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/shared/index.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/015-template-compiler.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/015-template-compiler.jsonc new file mode 100644 index 0000000..1888dda --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/015-template-compiler.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "template-compiler", + "title": "理解模板编译器", + "fromDir": "10_minimum_example/050_component_system3", + "toDir": "10_minimum_example/050_component_system3", + "docs": "https://book.chibivue.land/zh-cn/10-minimum-example/060-template-compiler", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/010-template-compiler.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/016-template-compiler-impl.jsonc similarity index 80% rename from packages/courses-config/chibivue-zh-cn/chapters/010-template-compiler.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/016-template-compiler-impl.jsonc index 1973072..8afb8a2 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/010-template-compiler.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/016-template-compiler-impl.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "template-compiler", + "id": "template-compiler-impl", "title": "实现模板编译器", "fromDir": "10_minimum_example/050_component_system3", "toDir": "10_minimum_example/060_template_compiler", @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/compile.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/parse.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-dom/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/011-template-compiler-parser.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/017-more-complex-parser.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-cn/chapters/011-template-compiler-parser.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/017-more-complex-parser.jsonc index c8cc382..575a73c 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/011-template-compiler-parser.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/017-more-complex-parser.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "template-compiler-parser", + "id": "more-complex-parser", "title": "希望编写更复杂的 HTML", "fromDir": "10_minimum_example/060_template_compiler", "toDir": "10_minimum_example/060_template_compiler2", @@ -8,23 +8,23 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/012-template-binding.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/018-template-binding.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-cn/chapters/012-template-binding.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/018-template-binding.jsonc index 9754d17..1e93a64 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/012-template-binding.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/018-template-binding.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/013-sfc-prerequisite.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc similarity index 80% rename from packages/courses-config/chibivue-zh-cn/chapters/013-sfc-prerequisite.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc index 9423485..b35b5f4 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/013-sfc-prerequisite.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "sfc-prerequisite", + "id": "prerequisite-knowledge-for-the-sfc", "title": "使用 SFC 开发(外围知识)", "fromDir": "10_minimum_example/060_template_compiler3", "toDir": "10_minimum_example/070_sfc_compiler", @@ -8,67 +8,67 @@ "changedFiles": [ { "path": "plugin-sample/README.md", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/index.html", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/package.json", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/pnpm-lock.yaml", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/public/vite.svg", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/assets/vue.svg", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/components/HelloWorld.vue", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/main.ts", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/plugin.sample.js", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/style.css", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/vite-env.d.ts", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/tsconfig.json", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/tsconfig.node.json", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/vite.config.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/020-next-tick.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/020-next-tick.jsonc deleted file mode 100644 index 307fca9..0000000 --- a/packages/courses-config/chibivue-zh-cn/chapters/020-next-tick.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "next-tick", - "title": "nextTick", - "fromDir": "20_basic_virtual_dom/040_scheduler", - "toDir": "20_basic_virtual_dom/050_next_tick", - "docs": "https://book.chibivue.land/zh-cn/20-basic-virtual-dom/030-scheduler", - "changedFiles": [ - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/index.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/scheduler.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/vnode.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/014-parse-sfc.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/020-parse-sfc.jsonc similarity index 79% rename from packages/courses-config/chibivue-zh-cn/chapters/014-parse-sfc.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/020-parse-sfc.jsonc index 5cf69a7..e0e861e 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/014-parse-sfc.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/020-parse-sfc.jsonc @@ -8,103 +8,103 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileTemplate.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/README.md", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/index.html", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/package.json", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/pnpm-lock.yaml", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/public/vite.svg", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/App.vue", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/assets/vue.svg", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/components/HelloWorld.vue", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/main.ts", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/plugin.sample.js", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/style.css", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/vite-env.d.ts", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/tsconfig.json", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/tsconfig.node.json", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/vite.config.ts", - "kind": "D", + "kind": "D" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/015-compile-sfc-template.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/021-compile-sfc-template.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-cn/chapters/015-compile-sfc-template.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/021-compile-sfc-template.jsonc index 8dfa83d..31a9022 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/015-compile-sfc-template.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/021-compile-sfc-template.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/022-compile-sfc-script.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/022-compile-sfc-script.jsonc new file mode 100644 index 0000000..c060bbb --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/022-compile-sfc-script.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "compile-sfc-script", + "title": "SFC script 块", + "fromDir": "10_minimum_example/070_sfc_compiler3", + "toDir": "10_minimum_example/070_sfc_compiler3", + "docs": "https://book.chibivue.land/zh-cn/10-minimum-example/093-compile-sfc-script", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/022-ref.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/022-ref.jsonc deleted file mode 100644 index bf84d00..0000000 --- a/packages/courses-config/chibivue-zh-cn/chapters/022-ref.jsonc +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "ref", - "title": "ref API", - "fromDir": "20_basic_virtual_dom/060_other_props", - "toDir": "30_basic_reactivity_system/010_ref", - "docs": "https://book.chibivue.land/zh-cn/30-basic-reactivity-system/010-ref-api", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "U", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/effect.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/reactive.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/ref.ts", - "kind": "U", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/016-compile-sfc-style.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/023-compile-sfc-style.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-cn/chapters/016-compile-sfc-style.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/023-compile-sfc-style.jsonc index e6deebc..ed2b088 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/016-compile-sfc-style.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/023-compile-sfc-style.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "package.json", - "kind": "M", + "kind": "M" }, { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/rewriteDefault.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/023-shallow-ref.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/023-shallow-ref.jsonc deleted file mode 100644 index 4a537f4..0000000 --- a/packages/courses-config/chibivue-zh-cn/chapters/023-shallow-ref.jsonc +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "shallow-ref", - "title": "shallowRef", - "fromDir": "30_basic_reactivity_system/010_ref", - "toDir": "30_basic_reactivity_system/020_shallow_ref", - "docs": "https://book.chibivue.land/zh-cn/30-basic-reactivity-system/010-ref-api", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/ref.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/024-break.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/024-break.jsonc new file mode 100644 index 0000000..2dee37a --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/024-break.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "break", + "title": "稍作休息", + "fromDir": "10_minimum_example/070_sfc_compiler4", + "toDir": "10_minimum_example/070_sfc_compiler4", + "docs": "https://book.chibivue.land/zh-cn/10-minimum-example/100-break", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/017-patch-keyed-children.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/025-patch-keyed-children.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-cn/chapters/017-patch-keyed-children.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/025-patch-keyed-children.jsonc index 5e0cc9c..4dac9ca 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/017-patch-keyed-children.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/025-patch-keyed-children.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D", + "kind": "D" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/025-to-refs.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/025-to-refs.jsonc deleted file mode 100644 index f8ab42b..0000000 --- a/packages/courses-config/chibivue-zh-cn/chapters/025-to-refs.jsonc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "to-refs", - "title": "toRefs", - "fromDir": "30_basic_reactivity_system/030_to_ref", - "toDir": "30_basic_reactivity_system/040_to_refs", - "docs": "https://book.chibivue.land/zh-cn/30-basic-reactivity-system/010-ref-api", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/compiler-core/codegen.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/ref.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/018-bit-flags.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/026-bit-flags.jsonc similarity index 86% rename from packages/courses-config/chibivue-zh-cn/chapters/018-bit-flags.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/026-bit-flags.jsonc index c33b85c..1f6be76 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/018-bit-flags.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/026-bit-flags.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/reactivity/baseHandler.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/shapeFlags.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/026-computed.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/026-computed.jsonc deleted file mode 100644 index 7a4b8a9..0000000 --- a/packages/courses-config/chibivue-zh-cn/chapters/026-computed.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "computed", - "title": "computed", - "fromDir": "30_basic_reactivity_system/040_to_refs", - "toDir": "30_basic_reactivity_system/050_computed", - "docs": "https://book.chibivue.land/zh-cn/30-basic-reactivity-system/020-computed-watch", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/computed.ts", - "kind": "U", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/027-computed-setter.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/027-computed-setter.jsonc deleted file mode 100644 index ced0ca3..0000000 --- a/packages/courses-config/chibivue-zh-cn/chapters/027-computed-setter.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "computed-setter", - "title": "computed 的 setter", - "fromDir": "30_basic_reactivity_system/050_computed", - "toDir": "30_basic_reactivity_system/060_computed_setter", - "docs": "https://book.chibivue.land/zh-cn/30-basic-reactivity-system/020-computed-watch", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/computed.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/019-scheduler.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/027-scheduler.jsonc similarity index 69% rename from packages/courses-config/chibivue-zh-cn/chapters/019-scheduler.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/027-scheduler.jsonc index d1b6508..ca32b40 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/019-scheduler.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/027-scheduler.jsonc @@ -3,32 +3,40 @@ "id": "scheduler", "title": "调度器", "fromDir": "20_basic_virtual_dom/020_bit_flags", - "toDir": "20_basic_virtual_dom/040_scheduler", + "toDir": "20_basic_virtual_dom/050_next_tick", "docs": "https://book.chibivue.land/zh-cn/20-basic-virtual-dom/030-scheduler", "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/effect.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/scheduler.ts", - "kind": "U", + "kind": "U" }, { - "path": "tests/e2e.spec.ts", - "kind": "M", + "path": "packages/runtime-core/vnode.ts", + "kind": "M" }, + { + "path": "tests/e2e.spec.ts", + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/021-other-props.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/028-patch-other-attrs.jsonc similarity index 82% rename from packages/courses-config/chibivue-zh-cn/chapters/021-other-props.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/028-patch-other-attrs.jsonc index 67c04e2..2599efc 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/021-other-props.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/028-patch-other-attrs.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "other-props", + "id": "patch-other-attrs", "title": "未处理 Props 的补丁", "fromDir": "20_basic_virtual_dom/050_next_tick", "toDir": "20_basic_virtual_dom/060_other_props", @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/modules/class.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/modules/props.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/modules/style.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/patchProp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/029-reactivity-optimization.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/029-reactivity-optimization.jsonc new file mode 100644 index 0000000..115b611 --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/029-reactivity-optimization.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "reactivity-optimization", + "title": "响应式优化", + "fromDir": "20_basic_virtual_dom/060_other_props", + "toDir": "20_basic_virtual_dom/060_other_props", + "docs": "https://book.chibivue.land/zh-cn/30-basic-reactivity-system/005-reactivity-optimization", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/029-watch-api-extends.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/029-watch-api-extends.jsonc deleted file mode 100644 index 23a8658..0000000 --- a/packages/courses-config/chibivue-zh-cn/chapters/029-watch-api-extends.jsonc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "watch-api-extends", - "title": "watch 的其他 API", - "fromDir": "30_basic_reactivity_system/070_watch", - "toDir": "30_basic_reactivity_system/080_watch_api_extends", - "docs": "https://book.chibivue.land/zh-cn/30-basic-reactivity-system/020-computed-watch", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/apiWatch.ts", - "kind": "M", - }, - { - "path": "packages/shared/general.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/024-to-ref.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/030-ref-api.jsonc similarity index 62% rename from packages/courses-config/chibivue-zh-cn/chapters/024-to-ref.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/030-ref-api.jsonc index 517de70..0d07125 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/024-to-ref.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/030-ref-api.jsonc @@ -1,46 +1,54 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "to-ref", - "title": "toRef", - "fromDir": "30_basic_reactivity_system/020_shallow_ref", - "toDir": "30_basic_reactivity_system/030_to_ref", + "id": "ref-api", + "title": "ref API", + "fromDir": "20_basic_virtual_dom/060_other_props", + "toDir": "30_basic_reactivity_system/040_to_refs", "docs": "https://book.chibivue.land/zh-cn/30-basic-reactivity-system/010-ref-api", "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M" }, { "path": "packages/reactivity/effect.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/index.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "M" }, { "path": "packages/reactivity/ref.ts", - "kind": "M", + "kind": "U" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/typeUtils.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/030-watch-effect.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/030-watch-effect.jsonc deleted file mode 100644 index c6effb9..0000000 --- a/packages/courses-config/chibivue-zh-cn/chapters/030-watch-effect.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "watch-effect", - "title": "watchEffect", - "fromDir": "30_basic_reactivity_system/080_watch_api_extends", - "toDir": "30_basic_reactivity_system/090_watch_effect", - "docs": "https://book.chibivue.land/zh-cn/30-basic-reactivity-system/020-computed-watch", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/apiWatch.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/index.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/028-watch.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/031-computed-watch.jsonc similarity index 59% rename from packages/courses-config/chibivue-zh-cn/chapters/028-watch.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/031-computed-watch.jsonc index 599a2a8..bfc2d88 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/028-watch.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/031-computed-watch.jsonc @@ -1,38 +1,46 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "watch", - "title": "watch", - "fromDir": "30_basic_reactivity_system/060_computed_setter", - "toDir": "30_basic_reactivity_system/070_watch", + "id": "computed-watch", + "title": "computed / watch API", + "fromDir": "30_basic_reactivity_system/040_to_refs", + "toDir": "30_basic_reactivity_system/090_watch_effect", "docs": "https://book.chibivue.land/zh-cn/30-basic-reactivity-system/020-computed-watch", "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/reactivity/computed.ts", + "kind": "U" + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M" }, { "path": "packages/runtime-core/apiWatch.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/031-reactive-proxy-target-type.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/031-reactive-proxy-target-type.jsonc deleted file mode 100644 index 5a4421e..0000000 --- a/packages/courses-config/chibivue-zh-cn/chapters/031-reactive-proxy-target-type.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "reactive-proxy-target-type", - "title": "不应该是响应式的对象", - "fromDir": "30_basic_reactivity_system/090_watch_effect", - "toDir": "30_basic_reactivity_system/100_reactive_proxy_target_type", - "docs": "https://book.chibivue.land/zh-cn/30-basic-reactivity-system/030-reactive-proxy-handlers", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/reactive.ts", - "kind": "M", - }, - { - "path": "packages/shared/general.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/033-proxy-handler-improvement.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/032-reactive-proxy-handlers.jsonc similarity index 60% rename from packages/courses-config/chibivue-zh-cn/chapters/033-proxy-handler-improvement.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/032-reactive-proxy-handlers.jsonc index fcc67c8..30b4a84 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/033-proxy-handler-improvement.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/032-reactive-proxy-handlers.jsonc @@ -1,42 +1,54 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "proxy-handler-improvement", - "title": "支持基于集合的内置对象", - "fromDir": "30_basic_reactivity_system/110_template_refs", + "id": "reactive-proxy-handlers", + "title": "各种响应式代理处理器", + "fromDir": "30_basic_reactivity_system/090_watch_effect", "toDir": "30_basic_reactivity_system/120_proxy_handler_improvement", "docs": "https://book.chibivue.land/zh-cn/30-basic-reactivity-system/030-reactive-proxy-handlers", "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/effect.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/reactive.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M" + }, + { + "path": "packages/runtime-core/rendererTemplateRef.ts", + "kind": "U" + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/032-template-refs.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/032-template-refs.jsonc deleted file mode 100644 index 8be9234..0000000 --- a/packages/courses-config/chibivue-zh-cn/chapters/032-template-refs.jsonc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "template-refs", - "title": "Template Refs", - "fromDir": "30_basic_reactivity_system/100_reactive_proxy_target_type", - "toDir": "30_basic_reactivity_system/110_template_refs", - "docs": "https://book.chibivue.land/zh-cn/30-basic-reactivity-system/030-reactive-proxy-handlers", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "U", - }, - { - "path": "packages/runtime-core/vnode.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/035-effect-scope.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/033-effect-scope.jsonc similarity index 65% rename from packages/courses-config/chibivue-zh-cn/chapters/035-effect-scope.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/033-effect-scope.jsonc index ae3aa4a..cd1dbe4 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/035-effect-scope.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/033-effect-scope.jsonc @@ -1,38 +1,46 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", "id": "effect-scope", - "title": "EffectScope", - "fromDir": "30_basic_reactivity_system/130_cleanup_effects", + "title": "Effect 清理和 Effect 作用域", + "fromDir": "30_basic_reactivity_system/120_proxy_handler_improvement", "toDir": "30_basic_reactivity_system/140_effect_scope", "docs": "https://book.chibivue.land/zh-cn/30-basic-reactivity-system/040-effect-scope", "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "D" + }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/effect.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/effectScope.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/index.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/runtime-core/apiWatch.ts", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/034-cleanup-effects.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/034-cleanup-effects.jsonc deleted file mode 100644 index b6dc7c0..0000000 --- a/packages/courses-config/chibivue-zh-cn/chapters/034-cleanup-effects.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "cleanup-effects", - "title": "ReactiveEffect 的清理", - "fromDir": "30_basic_reactivity_system/120_proxy_handler_improvement", - "toDir": "30_basic_reactivity_system/130_cleanup_effects", - "docs": "https://book.chibivue.land/zh-cn/30-basic-reactivity-system/040-effect-scope", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "D", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/effect.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/apiWatch.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/036-other-apis.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/034-other-apis.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-cn/chapters/036-other-apis.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/034-other-apis.jsonc index 38dfbde..0f00434 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/036-other-apis.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/034-other-apis.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/reactive.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/ref.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/037-lifecycle-hooks.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/035-lifecycle-hooks.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-cn/chapters/037-lifecycle-hooks.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/035-lifecycle-hooks.jsonc index 567fd68..c6a68a7 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/037-lifecycle-hooks.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/035-lifecycle-hooks.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiLifecycle.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/enums.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/scheduler.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/038-provide-inject.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/036-provide-inject.jsonc similarity index 84% rename from packages/courses-config/chibivue-zh-cn/chapters/038-provide-inject.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/036-provide-inject.jsonc index e5943c0..8e2d047 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/038-provide-inject.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/036-provide-inject.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiInject.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/039-component-proxy.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/037-component-proxy-setup-context.jsonc similarity index 71% rename from packages/courses-config/chibivue-zh-cn/chapters/039-component-proxy.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/037-component-proxy-setup-context.jsonc index 86a1b56..682eb94 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/039-component-proxy.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/037-component-proxy-setup-context.jsonc @@ -1,50 +1,54 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "component-proxy", - "title": "组件代理", + "id": "component-proxy-setup-context", + "title": "组件代理和 setupContext", "fromDir": "40_basic_component_system/020_provide_inject", - "toDir": "40_basic_component_system/030_component_proxy", + "toDir": "40_basic_component_system/040_setup_context", "docs": "https://book.chibivue.land/zh-cn/40-basic-component-system/030-component-proxy-setup-context", "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M" }, { "path": "packages/runtime-core/apiDefineComponent.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/041-component-slot.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/038-component-slot.jsonc similarity index 66% rename from packages/courses-config/chibivue-zh-cn/chapters/041-component-slot.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/038-component-slot.jsonc index 8b16311..db972e0 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/041-component-slot.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/038-component-slot.jsonc @@ -1,54 +1,46 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", "id": "component-slot", - "title": "默认插槽", + "title": "插槽", "fromDir": "40_basic_component_system/040_setup_context", - "toDir": "40_basic_component_system/050_component_slot", + "toDir": "40_basic_component_system/060_slot_extend", "docs": "https://book.chibivue.land/zh-cn/40-basic-component-system/040-component-slot", "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "U", + "kind": "M" }, { "path": "packages/runtime-core/componentSlots.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/h.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/shapeFlags.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/typeUtils.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/043-options-api.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/039-options-api.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-cn/chapters/043-options-api.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/039-options-api.jsonc index 12c4408..df15b00 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/043-options-api.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/039-options-api.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiDefineComponent.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentEmits.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/typeUtils.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/040-setup-context.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/040-setup-context.jsonc deleted file mode 100644 index dd18c1c..0000000 --- a/packages/courses-config/chibivue-zh-cn/chapters/040-setup-context.jsonc +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "setup-context", - "title": "setupContext", - "fromDir": "40_basic_component_system/030_component_proxy", - "toDir": "40_basic_component_system/040_setup_context", - "docs": "https://book.chibivue.land/zh-cn/40-basic-component-system/030-component-proxy-setup-context", - "changedFiles": [ - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/ref.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/component.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/044-transformer.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/040-transform.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-cn/chapters/044-transformer.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/040-transform.jsonc index 8d9e9b4..9dcd20b 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/044-transformer.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/040-transform.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "transformer", + "id": "transform", "title": "重构 Transformer 的 Codegen 实现", "fromDir": "40_basic_component_system/070_options_api", "toDir": "50_basic_template_compiler/010_transformer", @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/045-v-bind.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/041-v-bind.jsonc similarity index 82% rename from packages/courses-config/chibivue-zh-cn/chapters/045-v-bind.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/041-v-bind.jsonc index 5a55b4c..04e7bb1 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/045-v-bind.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/041-v-bind.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vBind.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/normalizeProp.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/042-slot-extend.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/042-slot-extend.jsonc deleted file mode 100644 index 6b3164e..0000000 --- a/packages/courses-config/chibivue-zh-cn/chapters/042-slot-extend.jsonc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "slot-extend", - "title": "命名插槽与作用域插槽", - "fromDir": "40_basic_component_system/050_component_slot", - "toDir": "40_basic_component_system/060_slot_extend", - "docs": "https://book.chibivue.land/zh-cn/40-basic-component-system/040-component-slot", - "changedFiles": [ - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "D", - }, - { - "path": "packages/runtime-core/index.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/vnode.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/046-transform-expression.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/042-transform-expression.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-cn/chapters/046-transform-expression.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/042-transform-expression.jsonc index 860e983..cbce7f9 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/046-transform-expression.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/042-transform-expression.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/transforms/vBind.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/makeMap.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/047-v-on.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/043-v-on.jsonc similarity index 82% rename from packages/courses-config/chibivue-zh-cn/chapters/047-v-on.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/043-v-on.jsonc index 1a55819..595ad3a 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/047-v-on.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/043-v-on.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D", + "kind": "D" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vOn.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/helpers/toHandlers.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/048-event-modifier.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/044-event-modifier.jsonc similarity index 70% rename from packages/courses-config/chibivue-zh-cn/chapters/048-event-modifier.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/044-event-modifier.jsonc index 3a0a8e2..262231f 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/048-event-modifier.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/044-event-modifier.jsonc @@ -1,74 +1,70 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", "id": "event-modifier", - "title": "withModifiers", + "title": "compiler-dom 和事件修饰符", "fromDir": "50_basic_template_compiler/025_v_on", - "toDir": "50_basic_template_compiler/027_event_modifier", + "toDir": "50_basic_template_compiler/027_event_modifier2", "docs": "https://book.chibivue.land/zh-cn/50-basic-template-compiler/027-event-modifier", "changedFiles": [ - { - "path": "examples/playground/package.json", - "kind": "D", - }, - { - "path": "examples/playground/pnpm-lock.yaml", - "kind": "U", - }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vOn.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/transforms/vOn.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/directives/vOn.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/runtimeHelpers.ts", - "kind": "U", + "kind": "U" }, { - "path": "tests/e2e.spec.ts", - "kind": "M", + "path": "packages/shared/general.ts", + "kind": "M" }, + { + "path": "tests/e2e.spec.ts", + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/050-fragment.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/045-fragment.jsonc similarity index 82% rename from packages/courses-config/chibivue-zh-cn/chapters/050-fragment.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/045-fragment.jsonc index f1b210b..da373b1 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/050-fragment.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/045-fragment.jsonc @@ -8,51 +8,51 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/h.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/051-comment.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/046-comment.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-cn/chapters/051-comment.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/046-comment.jsonc index 69226e0..a60b5d5 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/051-comment.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/046-comment.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/052-v-if.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/047-v-if-and-structural-directive.jsonc similarity index 82% rename from packages/courses-config/chibivue-zh-cn/chapters/052-v-if.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/047-v-if-and-structural-directive.jsonc index e061e8c..6dd7ab5 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/052-v-if.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/047-v-if-and-structural-directive.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "v-if", + "id": "v-if-and-structural-directive", "title": "v-if 和结构指令", "fromDir": "50_basic_template_compiler/035_comment", "toDir": "50_basic_template_compiler/040_v_if_and_structural_directive", @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vIf.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/053-v-for.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/048-v-for.jsonc similarity index 82% rename from packages/courses-config/chibivue-zh-cn/chapters/053-v-for.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/048-v-for.jsonc index 130a479..228d9cd 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/053-v-for.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/048-v-for.jsonc @@ -8,71 +8,71 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.js", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/vite.config.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vFor.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/helpers/renderList.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/049-event-modifier2.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/049-event-modifier2.jsonc deleted file mode 100644 index c0e8a07..0000000 --- a/packages/courses-config/chibivue-zh-cn/chapters/049-event-modifier2.jsonc +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "event-modifier2", - "title": "其他事件修饰符", - "fromDir": "50_basic_template_compiler/027_event_modifier", - "toDir": "50_basic_template_compiler/027_event_modifier2", - "docs": "https://book.chibivue.land/zh-cn/50-basic-template-compiler/027-event-modifier", - "changedFiles": [ - { - "path": "examples/playground/package.json", - "kind": "U", - }, - { - "path": "examples/playground/pnpm-lock.yaml", - "kind": "D", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/compiler-dom/transforms/vOn.ts", - "kind": "M", - }, - { - "path": "packages/runtime-dom/directives/vOn.ts", - "kind": "M", - }, - { - "path": "packages/runtime-dom/runtimeHelpers.ts", - "kind": "M", - }, - { - "path": "packages/shared/general.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/054-resolve-components.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/049-resolve-component.jsonc similarity index 80% rename from packages/courses-config/chibivue-zh-cn/chapters/054-resolve-components.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/049-resolve-component.jsonc index 605da68..9cfb78d 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/054-resolve-components.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/049-resolve-component.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "resolve-components", + "id": "resolve-component", "title": "解析组件", "fromDir": "50_basic_template_compiler/050_v_for", "toDir": "50_basic_template_compiler/060_resolve_components", @@ -8,95 +8,95 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/components/Counter.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.js", - "kind": "D", + "kind": "D" }, { "path": "examples/playground/vite.config.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/parserOptions.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/helpers/resolveAssets.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/domTagConfig.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/055-component-slot-outlet.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/050-component-slot-outlet.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-cn/chapters/055-component-slot-outlet.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/050-component-slot-outlet.jsonc index 3d3e68a..0f37828 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/055-component-slot-outlet.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/050-component-slot-outlet.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Comp.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/components/Counter.vue", - "kind": "D", + "kind": "D" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformSlotOutlet.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/helpers/renderSlot.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/056-component-slot-insert.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/051-component-slot-insert.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-cn/chapters/056-component-slot-insert.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/051-component-slot-insert.jsonc index 8c8a133..7de61ef 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/056-component-slot-insert.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/051-component-slot-insert.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vSlot.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/057-other-directives.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/052-other-directives.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-cn/chapters/057-other-directives.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/052-other-directives.jsonc index a10926a..2c284d7 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/057-other-directives.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/052-other-directives.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Comp.vue", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vSlot.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/transforms/vHtml.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-dom/transforms/vText.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/058-chore-compiler.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/053-chore-compiler.jsonc similarity index 100% rename from packages/courses-config/chibivue-zh-cn/chapters/058-chore-compiler.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/053-chore-compiler.jsonc diff --git a/packages/courses-config/chibivue-zh-cn/chapters/054-parser-optimization.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/054-parser-optimization.jsonc new file mode 100644 index 0000000..3b5b891 --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/054-parser-optimization.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "parser-optimization", + "title": "解析器优化", + "fromDir": "50_basic_template_compiler/100_chore_compiler", + "toDir": "50_basic_template_compiler/100_chore_compiler", + "docs": "https://book.chibivue.land/zh-cn/50-basic-template-compiler/110-parser-optimization", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/055-custom-directive.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/055-custom-directive.jsonc new file mode 100644 index 0000000..b4af99d --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/055-custom-directive.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "custom-directive", + "title": "自定义指令", + "fromDir": "50_basic_template_compiler/100_chore_compiler", + "toDir": "50_basic_template_compiler/100_chore_compiler", + "docs": "https://book.chibivue.land/zh-cn/50-basic-template-compiler/500-custom-directive", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/059-script-setup.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/056-script-setup.jsonc similarity index 86% rename from packages/courses-config/chibivue-zh-cn/chapters/059-script-setup.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/056-script-setup.jsonc index 8b224ed..125f907 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/059-script-setup.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/056-script-setup.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/060-define-props.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/057-define-props.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-cn/chapters/060-define-props.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/057-define-props.jsonc index 841205f..5081b2c 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/060-define-props.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/057-define-props.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/061-define-emits.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/058-define-emits.jsonc similarity index 88% rename from packages/courses-config/chibivue-zh-cn/chapters/061-define-emits.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/058-define-emits.jsonc index 8b7738b..c434b1b 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/061-define-emits.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/058-define-emits.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/062-scoped-css.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/059-scoped-css.jsonc similarity index 88% rename from packages/courses-config/chibivue-zh-cn/chapters/062-scoped-css.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/059-scoped-css.jsonc index 75f7b97..a6cd3be 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/062-scoped-css.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/059-scoped-css.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/063-props-destructure.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/060-props-destructure.jsonc similarity index 90% rename from packages/courses-config/chibivue-zh-cn/chapters/063-props-destructure.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/060-props-destructure.jsonc index 13db1f5..23a4352 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/063-props-destructure.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/060-props-destructure.jsonc @@ -8,15 +8,15 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/064-type-based-macros.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/061-type-based-macros.jsonc similarity index 89% rename from packages/courses-config/chibivue-zh-cn/chapters/064-type-based-macros.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/061-type-based-macros.jsonc index 4f1d5e1..27496b8 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/064-type-based-macros.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/061-type-based-macros.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/062-router.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/062-router.jsonc new file mode 100644 index 0000000..16f0f67 --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/062-router.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "router", + "title": "路由器", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/zh-cn/90-web-application-essentials/010-plugins/010-router", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/063-preprocessors.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/063-preprocessors.jsonc new file mode 100644 index 0000000..71fd467 --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/063-preprocessors.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "preprocessors", + "title": "CSS 预处理器", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/zh-cn/90-web-application-essentials/010-plugins/020-preprocessors", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/064-store.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/064-store.jsonc new file mode 100644 index 0000000..c8d882e --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/064-store.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "store", + "title": "状态管理", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/zh-cn/90-web-application-essentials/010-plugins/020-store", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/065-data-fetch.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/065-data-fetch.jsonc new file mode 100644 index 0000000..5da3069 --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/065-data-fetch.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "data-fetch", + "title": "数据获取", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/zh-cn/90-web-application-essentials/010-plugins/030-data-fetch", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/066-language-tools.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/066-language-tools.jsonc new file mode 100644 index 0000000..8b77ffb --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/066-language-tools.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "language-tools", + "title": "Language Tools", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/zh-cn/90-web-application-essentials/010-plugins/040-language-tools", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/065-ssr.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/067-create-ssr-app.jsonc similarity index 80% rename from packages/courses-config/chibivue-zh-cn/chapters/065-ssr.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/067-create-ssr-app.jsonc index 3b6d88a..ff06370 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/065-ssr.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/067-create-ssr-app.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "ssr", + "id": "create-ssr-app", "title": "renderToString", "fromDir": "60_basic_sfc_compiler/060_type_based_macros", "toDir": "90_web_application_essentials/010_ssr", @@ -8,103 +8,103 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/hydration.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/server-renderer/helpers/ssrInterpolate.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/helpers/ssrRenderAttrs.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/helpers/ssrRenderList.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/helpers/ssrUtils.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/render.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/renderToString.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/068-hydration.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/068-hydration.jsonc new file mode 100644 index 0000000..a1b4c77 --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/068-hydration.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "hydration", + "title": "Hydration(水合)", + "fromDir": "90_web_application_essentials/010_ssr", + "toDir": "90_web_application_essentials/010_ssr", + "docs": "https://book.chibivue.land/zh-cn/90-web-application-essentials/020-ssr/020-hydration", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/069-compiler-ssr.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/069-compiler-ssr.jsonc new file mode 100644 index 0000000..f4f6ed9 --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/069-compiler-ssr.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "compiler-ssr", + "title": "Compiler SSR", + "fromDir": "90_web_application_essentials/010_ssr", + "toDir": "90_web_application_essentials/010_ssr", + "docs": "https://book.chibivue.land/zh-cn/90-web-application-essentials/020-ssr/030-compiler-ssr", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/066-keep-alive.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/070-keep-alive.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-cn/chapters/066-keep-alive.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/070-keep-alive.jsonc index 0737c82..caec97c 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/066-keep-alive.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/070-keep-alive.jsonc @@ -8,51 +8,51 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Counter.vue", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/apiLifecycle.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/components/KeepAlive.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/hydration.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/shapeFlags.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/067-transition.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/071-transition.jsonc similarity index 86% rename from packages/courses-config/chibivue-zh-cn/chapters/067-transition.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/071-transition.jsonc index 6ad3c9c..c08639c 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/067-transition.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/071-transition.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Counter.vue", - "kind": "D", + "kind": "D" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/components/Transition.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/068-static-hoisting.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/072-static-hoisting.jsonc similarity index 87% rename from packages/courses-config/chibivue-zh-cn/chapters/068-static-hoisting.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/072-static-hoisting.jsonc index ce8e32c..df4c9c6 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/068-static-hoisting.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/072-static-hoisting.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/069-patch-flags.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/073-patch-flags.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-cn/chapters/069-patch-flags.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/073-patch-flags.jsonc index cbac79c..11f6bad 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/069-patch-flags.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/073-patch-flags.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/patchFlags.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/074-tree-flattening.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/074-tree-flattening.jsonc new file mode 100644 index 0000000..fc39a7d --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/074-tree-flattening.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "tree-flattening", + "title": "树扁平化", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-cn/90-web-application-essentials/040-optimizations/030-tree-flattening", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/075-introduction.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/075-introduction.jsonc new file mode 100644 index 0000000..bdaa9ef --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/075-introduction.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "introduction", + "title": "Vapor 模式", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-cn/90-web-application-essentials/050-vapor/010-introduction", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/076-vapor-compiler.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/076-vapor-compiler.jsonc new file mode 100644 index 0000000..ac2bc0c --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/076-vapor-compiler.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "vapor-compiler", + "title": "Vapor 编译器", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-cn/90-web-application-essentials/050-vapor/020-vapor-compiler", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/077-vapor-ssr.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/077-vapor-ssr.jsonc new file mode 100644 index 0000000..68e857a --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/077-vapor-ssr.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "vapor-ssr", + "title": "Vapor SSR", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-cn/90-web-application-essentials/050-vapor/030-vapor-ssr", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/078-hot-paths.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/078-hot-paths.jsonc new file mode 100644 index 0000000..059973e --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/078-hot-paths.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "hot-paths", + "title": "路线概览", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-cn/bonus/hot-paths", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/079-beginner-30-min-hands-on.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/079-beginner-30-min-hands-on.jsonc new file mode 100644 index 0000000..3573400 --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/079-beginner-30-min-hands-on.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "beginner-30-min-hands-on", + "title": "初学者 30 分钟动手实践", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-cn/bonus/hot-paths/beginner-30-min-hands-on", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/080-beginner-60-min-hands-on.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/080-beginner-60-min-hands-on.jsonc new file mode 100644 index 0000000..b86e80d --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/080-beginner-60-min-hands-on.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "beginner-60-min-hands-on", + "title": "初学者 60 分钟动手实践", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-cn/bonus/hot-paths/beginner-60-min-hands-on", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/081-intermediate-60-min-hands-on.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/081-intermediate-60-min-hands-on.jsonc new file mode 100644 index 0000000..6845856 --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/081-intermediate-60-min-hands-on.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "intermediate-60-min-hands-on", + "title": "进阶 60 分钟动手实践", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-cn/bonus/hot-paths/intermediate-60-min-hands-on", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/082-advanced-30-min-summary.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/082-advanced-30-min-summary.jsonc new file mode 100644 index 0000000..f436759 --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/082-advanced-30-min-summary.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "advanced-30-min-summary", + "title": "高级 30 分钟概要", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-cn/bonus/hot-paths/advanced-30-min-summary", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/083-hyper-ultimate-super-extreme-minimal-vue.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/083-hyper-ultimate-super-extreme-minimal-vue.jsonc new file mode 100644 index 0000000..418c437 --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/083-hyper-ultimate-super-extreme-minimal-vue.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "hyper-ultimate-super-extreme-minimal-vue", + "title": "chibivue,不是很小吗...?", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-cn/bonus/hyper-ultimate-super-extreme-minimal-vue", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-cn/chapters/070-minimal-vue.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/084-15-min-impl.jsonc similarity index 68% rename from packages/courses-config/chibivue-zh-cn/chapters/070-minimal-vue.jsonc rename to packages/courses-config/chibivue-zh-cn/chapters/084-15-min-impl.jsonc index 6dd39c6..fab3147 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/070-minimal-vue.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/084-15-min-impl.jsonc @@ -1,46 +1,54 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "minimal-vue", - "title": "15 分钟编写 Vue.js", + "id": "15-min-impl", + "title": "实现", "fromDir": "", "toDir": "bonus/hyper-ultimate-super-extreme-minimal-vue", - "docs": "https://book.chibivue.land/zh-cn/bonus/hyper-ultimate-super-extreme-minimal-vue/", + "docs": "https://book.chibivue.land/zh-cn/bonus/hyper-ultimate-super-extreme-minimal-vue/15-min-impl", "changedFiles": [ { "path": "examples/playground/index.html", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/package.json", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/tsconfig.json", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/vite.config.ts", - "kind": "U", + "kind": "U" }, { "path": "package.json", - "kind": "U", + "kind": "U" }, { "path": "packages/index.ts", - "kind": "U", + "kind": "U" + }, + { + "path": "pnpm-workspace.yaml", + "kind": "U" }, { "path": "tsconfig.json", - "kind": "U", + "kind": "U" }, + { + "path": "vite.config.ts", + "kind": "U" + } ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/085-debug-vuejs-core.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/085-debug-vuejs-core.jsonc new file mode 100644 index 0000000..e1e27f5 --- /dev/null +++ b/packages/courses-config/chibivue-zh-cn/chapters/085-debug-vuejs-core.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "debug-vuejs-core", + "title": "调试原始 Vue.js 源码", + "fromDir": "bonus/hyper-ultimate-super-extreme-minimal-vue", + "toDir": "bonus/hyper-ultimate-super-extreme-minimal-vue", + "docs": "https://book.chibivue.land/zh-cn/bonus/debug-vuejs-core", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/001-about.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/001-about.jsonc new file mode 100644 index 0000000..bd205a2 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/001-about.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "about", + "title": "入門指南", + "fromDir": "", + "toDir": "", + "docs": "https://book.chibivue.land/zh-tw/00-introduction/010-about", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/002-what-is-vue.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/002-what-is-vue.jsonc new file mode 100644 index 0000000..51a1ad0 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/002-what-is-vue.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "what-is-vue", + "title": "什麼是 Vue.js?", + "fromDir": "", + "toDir": "", + "docs": "https://book.chibivue.land/zh-tw/00-introduction/020-what-is-vue", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/003-vue-core-components.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/003-vue-core-components.jsonc new file mode 100644 index 0000000..75be221 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/003-vue-core-components.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "vue-core-components", + "title": "Vue.js 的關鍵要素", + "fromDir": "", + "toDir": "", + "docs": "https://book.chibivue.land/zh-tw/00-introduction/030-vue-core-components", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/001-project-setup.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/004-setup-project.jsonc similarity index 72% rename from packages/courses-config/chibivue-zh-tw/chapters/001-project-setup.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/004-setup-project.jsonc index 05e225d..49c94de 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/001-project-setup.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/004-setup-project.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "project-setup", + "id": "setup-project", "title": "本書的方法和環境設定", "fromDir": "", "toDir": "00_introduction/010_project_setup", @@ -8,35 +8,43 @@ "changedFiles": [ { "path": "examples/playground/index.html", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/package.json", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/tsconfig.json", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/vite.config.ts", - "kind": "U", + "kind": "U" }, { "path": "package.json", - "kind": "U", + "kind": "U" }, { "path": "packages/index.ts", - "kind": "U", + "kind": "U" + }, + { + "path": "pnpm-workspace.yaml", + "kind": "U" }, { "path": "tsconfig.json", - "kind": "U", + "kind": "U" }, + { + "path": "vite.config.ts", + "kind": "U" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/002-create-app.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/005-create-app-api.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-tw/chapters/002-create-app.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/005-create-app-api.jsonc index f5f694b..8478746 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/002-create-app.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/005-create-app-api.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "create-app", + "id": "create-app-api", "title": "第一次渲染和 createApp API", "fromDir": "00_introduction/010_project_setup", "toDir": "10_minimum_example/010_create_app", @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "U", - }, + "kind": "U" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/003-package-architecture.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/006-package-architecture.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-tw/chapters/003-package-architecture.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/006-package-architecture.jsonc index 0ff0a37..45edca0 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/003-package-architecture.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/006-package-architecture.jsonc @@ -8,43 +8,43 @@ "changedFiles": [ { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/004-simple-h-function.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/007-simple-h-function.jsonc similarity index 82% rename from packages/courses-config/chibivue-zh-tw/chapters/004-simple-h-function.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/007-simple-h-function.jsonc index 5b036ba..f989437 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/004-simple-h-function.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/007-simple-h-function.jsonc @@ -8,55 +8,55 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/h.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/modules/attrs.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/modules/events.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/patchProp.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/008-event-handler-and-attrs.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/008-event-handler-and-attrs.jsonc new file mode 100644 index 0000000..727b2f0 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/008-event-handler-and-attrs.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "event-handler-and-attrs", + "title": "讓我們支援事件處理器和屬性", + "fromDir": "10_minimum_example/020_simple_h_function", + "toDir": "10_minimum_example/020_simple_h_function", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/025-event-handler-and-attrs", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/009-prerequisite-knowledge-for-the-reactivity-system.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/009-prerequisite-knowledge-for-the-reactivity-system.jsonc new file mode 100644 index 0000000..a3f5dbe --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/009-prerequisite-knowledge-for-the-reactivity-system.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "prerequisite-knowledge-for-the-reactivity-system", + "title": "響應式系統的前置知識", + "fromDir": "10_minimum_example/020_simple_h_function", + "toDir": "10_minimum_example/020_simple_h_function", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/030-prerequisite-knowledge-for-the-reactivity-system", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/005-reactive-system.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc similarity index 80% rename from packages/courses-config/chibivue-zh-tw/chapters/005-reactive-system.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc index e12133f..8193391 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/005-reactive-system.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "reactive-system", + "id": "try-implementing-a-minimum-reactivity-system", "title": "嘗試實作一個小型響應式系統", "fromDir": "10_minimum_example/020_simple_h_function", "toDir": "10_minimum_example/030_reactive_system", @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/dep.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/effect.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/reactive.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/006-vdom-system.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/011-minimum-virtual-dom.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-tw/chapters/006-vdom-system.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/011-minimum-virtual-dom.jsonc index b5bc7f6..0f9a7cb 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/006-vdom-system.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/011-minimum-virtual-dom.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "vdom-system", + "id": "minimum-virtual-dom", "title": "最小虛擬 DOM", "fromDir": "10_minimum_example/030_reactive_system", "toDir": "10_minimum_example/040_vdom_system", @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/h.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/007-component-system.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/012-minimum-component.jsonc similarity index 82% rename from packages/courses-config/chibivue-zh-tw/chapters/007-component-system.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/012-minimum-component.jsonc index 31f322a..130b80b 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/007-component-system.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/012-minimum-component.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "component-system", + "id": "minimum-component", "title": "邁向元件導向開發", "fromDir": "10_minimum_example/040_vdom_system", "toDir": "10_minimum_example/050_component_system", @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/h.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/008-component-props.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/013-component-props.jsonc similarity index 86% rename from packages/courses-config/chibivue-zh-tw/chapters/008-component-props.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/013-component-props.jsonc index 8e54149..8382cbf 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/008-component-props.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/013-component-props.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/009-component-emits.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/014-component-emits.jsonc similarity index 84% rename from packages/courses-config/chibivue-zh-tw/chapters/009-component-emits.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/014-component-emits.jsonc index 8a73f88..6f2e3e3 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/009-component-emits.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/014-component-emits.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentEmits.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/shared/index.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/015-template-compiler.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/015-template-compiler.jsonc new file mode 100644 index 0000000..20e85f6 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/015-template-compiler.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "template-compiler", + "title": "理解模板編譯器", + "fromDir": "10_minimum_example/050_component_system3", + "toDir": "10_minimum_example/050_component_system3", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/060-template-compiler", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/010-template-compiler.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/016-template-compiler-impl.jsonc similarity index 80% rename from packages/courses-config/chibivue-zh-tw/chapters/010-template-compiler.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/016-template-compiler-impl.jsonc index b45fd2a..19bf2e6 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/010-template-compiler.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/016-template-compiler-impl.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "template-compiler", + "id": "template-compiler-impl", "title": "實作模板編譯器", "fromDir": "10_minimum_example/050_component_system3", "toDir": "10_minimum_example/060_template_compiler", @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/compile.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/parse.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-dom/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/011-template-compiler-parser.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/017-more-complex-parser.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-tw/chapters/011-template-compiler-parser.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/017-more-complex-parser.jsonc index 0cb1e6f..1e9bc1a 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/011-template-compiler-parser.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/017-more-complex-parser.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "template-compiler-parser", + "id": "more-complex-parser", "title": "希望編寫更複雜的 HTML", "fromDir": "10_minimum_example/060_template_compiler", "toDir": "10_minimum_example/060_template_compiler2", @@ -8,23 +8,23 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/012-template-binding.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/018-template-binding.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-tw/chapters/012-template-binding.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/018-template-binding.jsonc index b000afd..0518e43 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/012-template-binding.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/018-template-binding.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/013-sfc-prerequisite.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc similarity index 80% rename from packages/courses-config/chibivue-zh-tw/chapters/013-sfc-prerequisite.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc index 7cf0174..576102e 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/013-sfc-prerequisite.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "sfc-prerequisite", + "id": "prerequisite-knowledge-for-the-sfc", "title": "使用 SFC 開發(外圍知識)", "fromDir": "10_minimum_example/060_template_compiler3", "toDir": "10_minimum_example/070_sfc_compiler", @@ -8,67 +8,67 @@ "changedFiles": [ { "path": "plugin-sample/README.md", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/index.html", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/package.json", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/pnpm-lock.yaml", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/public/vite.svg", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/assets/vue.svg", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/components/HelloWorld.vue", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/main.ts", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/plugin.sample.js", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/style.css", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/src/vite-env.d.ts", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/tsconfig.json", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/tsconfig.node.json", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/vite.config.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/020-next-tick.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/020-next-tick.jsonc deleted file mode 100644 index 773b976..0000000 --- a/packages/courses-config/chibivue-zh-tw/chapters/020-next-tick.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "next-tick", - "title": "nextTick", - "fromDir": "20_basic_virtual_dom/040_scheduler", - "toDir": "20_basic_virtual_dom/050_next_tick", - "docs": "https://book.chibivue.land/zh-tw/20-basic-virtual-dom/030-scheduler", - "changedFiles": [ - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/index.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/scheduler.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/vnode.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/014-parse-sfc.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/020-parse-sfc.jsonc similarity index 79% rename from packages/courses-config/chibivue-zh-tw/chapters/014-parse-sfc.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/020-parse-sfc.jsonc index 53573ac..0dd6888 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/014-parse-sfc.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/020-parse-sfc.jsonc @@ -8,103 +8,103 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileTemplate.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "U", + "kind": "U" }, { "path": "plugin-sample/README.md", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/index.html", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/package.json", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/pnpm-lock.yaml", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/public/vite.svg", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/App.vue", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/assets/vue.svg", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/components/HelloWorld.vue", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/main.ts", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/plugin.sample.js", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/style.css", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/src/vite-env.d.ts", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/tsconfig.json", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/tsconfig.node.json", - "kind": "D", + "kind": "D" }, { "path": "plugin-sample/vite.config.ts", - "kind": "D", + "kind": "D" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/015-compile-sfc-template.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/021-compile-sfc-template.jsonc similarity index 86% rename from packages/courses-config/chibivue-zh-tw/chapters/015-compile-sfc-template.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/021-compile-sfc-template.jsonc index 970e612..6f48875 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/015-compile-sfc-template.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/021-compile-sfc-template.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/022-compile-sfc-script.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/022-compile-sfc-script.jsonc new file mode 100644 index 0000000..bc7dbf2 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/022-compile-sfc-script.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "compile-sfc-script", + "title": "SFC script 區塊", + "fromDir": "10_minimum_example/070_sfc_compiler3", + "toDir": "10_minimum_example/070_sfc_compiler3", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/093-compile-sfc-script", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/022-ref.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/022-ref.jsonc deleted file mode 100644 index 8f3c83d..0000000 --- a/packages/courses-config/chibivue-zh-tw/chapters/022-ref.jsonc +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "ref", - "title": "ref API", - "fromDir": "20_basic_virtual_dom/060_other_props", - "toDir": "30_basic_reactivity_system/010_ref", - "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/010-ref-api", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "U", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/effect.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/reactive.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/ref.ts", - "kind": "U", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/016-compile-sfc-style.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/023-compile-sfc-style.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-tw/chapters/016-compile-sfc-style.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/023-compile-sfc-style.jsonc index 9511365..ad922a2 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/016-compile-sfc-style.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/023-compile-sfc-style.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "package.json", - "kind": "M", + "kind": "M" }, { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/rewriteDefault.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/023-shallow-ref.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/023-shallow-ref.jsonc deleted file mode 100644 index 641c105..0000000 --- a/packages/courses-config/chibivue-zh-tw/chapters/023-shallow-ref.jsonc +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "shallow-ref", - "title": "shallowRef", - "fromDir": "30_basic_reactivity_system/010_ref", - "toDir": "30_basic_reactivity_system/020_shallow_ref", - "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/010-ref-api", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/ref.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/024-break.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/024-break.jsonc new file mode 100644 index 0000000..b5abbe8 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/024-break.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "break", + "title": "稍作休息", + "fromDir": "10_minimum_example/070_sfc_compiler4", + "toDir": "10_minimum_example/070_sfc_compiler4", + "docs": "https://book.chibivue.land/zh-tw/10-minimum-example/100-break", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/017-patch-keyed-children.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/025-patch-keyed-children.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-tw/chapters/017-patch-keyed-children.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/025-patch-keyed-children.jsonc index c530973..8cf9e3b 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/017-patch-keyed-children.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/025-patch-keyed-children.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D", + "kind": "D" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/025-to-refs.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/025-to-refs.jsonc deleted file mode 100644 index 92b5152..0000000 --- a/packages/courses-config/chibivue-zh-tw/chapters/025-to-refs.jsonc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "to-refs", - "title": "toRefs", - "fromDir": "30_basic_reactivity_system/030_to_ref", - "toDir": "30_basic_reactivity_system/040_to_refs", - "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/010-ref-api", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/compiler-core/codegen.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/ref.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/018-bit-flags.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/026-bit-flags.jsonc similarity index 86% rename from packages/courses-config/chibivue-zh-tw/chapters/018-bit-flags.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/026-bit-flags.jsonc index 8040e4d..bf105b6 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/018-bit-flags.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/026-bit-flags.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/reactivity/baseHandler.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/shapeFlags.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/026-computed.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/026-computed.jsonc deleted file mode 100644 index 3cf0761..0000000 --- a/packages/courses-config/chibivue-zh-tw/chapters/026-computed.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "computed", - "title": "computed", - "fromDir": "30_basic_reactivity_system/040_to_refs", - "toDir": "30_basic_reactivity_system/050_computed", - "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/020-computed-watch", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/computed.ts", - "kind": "U", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/027-computed-setter.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/027-computed-setter.jsonc deleted file mode 100644 index 39e99a6..0000000 --- a/packages/courses-config/chibivue-zh-tw/chapters/027-computed-setter.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "computed-setter", - "title": "computed 的 setter", - "fromDir": "30_basic_reactivity_system/050_computed", - "toDir": "30_basic_reactivity_system/060_computed_setter", - "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/020-computed-watch", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/computed.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/019-scheduler.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/027-scheduler.jsonc similarity index 69% rename from packages/courses-config/chibivue-zh-tw/chapters/019-scheduler.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/027-scheduler.jsonc index 81e44f3..ab1cecb 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/019-scheduler.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/027-scheduler.jsonc @@ -3,32 +3,40 @@ "id": "scheduler", "title": "調度器", "fromDir": "20_basic_virtual_dom/020_bit_flags", - "toDir": "20_basic_virtual_dom/040_scheduler", + "toDir": "20_basic_virtual_dom/050_next_tick", "docs": "https://book.chibivue.land/zh-tw/20-basic-virtual-dom/030-scheduler", "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/effect.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/runtime-core/index.ts", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/scheduler.ts", - "kind": "U", + "kind": "U" }, { - "path": "tests/e2e.spec.ts", - "kind": "M", + "path": "packages/runtime-core/vnode.ts", + "kind": "M" }, + { + "path": "tests/e2e.spec.ts", + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/021-other-props.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/028-patch-other-attrs.jsonc similarity index 82% rename from packages/courses-config/chibivue-zh-tw/chapters/021-other-props.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/028-patch-other-attrs.jsonc index 6bd5263..d3409dc 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/021-other-props.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/028-patch-other-attrs.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "other-props", + "id": "patch-other-attrs", "title": "未處理 Props 的補丁", "fromDir": "20_basic_virtual_dom/050_next_tick", "toDir": "20_basic_virtual_dom/060_other_props", @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/modules/class.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/modules/props.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/modules/style.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/patchProp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/029-reactivity-optimization.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/029-reactivity-optimization.jsonc new file mode 100644 index 0000000..618ed56 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/029-reactivity-optimization.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "reactivity-optimization", + "title": "響應式最佳化", + "fromDir": "20_basic_virtual_dom/060_other_props", + "toDir": "20_basic_virtual_dom/060_other_props", + "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/005-reactivity-optimization", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/029-watch-api-extends.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/029-watch-api-extends.jsonc deleted file mode 100644 index 1207593..0000000 --- a/packages/courses-config/chibivue-zh-tw/chapters/029-watch-api-extends.jsonc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "watch-api-extends", - "title": "watch 的其他 API", - "fromDir": "30_basic_reactivity_system/070_watch", - "toDir": "30_basic_reactivity_system/080_watch_api_extends", - "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/020-computed-watch", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/index.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/apiWatch.ts", - "kind": "M", - }, - { - "path": "packages/shared/general.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/024-to-ref.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/030-ref-api.jsonc similarity index 62% rename from packages/courses-config/chibivue-zh-tw/chapters/024-to-ref.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/030-ref-api.jsonc index bb170fb..a2eceb3 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/024-to-ref.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/030-ref-api.jsonc @@ -1,46 +1,54 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "to-ref", - "title": "toRef", - "fromDir": "30_basic_reactivity_system/020_shallow_ref", - "toDir": "30_basic_reactivity_system/030_to_ref", + "id": "ref-api", + "title": "ref API", + "fromDir": "20_basic_virtual_dom/060_other_props", + "toDir": "30_basic_reactivity_system/040_to_refs", "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/010-ref-api", "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/compiler-core/codegen.ts", + "kind": "M" }, { "path": "packages/reactivity/effect.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/index.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/reactivity/reactive.ts", + "kind": "M" }, { "path": "packages/reactivity/ref.ts", - "kind": "M", + "kind": "U" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/typeUtils.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/030-watch-effect.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/030-watch-effect.jsonc deleted file mode 100644 index ffb3560..0000000 --- a/packages/courses-config/chibivue-zh-tw/chapters/030-watch-effect.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "watch-effect", - "title": "watchEffect", - "fromDir": "30_basic_reactivity_system/080_watch_api_extends", - "toDir": "30_basic_reactivity_system/090_watch_effect", - "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/020-computed-watch", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/apiWatch.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/index.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/028-watch.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/031-computed-watch.jsonc similarity index 59% rename from packages/courses-config/chibivue-zh-tw/chapters/028-watch.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/031-computed-watch.jsonc index 7549222..f6d641b 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/028-watch.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/031-computed-watch.jsonc @@ -1,38 +1,46 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "watch", - "title": "watch", - "fromDir": "30_basic_reactivity_system/060_computed_setter", - "toDir": "30_basic_reactivity_system/070_watch", + "id": "computed-watch", + "title": "computed / watch API", + "fromDir": "30_basic_reactivity_system/040_to_refs", + "toDir": "30_basic_reactivity_system/090_watch_effect", "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/020-computed-watch", "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/reactivity/computed.ts", + "kind": "U" + }, + { + "path": "packages/reactivity/index.ts", + "kind": "M" }, { "path": "packages/runtime-core/apiWatch.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/031-reactive-proxy-target-type.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/031-reactive-proxy-target-type.jsonc deleted file mode 100644 index a0eda36..0000000 --- a/packages/courses-config/chibivue-zh-tw/chapters/031-reactive-proxy-target-type.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "reactive-proxy-target-type", - "title": "不應該是響應式的物件", - "fromDir": "30_basic_reactivity_system/090_watch_effect", - "toDir": "30_basic_reactivity_system/100_reactive_proxy_target_type", - "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/030-reactive-proxy-handlers", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/reactive.ts", - "kind": "M", - }, - { - "path": "packages/shared/general.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/033-proxy-handler-improvement.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/032-reactive-proxy-handlers.jsonc similarity index 60% rename from packages/courses-config/chibivue-zh-tw/chapters/033-proxy-handler-improvement.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/032-reactive-proxy-handlers.jsonc index 64d365c..fc4f611 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/033-proxy-handler-improvement.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/032-reactive-proxy-handlers.jsonc @@ -1,42 +1,54 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "proxy-handler-improvement", - "title": "支援集合類內建物件", - "fromDir": "30_basic_reactivity_system/110_template_refs", + "id": "reactive-proxy-handlers", + "title": "各種響應式代理處理器", + "fromDir": "30_basic_reactivity_system/090_watch_effect", "toDir": "30_basic_reactivity_system/120_proxy_handler_improvement", "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/030-reactive-proxy-handlers", "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/effect.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/reactive.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/runtime-core/renderer.ts", + "kind": "M" + }, + { + "path": "packages/runtime-core/rendererTemplateRef.ts", + "kind": "U" + }, + { + "path": "packages/runtime-core/vnode.ts", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/032-template-refs.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/032-template-refs.jsonc deleted file mode 100644 index a5a3a51..0000000 --- a/packages/courses-config/chibivue-zh-tw/chapters/032-template-refs.jsonc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "template-refs", - "title": "Template Refs", - "fromDir": "30_basic_reactivity_system/100_reactive_proxy_target_type", - "toDir": "30_basic_reactivity_system/110_template_refs", - "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/030-reactive-proxy-handlers", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "M", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "U", - }, - { - "path": "packages/runtime-core/vnode.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/035-effect-scope.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/033-effect-scope.jsonc similarity index 65% rename from packages/courses-config/chibivue-zh-tw/chapters/035-effect-scope.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/033-effect-scope.jsonc index bb35588..35358fc 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/035-effect-scope.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/033-effect-scope.jsonc @@ -1,38 +1,46 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", "id": "effect-scope", - "title": "EffectScope", - "fromDir": "30_basic_reactivity_system/130_cleanup_effects", + "title": "Effect 清理和 Effect 作用域", + "fromDir": "30_basic_reactivity_system/120_proxy_handler_improvement", "toDir": "30_basic_reactivity_system/140_effect_scope", "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/040-effect-scope", "changedFiles": [ + { + "path": "examples/playground/src/App.vue", + "kind": "D" + }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/effect.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/effectScope.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/reactivity/index.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/runtime-core/apiWatch.ts", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/034-cleanup-effects.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/034-cleanup-effects.jsonc deleted file mode 100644 index e8ebfb4..0000000 --- a/packages/courses-config/chibivue-zh-tw/chapters/034-cleanup-effects.jsonc +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "cleanup-effects", - "title": "ReactiveEffect 的清理", - "fromDir": "30_basic_reactivity_system/120_proxy_handler_improvement", - "toDir": "30_basic_reactivity_system/130_cleanup_effects", - "docs": "https://book.chibivue.land/zh-tw/30-basic-reactivity-system/040-effect-scope", - "changedFiles": [ - { - "path": "examples/playground/src/App.vue", - "kind": "D", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/effect.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/apiWatch.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/036-other-apis.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/034-other-apis.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-tw/chapters/036-other-apis.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/034-other-apis.jsonc index cc24f02..f721858 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/036-other-apis.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/034-other-apis.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/reactive.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/ref.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/037-lifecycle-hooks.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/035-lifecycle-hooks.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-tw/chapters/037-lifecycle-hooks.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/035-lifecycle-hooks.jsonc index 4610438..36af356 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/037-lifecycle-hooks.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/035-lifecycle-hooks.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiLifecycle.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/enums.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/scheduler.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/038-provide-inject.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/036-provide-inject.jsonc similarity index 84% rename from packages/courses-config/chibivue-zh-tw/chapters/038-provide-inject.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/036-provide-inject.jsonc index 60589c0..4c1457b 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/038-provide-inject.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/036-provide-inject.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiInject.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/039-component-proxy.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/037-component-proxy-setup-context.jsonc similarity index 71% rename from packages/courses-config/chibivue-zh-tw/chapters/039-component-proxy.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/037-component-proxy-setup-context.jsonc index 30ba415..63d7a22 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/039-component-proxy.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/037-component-proxy-setup-context.jsonc @@ -1,50 +1,54 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "component-proxy", - "title": "元件的代理", + "id": "component-proxy-setup-context", + "title": "元件代理和 setupContext", "fromDir": "40_basic_component_system/020_provide_inject", - "toDir": "40_basic_component_system/030_component_proxy", + "toDir": "40_basic_component_system/040_setup_context", "docs": "https://book.chibivue.land/zh-tw/40-basic-component-system/030-component-proxy-setup-context", "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" + }, + { + "path": "packages/reactivity/ref.ts", + "kind": "M" }, { "path": "packages/runtime-core/apiDefineComponent.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/041-component-slot.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/038-component-slot.jsonc similarity index 66% rename from packages/courses-config/chibivue-zh-tw/chapters/041-component-slot.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/038-component-slot.jsonc index 6086bb8..e88f738 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/041-component-slot.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/038-component-slot.jsonc @@ -1,54 +1,46 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", "id": "component-slot", - "title": "預設插槽", + "title": "插槽", "fromDir": "40_basic_component_system/040_setup_context", - "toDir": "40_basic_component_system/050_component_slot", + "toDir": "40_basic_component_system/060_slot_extend", "docs": "https://book.chibivue.land/zh-tw/40-basic-component-system/040-component-slot", "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "U", + "kind": "M" }, { "path": "packages/runtime-core/componentSlots.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/h.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/shapeFlags.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/typeUtils.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/043-options-api.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/039-options-api.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-tw/chapters/043-options-api.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/039-options-api.jsonc index f8ffff7..1528b7f 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/043-options-api.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/039-options-api.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiDefineComponent.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentEmits.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/typeUtils.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/040-setup-context.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/040-setup-context.jsonc deleted file mode 100644 index c22cd5d..0000000 --- a/packages/courses-config/chibivue-zh-tw/chapters/040-setup-context.jsonc +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "setup-context", - "title": "setupContext", - "fromDir": "40_basic_component_system/030_component_proxy", - "toDir": "40_basic_component_system/040_setup_context", - "docs": "https://book.chibivue.land/zh-tw/40-basic-component-system/030-component-proxy-setup-context", - "changedFiles": [ - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/reactivity/ref.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/component.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/044-transformer.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/040-transform.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-tw/chapters/044-transformer.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/040-transform.jsonc index 3460f57..7f37ee8 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/044-transformer.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/040-transform.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "transformer", + "id": "transform", "title": "重構 Transformer 的 Codegen 實作", "fromDir": "40_basic_component_system/070_options_api", "toDir": "50_basic_template_compiler/010_transformer", @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/045-v-bind.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/041-v-bind.jsonc similarity index 82% rename from packages/courses-config/chibivue-zh-tw/chapters/045-v-bind.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/041-v-bind.jsonc index 11cc40a..5ac8826 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/045-v-bind.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/041-v-bind.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vBind.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/normalizeProp.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/042-slot-extend.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/042-slot-extend.jsonc deleted file mode 100644 index c1cdc2d..0000000 --- a/packages/courses-config/chibivue-zh-tw/chapters/042-slot-extend.jsonc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "slot-extend", - "title": "命名插槽與作用域插槽", - "fromDir": "40_basic_component_system/050_component_slot", - "toDir": "40_basic_component_system/060_slot_extend", - "docs": "https://book.chibivue.land/zh-tw/40-basic-component-system/040-component-slot", - "changedFiles": [ - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "D", - }, - { - "path": "packages/runtime-core/index.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/renderer.ts", - "kind": "M", - }, - { - "path": "packages/runtime-core/vnode.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/046-transform-expression.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/042-transform-expression.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-tw/chapters/046-transform-expression.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/042-transform-expression.jsonc index 1f7af43..86155a9 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/046-transform-expression.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/042-transform-expression.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/transforms/vBind.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/makeMap.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/047-v-on.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/043-v-on.jsonc similarity index 82% rename from packages/courses-config/chibivue-zh-tw/chapters/047-v-on.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/043-v-on.jsonc index 838b4de..3f547c9 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/047-v-on.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/043-v-on.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D", + "kind": "D" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vOn.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/helpers/toHandlers.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/048-event-modifier.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/044-event-modifier.jsonc similarity index 70% rename from packages/courses-config/chibivue-zh-tw/chapters/048-event-modifier.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/044-event-modifier.jsonc index 2bc94ba..bcc6d48 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/048-event-modifier.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/044-event-modifier.jsonc @@ -1,74 +1,70 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", "id": "event-modifier", - "title": "withModifiers", + "title": "compiler-dom 和事件修飾符", "fromDir": "50_basic_template_compiler/025_v_on", - "toDir": "50_basic_template_compiler/027_event_modifier", + "toDir": "50_basic_template_compiler/027_event_modifier2", "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/027-event-modifier", "changedFiles": [ - { - "path": "examples/playground/package.json", - "kind": "D", - }, - { - "path": "examples/playground/pnpm-lock.yaml", - "kind": "U", - }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vOn.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/transforms/vOn.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/directives/vOn.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/runtimeHelpers.ts", - "kind": "U", + "kind": "U" }, { - "path": "tests/e2e.spec.ts", - "kind": "M", + "path": "packages/shared/general.ts", + "kind": "M" }, + { + "path": "tests/e2e.spec.ts", + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/050-fragment.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/045-fragment.jsonc similarity index 82% rename from packages/courses-config/chibivue-zh-tw/chapters/050-fragment.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/045-fragment.jsonc index 198d611..f4b8895 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/050-fragment.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/045-fragment.jsonc @@ -8,51 +8,51 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/h.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/051-comment.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/046-comment.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-tw/chapters/051-comment.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/046-comment.jsonc index 4b6c167..29759eb 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/051-comment.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/046-comment.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/052-v-if.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/047-v-if-and-structural-directive.jsonc similarity index 82% rename from packages/courses-config/chibivue-zh-tw/chapters/052-v-if.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/047-v-if-and-structural-directive.jsonc index 0c29bbe..78880e8 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/052-v-if.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/047-v-if-and-structural-directive.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "v-if", + "id": "v-if-and-structural-directive", "title": "v-if 和結構指令", "fromDir": "50_basic_template_compiler/035_comment", "toDir": "50_basic_template_compiler/040_v_if_and_structural_directive", @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vIf.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/053-v-for.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/048-v-for.jsonc similarity index 82% rename from packages/courses-config/chibivue-zh-tw/chapters/053-v-for.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/048-v-for.jsonc index 814c57b..7236a9a 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/053-v-for.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/048-v-for.jsonc @@ -8,71 +8,71 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.js", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/vite.config.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vFor.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/helpers/renderList.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/049-event-modifier2.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/049-event-modifier2.jsonc deleted file mode 100644 index dc7257c..0000000 --- a/packages/courses-config/chibivue-zh-tw/chapters/049-event-modifier2.jsonc +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "event-modifier2", - "title": "其他事件修飾符", - "fromDir": "50_basic_template_compiler/027_event_modifier", - "toDir": "50_basic_template_compiler/027_event_modifier2", - "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/027-event-modifier", - "changedFiles": [ - { - "path": "examples/playground/package.json", - "kind": "U", - }, - { - "path": "examples/playground/pnpm-lock.yaml", - "kind": "D", - }, - { - "path": "examples/playground/src/main.ts", - "kind": "M", - }, - { - "path": "packages/compiler-dom/transforms/vOn.ts", - "kind": "M", - }, - { - "path": "packages/runtime-dom/directives/vOn.ts", - "kind": "M", - }, - { - "path": "packages/runtime-dom/runtimeHelpers.ts", - "kind": "M", - }, - { - "path": "packages/shared/general.ts", - "kind": "M", - }, - { - "path": "tests/e2e.spec.ts", - "kind": "M", - }, - ], -} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/054-resolve-components.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/049-resolve-component.jsonc similarity index 80% rename from packages/courses-config/chibivue-zh-tw/chapters/054-resolve-components.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/049-resolve-component.jsonc index 4699415..5404fab 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/054-resolve-components.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/049-resolve-component.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "resolve-components", + "id": "resolve-component", "title": "解析元件", "fromDir": "50_basic_template_compiler/050_v_for", "toDir": "50_basic_template_compiler/060_resolve_components", @@ -8,95 +8,95 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/components/Counter.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/vite.config.js", - "kind": "D", + "kind": "D" }, { "path": "examples/playground/vite.config.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/parserOptions.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/helpers/resolveAssets.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/domTagConfig.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/055-component-slot-outlet.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/050-component-slot-outlet.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-tw/chapters/055-component-slot-outlet.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/050-component-slot-outlet.jsonc index 1cb228f..31f8433 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/055-component-slot-outlet.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/050-component-slot-outlet.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Comp.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/components/Counter.vue", - "kind": "D", + "kind": "D" }, { "path": "examples/playground/src/main.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/compile.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformSlotOutlet.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/helpers/renderSlot.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/056-component-slot-insert.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/051-component-slot-insert.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-tw/chapters/056-component-slot-insert.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/051-component-slot-insert.jsonc index 2339ffc..d966b95 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/056-component-slot-insert.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/051-component-slot-insert.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vSlot.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/057-other-directives.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/052-other-directives.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-tw/chapters/057-other-directives.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/052-other-directives.jsonc index cbc0b51..e40493e 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/057-other-directives.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/052-other-directives.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Comp.vue", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transforms/vSlot.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-core/utils.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-dom/transforms/vHtml.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-dom/transforms/vText.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/058-chore-compiler.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/053-chore-compiler.jsonc similarity index 100% rename from packages/courses-config/chibivue-zh-tw/chapters/058-chore-compiler.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/053-chore-compiler.jsonc diff --git a/packages/courses-config/chibivue-zh-tw/chapters/054-parser-optimization.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/054-parser-optimization.jsonc new file mode 100644 index 0000000..0d06955 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/054-parser-optimization.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "parser-optimization", + "title": "解析器最佳化", + "fromDir": "50_basic_template_compiler/100_chore_compiler", + "toDir": "50_basic_template_compiler/100_chore_compiler", + "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/110-parser-optimization", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/055-custom-directive.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/055-custom-directive.jsonc new file mode 100644 index 0000000..b1446ac --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/055-custom-directive.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "custom-directive", + "title": "自訂指令", + "fromDir": "50_basic_template_compiler/100_chore_compiler", + "toDir": "50_basic_template_compiler/100_chore_compiler", + "docs": "https://book.chibivue.land/zh-tw/50-basic-template-compiler/500-custom-directive", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/059-script-setup.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/056-script-setup.jsonc similarity index 86% rename from packages/courses-config/chibivue-zh-tw/chapters/059-script-setup.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/056-script-setup.jsonc index e14ff83..1849ad4 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/059-script-setup.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/056-script-setup.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/060-define-props.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/057-define-props.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-tw/chapters/060-define-props.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/057-define-props.jsonc index b14843a..ac48ed9 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/060-define-props.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/057-define-props.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/061-define-emits.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/058-define-emits.jsonc similarity index 88% rename from packages/courses-config/chibivue-zh-tw/chapters/061-define-emits.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/058-define-emits.jsonc index cdf68b7..f78424f 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/061-define-emits.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/058-define-emits.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/062-scoped-css.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/059-scoped-css.jsonc similarity index 88% rename from packages/courses-config/chibivue-zh-tw/chapters/062-scoped-css.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/059-scoped-css.jsonc index af629d4..96d9282 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/062-scoped-css.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/059-scoped-css.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/063-props-destructure.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/060-props-destructure.jsonc similarity index 90% rename from packages/courses-config/chibivue-zh-tw/chapters/063-props-destructure.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/060-props-destructure.jsonc index bb864c1..e7d0276 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/063-props-destructure.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/060-props-destructure.jsonc @@ -8,15 +8,15 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/064-type-based-macros.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/061-type-based-macros.jsonc similarity index 89% rename from packages/courses-config/chibivue-zh-tw/chapters/064-type-based-macros.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/061-type-based-macros.jsonc index 170ddfd..1e03edc 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/064-type-based-macros.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/061-type-based-macros.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/062-router.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/062-router.jsonc new file mode 100644 index 0000000..b6bf99d --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/062-router.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "router", + "title": "路由器", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/zh-tw/90-web-application-essentials/010-plugins/010-router", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/063-preprocessors.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/063-preprocessors.jsonc new file mode 100644 index 0000000..f0cb30c --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/063-preprocessors.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "preprocessors", + "title": "CSS 預處理器", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/zh-tw/90-web-application-essentials/010-plugins/020-preprocessors", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/064-store.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/064-store.jsonc new file mode 100644 index 0000000..c628740 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/064-store.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "store", + "title": "狀態管理", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/zh-tw/90-web-application-essentials/010-plugins/020-store", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/065-data-fetch.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/065-data-fetch.jsonc new file mode 100644 index 0000000..101c0db --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/065-data-fetch.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "data-fetch", + "title": "資料擷取", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/zh-tw/90-web-application-essentials/010-plugins/030-data-fetch", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/066-language-tools.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/066-language-tools.jsonc new file mode 100644 index 0000000..c453527 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/066-language-tools.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "language-tools", + "title": "Language Tools", + "fromDir": "60_basic_sfc_compiler/060_type_based_macros", + "toDir": "60_basic_sfc_compiler/060_type_based_macros", + "docs": "https://book.chibivue.land/zh-tw/90-web-application-essentials/010-plugins/040-language-tools", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/065-ssr.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/067-create-ssr-app.jsonc similarity index 80% rename from packages/courses-config/chibivue-zh-tw/chapters/065-ssr.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/067-create-ssr-app.jsonc index fdda53b..48023ba 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/065-ssr.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/067-create-ssr-app.jsonc @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "ssr", + "id": "create-ssr-app", "title": "renderToString", "fromDir": "60_basic_sfc_compiler/060_type_based_macros", "toDir": "90_web_application_essentials/010_ssr", @@ -8,103 +8,103 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Child.vue", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-core/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/hydration.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/server-renderer/helpers/ssrInterpolate.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/helpers/ssrRenderAttrs.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/helpers/ssrRenderList.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/helpers/ssrUtils.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/index.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/render.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/server-renderer/renderToString.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/shared/general.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/068-hydration.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/068-hydration.jsonc new file mode 100644 index 0000000..a2bff13 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/068-hydration.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "hydration", + "title": "Hydration(水合)", + "fromDir": "90_web_application_essentials/010_ssr", + "toDir": "90_web_application_essentials/010_ssr", + "docs": "https://book.chibivue.land/zh-tw/90-web-application-essentials/020-ssr/020-hydration", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/069-compiler-ssr.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/069-compiler-ssr.jsonc new file mode 100644 index 0000000..7358865 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/069-compiler-ssr.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "compiler-ssr", + "title": "Compiler SSR", + "fromDir": "90_web_application_essentials/010_ssr", + "toDir": "90_web_application_essentials/010_ssr", + "docs": "https://book.chibivue.land/zh-tw/90-web-application-essentials/020-ssr/030-compiler-ssr", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/066-keep-alive.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/070-keep-alive.jsonc similarity index 83% rename from packages/courses-config/chibivue-zh-tw/chapters/066-keep-alive.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/070-keep-alive.jsonc index 9244723..fc3fcdf 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/066-keep-alive.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/070-keep-alive.jsonc @@ -8,51 +8,51 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Counter.vue", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/apiLifecycle.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/component.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/components/KeepAlive.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-core/hydration.ts", - "kind": "D", + "kind": "D" }, { "path": "packages/runtime-core/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/shapeFlags.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/067-transition.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/071-transition.jsonc similarity index 86% rename from packages/courses-config/chibivue-zh-tw/chapters/067-transition.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/071-transition.jsonc index c6a9c33..c8fb937 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/067-transition.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/071-transition.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "examples/playground/src/Counter.vue", - "kind": "D", + "kind": "D" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-dom/components/Transition.ts", - "kind": "U", + "kind": "U" }, { "path": "packages/runtime-dom/index.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/068-static-hoisting.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/072-static-hoisting.jsonc similarity index 87% rename from packages/courses-config/chibivue-zh-tw/chapters/068-static-hoisting.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/072-static-hoisting.jsonc index c655705..864dc9d 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/068-static-hoisting.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/072-static-hoisting.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/options.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/transform.ts", - "kind": "M", + "kind": "M" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/069-patch-flags.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/073-patch-flags.jsonc similarity index 85% rename from packages/courses-config/chibivue-zh-tw/chapters/069-patch-flags.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/073-patch-flags.jsonc index 67fa4b7..891ae5f 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/069-patch-flags.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/073-patch-flags.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/ast.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/index.ts", - "kind": "M", + "kind": "M" }, { "path": "packages/shared/patchFlags.ts", - "kind": "U", + "kind": "U" }, { "path": "tests/e2e.spec.ts", - "kind": "M", - }, + "kind": "M" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/074-tree-flattening.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/074-tree-flattening.jsonc new file mode 100644 index 0000000..fd6124b --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/074-tree-flattening.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "tree-flattening", + "title": "樹扁平化", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-tw/90-web-application-essentials/040-optimizations/030-tree-flattening", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/075-introduction.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/075-introduction.jsonc new file mode 100644 index 0000000..6ce7d3f --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/075-introduction.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "introduction", + "title": "Vapor 模式", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-tw/90-web-application-essentials/050-vapor/010-introduction", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/076-vapor-compiler.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/076-vapor-compiler.jsonc new file mode 100644 index 0000000..40f3c57 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/076-vapor-compiler.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "vapor-compiler", + "title": "Vapor 編譯器", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-tw/90-web-application-essentials/050-vapor/020-vapor-compiler", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/077-vapor-ssr.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/077-vapor-ssr.jsonc new file mode 100644 index 0000000..d155355 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/077-vapor-ssr.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "vapor-ssr", + "title": "Vapor SSR", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-tw/90-web-application-essentials/050-vapor/030-vapor-ssr", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/078-hot-paths.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/078-hot-paths.jsonc new file mode 100644 index 0000000..9bc0ae3 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/078-hot-paths.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "hot-paths", + "title": "路線概覽", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-tw/bonus/hot-paths", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/079-beginner-30-min-hands-on.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/079-beginner-30-min-hands-on.jsonc new file mode 100644 index 0000000..3759c1b --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/079-beginner-30-min-hands-on.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "beginner-30-min-hands-on", + "title": "初學者 30 分鐘動手實作", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-tw/bonus/hot-paths/beginner-30-min-hands-on", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/080-beginner-60-min-hands-on.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/080-beginner-60-min-hands-on.jsonc new file mode 100644 index 0000000..68b1684 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/080-beginner-60-min-hands-on.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "beginner-60-min-hands-on", + "title": "初學者 60 分鐘動手實作", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-tw/bonus/hot-paths/beginner-60-min-hands-on", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/081-intermediate-60-min-hands-on.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/081-intermediate-60-min-hands-on.jsonc new file mode 100644 index 0000000..4d9ae29 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/081-intermediate-60-min-hands-on.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "intermediate-60-min-hands-on", + "title": "進階 60 分鐘動手實作", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-tw/bonus/hot-paths/intermediate-60-min-hands-on", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/082-advanced-30-min-summary.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/082-advanced-30-min-summary.jsonc new file mode 100644 index 0000000..b85fe66 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/082-advanced-30-min-summary.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "advanced-30-min-summary", + "title": "高階 30 分鐘概要", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-tw/bonus/hot-paths/advanced-30-min-summary", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/083-hyper-ultimate-super-extreme-minimal-vue.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/083-hyper-ultimate-super-extreme-minimal-vue.jsonc new file mode 100644 index 0000000..dda44f9 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/083-hyper-ultimate-super-extreme-minimal-vue.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "hyper-ultimate-super-extreme-minimal-vue", + "title": "chibivue,不是很小嗎...?", + "fromDir": "90_web_application_essentials/050_patch_flags", + "toDir": "90_web_application_essentials/050_patch_flags", + "docs": "https://book.chibivue.land/zh-tw/bonus/hyper-ultimate-super-extreme-minimal-vue", + "changedFiles": [], +} diff --git a/packages/courses-config/chibivue-zh-tw/chapters/070-minimal-vue.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/084-15-min-impl.jsonc similarity index 68% rename from packages/courses-config/chibivue-zh-tw/chapters/070-minimal-vue.jsonc rename to packages/courses-config/chibivue-zh-tw/chapters/084-15-min-impl.jsonc index 8638541..ea293b9 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/070-minimal-vue.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/084-15-min-impl.jsonc @@ -1,46 +1,54 @@ { "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", - "id": "minimal-vue", - "title": "15 分鐘編寫 Vue.js", + "id": "15-min-impl", + "title": "實作", "fromDir": "", "toDir": "bonus/hyper-ultimate-super-extreme-minimal-vue", - "docs": "https://book.chibivue.land/zh-tw/bonus/hyper-ultimate-super-extreme-minimal-vue/", + "docs": "https://book.chibivue.land/zh-tw/bonus/hyper-ultimate-super-extreme-minimal-vue/15-min-impl", "changedFiles": [ { "path": "examples/playground/index.html", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/package.json", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/App.vue", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/src/main.ts", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/tsconfig.json", - "kind": "U", + "kind": "U" }, { "path": "examples/playground/vite.config.ts", - "kind": "U", + "kind": "U" }, { "path": "package.json", - "kind": "U", + "kind": "U" }, { "path": "packages/index.ts", - "kind": "U", + "kind": "U" + }, + { + "path": "pnpm-workspace.yaml", + "kind": "U" }, { "path": "tsconfig.json", - "kind": "U", + "kind": "U" }, + { + "path": "vite.config.ts", + "kind": "U" + } ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/085-debug-vuejs-core.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/085-debug-vuejs-core.jsonc new file mode 100644 index 0000000..a0e1ae7 --- /dev/null +++ b/packages/courses-config/chibivue-zh-tw/chapters/085-debug-vuejs-core.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/RJiazhen/learn-by-diff/refs/heads/main/packages/protocol/schema.json#/$defs/chapter", + "id": "debug-vuejs-core", + "title": "除錯 Vue.js 原始碼", + "fromDir": "bonus/hyper-ultimate-super-extreme-minimal-vue", + "toDir": "bonus/hyper-ultimate-super-extreme-minimal-vue", + "docs": "https://book.chibivue.land/zh-tw/bonus/debug-vuejs-core", + "changedFiles": [], +} From 89449a3869aacbf169ee1761dfb1df975a606b2e Mon Sep 17 00:00:00 2001 From: Ruan Jiazhen Date: Mon, 19 Oct 2026 00:56:34 +0800 Subject: [PATCH 3/3] style(courses): format chibivue chapter JSONC CI rejects the generated chapter files because changedFiles entries omit trailing commas. Co-authored-by: Cursor --- .../chapters/004-setup-project.jsonc | 22 ++++---- .../chapters/005-create-app-api.jsonc | 10 ++-- .../chapters/006-package-architecture.jsonc | 22 ++++---- .../chapters/007-simple-h-function.jsonc | 28 +++++----- ...ementing-a-minimum-reactivity-system.jsonc | 24 ++++----- .../chapters/011-minimum-virtual-dom.jsonc | 14 ++--- .../chapters/012-minimum-component.jsonc | 16 +++--- .../chapters/013-component-props.jsonc | 14 ++--- .../chapters/014-component-emits.jsonc | 20 +++---- .../chapters/016-template-compiler-impl.jsonc | 30 +++++------ .../chapters/017-more-complex-parser.jsonc | 12 ++--- .../chapters/018-template-binding.jsonc | 18 +++---- ...9-prerequisite-knowledge-for-the-sfc.jsonc | 34 ++++++------ .../chibivue-en/chapters/020-parse-sfc.jsonc | 52 +++++++++---------- .../chapters/021-compile-sfc-template.jsonc | 16 +++--- .../chapters/023-compile-sfc-style.jsonc | 16 +++--- .../chapters/025-patch-keyed-children.jsonc | 16 +++--- .../chibivue-en/chapters/026-bit-flags.jsonc | 14 ++--- .../chibivue-en/chapters/027-scheduler.jsonc | 18 +++---- .../chapters/028-patch-other-attrs.jsonc | 18 +++---- .../chibivue-en/chapters/030-ref-api.jsonc | 24 ++++----- .../chapters/031-computed-watch.jsonc | 20 +++---- .../032-reactive-proxy-handlers.jsonc | 24 ++++----- .../chapters/033-effect-scope.jsonc | 20 +++---- .../chibivue-en/chapters/034-other-apis.jsonc | 18 +++---- .../chapters/035-lifecycle-hooks.jsonc | 24 ++++----- .../chapters/036-provide-inject.jsonc | 20 +++---- .../037-component-proxy-setup-context.jsonc | 24 ++++----- .../chapters/038-component-slot.jsonc | 20 +++---- .../chapters/039-options-api.jsonc | 18 +++---- .../chibivue-en/chapters/040-transform.jsonc | 20 +++---- .../chibivue-en/chapters/041-v-bind.jsonc | 30 +++++------ .../chapters/042-transform-expression.jsonc | 30 +++++------ .../chibivue-en/chapters/043-v-on.jsonc | 32 ++++++------ .../chapters/044-event-modifier.jsonc | 32 ++++++------ .../chibivue-en/chapters/045-fragment.jsonc | 26 +++++----- .../chibivue-en/chapters/046-comment.jsonc | 24 ++++----- .../047-v-if-and-structural-directive.jsonc | 18 +++---- .../chibivue-en/chapters/048-v-for.jsonc | 36 ++++++------- .../chapters/049-resolve-component.jsonc | 48 ++++++++--------- .../chapters/050-component-slot-outlet.jsonc | 32 ++++++------ .../chapters/051-component-slot-insert.jsonc | 20 +++---- .../chapters/052-other-directives.jsonc | 30 +++++------ .../chapters/056-script-setup.jsonc | 14 ++--- .../chapters/057-define-props.jsonc | 18 +++---- .../chapters/058-define-emits.jsonc | 10 ++-- .../chibivue-en/chapters/059-scoped-css.jsonc | 10 ++-- .../chapters/060-props-destructure.jsonc | 8 +-- .../chapters/061-type-based-macros.jsonc | 10 ++-- .../chapters/067-create-ssr-app.jsonc | 52 +++++++++---------- .../chibivue-en/chapters/070-keep-alive.jsonc | 26 +++++----- .../chibivue-en/chapters/071-transition.jsonc | 14 ++--- .../chapters/072-static-hoisting.jsonc | 14 ++--- .../chapters/073-patch-flags.jsonc | 16 +++--- .../chapters/084-15-min-impl.jsonc | 24 ++++----- .../chapters/004-setup-project.jsonc | 22 ++++---- .../chapters/005-create-app-api.jsonc | 10 ++-- .../chapters/006-package-architecture.jsonc | 22 ++++---- .../chapters/007-simple-h-function.jsonc | 28 +++++----- ...ementing-a-minimum-reactivity-system.jsonc | 24 ++++----- .../chapters/011-minimum-virtual-dom.jsonc | 14 ++--- .../chapters/012-minimum-component.jsonc | 16 +++--- .../chapters/013-component-props.jsonc | 14 ++--- .../chapters/014-component-emits.jsonc | 20 +++---- .../chapters/016-template-compiler-impl.jsonc | 30 +++++------ .../chapters/017-more-complex-parser.jsonc | 12 ++--- .../chapters/018-template-binding.jsonc | 18 +++---- ...9-prerequisite-knowledge-for-the-sfc.jsonc | 34 ++++++------ .../chibivue-ja/chapters/020-parse-sfc.jsonc | 52 +++++++++---------- .../chapters/021-compile-sfc-template.jsonc | 16 +++--- .../chapters/023-compile-sfc-style.jsonc | 16 +++--- .../chapters/025-patch-keyed-children.jsonc | 16 +++--- .../chibivue-ja/chapters/026-bit-flags.jsonc | 14 ++--- .../chibivue-ja/chapters/027-scheduler.jsonc | 18 +++---- .../chapters/028-patch-other-attrs.jsonc | 18 +++---- .../chibivue-ja/chapters/030-ref-api.jsonc | 24 ++++----- .../chapters/031-computed-watch.jsonc | 20 +++---- .../032-reactive-proxy-handlers.jsonc | 24 ++++----- .../chapters/033-effect-scope.jsonc | 20 +++---- .../chibivue-ja/chapters/034-other-apis.jsonc | 18 +++---- .../chapters/035-lifecycle-hooks.jsonc | 24 ++++----- .../chapters/036-provide-inject.jsonc | 20 +++---- .../037-component-proxy-setup-context.jsonc | 24 ++++----- .../chapters/038-component-slot.jsonc | 20 +++---- .../chapters/039-options-api.jsonc | 18 +++---- .../chibivue-ja/chapters/040-transform.jsonc | 20 +++---- .../chibivue-ja/chapters/041-v-bind.jsonc | 30 +++++------ .../chapters/042-transform-expression.jsonc | 30 +++++------ .../chibivue-ja/chapters/043-v-on.jsonc | 32 ++++++------ .../chapters/044-event-modifier.jsonc | 32 ++++++------ .../chibivue-ja/chapters/045-fragment.jsonc | 26 +++++----- .../chibivue-ja/chapters/046-comment.jsonc | 24 ++++----- .../047-v-if-and-structural-directive.jsonc | 18 +++---- .../chibivue-ja/chapters/048-v-for.jsonc | 36 ++++++------- .../chapters/049-resolve-component.jsonc | 48 ++++++++--------- .../chapters/050-component-slot-outlet.jsonc | 32 ++++++------ .../chapters/051-component-slot-insert.jsonc | 20 +++---- .../chapters/052-other-directives.jsonc | 30 +++++------ .../chapters/056-script-setup.jsonc | 14 ++--- .../chapters/057-define-props.jsonc | 18 +++---- .../chapters/058-define-emits.jsonc | 10 ++-- .../chibivue-ja/chapters/059-scoped-css.jsonc | 10 ++-- .../chapters/060-props-destructure.jsonc | 8 +-- .../chapters/061-type-based-macros.jsonc | 10 ++-- .../chapters/067-create-ssr-app.jsonc | 52 +++++++++---------- .../chibivue-ja/chapters/070-keep-alive.jsonc | 26 +++++----- .../chibivue-ja/chapters/071-transition.jsonc | 14 ++--- .../chapters/072-static-hoisting.jsonc | 14 ++--- .../chapters/073-patch-flags.jsonc | 16 +++--- .../chapters/084-15-min-impl.jsonc | 24 ++++----- .../chapters/004-setup-project.jsonc | 22 ++++---- .../chapters/005-create-app-api.jsonc | 10 ++-- .../chapters/006-package-architecture.jsonc | 22 ++++---- .../chapters/007-simple-h-function.jsonc | 28 +++++----- ...ementing-a-minimum-reactivity-system.jsonc | 24 ++++----- .../chapters/011-minimum-virtual-dom.jsonc | 14 ++--- .../chapters/012-minimum-component.jsonc | 16 +++--- .../chapters/013-component-props.jsonc | 14 ++--- .../chapters/014-component-emits.jsonc | 20 +++---- .../chapters/016-template-compiler-impl.jsonc | 30 +++++------ .../chapters/017-more-complex-parser.jsonc | 12 ++--- .../chapters/018-template-binding.jsonc | 18 +++---- ...9-prerequisite-knowledge-for-the-sfc.jsonc | 34 ++++++------ .../chapters/020-parse-sfc.jsonc | 52 +++++++++---------- .../chapters/021-compile-sfc-template.jsonc | 16 +++--- .../chapters/023-compile-sfc-style.jsonc | 16 +++--- .../chapters/025-patch-keyed-children.jsonc | 16 +++--- .../chapters/026-bit-flags.jsonc | 14 ++--- .../chapters/027-scheduler.jsonc | 18 +++---- .../chapters/028-patch-other-attrs.jsonc | 18 +++---- .../chibivue-zh-cn/chapters/030-ref-api.jsonc | 24 ++++----- .../chapters/031-computed-watch.jsonc | 20 +++---- .../032-reactive-proxy-handlers.jsonc | 24 ++++----- .../chapters/033-effect-scope.jsonc | 20 +++---- .../chapters/034-other-apis.jsonc | 18 +++---- .../chapters/035-lifecycle-hooks.jsonc | 24 ++++----- .../chapters/036-provide-inject.jsonc | 20 +++---- .../037-component-proxy-setup-context.jsonc | 24 ++++----- .../chapters/038-component-slot.jsonc | 20 +++---- .../chapters/039-options-api.jsonc | 18 +++---- .../chapters/040-transform.jsonc | 20 +++---- .../chibivue-zh-cn/chapters/041-v-bind.jsonc | 30 +++++------ .../chapters/042-transform-expression.jsonc | 30 +++++------ .../chibivue-zh-cn/chapters/043-v-on.jsonc | 32 ++++++------ .../chapters/044-event-modifier.jsonc | 32 ++++++------ .../chapters/045-fragment.jsonc | 26 +++++----- .../chibivue-zh-cn/chapters/046-comment.jsonc | 24 ++++----- .../047-v-if-and-structural-directive.jsonc | 18 +++---- .../chibivue-zh-cn/chapters/048-v-for.jsonc | 36 ++++++------- .../chapters/049-resolve-component.jsonc | 48 ++++++++--------- .../chapters/050-component-slot-outlet.jsonc | 32 ++++++------ .../chapters/051-component-slot-insert.jsonc | 20 +++---- .../chapters/052-other-directives.jsonc | 30 +++++------ .../chapters/056-script-setup.jsonc | 14 ++--- .../chapters/057-define-props.jsonc | 18 +++---- .../chapters/058-define-emits.jsonc | 10 ++-- .../chapters/059-scoped-css.jsonc | 10 ++-- .../chapters/060-props-destructure.jsonc | 8 +-- .../chapters/061-type-based-macros.jsonc | 10 ++-- .../chapters/067-create-ssr-app.jsonc | 52 +++++++++---------- .../chapters/070-keep-alive.jsonc | 26 +++++----- .../chapters/071-transition.jsonc | 14 ++--- .../chapters/072-static-hoisting.jsonc | 14 ++--- .../chapters/073-patch-flags.jsonc | 16 +++--- .../chapters/084-15-min-impl.jsonc | 24 ++++----- .../chapters/004-setup-project.jsonc | 22 ++++---- .../chapters/005-create-app-api.jsonc | 10 ++-- .../chapters/006-package-architecture.jsonc | 22 ++++---- .../chapters/007-simple-h-function.jsonc | 28 +++++----- ...ementing-a-minimum-reactivity-system.jsonc | 24 ++++----- .../chapters/011-minimum-virtual-dom.jsonc | 14 ++--- .../chapters/012-minimum-component.jsonc | 16 +++--- .../chapters/013-component-props.jsonc | 14 ++--- .../chapters/014-component-emits.jsonc | 20 +++---- .../chapters/016-template-compiler-impl.jsonc | 30 +++++------ .../chapters/017-more-complex-parser.jsonc | 12 ++--- .../chapters/018-template-binding.jsonc | 18 +++---- ...9-prerequisite-knowledge-for-the-sfc.jsonc | 34 ++++++------ .../chapters/020-parse-sfc.jsonc | 52 +++++++++---------- .../chapters/021-compile-sfc-template.jsonc | 16 +++--- .../chapters/023-compile-sfc-style.jsonc | 16 +++--- .../chapters/025-patch-keyed-children.jsonc | 16 +++--- .../chapters/026-bit-flags.jsonc | 14 ++--- .../chapters/027-scheduler.jsonc | 18 +++---- .../chapters/028-patch-other-attrs.jsonc | 18 +++---- .../chibivue-zh-tw/chapters/030-ref-api.jsonc | 24 ++++----- .../chapters/031-computed-watch.jsonc | 20 +++---- .../032-reactive-proxy-handlers.jsonc | 24 ++++----- .../chapters/033-effect-scope.jsonc | 20 +++---- .../chapters/034-other-apis.jsonc | 18 +++---- .../chapters/035-lifecycle-hooks.jsonc | 24 ++++----- .../chapters/036-provide-inject.jsonc | 20 +++---- .../037-component-proxy-setup-context.jsonc | 24 ++++----- .../chapters/038-component-slot.jsonc | 20 +++---- .../chapters/039-options-api.jsonc | 18 +++---- .../chapters/040-transform.jsonc | 20 +++---- .../chibivue-zh-tw/chapters/041-v-bind.jsonc | 30 +++++------ .../chapters/042-transform-expression.jsonc | 30 +++++------ .../chibivue-zh-tw/chapters/043-v-on.jsonc | 32 ++++++------ .../chapters/044-event-modifier.jsonc | 32 ++++++------ .../chapters/045-fragment.jsonc | 26 +++++----- .../chibivue-zh-tw/chapters/046-comment.jsonc | 24 ++++----- .../047-v-if-and-structural-directive.jsonc | 18 +++---- .../chibivue-zh-tw/chapters/048-v-for.jsonc | 36 ++++++------- .../chapters/049-resolve-component.jsonc | 48 ++++++++--------- .../chapters/050-component-slot-outlet.jsonc | 32 ++++++------ .../chapters/051-component-slot-insert.jsonc | 20 +++---- .../chapters/052-other-directives.jsonc | 30 +++++------ .../chapters/056-script-setup.jsonc | 14 ++--- .../chapters/057-define-props.jsonc | 18 +++---- .../chapters/058-define-emits.jsonc | 10 ++-- .../chapters/059-scoped-css.jsonc | 10 ++-- .../chapters/060-props-destructure.jsonc | 8 +-- .../chapters/061-type-based-macros.jsonc | 10 ++-- .../chapters/067-create-ssr-app.jsonc | 52 +++++++++---------- .../chapters/070-keep-alive.jsonc | 26 +++++----- .../chapters/071-transition.jsonc | 14 ++--- .../chapters/072-static-hoisting.jsonc | 14 ++--- .../chapters/073-patch-flags.jsonc | 16 +++--- .../chapters/084-15-min-impl.jsonc | 24 ++++----- 220 files changed, 2440 insertions(+), 2440 deletions(-) diff --git a/packages/courses-config/chibivue-en/chapters/004-setup-project.jsonc b/packages/courses-config/chibivue-en/chapters/004-setup-project.jsonc index fa6d03f..d07668c 100644 --- a/packages/courses-config/chibivue-en/chapters/004-setup-project.jsonc +++ b/packages/courses-config/chibivue-en/chapters/004-setup-project.jsonc @@ -8,43 +8,43 @@ "changedFiles": [ { "path": "examples/playground/index.html", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/package.json", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/vite.config.ts", - "kind": "U" + "kind": "U", }, { "path": "package.json", - "kind": "U" + "kind": "U", }, { "path": "packages/index.ts", - "kind": "U" + "kind": "U", }, { "path": "pnpm-workspace.yaml", - "kind": "U" + "kind": "U", }, { "path": "tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "vite.config.ts", - "kind": "U" - } + "kind": "U", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/005-create-app-api.jsonc b/packages/courses-config/chibivue-en/chapters/005-create-app-api.jsonc index 766191e..343dea8 100644 --- a/packages/courses-config/chibivue-en/chapters/005-create-app-api.jsonc +++ b/packages/courses-config/chibivue-en/chapters/005-create-app-api.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "U" - } + "kind": "U", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/006-package-architecture.jsonc b/packages/courses-config/chibivue-en/chapters/006-package-architecture.jsonc index 75b9459..34f03ba 100644 --- a/packages/courses-config/chibivue-en/chapters/006-package-architecture.jsonc +++ b/packages/courses-config/chibivue-en/chapters/006-package-architecture.jsonc @@ -8,43 +8,43 @@ "changedFiles": [ { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/007-simple-h-function.jsonc b/packages/courses-config/chibivue-en/chapters/007-simple-h-function.jsonc index 3db0d2c..e510abb 100644 --- a/packages/courses-config/chibivue-en/chapters/007-simple-h-function.jsonc +++ b/packages/courses-config/chibivue-en/chapters/007-simple-h-function.jsonc @@ -8,55 +8,55 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/h.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/modules/attrs.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/modules/events.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/patchProp.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc b/packages/courses-config/chibivue-en/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc index 2808d8c..7bc4dec 100644 --- a/packages/courses-config/chibivue-en/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc +++ b/packages/courses-config/chibivue-en/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/dep.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/effect.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/reactive.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/011-minimum-virtual-dom.jsonc b/packages/courses-config/chibivue-en/chapters/011-minimum-virtual-dom.jsonc index ca9299a..9d28de3 100644 --- a/packages/courses-config/chibivue-en/chapters/011-minimum-virtual-dom.jsonc +++ b/packages/courses-config/chibivue-en/chapters/011-minimum-virtual-dom.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/h.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/012-minimum-component.jsonc b/packages/courses-config/chibivue-en/chapters/012-minimum-component.jsonc index d88ffa8..bca0c72 100644 --- a/packages/courses-config/chibivue-en/chapters/012-minimum-component.jsonc +++ b/packages/courses-config/chibivue-en/chapters/012-minimum-component.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/h.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/013-component-props.jsonc b/packages/courses-config/chibivue-en/chapters/013-component-props.jsonc index 54b1154..e3ebf49 100644 --- a/packages/courses-config/chibivue-en/chapters/013-component-props.jsonc +++ b/packages/courses-config/chibivue-en/chapters/013-component-props.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/014-component-emits.jsonc b/packages/courses-config/chibivue-en/chapters/014-component-emits.jsonc index a7fa0d2..0fc0d10 100644 --- a/packages/courses-config/chibivue-en/chapters/014-component-emits.jsonc +++ b/packages/courses-config/chibivue-en/chapters/014-component-emits.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentEmits.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/shared/index.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/016-template-compiler-impl.jsonc b/packages/courses-config/chibivue-en/chapters/016-template-compiler-impl.jsonc index 0cabba2..8c20f6a 100644 --- a/packages/courses-config/chibivue-en/chapters/016-template-compiler-impl.jsonc +++ b/packages/courses-config/chibivue-en/chapters/016-template-compiler-impl.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/compile.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/parse.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-dom/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/017-more-complex-parser.jsonc b/packages/courses-config/chibivue-en/chapters/017-more-complex-parser.jsonc index f313dc2..8957250 100644 --- a/packages/courses-config/chibivue-en/chapters/017-more-complex-parser.jsonc +++ b/packages/courses-config/chibivue-en/chapters/017-more-complex-parser.jsonc @@ -8,23 +8,23 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/018-template-binding.jsonc b/packages/courses-config/chibivue-en/chapters/018-template-binding.jsonc index aa8a7bf..d845b8a 100644 --- a/packages/courses-config/chibivue-en/chapters/018-template-binding.jsonc +++ b/packages/courses-config/chibivue-en/chapters/018-template-binding.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc b/packages/courses-config/chibivue-en/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc index fee0bef..1d78a83 100644 --- a/packages/courses-config/chibivue-en/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc +++ b/packages/courses-config/chibivue-en/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc @@ -8,67 +8,67 @@ "changedFiles": [ { "path": "plugin-sample/README.md", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/index.html", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/package.json", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/pnpm-lock.yaml", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/public/vite.svg", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/assets/vue.svg", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/components/HelloWorld.vue", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/main.ts", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/plugin.sample.js", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/style.css", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/vite-env.d.ts", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/tsconfig.node.json", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/vite.config.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/020-parse-sfc.jsonc b/packages/courses-config/chibivue-en/chapters/020-parse-sfc.jsonc index 5a1c3c8..4c388b5 100644 --- a/packages/courses-config/chibivue-en/chapters/020-parse-sfc.jsonc +++ b/packages/courses-config/chibivue-en/chapters/020-parse-sfc.jsonc @@ -8,103 +8,103 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileTemplate.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/README.md", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/index.html", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/package.json", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/pnpm-lock.yaml", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/public/vite.svg", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/App.vue", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/assets/vue.svg", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/components/HelloWorld.vue", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/main.ts", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/plugin.sample.js", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/style.css", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/vite-env.d.ts", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/tsconfig.json", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/tsconfig.node.json", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/vite.config.ts", - "kind": "D" + "kind": "D", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/021-compile-sfc-template.jsonc b/packages/courses-config/chibivue-en/chapters/021-compile-sfc-template.jsonc index 0300993..6767144 100644 --- a/packages/courses-config/chibivue-en/chapters/021-compile-sfc-template.jsonc +++ b/packages/courses-config/chibivue-en/chapters/021-compile-sfc-template.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/023-compile-sfc-style.jsonc b/packages/courses-config/chibivue-en/chapters/023-compile-sfc-style.jsonc index 29af878..73502e9 100644 --- a/packages/courses-config/chibivue-en/chapters/023-compile-sfc-style.jsonc +++ b/packages/courses-config/chibivue-en/chapters/023-compile-sfc-style.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "package.json", - "kind": "M" + "kind": "M", }, { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/rewriteDefault.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/025-patch-keyed-children.jsonc b/packages/courses-config/chibivue-en/chapters/025-patch-keyed-children.jsonc index fcf2566..4b71f13 100644 --- a/packages/courses-config/chibivue-en/chapters/025-patch-keyed-children.jsonc +++ b/packages/courses-config/chibivue-en/chapters/025-patch-keyed-children.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/026-bit-flags.jsonc b/packages/courses-config/chibivue-en/chapters/026-bit-flags.jsonc index edada63..1940d5a 100644 --- a/packages/courses-config/chibivue-en/chapters/026-bit-flags.jsonc +++ b/packages/courses-config/chibivue-en/chapters/026-bit-flags.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/reactivity/baseHandler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/shapeFlags.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/027-scheduler.jsonc b/packages/courses-config/chibivue-en/chapters/027-scheduler.jsonc index 201c242..23c1b32 100644 --- a/packages/courses-config/chibivue-en/chapters/027-scheduler.jsonc +++ b/packages/courses-config/chibivue-en/chapters/027-scheduler.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/effect.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/scheduler.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/028-patch-other-attrs.jsonc b/packages/courses-config/chibivue-en/chapters/028-patch-other-attrs.jsonc index 9a128f5..f54f98f 100644 --- a/packages/courses-config/chibivue-en/chapters/028-patch-other-attrs.jsonc +++ b/packages/courses-config/chibivue-en/chapters/028-patch-other-attrs.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/modules/class.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/modules/props.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/modules/style.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/patchProp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/030-ref-api.jsonc b/packages/courses-config/chibivue-en/chapters/030-ref-api.jsonc index 4f50a36..d340e35 100644 --- a/packages/courses-config/chibivue-en/chapters/030-ref-api.jsonc +++ b/packages/courses-config/chibivue-en/chapters/030-ref-api.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/effect.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/reactive.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/ref.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/typeUtils.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/031-computed-watch.jsonc b/packages/courses-config/chibivue-en/chapters/031-computed-watch.jsonc index 93b33c1..a61f3f2 100644 --- a/packages/courses-config/chibivue-en/chapters/031-computed-watch.jsonc +++ b/packages/courses-config/chibivue-en/chapters/031-computed-watch.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/computed.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiWatch.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/032-reactive-proxy-handlers.jsonc b/packages/courses-config/chibivue-en/chapters/032-reactive-proxy-handlers.jsonc index 8aaa407..1568a7a 100644 --- a/packages/courses-config/chibivue-en/chapters/032-reactive-proxy-handlers.jsonc +++ b/packages/courses-config/chibivue-en/chapters/032-reactive-proxy-handlers.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/effect.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/reactive.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/033-effect-scope.jsonc b/packages/courses-config/chibivue-en/chapters/033-effect-scope.jsonc index 754e99e..5c6947c 100644 --- a/packages/courses-config/chibivue-en/chapters/033-effect-scope.jsonc +++ b/packages/courses-config/chibivue-en/chapters/033-effect-scope.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/effect.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/effectScope.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiWatch.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/034-other-apis.jsonc b/packages/courses-config/chibivue-en/chapters/034-other-apis.jsonc index 2828f0a..00865b0 100644 --- a/packages/courses-config/chibivue-en/chapters/034-other-apis.jsonc +++ b/packages/courses-config/chibivue-en/chapters/034-other-apis.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/reactive.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/ref.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/035-lifecycle-hooks.jsonc b/packages/courses-config/chibivue-en/chapters/035-lifecycle-hooks.jsonc index 9619866..5580a48 100644 --- a/packages/courses-config/chibivue-en/chapters/035-lifecycle-hooks.jsonc +++ b/packages/courses-config/chibivue-en/chapters/035-lifecycle-hooks.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiLifecycle.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/enums.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/scheduler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/036-provide-inject.jsonc b/packages/courses-config/chibivue-en/chapters/036-provide-inject.jsonc index 7a2b7f8..60d4f40 100644 --- a/packages/courses-config/chibivue-en/chapters/036-provide-inject.jsonc +++ b/packages/courses-config/chibivue-en/chapters/036-provide-inject.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiInject.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/037-component-proxy-setup-context.jsonc b/packages/courses-config/chibivue-en/chapters/037-component-proxy-setup-context.jsonc index 2dbb96c..7ad61ec 100644 --- a/packages/courses-config/chibivue-en/chapters/037-component-proxy-setup-context.jsonc +++ b/packages/courses-config/chibivue-en/chapters/037-component-proxy-setup-context.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/ref.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiDefineComponent.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/038-component-slot.jsonc b/packages/courses-config/chibivue-en/chapters/038-component-slot.jsonc index 7bce5d3..82f958d 100644 --- a/packages/courses-config/chibivue-en/chapters/038-component-slot.jsonc +++ b/packages/courses-config/chibivue-en/chapters/038-component-slot.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentSlots.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/h.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/shapeFlags.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/typeUtils.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/039-options-api.jsonc b/packages/courses-config/chibivue-en/chapters/039-options-api.jsonc index be63e48..f467180 100644 --- a/packages/courses-config/chibivue-en/chapters/039-options-api.jsonc +++ b/packages/courses-config/chibivue-en/chapters/039-options-api.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiDefineComponent.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentEmits.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/typeUtils.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/040-transform.jsonc b/packages/courses-config/chibivue-en/chapters/040-transform.jsonc index 2a516ba..1316cc5 100644 --- a/packages/courses-config/chibivue-en/chapters/040-transform.jsonc +++ b/packages/courses-config/chibivue-en/chapters/040-transform.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/041-v-bind.jsonc b/packages/courses-config/chibivue-en/chapters/041-v-bind.jsonc index 215fea4..f6cb31d 100644 --- a/packages/courses-config/chibivue-en/chapters/041-v-bind.jsonc +++ b/packages/courses-config/chibivue-en/chapters/041-v-bind.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vBind.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/normalizeProp.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/042-transform-expression.jsonc b/packages/courses-config/chibivue-en/chapters/042-transform-expression.jsonc index 66d0489..d15b06e 100644 --- a/packages/courses-config/chibivue-en/chapters/042-transform-expression.jsonc +++ b/packages/courses-config/chibivue-en/chapters/042-transform-expression.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/transforms/vBind.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/makeMap.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/043-v-on.jsonc b/packages/courses-config/chibivue-en/chapters/043-v-on.jsonc index 11f6092..0a2b475 100644 --- a/packages/courses-config/chibivue-en/chapters/043-v-on.jsonc +++ b/packages/courses-config/chibivue-en/chapters/043-v-on.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vOn.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/helpers/toHandlers.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/044-event-modifier.jsonc b/packages/courses-config/chibivue-en/chapters/044-event-modifier.jsonc index 2227134..23a4c63 100644 --- a/packages/courses-config/chibivue-en/chapters/044-event-modifier.jsonc +++ b/packages/courses-config/chibivue-en/chapters/044-event-modifier.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vOn.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/transforms/vOn.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/directives/vOn.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/runtimeHelpers.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/045-fragment.jsonc b/packages/courses-config/chibivue-en/chapters/045-fragment.jsonc index 0b4ed23..e5a626c 100644 --- a/packages/courses-config/chibivue-en/chapters/045-fragment.jsonc +++ b/packages/courses-config/chibivue-en/chapters/045-fragment.jsonc @@ -8,51 +8,51 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/h.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/046-comment.jsonc b/packages/courses-config/chibivue-en/chapters/046-comment.jsonc index c952191..1faf15a 100644 --- a/packages/courses-config/chibivue-en/chapters/046-comment.jsonc +++ b/packages/courses-config/chibivue-en/chapters/046-comment.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/047-v-if-and-structural-directive.jsonc b/packages/courses-config/chibivue-en/chapters/047-v-if-and-structural-directive.jsonc index 2d9bd46..a361d1b 100644 --- a/packages/courses-config/chibivue-en/chapters/047-v-if-and-structural-directive.jsonc +++ b/packages/courses-config/chibivue-en/chapters/047-v-if-and-structural-directive.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vIf.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/048-v-for.jsonc b/packages/courses-config/chibivue-en/chapters/048-v-for.jsonc index 9d38cae..b50ad16 100644 --- a/packages/courses-config/chibivue-en/chapters/048-v-for.jsonc +++ b/packages/courses-config/chibivue-en/chapters/048-v-for.jsonc @@ -8,71 +8,71 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.js", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/vite.config.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vFor.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/helpers/renderList.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/049-resolve-component.jsonc b/packages/courses-config/chibivue-en/chapters/049-resolve-component.jsonc index 577d993..870c5bc 100644 --- a/packages/courses-config/chibivue-en/chapters/049-resolve-component.jsonc +++ b/packages/courses-config/chibivue-en/chapters/049-resolve-component.jsonc @@ -8,95 +8,95 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/components/Counter.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.js", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/vite.config.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/parserOptions.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/helpers/resolveAssets.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/domTagConfig.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/050-component-slot-outlet.jsonc b/packages/courses-config/chibivue-en/chapters/050-component-slot-outlet.jsonc index 5cd5da9..2949c23 100644 --- a/packages/courses-config/chibivue-en/chapters/050-component-slot-outlet.jsonc +++ b/packages/courses-config/chibivue-en/chapters/050-component-slot-outlet.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Comp.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/components/Counter.vue", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformSlotOutlet.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/helpers/renderSlot.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/051-component-slot-insert.jsonc b/packages/courses-config/chibivue-en/chapters/051-component-slot-insert.jsonc index 0522c06..f730e43 100644 --- a/packages/courses-config/chibivue-en/chapters/051-component-slot-insert.jsonc +++ b/packages/courses-config/chibivue-en/chapters/051-component-slot-insert.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vSlot.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/052-other-directives.jsonc b/packages/courses-config/chibivue-en/chapters/052-other-directives.jsonc index 20231ed..5deea7c 100644 --- a/packages/courses-config/chibivue-en/chapters/052-other-directives.jsonc +++ b/packages/courses-config/chibivue-en/chapters/052-other-directives.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Comp.vue", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vSlot.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/transforms/vHtml.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-dom/transforms/vText.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/056-script-setup.jsonc b/packages/courses-config/chibivue-en/chapters/056-script-setup.jsonc index 320fef6..d4d9a6a 100644 --- a/packages/courses-config/chibivue-en/chapters/056-script-setup.jsonc +++ b/packages/courses-config/chibivue-en/chapters/056-script-setup.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/057-define-props.jsonc b/packages/courses-config/chibivue-en/chapters/057-define-props.jsonc index a0450fc..9f6b844 100644 --- a/packages/courses-config/chibivue-en/chapters/057-define-props.jsonc +++ b/packages/courses-config/chibivue-en/chapters/057-define-props.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/058-define-emits.jsonc b/packages/courses-config/chibivue-en/chapters/058-define-emits.jsonc index 83109a6..1bf1ced 100644 --- a/packages/courses-config/chibivue-en/chapters/058-define-emits.jsonc +++ b/packages/courses-config/chibivue-en/chapters/058-define-emits.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/059-scoped-css.jsonc b/packages/courses-config/chibivue-en/chapters/059-scoped-css.jsonc index 65645bb..6061d56 100644 --- a/packages/courses-config/chibivue-en/chapters/059-scoped-css.jsonc +++ b/packages/courses-config/chibivue-en/chapters/059-scoped-css.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/060-props-destructure.jsonc b/packages/courses-config/chibivue-en/chapters/060-props-destructure.jsonc index d3a6df6..58e9db9 100644 --- a/packages/courses-config/chibivue-en/chapters/060-props-destructure.jsonc +++ b/packages/courses-config/chibivue-en/chapters/060-props-destructure.jsonc @@ -8,15 +8,15 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/061-type-based-macros.jsonc b/packages/courses-config/chibivue-en/chapters/061-type-based-macros.jsonc index 83f6e7d..8d3d9f1 100644 --- a/packages/courses-config/chibivue-en/chapters/061-type-based-macros.jsonc +++ b/packages/courses-config/chibivue-en/chapters/061-type-based-macros.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/067-create-ssr-app.jsonc b/packages/courses-config/chibivue-en/chapters/067-create-ssr-app.jsonc index f69f247..d2251b3 100644 --- a/packages/courses-config/chibivue-en/chapters/067-create-ssr-app.jsonc +++ b/packages/courses-config/chibivue-en/chapters/067-create-ssr-app.jsonc @@ -8,103 +8,103 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/hydration.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/server-renderer/helpers/ssrInterpolate.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/helpers/ssrRenderAttrs.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/helpers/ssrRenderList.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/helpers/ssrUtils.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/render.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/renderToString.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/070-keep-alive.jsonc b/packages/courses-config/chibivue-en/chapters/070-keep-alive.jsonc index 4c02466..2af4b45 100644 --- a/packages/courses-config/chibivue-en/chapters/070-keep-alive.jsonc +++ b/packages/courses-config/chibivue-en/chapters/070-keep-alive.jsonc @@ -8,51 +8,51 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Counter.vue", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/apiLifecycle.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/components/KeepAlive.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/hydration.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/shapeFlags.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/071-transition.jsonc b/packages/courses-config/chibivue-en/chapters/071-transition.jsonc index e975341..d848d30 100644 --- a/packages/courses-config/chibivue-en/chapters/071-transition.jsonc +++ b/packages/courses-config/chibivue-en/chapters/071-transition.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Counter.vue", - "kind": "D" + "kind": "D", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/components/Transition.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/072-static-hoisting.jsonc b/packages/courses-config/chibivue-en/chapters/072-static-hoisting.jsonc index 6ef2058..3270099 100644 --- a/packages/courses-config/chibivue-en/chapters/072-static-hoisting.jsonc +++ b/packages/courses-config/chibivue-en/chapters/072-static-hoisting.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/073-patch-flags.jsonc b/packages/courses-config/chibivue-en/chapters/073-patch-flags.jsonc index 48544cb..423f20d 100644 --- a/packages/courses-config/chibivue-en/chapters/073-patch-flags.jsonc +++ b/packages/courses-config/chibivue-en/chapters/073-patch-flags.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/patchFlags.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-en/chapters/084-15-min-impl.jsonc b/packages/courses-config/chibivue-en/chapters/084-15-min-impl.jsonc index 2535a27..6656d7b 100644 --- a/packages/courses-config/chibivue-en/chapters/084-15-min-impl.jsonc +++ b/packages/courses-config/chibivue-en/chapters/084-15-min-impl.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/index.html", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/package.json", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/vite.config.ts", - "kind": "U" + "kind": "U", }, { "path": "package.json", - "kind": "U" + "kind": "U", }, { "path": "packages/index.ts", - "kind": "U" + "kind": "U", }, { "path": "pnpm-workspace.yaml", - "kind": "U" + "kind": "U", }, { "path": "tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "vite.config.ts", - "kind": "U" - } + "kind": "U", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/004-setup-project.jsonc b/packages/courses-config/chibivue-ja/chapters/004-setup-project.jsonc index 80d0f57..418cc58 100644 --- a/packages/courses-config/chibivue-ja/chapters/004-setup-project.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/004-setup-project.jsonc @@ -8,43 +8,43 @@ "changedFiles": [ { "path": "examples/playground/index.html", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/package.json", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/vite.config.ts", - "kind": "U" + "kind": "U", }, { "path": "package.json", - "kind": "U" + "kind": "U", }, { "path": "packages/index.ts", - "kind": "U" + "kind": "U", }, { "path": "pnpm-workspace.yaml", - "kind": "U" + "kind": "U", }, { "path": "tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "vite.config.ts", - "kind": "U" - } + "kind": "U", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/005-create-app-api.jsonc b/packages/courses-config/chibivue-ja/chapters/005-create-app-api.jsonc index eb7ec79..a8e9fef 100644 --- a/packages/courses-config/chibivue-ja/chapters/005-create-app-api.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/005-create-app-api.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "U" - } + "kind": "U", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/006-package-architecture.jsonc b/packages/courses-config/chibivue-ja/chapters/006-package-architecture.jsonc index 33df693..378b4ea 100644 --- a/packages/courses-config/chibivue-ja/chapters/006-package-architecture.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/006-package-architecture.jsonc @@ -8,43 +8,43 @@ "changedFiles": [ { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/007-simple-h-function.jsonc b/packages/courses-config/chibivue-ja/chapters/007-simple-h-function.jsonc index f0798f1..63fdb24 100644 --- a/packages/courses-config/chibivue-ja/chapters/007-simple-h-function.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/007-simple-h-function.jsonc @@ -8,55 +8,55 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/h.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/modules/attrs.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/modules/events.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/patchProp.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc b/packages/courses-config/chibivue-ja/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc index 7d20df6..84f594d 100644 --- a/packages/courses-config/chibivue-ja/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/dep.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/effect.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/reactive.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/011-minimum-virtual-dom.jsonc b/packages/courses-config/chibivue-ja/chapters/011-minimum-virtual-dom.jsonc index 67d97c1..584dc45 100644 --- a/packages/courses-config/chibivue-ja/chapters/011-minimum-virtual-dom.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/011-minimum-virtual-dom.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/h.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/012-minimum-component.jsonc b/packages/courses-config/chibivue-ja/chapters/012-minimum-component.jsonc index 5371072..c92a69a 100644 --- a/packages/courses-config/chibivue-ja/chapters/012-minimum-component.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/012-minimum-component.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/h.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/013-component-props.jsonc b/packages/courses-config/chibivue-ja/chapters/013-component-props.jsonc index 7c48559..7014a42 100644 --- a/packages/courses-config/chibivue-ja/chapters/013-component-props.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/013-component-props.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/014-component-emits.jsonc b/packages/courses-config/chibivue-ja/chapters/014-component-emits.jsonc index 1aab425..8ad4eda 100644 --- a/packages/courses-config/chibivue-ja/chapters/014-component-emits.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/014-component-emits.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentEmits.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/shared/index.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/016-template-compiler-impl.jsonc b/packages/courses-config/chibivue-ja/chapters/016-template-compiler-impl.jsonc index 67a9c71..c60ae00 100644 --- a/packages/courses-config/chibivue-ja/chapters/016-template-compiler-impl.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/016-template-compiler-impl.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/compile.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/parse.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-dom/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/017-more-complex-parser.jsonc b/packages/courses-config/chibivue-ja/chapters/017-more-complex-parser.jsonc index 0dfa76f..e65c6ae 100644 --- a/packages/courses-config/chibivue-ja/chapters/017-more-complex-parser.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/017-more-complex-parser.jsonc @@ -8,23 +8,23 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/018-template-binding.jsonc b/packages/courses-config/chibivue-ja/chapters/018-template-binding.jsonc index 4597b1c..1bb3030 100644 --- a/packages/courses-config/chibivue-ja/chapters/018-template-binding.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/018-template-binding.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc b/packages/courses-config/chibivue-ja/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc index d43bca1..1c3d75c 100644 --- a/packages/courses-config/chibivue-ja/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc @@ -8,67 +8,67 @@ "changedFiles": [ { "path": "plugin-sample/README.md", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/index.html", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/package.json", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/pnpm-lock.yaml", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/public/vite.svg", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/assets/vue.svg", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/components/HelloWorld.vue", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/main.ts", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/plugin.sample.js", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/style.css", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/vite-env.d.ts", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/tsconfig.node.json", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/vite.config.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/020-parse-sfc.jsonc b/packages/courses-config/chibivue-ja/chapters/020-parse-sfc.jsonc index d34eb39..25a788e 100644 --- a/packages/courses-config/chibivue-ja/chapters/020-parse-sfc.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/020-parse-sfc.jsonc @@ -8,103 +8,103 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileTemplate.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/README.md", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/index.html", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/package.json", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/pnpm-lock.yaml", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/public/vite.svg", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/App.vue", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/assets/vue.svg", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/components/HelloWorld.vue", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/main.ts", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/plugin.sample.js", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/style.css", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/vite-env.d.ts", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/tsconfig.json", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/tsconfig.node.json", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/vite.config.ts", - "kind": "D" + "kind": "D", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/021-compile-sfc-template.jsonc b/packages/courses-config/chibivue-ja/chapters/021-compile-sfc-template.jsonc index 1f69197..fec8a45 100644 --- a/packages/courses-config/chibivue-ja/chapters/021-compile-sfc-template.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/021-compile-sfc-template.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/023-compile-sfc-style.jsonc b/packages/courses-config/chibivue-ja/chapters/023-compile-sfc-style.jsonc index 6bcb0bc..522286e 100644 --- a/packages/courses-config/chibivue-ja/chapters/023-compile-sfc-style.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/023-compile-sfc-style.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "package.json", - "kind": "M" + "kind": "M", }, { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/rewriteDefault.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/025-patch-keyed-children.jsonc b/packages/courses-config/chibivue-ja/chapters/025-patch-keyed-children.jsonc index 8723490..3ef3814 100644 --- a/packages/courses-config/chibivue-ja/chapters/025-patch-keyed-children.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/025-patch-keyed-children.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/026-bit-flags.jsonc b/packages/courses-config/chibivue-ja/chapters/026-bit-flags.jsonc index 4025879..f3aea99 100644 --- a/packages/courses-config/chibivue-ja/chapters/026-bit-flags.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/026-bit-flags.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/reactivity/baseHandler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/shapeFlags.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/027-scheduler.jsonc b/packages/courses-config/chibivue-ja/chapters/027-scheduler.jsonc index b0c75ce..732c150 100644 --- a/packages/courses-config/chibivue-ja/chapters/027-scheduler.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/027-scheduler.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/effect.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/scheduler.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/028-patch-other-attrs.jsonc b/packages/courses-config/chibivue-ja/chapters/028-patch-other-attrs.jsonc index 2a6e51d..40fcd97 100644 --- a/packages/courses-config/chibivue-ja/chapters/028-patch-other-attrs.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/028-patch-other-attrs.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/modules/class.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/modules/props.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/modules/style.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/patchProp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/030-ref-api.jsonc b/packages/courses-config/chibivue-ja/chapters/030-ref-api.jsonc index bd603e8..e871729 100644 --- a/packages/courses-config/chibivue-ja/chapters/030-ref-api.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/030-ref-api.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/effect.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/reactive.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/ref.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/typeUtils.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/031-computed-watch.jsonc b/packages/courses-config/chibivue-ja/chapters/031-computed-watch.jsonc index e3c6e6b..001cc82 100644 --- a/packages/courses-config/chibivue-ja/chapters/031-computed-watch.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/031-computed-watch.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/computed.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiWatch.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/032-reactive-proxy-handlers.jsonc b/packages/courses-config/chibivue-ja/chapters/032-reactive-proxy-handlers.jsonc index a3b8f0f..7c77c6e 100644 --- a/packages/courses-config/chibivue-ja/chapters/032-reactive-proxy-handlers.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/032-reactive-proxy-handlers.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/effect.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/reactive.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/033-effect-scope.jsonc b/packages/courses-config/chibivue-ja/chapters/033-effect-scope.jsonc index 6593089..a5442ed 100644 --- a/packages/courses-config/chibivue-ja/chapters/033-effect-scope.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/033-effect-scope.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/effect.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/effectScope.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiWatch.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/034-other-apis.jsonc b/packages/courses-config/chibivue-ja/chapters/034-other-apis.jsonc index 20f45cc..45bcc22 100644 --- a/packages/courses-config/chibivue-ja/chapters/034-other-apis.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/034-other-apis.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/reactive.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/ref.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/035-lifecycle-hooks.jsonc b/packages/courses-config/chibivue-ja/chapters/035-lifecycle-hooks.jsonc index cff5ae2..79897dd 100644 --- a/packages/courses-config/chibivue-ja/chapters/035-lifecycle-hooks.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/035-lifecycle-hooks.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiLifecycle.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/enums.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/scheduler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/036-provide-inject.jsonc b/packages/courses-config/chibivue-ja/chapters/036-provide-inject.jsonc index 54272fd..f1c14b1 100644 --- a/packages/courses-config/chibivue-ja/chapters/036-provide-inject.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/036-provide-inject.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiInject.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/037-component-proxy-setup-context.jsonc b/packages/courses-config/chibivue-ja/chapters/037-component-proxy-setup-context.jsonc index 9a9c322..9fc8968 100644 --- a/packages/courses-config/chibivue-ja/chapters/037-component-proxy-setup-context.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/037-component-proxy-setup-context.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/ref.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiDefineComponent.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/038-component-slot.jsonc b/packages/courses-config/chibivue-ja/chapters/038-component-slot.jsonc index 7e8bb06..ae89c6e 100644 --- a/packages/courses-config/chibivue-ja/chapters/038-component-slot.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/038-component-slot.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentSlots.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/h.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/shapeFlags.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/typeUtils.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/039-options-api.jsonc b/packages/courses-config/chibivue-ja/chapters/039-options-api.jsonc index 6bb71a3..8b66189 100644 --- a/packages/courses-config/chibivue-ja/chapters/039-options-api.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/039-options-api.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiDefineComponent.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentEmits.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/typeUtils.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/040-transform.jsonc b/packages/courses-config/chibivue-ja/chapters/040-transform.jsonc index 926465c..5785d4e 100644 --- a/packages/courses-config/chibivue-ja/chapters/040-transform.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/040-transform.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/041-v-bind.jsonc b/packages/courses-config/chibivue-ja/chapters/041-v-bind.jsonc index 7818f56..e233f49 100644 --- a/packages/courses-config/chibivue-ja/chapters/041-v-bind.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/041-v-bind.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vBind.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/normalizeProp.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/042-transform-expression.jsonc b/packages/courses-config/chibivue-ja/chapters/042-transform-expression.jsonc index 97f03dd..7daeda0 100644 --- a/packages/courses-config/chibivue-ja/chapters/042-transform-expression.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/042-transform-expression.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/transforms/vBind.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/makeMap.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/043-v-on.jsonc b/packages/courses-config/chibivue-ja/chapters/043-v-on.jsonc index ed6bc19..17f6b82 100644 --- a/packages/courses-config/chibivue-ja/chapters/043-v-on.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/043-v-on.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vOn.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/helpers/toHandlers.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/044-event-modifier.jsonc b/packages/courses-config/chibivue-ja/chapters/044-event-modifier.jsonc index ec8d48f..22c46ed 100644 --- a/packages/courses-config/chibivue-ja/chapters/044-event-modifier.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/044-event-modifier.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vOn.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/transforms/vOn.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/directives/vOn.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/runtimeHelpers.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/045-fragment.jsonc b/packages/courses-config/chibivue-ja/chapters/045-fragment.jsonc index 930937e..d72ac74 100644 --- a/packages/courses-config/chibivue-ja/chapters/045-fragment.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/045-fragment.jsonc @@ -8,51 +8,51 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/h.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/046-comment.jsonc b/packages/courses-config/chibivue-ja/chapters/046-comment.jsonc index 27c9b76..b163c6b 100644 --- a/packages/courses-config/chibivue-ja/chapters/046-comment.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/046-comment.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/047-v-if-and-structural-directive.jsonc b/packages/courses-config/chibivue-ja/chapters/047-v-if-and-structural-directive.jsonc index 64ccfb1..019f403 100644 --- a/packages/courses-config/chibivue-ja/chapters/047-v-if-and-structural-directive.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/047-v-if-and-structural-directive.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vIf.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/048-v-for.jsonc b/packages/courses-config/chibivue-ja/chapters/048-v-for.jsonc index c57d8b1..3f5251f 100644 --- a/packages/courses-config/chibivue-ja/chapters/048-v-for.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/048-v-for.jsonc @@ -8,71 +8,71 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.js", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/vite.config.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vFor.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/helpers/renderList.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/049-resolve-component.jsonc b/packages/courses-config/chibivue-ja/chapters/049-resolve-component.jsonc index c258db9..decb824 100644 --- a/packages/courses-config/chibivue-ja/chapters/049-resolve-component.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/049-resolve-component.jsonc @@ -8,95 +8,95 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/components/Counter.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.js", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/vite.config.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/parserOptions.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/helpers/resolveAssets.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/domTagConfig.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/050-component-slot-outlet.jsonc b/packages/courses-config/chibivue-ja/chapters/050-component-slot-outlet.jsonc index a23090a..5052967 100644 --- a/packages/courses-config/chibivue-ja/chapters/050-component-slot-outlet.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/050-component-slot-outlet.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Comp.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/components/Counter.vue", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformSlotOutlet.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/helpers/renderSlot.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/051-component-slot-insert.jsonc b/packages/courses-config/chibivue-ja/chapters/051-component-slot-insert.jsonc index 939de78..49d863f 100644 --- a/packages/courses-config/chibivue-ja/chapters/051-component-slot-insert.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/051-component-slot-insert.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vSlot.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/052-other-directives.jsonc b/packages/courses-config/chibivue-ja/chapters/052-other-directives.jsonc index 6d28b7a..bed5b3c 100644 --- a/packages/courses-config/chibivue-ja/chapters/052-other-directives.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/052-other-directives.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Comp.vue", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vSlot.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/transforms/vHtml.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-dom/transforms/vText.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/056-script-setup.jsonc b/packages/courses-config/chibivue-ja/chapters/056-script-setup.jsonc index 978e193..792cf20 100644 --- a/packages/courses-config/chibivue-ja/chapters/056-script-setup.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/056-script-setup.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/057-define-props.jsonc b/packages/courses-config/chibivue-ja/chapters/057-define-props.jsonc index c1f4bd1..134730e 100644 --- a/packages/courses-config/chibivue-ja/chapters/057-define-props.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/057-define-props.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/058-define-emits.jsonc b/packages/courses-config/chibivue-ja/chapters/058-define-emits.jsonc index 239cc9f..6574531 100644 --- a/packages/courses-config/chibivue-ja/chapters/058-define-emits.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/058-define-emits.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/059-scoped-css.jsonc b/packages/courses-config/chibivue-ja/chapters/059-scoped-css.jsonc index fb28d6b..dae9743 100644 --- a/packages/courses-config/chibivue-ja/chapters/059-scoped-css.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/059-scoped-css.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/060-props-destructure.jsonc b/packages/courses-config/chibivue-ja/chapters/060-props-destructure.jsonc index c1956f4..5153207 100644 --- a/packages/courses-config/chibivue-ja/chapters/060-props-destructure.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/060-props-destructure.jsonc @@ -8,15 +8,15 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/061-type-based-macros.jsonc b/packages/courses-config/chibivue-ja/chapters/061-type-based-macros.jsonc index 9c863af..32e7809 100644 --- a/packages/courses-config/chibivue-ja/chapters/061-type-based-macros.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/061-type-based-macros.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/067-create-ssr-app.jsonc b/packages/courses-config/chibivue-ja/chapters/067-create-ssr-app.jsonc index a288e6a..20340a3 100644 --- a/packages/courses-config/chibivue-ja/chapters/067-create-ssr-app.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/067-create-ssr-app.jsonc @@ -8,103 +8,103 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/hydration.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/server-renderer/helpers/ssrInterpolate.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/helpers/ssrRenderAttrs.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/helpers/ssrRenderList.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/helpers/ssrUtils.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/render.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/renderToString.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/070-keep-alive.jsonc b/packages/courses-config/chibivue-ja/chapters/070-keep-alive.jsonc index 0d298aa..2da50c1 100644 --- a/packages/courses-config/chibivue-ja/chapters/070-keep-alive.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/070-keep-alive.jsonc @@ -8,51 +8,51 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Counter.vue", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/apiLifecycle.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/components/KeepAlive.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/hydration.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/shapeFlags.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/071-transition.jsonc b/packages/courses-config/chibivue-ja/chapters/071-transition.jsonc index 63acfcf..7ddb6c4 100644 --- a/packages/courses-config/chibivue-ja/chapters/071-transition.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/071-transition.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Counter.vue", - "kind": "D" + "kind": "D", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/components/Transition.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/072-static-hoisting.jsonc b/packages/courses-config/chibivue-ja/chapters/072-static-hoisting.jsonc index 3f11e84..55e808c 100644 --- a/packages/courses-config/chibivue-ja/chapters/072-static-hoisting.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/072-static-hoisting.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/073-patch-flags.jsonc b/packages/courses-config/chibivue-ja/chapters/073-patch-flags.jsonc index e397dde..01953b1 100644 --- a/packages/courses-config/chibivue-ja/chapters/073-patch-flags.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/073-patch-flags.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/patchFlags.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-ja/chapters/084-15-min-impl.jsonc b/packages/courses-config/chibivue-ja/chapters/084-15-min-impl.jsonc index 2c9a675..f859ec2 100644 --- a/packages/courses-config/chibivue-ja/chapters/084-15-min-impl.jsonc +++ b/packages/courses-config/chibivue-ja/chapters/084-15-min-impl.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/index.html", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/package.json", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/vite.config.ts", - "kind": "U" + "kind": "U", }, { "path": "package.json", - "kind": "U" + "kind": "U", }, { "path": "packages/index.ts", - "kind": "U" + "kind": "U", }, { "path": "pnpm-workspace.yaml", - "kind": "U" + "kind": "U", }, { "path": "tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "vite.config.ts", - "kind": "U" - } + "kind": "U", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/004-setup-project.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/004-setup-project.jsonc index 7dacce2..d925cfd 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/004-setup-project.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/004-setup-project.jsonc @@ -8,43 +8,43 @@ "changedFiles": [ { "path": "examples/playground/index.html", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/package.json", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/vite.config.ts", - "kind": "U" + "kind": "U", }, { "path": "package.json", - "kind": "U" + "kind": "U", }, { "path": "packages/index.ts", - "kind": "U" + "kind": "U", }, { "path": "pnpm-workspace.yaml", - "kind": "U" + "kind": "U", }, { "path": "tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "vite.config.ts", - "kind": "U" - } + "kind": "U", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/005-create-app-api.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/005-create-app-api.jsonc index b6a3595..15571c0 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/005-create-app-api.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/005-create-app-api.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "U" - } + "kind": "U", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/006-package-architecture.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/006-package-architecture.jsonc index eedda63..eda6a58 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/006-package-architecture.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/006-package-architecture.jsonc @@ -8,43 +8,43 @@ "changedFiles": [ { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/007-simple-h-function.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/007-simple-h-function.jsonc index 304c524..b370aa8 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/007-simple-h-function.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/007-simple-h-function.jsonc @@ -8,55 +8,55 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/h.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/modules/attrs.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/modules/events.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/patchProp.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc index ecf97e8..a26e10c 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/dep.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/effect.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/reactive.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/011-minimum-virtual-dom.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/011-minimum-virtual-dom.jsonc index c2d20c5..27cd37d 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/011-minimum-virtual-dom.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/011-minimum-virtual-dom.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/h.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/012-minimum-component.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/012-minimum-component.jsonc index 0f2b879..51ce0f3 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/012-minimum-component.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/012-minimum-component.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/h.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/013-component-props.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/013-component-props.jsonc index 04c1243..3dfffea 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/013-component-props.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/013-component-props.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/014-component-emits.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/014-component-emits.jsonc index fa4c2a5..b6cc2ef 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/014-component-emits.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/014-component-emits.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentEmits.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/shared/index.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/016-template-compiler-impl.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/016-template-compiler-impl.jsonc index 8afb8a2..3b58ee6 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/016-template-compiler-impl.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/016-template-compiler-impl.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/compile.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/parse.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-dom/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/017-more-complex-parser.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/017-more-complex-parser.jsonc index 575a73c..5fbe1d2 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/017-more-complex-parser.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/017-more-complex-parser.jsonc @@ -8,23 +8,23 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/018-template-binding.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/018-template-binding.jsonc index 1e93a64..9754d17 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/018-template-binding.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/018-template-binding.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc index b35b5f4..76d55d0 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc @@ -8,67 +8,67 @@ "changedFiles": [ { "path": "plugin-sample/README.md", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/index.html", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/package.json", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/pnpm-lock.yaml", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/public/vite.svg", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/assets/vue.svg", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/components/HelloWorld.vue", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/main.ts", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/plugin.sample.js", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/style.css", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/vite-env.d.ts", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/tsconfig.node.json", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/vite.config.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/020-parse-sfc.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/020-parse-sfc.jsonc index e0e861e..5cf69a7 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/020-parse-sfc.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/020-parse-sfc.jsonc @@ -8,103 +8,103 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileTemplate.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/README.md", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/index.html", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/package.json", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/pnpm-lock.yaml", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/public/vite.svg", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/App.vue", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/assets/vue.svg", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/components/HelloWorld.vue", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/main.ts", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/plugin.sample.js", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/style.css", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/vite-env.d.ts", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/tsconfig.json", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/tsconfig.node.json", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/vite.config.ts", - "kind": "D" + "kind": "D", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/021-compile-sfc-template.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/021-compile-sfc-template.jsonc index 31a9022..8dfa83d 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/021-compile-sfc-template.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/021-compile-sfc-template.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/023-compile-sfc-style.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/023-compile-sfc-style.jsonc index ed2b088..e6deebc 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/023-compile-sfc-style.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/023-compile-sfc-style.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "package.json", - "kind": "M" + "kind": "M", }, { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/rewriteDefault.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/025-patch-keyed-children.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/025-patch-keyed-children.jsonc index 4dac9ca..5e0cc9c 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/025-patch-keyed-children.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/025-patch-keyed-children.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/026-bit-flags.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/026-bit-flags.jsonc index 1f6be76..c33b85c 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/026-bit-flags.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/026-bit-flags.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/reactivity/baseHandler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/shapeFlags.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/027-scheduler.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/027-scheduler.jsonc index ca32b40..56a7692 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/027-scheduler.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/027-scheduler.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/effect.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/scheduler.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/028-patch-other-attrs.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/028-patch-other-attrs.jsonc index 2599efc..2c9da9d 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/028-patch-other-attrs.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/028-patch-other-attrs.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/modules/class.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/modules/props.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/modules/style.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/patchProp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/030-ref-api.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/030-ref-api.jsonc index 0d07125..99daf14 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/030-ref-api.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/030-ref-api.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/effect.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/reactive.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/ref.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/typeUtils.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/031-computed-watch.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/031-computed-watch.jsonc index bfc2d88..658097b 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/031-computed-watch.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/031-computed-watch.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/computed.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiWatch.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/032-reactive-proxy-handlers.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/032-reactive-proxy-handlers.jsonc index 30b4a84..728eeb9 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/032-reactive-proxy-handlers.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/032-reactive-proxy-handlers.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/effect.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/reactive.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/033-effect-scope.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/033-effect-scope.jsonc index cd1dbe4..4250c7f 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/033-effect-scope.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/033-effect-scope.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/effect.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/effectScope.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiWatch.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/034-other-apis.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/034-other-apis.jsonc index 0f00434..38dfbde 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/034-other-apis.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/034-other-apis.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/reactive.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/ref.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/035-lifecycle-hooks.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/035-lifecycle-hooks.jsonc index c6a68a7..567fd68 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/035-lifecycle-hooks.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/035-lifecycle-hooks.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiLifecycle.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/enums.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/scheduler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/036-provide-inject.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/036-provide-inject.jsonc index 8e2d047..e5943c0 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/036-provide-inject.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/036-provide-inject.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiInject.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/037-component-proxy-setup-context.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/037-component-proxy-setup-context.jsonc index 682eb94..0eb6e49 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/037-component-proxy-setup-context.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/037-component-proxy-setup-context.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/ref.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiDefineComponent.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/038-component-slot.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/038-component-slot.jsonc index db972e0..8103742 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/038-component-slot.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/038-component-slot.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentSlots.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/h.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/shapeFlags.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/typeUtils.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/039-options-api.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/039-options-api.jsonc index df15b00..12c4408 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/039-options-api.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/039-options-api.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiDefineComponent.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentEmits.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/typeUtils.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/040-transform.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/040-transform.jsonc index 9dcd20b..04535bf 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/040-transform.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/040-transform.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/041-v-bind.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/041-v-bind.jsonc index 04e7bb1..5a55b4c 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/041-v-bind.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/041-v-bind.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vBind.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/normalizeProp.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/042-transform-expression.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/042-transform-expression.jsonc index cbce7f9..860e983 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/042-transform-expression.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/042-transform-expression.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/transforms/vBind.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/makeMap.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/043-v-on.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/043-v-on.jsonc index 595ad3a..1a55819 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/043-v-on.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/043-v-on.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vOn.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/helpers/toHandlers.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/044-event-modifier.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/044-event-modifier.jsonc index 262231f..1966efd 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/044-event-modifier.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/044-event-modifier.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vOn.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/transforms/vOn.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/directives/vOn.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/runtimeHelpers.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/045-fragment.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/045-fragment.jsonc index da373b1..f1b210b 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/045-fragment.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/045-fragment.jsonc @@ -8,51 +8,51 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/h.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/046-comment.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/046-comment.jsonc index a60b5d5..69226e0 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/046-comment.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/046-comment.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/047-v-if-and-structural-directive.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/047-v-if-and-structural-directive.jsonc index 6dd7ab5..e1cf871 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/047-v-if-and-structural-directive.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/047-v-if-and-structural-directive.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vIf.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/048-v-for.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/048-v-for.jsonc index 228d9cd..130a479 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/048-v-for.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/048-v-for.jsonc @@ -8,71 +8,71 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.js", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/vite.config.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vFor.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/helpers/renderList.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/049-resolve-component.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/049-resolve-component.jsonc index 9cfb78d..957e081 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/049-resolve-component.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/049-resolve-component.jsonc @@ -8,95 +8,95 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/components/Counter.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.js", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/vite.config.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/parserOptions.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/helpers/resolveAssets.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/domTagConfig.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/050-component-slot-outlet.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/050-component-slot-outlet.jsonc index 0f37828..3d3e68a 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/050-component-slot-outlet.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/050-component-slot-outlet.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Comp.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/components/Counter.vue", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformSlotOutlet.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/helpers/renderSlot.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/051-component-slot-insert.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/051-component-slot-insert.jsonc index 7de61ef..8c8a133 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/051-component-slot-insert.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/051-component-slot-insert.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vSlot.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/052-other-directives.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/052-other-directives.jsonc index 2c284d7..a10926a 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/052-other-directives.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/052-other-directives.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Comp.vue", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vSlot.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/transforms/vHtml.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-dom/transforms/vText.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/056-script-setup.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/056-script-setup.jsonc index 125f907..8b224ed 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/056-script-setup.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/056-script-setup.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/057-define-props.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/057-define-props.jsonc index 5081b2c..841205f 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/057-define-props.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/057-define-props.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/058-define-emits.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/058-define-emits.jsonc index c434b1b..8b7738b 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/058-define-emits.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/058-define-emits.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/059-scoped-css.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/059-scoped-css.jsonc index a6cd3be..75f7b97 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/059-scoped-css.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/059-scoped-css.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/060-props-destructure.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/060-props-destructure.jsonc index 23a4352..13db1f5 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/060-props-destructure.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/060-props-destructure.jsonc @@ -8,15 +8,15 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/061-type-based-macros.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/061-type-based-macros.jsonc index 27496b8..4f1d5e1 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/061-type-based-macros.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/061-type-based-macros.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/067-create-ssr-app.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/067-create-ssr-app.jsonc index ff06370..6872083 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/067-create-ssr-app.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/067-create-ssr-app.jsonc @@ -8,103 +8,103 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/hydration.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/server-renderer/helpers/ssrInterpolate.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/helpers/ssrRenderAttrs.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/helpers/ssrRenderList.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/helpers/ssrUtils.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/render.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/renderToString.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/070-keep-alive.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/070-keep-alive.jsonc index caec97c..0737c82 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/070-keep-alive.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/070-keep-alive.jsonc @@ -8,51 +8,51 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Counter.vue", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/apiLifecycle.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/components/KeepAlive.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/hydration.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/shapeFlags.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/071-transition.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/071-transition.jsonc index c08639c..6ad3c9c 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/071-transition.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/071-transition.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Counter.vue", - "kind": "D" + "kind": "D", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/components/Transition.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/072-static-hoisting.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/072-static-hoisting.jsonc index df4c9c6..ce8e32c 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/072-static-hoisting.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/072-static-hoisting.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/073-patch-flags.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/073-patch-flags.jsonc index 11f6bad..cbac79c 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/073-patch-flags.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/073-patch-flags.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/patchFlags.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-cn/chapters/084-15-min-impl.jsonc b/packages/courses-config/chibivue-zh-cn/chapters/084-15-min-impl.jsonc index fab3147..c904aab 100644 --- a/packages/courses-config/chibivue-zh-cn/chapters/084-15-min-impl.jsonc +++ b/packages/courses-config/chibivue-zh-cn/chapters/084-15-min-impl.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/index.html", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/package.json", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/vite.config.ts", - "kind": "U" + "kind": "U", }, { "path": "package.json", - "kind": "U" + "kind": "U", }, { "path": "packages/index.ts", - "kind": "U" + "kind": "U", }, { "path": "pnpm-workspace.yaml", - "kind": "U" + "kind": "U", }, { "path": "tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "vite.config.ts", - "kind": "U" - } + "kind": "U", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/004-setup-project.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/004-setup-project.jsonc index 49c94de..3c365d9 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/004-setup-project.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/004-setup-project.jsonc @@ -8,43 +8,43 @@ "changedFiles": [ { "path": "examples/playground/index.html", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/package.json", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/vite.config.ts", - "kind": "U" + "kind": "U", }, { "path": "package.json", - "kind": "U" + "kind": "U", }, { "path": "packages/index.ts", - "kind": "U" + "kind": "U", }, { "path": "pnpm-workspace.yaml", - "kind": "U" + "kind": "U", }, { "path": "tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "vite.config.ts", - "kind": "U" - } + "kind": "U", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/005-create-app-api.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/005-create-app-api.jsonc index 8478746..75e67b2 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/005-create-app-api.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/005-create-app-api.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "U" - } + "kind": "U", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/006-package-architecture.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/006-package-architecture.jsonc index 45edca0..0ff0a37 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/006-package-architecture.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/006-package-architecture.jsonc @@ -8,43 +8,43 @@ "changedFiles": [ { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/007-simple-h-function.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/007-simple-h-function.jsonc index f989437..5b036ba 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/007-simple-h-function.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/007-simple-h-function.jsonc @@ -8,55 +8,55 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/h.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/modules/attrs.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/modules/events.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/patchProp.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc index 8193391..0300177 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/010-try-implementing-a-minimum-reactivity-system.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/dep.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/effect.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/reactive.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/011-minimum-virtual-dom.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/011-minimum-virtual-dom.jsonc index 0f9a7cb..42358fd 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/011-minimum-virtual-dom.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/011-minimum-virtual-dom.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/h.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/012-minimum-component.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/012-minimum-component.jsonc index 130b80b..ab99f6f 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/012-minimum-component.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/012-minimum-component.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/h.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/013-component-props.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/013-component-props.jsonc index 8382cbf..8e54149 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/013-component-props.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/013-component-props.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/014-component-emits.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/014-component-emits.jsonc index 6f2e3e3..8a73f88 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/014-component-emits.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/014-component-emits.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentEmits.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/shared/index.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/016-template-compiler-impl.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/016-template-compiler-impl.jsonc index 19bf2e6..cecc93b 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/016-template-compiler-impl.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/016-template-compiler-impl.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/compile.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/parse.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-dom/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/017-more-complex-parser.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/017-more-complex-parser.jsonc index 1e9bc1a..2ba0b48 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/017-more-complex-parser.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/017-more-complex-parser.jsonc @@ -8,23 +8,23 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/018-template-binding.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/018-template-binding.jsonc index 0518e43..b000afd 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/018-template-binding.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/018-template-binding.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc index 576102e..81de68b 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/019-prerequisite-knowledge-for-the-sfc.jsonc @@ -8,67 +8,67 @@ "changedFiles": [ { "path": "plugin-sample/README.md", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/index.html", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/package.json", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/pnpm-lock.yaml", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/public/vite.svg", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/assets/vue.svg", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/components/HelloWorld.vue", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/main.ts", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/plugin.sample.js", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/style.css", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/src/vite-env.d.ts", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/tsconfig.node.json", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/vite.config.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/020-parse-sfc.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/020-parse-sfc.jsonc index 0dd6888..53573ac 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/020-parse-sfc.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/020-parse-sfc.jsonc @@ -8,103 +8,103 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileTemplate.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "U" + "kind": "U", }, { "path": "plugin-sample/README.md", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/index.html", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/package.json", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/pnpm-lock.yaml", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/public/vite.svg", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/App.vue", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/assets/vue.svg", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/components/HelloWorld.vue", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/main.ts", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/plugin.sample.js", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/style.css", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/src/vite-env.d.ts", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/tsconfig.json", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/tsconfig.node.json", - "kind": "D" + "kind": "D", }, { "path": "plugin-sample/vite.config.ts", - "kind": "D" + "kind": "D", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/021-compile-sfc-template.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/021-compile-sfc-template.jsonc index 6f48875..970e612 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/021-compile-sfc-template.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/021-compile-sfc-template.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/023-compile-sfc-style.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/023-compile-sfc-style.jsonc index ad922a2..9511365 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/023-compile-sfc-style.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/023-compile-sfc-style.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "package.json", - "kind": "M" + "kind": "M", }, { "path": "packages/@extensions/vite-plugin-chibivue/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/rewriteDefault.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/025-patch-keyed-children.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/025-patch-keyed-children.jsonc index 8cf9e3b..c530973 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/025-patch-keyed-children.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/025-patch-keyed-children.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/026-bit-flags.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/026-bit-flags.jsonc index bf105b6..8040e4d 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/026-bit-flags.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/026-bit-flags.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/reactivity/baseHandler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/shapeFlags.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/027-scheduler.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/027-scheduler.jsonc index ab1cecb..81836dd 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/027-scheduler.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/027-scheduler.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/effect.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/scheduler.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/028-patch-other-attrs.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/028-patch-other-attrs.jsonc index d3409dc..c4a8cf5 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/028-patch-other-attrs.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/028-patch-other-attrs.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/modules/class.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/modules/props.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/modules/style.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/patchProp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/030-ref-api.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/030-ref-api.jsonc index a2eceb3..b56e915 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/030-ref-api.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/030-ref-api.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/effect.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/reactive.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/ref.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/typeUtils.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/031-computed-watch.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/031-computed-watch.jsonc index f6d641b..2fc251c 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/031-computed-watch.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/031-computed-watch.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/computed.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiWatch.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/032-reactive-proxy-handlers.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/032-reactive-proxy-handlers.jsonc index fc4f611..2684d1d 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/032-reactive-proxy-handlers.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/032-reactive-proxy-handlers.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/effect.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/reactive.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/033-effect-scope.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/033-effect-scope.jsonc index 35358fc..1a29bc0 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/033-effect-scope.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/033-effect-scope.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/effect.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/effectScope.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/reactivity/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiWatch.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/034-other-apis.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/034-other-apis.jsonc index f721858..cc24f02 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/034-other-apis.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/034-other-apis.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/baseHandler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/reactive.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/ref.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/035-lifecycle-hooks.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/035-lifecycle-hooks.jsonc index 36af356..4610438 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/035-lifecycle-hooks.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/035-lifecycle-hooks.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/collectionHandlers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiLifecycle.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/enums.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/scheduler.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/036-provide-inject.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/036-provide-inject.jsonc index 4c1457b..60589c0 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/036-provide-inject.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/036-provide-inject.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiInject.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/037-component-proxy-setup-context.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/037-component-proxy-setup-context.jsonc index 63d7a22..ab75e66 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/037-component-proxy-setup-context.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/037-component-proxy-setup-context.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/reactivity/ref.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiDefineComponent.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentProps.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/rendererTemplateRef.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/038-component-slot.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/038-component-slot.jsonc index e88f738..1f36644 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/038-component-slot.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/038-component-slot.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentSlots.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/h.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/shapeFlags.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/typeUtils.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/039-options-api.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/039-options-api.jsonc index 1528b7f..f8ffff7 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/039-options-api.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/039-options-api.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiDefineComponent.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentEmits.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/typeUtils.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/040-transform.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/040-transform.jsonc index 7f37ee8..0e57123 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/040-transform.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/040-transform.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/041-v-bind.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/041-v-bind.jsonc index 5ac8826..11cc40a 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/041-v-bind.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/041-v-bind.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vBind.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/normalizeProp.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/042-transform-expression.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/042-transform-expression.jsonc index 86155a9..1f7af43 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/042-transform-expression.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/042-transform-expression.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/transforms/vBind.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/makeMap.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/043-v-on.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/043-v-on.jsonc index 3f547c9..838b4de 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/043-v-on.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/043-v-on.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vOn.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/helpers/toHandlers.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/044-event-modifier.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/044-event-modifier.jsonc index bcc6d48..c46f194 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/044-event-modifier.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/044-event-modifier.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vOn.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/transforms/vOn.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/directives/vOn.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/runtimeHelpers.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/045-fragment.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/045-fragment.jsonc index f4b8895..198d611 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/045-fragment.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/045-fragment.jsonc @@ -8,51 +8,51 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/h.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/046-comment.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/046-comment.jsonc index 29759eb..4b6c167 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/046-comment.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/046-comment.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/nodeOps.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/047-v-if-and-structural-directive.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/047-v-if-and-structural-directive.jsonc index 78880e8..0c3ae93 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/047-v-if-and-structural-directive.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/047-v-if-and-structural-directive.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vIf.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/048-v-for.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/048-v-for.jsonc index 7236a9a..814c57b 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/048-v-for.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/048-v-for.jsonc @@ -8,71 +8,71 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.js", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/vite.config.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/babelUtils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformExpression.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vFor.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/helpers/renderList.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/049-resolve-component.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/049-resolve-component.jsonc index 5404fab..043e882 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/049-resolve-component.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/049-resolve-component.jsonc @@ -8,95 +8,95 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/components/Counter.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/vite.config.js", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/vite.config.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/parserOptions.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentOptions.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/helpers/resolveAssets.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/domTagConfig.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/050-component-slot-outlet.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/050-component-slot-outlet.jsonc index 31f8433..1cb228f 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/050-component-slot-outlet.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/050-component-slot-outlet.jsonc @@ -8,63 +8,63 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Comp.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/components/Counter.vue", - "kind": "D" + "kind": "D", }, { "path": "examples/playground/src/main.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/compile.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformSlotOutlet.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentPublicInstance.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/helpers/renderSlot.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/051-component-slot-insert.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/051-component-slot-insert.jsonc index d966b95..2339ffc 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/051-component-slot-insert.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/051-component-slot-insert.jsonc @@ -8,39 +8,39 @@ "changedFiles": [ { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vSlot.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/052-other-directives.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/052-other-directives.jsonc index e40493e..cbc0b51 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/052-other-directives.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/052-other-directives.jsonc @@ -8,59 +8,59 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Comp.vue", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/runtimeHelpers.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/transformElement.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transforms/vSlot.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-core/utils.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-dom/transforms/vHtml.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-dom/transforms/vText.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/componentRenderContext.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/056-script-setup.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/056-script-setup.jsonc index 1849ad4..e14ff83 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/056-script-setup.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/056-script-setup.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/057-define-props.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/057-define-props.jsonc index ac48ed9..b14843a 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/057-define-props.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/057-define-props.jsonc @@ -8,35 +8,35 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/058-define-emits.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/058-define-emits.jsonc index f78424f..cdf68b7 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/058-define-emits.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/058-define-emits.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/059-scoped-css.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/059-scoped-css.jsonc index 96d9282..af629d4 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/059-scoped-css.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/059-scoped-css.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/060-props-destructure.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/060-props-destructure.jsonc index e7d0276..bb864c1 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/060-props-destructure.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/060-props-destructure.jsonc @@ -8,15 +8,15 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/061-type-based-macros.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/061-type-based-macros.jsonc index 1e03edc..170ddfd 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/061-type-based-macros.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/061-type-based-macros.jsonc @@ -8,19 +8,19 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/067-create-ssr-app.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/067-create-ssr-app.jsonc index 48023ba..c6ed819 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/067-create-ssr-app.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/067-create-ssr-app.jsonc @@ -8,103 +8,103 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Child.vue", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-core/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/compileScript.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-sfc/compileSfc.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-sfc/compileStyle.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/compiler-sfc/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-sfc/parse.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/apiCreateApp.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/hydration.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/server-renderer/helpers/ssrInterpolate.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/helpers/ssrRenderAttrs.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/helpers/ssrRenderList.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/helpers/ssrUtils.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/index.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/render.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/server-renderer/renderToString.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/shared/general.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/070-keep-alive.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/070-keep-alive.jsonc index fc3fcdf..9244723 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/070-keep-alive.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/070-keep-alive.jsonc @@ -8,51 +8,51 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Counter.vue", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/apiLifecycle.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/component.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/components/KeepAlive.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-core/hydration.ts", - "kind": "D" + "kind": "D", }, { "path": "packages/runtime-core/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/renderer.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/shapeFlags.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/071-transition.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/071-transition.jsonc index c8fb937..c6a9c33 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/071-transition.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/071-transition.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "examples/playground/src/Counter.vue", - "kind": "D" + "kind": "D", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-dom/components/Transition.ts", - "kind": "U" + "kind": "U", }, { "path": "packages/runtime-dom/index.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/072-static-hoisting.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/072-static-hoisting.jsonc index 864dc9d..c655705 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/072-static-hoisting.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/072-static-hoisting.jsonc @@ -8,27 +8,27 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/options.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/transform.ts", - "kind": "M" + "kind": "M", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/073-patch-flags.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/073-patch-flags.jsonc index 891ae5f..67fa4b7 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/073-patch-flags.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/073-patch-flags.jsonc @@ -8,31 +8,31 @@ "changedFiles": [ { "path": "examples/playground/src/App.vue", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/ast.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/compiler-core/codegen.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/runtime-core/vnode.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/index.ts", - "kind": "M" + "kind": "M", }, { "path": "packages/shared/patchFlags.ts", - "kind": "U" + "kind": "U", }, { "path": "tests/e2e.spec.ts", - "kind": "M" - } + "kind": "M", + }, ], } diff --git a/packages/courses-config/chibivue-zh-tw/chapters/084-15-min-impl.jsonc b/packages/courses-config/chibivue-zh-tw/chapters/084-15-min-impl.jsonc index ea293b9..6197203 100644 --- a/packages/courses-config/chibivue-zh-tw/chapters/084-15-min-impl.jsonc +++ b/packages/courses-config/chibivue-zh-tw/chapters/084-15-min-impl.jsonc @@ -8,47 +8,47 @@ "changedFiles": [ { "path": "examples/playground/index.html", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/package.json", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/App.vue", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/src/main.ts", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "examples/playground/vite.config.ts", - "kind": "U" + "kind": "U", }, { "path": "package.json", - "kind": "U" + "kind": "U", }, { "path": "packages/index.ts", - "kind": "U" + "kind": "U", }, { "path": "pnpm-workspace.yaml", - "kind": "U" + "kind": "U", }, { "path": "tsconfig.json", - "kind": "U" + "kind": "U", }, { "path": "vite.config.ts", - "kind": "U" - } + "kind": "U", + }, ], }