Skip to content

Commit ea25b18

Browse files
committed
dep-updates
1 parent 78a833d commit ea25b18

6 files changed

Lines changed: 851 additions & 798 deletions

File tree

framework/css/accessibility.css

Lines changed: 1 addition & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -512,98 +512,6 @@ a:focus-visible {
512512
transition: none !important;
513513
}
514514

515-
/* Disable all keyframe animations - override any @keyframes definitions */
516-
@keyframes spin {
517-
from {
518-
transform: rotate(0deg);
519-
}
520-
521-
to {
522-
transform: rotate(360deg);
523-
}
524-
}
525-
526-
@keyframes fadeIn {
527-
from {
528-
opacity: 1;
529-
}
530-
531-
to {
532-
opacity: 1;
533-
}
534-
}
535-
536-
@keyframes fadeOut {
537-
from {
538-
opacity: 1;
539-
}
540-
541-
to {
542-
opacity: 1;
543-
}
544-
}
545-
546-
@keyframes shimmer {
547-
0% {
548-
transform: none;
549-
}
550-
551-
100% {
552-
transform: none;
553-
}
554-
}
555-
556-
@keyframes successPulse {
557-
558-
0%,
559-
100% {
560-
transform: scale(1);
561-
}
562-
563-
50% {
564-
transform: scale(1);
565-
}
566-
}
567-
568-
@keyframes checkmarkPop {
569-
570-
0%,
571-
100% {
572-
transform: scale(1);
573-
}
574-
}
575-
576-
@keyframes flash-incorrect {
577-
578-
0%,
579-
100% {
580-
transform: none;
581-
}
582-
}
583-
584-
@keyframes notificationSlideIn {
585-
from {
586-
opacity: 1;
587-
transform: none;
588-
}
589-
590-
to {
591-
opacity: 1;
592-
transform: none;
593-
}
594-
}
595-
596-
@keyframes notificationSlideOut {
597-
from {
598-
opacity: 1;
599-
transform: none;
600-
}
601-
602-
to {
603-
opacity: 1;
604-
transform: none;
605-
}
606-
}
607515
}
608516

609517
/* ============================================================================
@@ -831,4 +739,4 @@ section>*:first-child {
831739

832740
section>*:last-child {
833741
margin-bottom: 0;
834-
}
742+
}

framework/docs/FRAMEWORK_GUIDE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,19 @@ npm run preview
3737
# - Content viewer for course review
3838
```
3939

40+
### Dependency Upgrade Policy
41+
42+
The framework intentionally stays on **Vite 7** for now:
43+
44+
- `vite@7.2.x`, `@vitejs/plugin-legacy@7.x`, and `vite-plugin-static-copy@3.x` are the compatible set used by the framework and course template.
45+
- SCORM itself does **not** require ES5 JavaScript. SCORM defines LMS runtime/API communication and package metadata, not the learner browser's ECMAScript level.
46+
- The legacy bundle path is still kept as compatibility insurance for unknown or older LMS launch environments, especially SCORM 1.2/2004 deployments that may use old embedded browsers or enterprise browser policies.
47+
- Vite 8 currently breaks that legacy path because Rolldown does not support the `system` output format used by `@vitejs/plugin-legacy` for SystemJS/ES5 fallback chunks.
48+
- Vite 7.3 has also shown a generated-course packaging regression with the legacy/post-build flow, where package validation can run before `dist/index.html` has been moved into place. Keep the template and framework dev dependency on `7.2.x` until that flow is reworked or verified against a newer Vite 7 patch.
49+
- Do not upgrade Vite, `@vitejs/plugin-legacy`, or `vite-plugin-static-copy` to their Vite 8 lines until CourseCode explicitly drops legacy browser fallback support or adds a separate verified legacy build pipeline.
50+
51+
Other dependencies can be upgraded normally when their Node engine requirements and tests fit the framework. Keep `marked` on `17.x` while the public package requirement remains Node 18+, because `marked@18` requires Node 20+.
52+
4053
### LMS Compatibility Warnings
4154
The preview server (stub player) includes an advanced diagnostic system that monitors API usage and data limits to detect potential issues before deployment to a real LMS.
4255

0 commit comments

Comments
 (0)