@thanh01.pmt/interactive-quiz-kit 1.0.89 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thanh01.pmt/interactive-quiz-kit",
3
- "version": "1.0.89",
3
+ "version": "1.1.0",
4
4
  "description": "A comprehensive library for creating, managing, and playing interactive quizzes, with AI generation and SCORM support.",
5
5
  "keywords": [
6
6
  "react",
@@ -105,7 +105,7 @@
105
105
  },
106
106
  "scripts": {
107
107
  "clean": "rm -rf dist",
108
- "build": "npm run clean && tsc --project tsconfig.json && tsup",
108
+ "build": "npm run clean && tsc --project tsconfig.json && tsup && npm run test:dist:ssr",
109
109
  "build:scorm:js": "tsup --config tsup.scorm.config.ts",
110
110
  "build:scorm:css": "tailwindcss -i ./src/styles/main.css -o ./scorm-bundle/styles.css --minify",
111
111
  "build:scorm": "npm run build:scorm:js && npm run build:scorm:css",
@@ -114,6 +114,7 @@
114
114
  "preview": "npm run preview:build && node preview/server.mjs",
115
115
  "lint": "eslint . --ext .ts,.tsx",
116
116
  "test": "jest --passWithNoTests",
117
+ "test:dist:ssr": "node scripts/check-dist-ssr.mjs",
117
118
  "release": "bash scripts/publish.sh"
118
119
  },
119
120
  "dependencies": {
@@ -147,7 +148,6 @@
147
148
  "zod": "^3.23.8"
148
149
  },
149
150
  "peerDependencies": {
150
- "next": ">=14.0.0",
151
151
  "react": ">=18.0.0",
152
152
  "react-dom": ">=18.0.0"
153
153
  },
@@ -178,6 +178,7 @@
178
178
  "@radix-ui/react-tabs": "^1.1.0",
179
179
  "@radix-ui/react-toast": "^1.2.1",
180
180
  "@radix-ui/react-tooltip": "^1.1.2",
181
+ "@testing-library/react": "14",
181
182
  "@tiptap/extension-code-block-lowlight": "^2.4.0",
182
183
  "@tiptap/extension-image": "^2.4.0",
183
184
  "@tiptap/extension-link": "^2.4.0",
@@ -198,6 +199,7 @@
198
199
  "genkit-cli": "^1.8.0",
199
200
  "html-to-image": "^1.11.11",
200
201
  "jest": "^30.3.0",
202
+ "jest-environment-jsdom": "^30.4.1",
201
203
  "lowlight": "^3.1.0",
202
204
  "lucide-react": "^0.395.0",
203
205
  "postcss": "^8.4.38",