@rulab/adminjs-components 0.1.0-alpha.3 → 0.1.0-alpha.5
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.
|
@@ -4,7 +4,7 @@ const COMPONENT_NAME = 'Slug';
|
|
|
4
4
|
const SlugFeature = (config) => {
|
|
5
5
|
const { componentLoader, key } = config;
|
|
6
6
|
const slugFeature = () => {
|
|
7
|
-
const editComponent = bundleComponent(componentLoader, COMPONENT_NAME, 'SlugEdit
|
|
7
|
+
const editComponent = bundleComponent(componentLoader, COMPONENT_NAME, 'SlugEdit');
|
|
8
8
|
return buildFeature({
|
|
9
9
|
properties: {
|
|
10
10
|
[key]: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as ColorStatusEdit } from "./ColorStatus/ColorStatusEdit.
|
|
1
|
+
export { default as ColorStatusEdit } from "./ColorStatus/ColorStatusEdit.js";
|
|
2
2
|
export { default as ColorStatusShow } from "./ColorStatus/ColorStatusShow.js";
|
|
3
3
|
export { default as ColorStatusList } from "./ColorStatus/ColorStatusList.js";
|
|
4
4
|
export { default as SlugEdit } from "./Slug/SlugEdit.js";
|
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as ColorStatusEdit } from "./ColorStatus/ColorStatusEdit.
|
|
1
|
+
export { default as ColorStatusEdit } from "./ColorStatus/ColorStatusEdit.js";
|
|
2
2
|
export { default as ColorStatusShow } from "./ColorStatus/ColorStatusShow.js";
|
|
3
3
|
export { default as ColorStatusList } from "./ColorStatus/ColorStatusList.js";
|
|
4
4
|
export { default as SlugEdit } from "./Slug/SlugEdit.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rulab/adminjs-components",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.5",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"@types/node": "^20.11.24",
|
|
37
37
|
"@types/react": "^18.2.61",
|
|
38
38
|
"eslint": "^8.57.0",
|
|
39
|
+
"tsc-alias": "^1.8.16",
|
|
39
40
|
"tsup": "^8.1.0",
|
|
40
41
|
"typescript": "^5.3.2"
|
|
41
42
|
},
|
|
@@ -48,7 +49,8 @@
|
|
|
48
49
|
],
|
|
49
50
|
"packageManager": "pnpm@8.15.6",
|
|
50
51
|
"scripts": {
|
|
51
|
-
"build": "
|
|
52
|
+
"build": "tsc && tsc-alias",
|
|
53
|
+
"build-tsup": "tsup",
|
|
52
54
|
"lint": "tsc"
|
|
53
55
|
}
|
|
54
56
|
}
|
|
@@ -11,7 +11,7 @@ const SlugFeature = (config: SlugOptions): FeatureType => {
|
|
|
11
11
|
const {componentLoader,key} = config
|
|
12
12
|
|
|
13
13
|
const slugFeature = () => {
|
|
14
|
-
const editComponent = bundleComponent(componentLoader, COMPONENT_NAME, 'SlugEdit
|
|
14
|
+
const editComponent = bundleComponent(componentLoader, COMPONENT_NAME, 'SlugEdit')
|
|
15
15
|
return buildFeature({
|
|
16
16
|
properties: {
|
|
17
17
|
[key]: {
|
package/src/components/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as ColorStatusEdit } from "./ColorStatus/ColorStatusEdit.
|
|
1
|
+
export { default as ColorStatusEdit } from "./ColorStatus/ColorStatusEdit.js";
|
|
2
2
|
export { default as ColorStatusShow } from "./ColorStatus/ColorStatusShow.js";
|
|
3
3
|
export { default as ColorStatusList } from "./ColorStatus/ColorStatusList.js";
|
|
4
4
|
export { default as SlugEdit } from "./Slug/SlugEdit.js";
|