@pie-qti/default-components 1.0.0-beta.3 → 1.0.0-beta.4
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,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-qti/default-components",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.4",
|
|
4
4
|
"description": "Default Svelte-based component implementations for QTI (2.x and 3.0) player",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"build": "rm -rf dist && tsc && vite build && mkdir -p dist/shared/styles && cp src/shared/styles/qti-shared-vocabulary.css src/shared/styles/qti-pnp.css dist/shared/styles/",
|
|
9
|
+
"build": "rm -rf dist && tsc && vite build && node ../../scripts/guard-custom-elements.mjs . && mkdir -p dist/shared/styles && cp src/shared/styles/qti-shared-vocabulary.css src/shared/styles/qti-pnp.css dist/shared/styles/ && mv dist/assets/default-components.css dist/shared.css",
|
|
10
10
|
"test": "bun test && bun run test:component",
|
|
11
11
|
"test:component": "vitest run",
|
|
12
12
|
"typecheck": "tsc --noEmit",
|
|
@@ -28,19 +28,19 @@
|
|
|
28
28
|
],
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@pie-qti/i18n": "1.0.0-beta.
|
|
32
|
-
"@pie-qti/item-player": "1.0.0-beta.
|
|
33
|
-
"@pie-qti/qti-common": "1.0.0-beta.
|
|
34
|
-
"@tiptap/core": "3.32.0",
|
|
35
|
-
"@tiptap/extension-mathematics": "3.32.0",
|
|
36
|
-
"@tiptap/extension-placeholder": "3.32.0",
|
|
37
|
-
"@tiptap/starter-kit": "3.32.0",
|
|
31
|
+
"@pie-qti/i18n": "1.0.0-beta.4",
|
|
32
|
+
"@pie-qti/item-player": "1.0.0-beta.4",
|
|
33
|
+
"@pie-qti/qti-common": "1.0.0-beta.4",
|
|
38
34
|
"mathlive": "^0.111.1"
|
|
39
35
|
},
|
|
40
36
|
"devDependencies": {
|
|
41
37
|
"@biomejs/biome": "^2.6.2",
|
|
42
38
|
"@sveltejs/vite-plugin-svelte": "7.3.1",
|
|
43
39
|
"@types/node": "^26.6.4",
|
|
40
|
+
"@tiptap/core": "3.32.0",
|
|
41
|
+
"@tiptap/extension-mathematics": "3.32.0",
|
|
42
|
+
"@tiptap/extension-placeholder": "3.32.0",
|
|
43
|
+
"@tiptap/starter-kit": "3.32.0",
|
|
44
44
|
"jsdom": "^30.1.3",
|
|
45
45
|
"linkedom": "^0.18.13",
|
|
46
46
|
"svelte": "5.57.1",
|
|
@@ -63,22 +63,6 @@
|
|
|
63
63
|
"types": "./dist/shared/index.d.ts",
|
|
64
64
|
"import": "./dist/shared/index.js"
|
|
65
65
|
},
|
|
66
|
-
"./plugins/*/index": {
|
|
67
|
-
"types": "./dist/plugins/*/index.d.ts",
|
|
68
|
-
"import": "./dist/plugins/*/index.js"
|
|
69
|
-
},
|
|
70
|
-
"./shared/utils/*": {
|
|
71
|
-
"types": "./dist/shared/utils/*.d.ts",
|
|
72
|
-
"import": "./dist/shared/utils/*.js"
|
|
73
|
-
},
|
|
74
|
-
"./shared/actions/*": {
|
|
75
|
-
"types": "./dist/shared/actions/*.d.ts",
|
|
76
|
-
"import": "./dist/shared/actions/*.js"
|
|
77
|
-
},
|
|
78
|
-
"./shared/extensions/*": {
|
|
79
|
-
"types": "./dist/shared/extensions/*.d.ts",
|
|
80
|
-
"import": "./dist/shared/extensions/*.js"
|
|
81
|
-
},
|
|
82
66
|
"./shared/styles/qti-shared-vocabulary.css": {
|
|
83
67
|
"style": "./dist/shared/styles/qti-shared-vocabulary.css",
|
|
84
68
|
"default": "./dist/shared/styles/qti-shared-vocabulary.css"
|
|
@@ -94,6 +78,10 @@
|
|
|
94
78
|
"./qti-pnp.css": {
|
|
95
79
|
"style": "./dist/shared/styles/qti-pnp.css",
|
|
96
80
|
"default": "./dist/shared/styles/qti-pnp.css"
|
|
81
|
+
},
|
|
82
|
+
"./shared.css": {
|
|
83
|
+
"style": "./dist/shared.css",
|
|
84
|
+
"default": "./dist/shared.css"
|
|
97
85
|
}
|
|
98
86
|
},
|
|
99
87
|
"repository": {
|
|
@@ -110,6 +98,7 @@
|
|
|
110
98
|
},
|
|
111
99
|
"sideEffects": [
|
|
112
100
|
"./dist/plugins.js",
|
|
101
|
+
"./dist/shared.css",
|
|
113
102
|
"./dist/shared/styles/*.css"
|
|
114
103
|
],
|
|
115
104
|
"engines": {
|
|
File without changes
|