rimelight-components 2.0.84 → 2.0.86
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/dist/module.json +1 -1
- package/dist/module.mjs +2 -23
- package/package.json +34 -13
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { readdirSync } from 'node:fs';
|
|
|
4
4
|
import { basename } from 'node:path';
|
|
5
5
|
|
|
6
6
|
const name = "rimelight-components";
|
|
7
|
-
const version = "2.0.
|
|
7
|
+
const version = "2.0.86";
|
|
8
8
|
const homepage = "https://rimelight.com/tools/rimelight-components";
|
|
9
9
|
|
|
10
10
|
const defaultOptions = {
|
|
@@ -157,23 +157,7 @@ const module$1 = defineNuxtModule().with({
|
|
|
157
157
|
nuxt.options.appConfig.rimelightComponents || {},
|
|
158
158
|
options
|
|
159
159
|
);
|
|
160
|
-
|
|
161
|
-
nuxt.options.alias["#rimelight-components/utils"] = resolve(runtimeDir, "utils/index.ts");
|
|
162
|
-
nuxt.options.alias["#rimelight-components/utils/"] = resolve(runtimeDir, "utils/");
|
|
163
|
-
nuxt.hook("nitro:config", (nitroConfig) => {
|
|
164
|
-
nitroConfig.alias = nitroConfig.alias || {};
|
|
165
|
-
nitroConfig.alias["#rimelight-components"] = runtimeDir;
|
|
166
|
-
nitroConfig.alias["#rimelight-components/utils"] = resolve(runtimeDir, "utils/index.ts");
|
|
167
|
-
nitroConfig.alias["#rimelight-components/utils/"] = resolve(runtimeDir, "utils/");
|
|
168
|
-
});
|
|
169
|
-
nuxt.hook("prepare:types", (opts) => {
|
|
170
|
-
opts.tsConfig.compilerOptions = opts.tsConfig.compilerOptions || {};
|
|
171
|
-
opts.tsConfig.compilerOptions.paths = opts.tsConfig.compilerOptions.paths || {};
|
|
172
|
-
opts.tsConfig.compilerOptions.paths["#rimelight-components"] = [runtimeDir];
|
|
173
|
-
opts.tsConfig.compilerOptions.paths["#rimelight-components/*"] = [resolve(runtimeDir, "*")];
|
|
174
|
-
opts.tsConfig.compilerOptions.paths["#rimelight-components/utils"] = [resolve(runtimeDir, "utils/index.ts")];
|
|
175
|
-
opts.tsConfig.compilerOptions.paths["#rimelight-components/utils/*"] = [resolve(runtimeDir, "utils/*")];
|
|
176
|
-
});
|
|
160
|
+
nuxt.options.alias["#rimelight-components"] = resolve("./runtime");
|
|
177
161
|
addComponentsDir({
|
|
178
162
|
path: resolve("./runtime/components/"),
|
|
179
163
|
pathPrefix: false,
|
|
@@ -193,11 +177,6 @@ const module$1 = defineNuxtModule().with({
|
|
|
193
177
|
const blockEditorNames = blockEditorFiles.map((f) => basename(f, ".vue").replace(/Editor$/, ""));
|
|
194
178
|
const blockEditorTemplate = addEditorBlockMapTemplates(blockEditorNames, resolve);
|
|
195
179
|
nuxt.options.alias["#rimelight-internal/block-editor-map"] = blockEditorTemplate.dst;
|
|
196
|
-
nuxt.hook("nitro:config", (nitroConfig) => {
|
|
197
|
-
nitroConfig.alias = nitroConfig.alias || {};
|
|
198
|
-
nitroConfig.alias["#rimelight-internal/block-renderer-map"] = blockRendererTemplate.dst;
|
|
199
|
-
nitroConfig.alias["#rimelight-internal/block-editor-map"] = blockEditorTemplate.dst;
|
|
200
|
-
});
|
|
201
180
|
}
|
|
202
181
|
});
|
|
203
182
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rimelight-components",
|
|
3
3
|
"description": "A component library by Rimelight Entertainment.",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.86",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -28,24 +28,45 @@
|
|
|
28
28
|
"./runtime/*": "./dist/runtime/*",
|
|
29
29
|
"./components/*": "./dist/runtime/components/*",
|
|
30
30
|
"./composables": {
|
|
31
|
-
"types": "./dist/runtime/composables/index.d.
|
|
32
|
-
"import": "./dist/runtime/composables/index.
|
|
33
|
-
"require": "./dist/runtime/composables/index.cjs"
|
|
31
|
+
"types": "./dist/runtime/composables/index.d.ts",
|
|
32
|
+
"import": "./dist/runtime/composables/index.js"
|
|
34
33
|
},
|
|
35
34
|
"./composables/*": {
|
|
36
|
-
"types": "./dist/runtime/composables/*.d.
|
|
37
|
-
"import": "./dist/runtime/composables/*.
|
|
38
|
-
"require": "./dist/runtime/composables/*.cjs"
|
|
35
|
+
"types": "./dist/runtime/composables/*.d.ts",
|
|
36
|
+
"import": "./dist/runtime/composables/*.js"
|
|
39
37
|
},
|
|
40
38
|
"./utils": {
|
|
41
|
-
"types": "./dist/runtime/utils/index.d.
|
|
42
|
-
"import": "./dist/runtime/utils/index.
|
|
43
|
-
"require": "./dist/runtime/utils/index.cjs"
|
|
39
|
+
"types": "./dist/runtime/utils/index.d.ts",
|
|
40
|
+
"import": "./dist/runtime/utils/index.js"
|
|
44
41
|
},
|
|
45
42
|
"./utils/*": {
|
|
46
|
-
"types": "./dist/runtime/utils/*.d.
|
|
47
|
-
"import": "./dist/runtime/utils/*.
|
|
48
|
-
|
|
43
|
+
"types": "./dist/runtime/utils/*.d.ts",
|
|
44
|
+
"import": "./dist/runtime/utils/*.js"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"typesVersions": {
|
|
48
|
+
"*": {
|
|
49
|
+
".": [
|
|
50
|
+
"./dist/module.d.mts"
|
|
51
|
+
],
|
|
52
|
+
"runtime/*": [
|
|
53
|
+
"./dist/runtime/*"
|
|
54
|
+
],
|
|
55
|
+
"components/*": [
|
|
56
|
+
"./dist/runtime/components/*"
|
|
57
|
+
],
|
|
58
|
+
"composables": [
|
|
59
|
+
"./dist/runtime/composables/index.d.ts"
|
|
60
|
+
],
|
|
61
|
+
"composables/*": [
|
|
62
|
+
"./dist/runtime/composables/*.d.ts"
|
|
63
|
+
],
|
|
64
|
+
"utils": [
|
|
65
|
+
"./dist/runtime/utils/index.d.ts"
|
|
66
|
+
],
|
|
67
|
+
"utils/*": [
|
|
68
|
+
"./dist/runtime/utils/*.d.ts"
|
|
69
|
+
]
|
|
49
70
|
}
|
|
50
71
|
},
|
|
51
72
|
"style": "./dist/runtime/index.css",
|