coursecode 0.1.21 → 0.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/cloud.js +6 -6
  2. package/package.json +5 -2
package/lib/cloud.js CHANGED
@@ -1007,7 +1007,7 @@ export async function deploy(options = {}) {
1007
1007
  log(' ℹ️ GitHub-linked course — deploying preview only.\n');
1008
1008
  } else {
1009
1009
  const repo = rcConfig.githubRepo || 'unknown';
1010
- logErr(`\n❌ This course deploys to production via GitHub, not CLI.`);
1010
+ logErr('\n❌ This course deploys to production via GitHub, not CLI.');
1011
1011
  logErr(` Repo: ${repo}`);
1012
1012
  logErr(' Push to your repo to trigger a production deploy.');
1013
1013
  logErr(' Use --preview to deploy a preview build via CLI.\n');
@@ -1128,11 +1128,11 @@ export async function deploy(options = {}) {
1128
1128
  const previewTag = result.previewPromoted ? ' + preview' : '';
1129
1129
  console.log(`✓ Deployed (${result.fileCount} files) — ${prodTag}${previewTag}`);
1130
1130
  if (!result.promoted) {
1131
- console.log(` Production pointer not updated. Promote from Deploy History or run:`);
1132
- console.log(` coursecode promote --production`);
1131
+ console.log(' Production pointer not updated. Promote from Deploy History or run:');
1132
+ console.log(' coursecode promote --production');
1133
1133
  }
1134
1134
  if (result.previewPromoted) {
1135
- console.log(` Preview pointer updated.`);
1135
+ console.log(' Preview pointer updated.');
1136
1136
  }
1137
1137
  console.log(` Dashboard: ${result.dashboardUrl}`);
1138
1138
  }
@@ -1639,8 +1639,8 @@ export async function deleteCourse(options = {}) {
1639
1639
  console.log(`✓ "${slug}" deleted from CourseCode Cloud.`);
1640
1640
  if (result.source_type === 'github' && result.github_repo) {
1641
1641
  console.log(`\n ⚠️ This course was linked to GitHub (${result.github_repo}).`);
1642
- console.log(` The GitHub integration has been disconnected.`);
1643
- console.log(` Your repository and its files are unaffected.`);
1642
+ console.log(' The GitHub integration has been disconnected.');
1643
+ console.log(' Your repository and its files are unaffected.');
1644
1644
  }
1645
1645
  console.log('');
1646
1646
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coursecode",
3
- "version": "0.1.21",
3
+ "version": "0.1.23",
4
4
  "description": "Multi-format course authoring framework with CLI tools (SCORM 2004, SCORM 1.2, cmi5, LTI 1.3)",
5
5
  "type": "module",
6
6
  "bin": {
@@ -35,6 +35,9 @@
35
35
  "./stub-player": {
36
36
  "types": "./lib/stub-player.d.ts",
37
37
  "default": "./lib/stub-player.js"
38
+ },
39
+ "./vite-plugin-content-discovery": {
40
+ "default": "./lib/vite-plugin-content-discovery.js"
38
41
  }
39
42
  },
40
43
  "scripts": {
@@ -99,6 +102,7 @@
99
102
  },
100
103
  "dependencies": {
101
104
  "@modelcontextprotocol/sdk": "^1.0.0",
105
+ "acorn": "^8.15.0",
102
106
  "archiver": "^7.0.1",
103
107
  "commander": "^14.0.3",
104
108
  "lz-string": "^1.5.0",
@@ -116,7 +120,6 @@
116
120
  "@vitejs/plugin-legacy": "^7.2.1",
117
121
  "@vitest/coverage-v8": "^4.0.18",
118
122
  "@xapi/cmi5": "^1.4.0",
119
- "acorn": "^8.15.0",
120
123
  "eslint": "^10.0.0",
121
124
  "globals": "^17.3.0",
122
125
  "jose": "^6.1.3",