@kontainer/strapi-plugin 0.1.0 → 0.1.2
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/admin/src/components/KontainerMediaInput.d.ts +1 -1
- package/dist/admin/src/index.d.ts +1 -1
- package/dist/admin/src/pages/Settings.d.ts +1 -1
- package/dist/server/index.js +2 -6
- package/dist/server/index.mjs +2 -6
- package/dist/server/src/index.d.ts +1 -1
- package/dist/server/src/routes/index.d.ts +1 -1
- package/dist/server/src/services/service.d.ts +1 -1
- package/package.json +14 -5
package/dist/server/index.js
CHANGED
|
@@ -266,9 +266,7 @@ const service = ({ strapi }) => ({
|
|
|
266
266
|
return this.componentHasKontainerField(attr.component, seen);
|
|
267
267
|
}
|
|
268
268
|
if (attr.type === "dynamiczone") {
|
|
269
|
-
return attr.components.some(
|
|
270
|
-
(c) => this.componentHasKontainerField(c, seen)
|
|
271
|
-
);
|
|
269
|
+
return attr.components.some((c) => this.componentHasKontainerField(c, seen));
|
|
272
270
|
}
|
|
273
271
|
return false;
|
|
274
272
|
});
|
|
@@ -290,9 +288,7 @@ const service = ({ strapi }) => ({
|
|
|
290
288
|
);
|
|
291
289
|
if (withField.length) {
|
|
292
290
|
populate[name] = {
|
|
293
|
-
on: Object.fromEntries(
|
|
294
|
-
withField.map((c) => [c, this.populateForComponent(c)])
|
|
295
|
-
)
|
|
291
|
+
on: Object.fromEntries(withField.map((c) => [c, this.populateForComponent(c)]))
|
|
296
292
|
};
|
|
297
293
|
}
|
|
298
294
|
}
|
package/dist/server/index.mjs
CHANGED
|
@@ -264,9 +264,7 @@ const service = ({ strapi }) => ({
|
|
|
264
264
|
return this.componentHasKontainerField(attr.component, seen);
|
|
265
265
|
}
|
|
266
266
|
if (attr.type === "dynamiczone") {
|
|
267
|
-
return attr.components.some(
|
|
268
|
-
(c) => this.componentHasKontainerField(c, seen)
|
|
269
|
-
);
|
|
267
|
+
return attr.components.some((c) => this.componentHasKontainerField(c, seen));
|
|
270
268
|
}
|
|
271
269
|
return false;
|
|
272
270
|
});
|
|
@@ -288,9 +286,7 @@ const service = ({ strapi }) => ({
|
|
|
288
286
|
);
|
|
289
287
|
if (withField.length) {
|
|
290
288
|
populate[name] = {
|
|
291
|
-
on: Object.fromEntries(
|
|
292
|
-
withField.map((c) => [c, this.populateForComponent(c)])
|
|
293
|
-
)
|
|
289
|
+
on: Object.fromEntries(withField.map((c) => [c, this.populateForComponent(c)]))
|
|
294
290
|
};
|
|
295
291
|
}
|
|
296
292
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
2
|
+
"version": "0.1.2",
|
|
3
3
|
"keywords": [
|
|
4
4
|
"strapi",
|
|
5
5
|
"strapi-plugin",
|
|
@@ -40,7 +40,13 @@
|
|
|
40
40
|
"watch:link": "strapi-plugin watch:link",
|
|
41
41
|
"verify": "strapi-plugin verify",
|
|
42
42
|
"test:ts:front": "tsc -p admin/tsconfig.json --noEmit",
|
|
43
|
-
"test:ts:back": "tsc -p server/tsconfig.json --noEmit"
|
|
43
|
+
"test:ts:back": "tsc -p server/tsconfig.json --noEmit",
|
|
44
|
+
"lint": "prettier --check . && npm run test:ts:front && npm run test:ts:back",
|
|
45
|
+
"preversion": "npm run lint && npm run build && npm run verify",
|
|
46
|
+
"postversion": "git push --follow-tags",
|
|
47
|
+
"release:patch": "npm version patch",
|
|
48
|
+
"release:minor": "npm version minor",
|
|
49
|
+
"release:major": "npm version major"
|
|
44
50
|
},
|
|
45
51
|
"dependencies": {},
|
|
46
52
|
"devDependencies": {
|
|
@@ -74,16 +80,19 @@
|
|
|
74
80
|
"kind": "plugin",
|
|
75
81
|
"name": "kontainer",
|
|
76
82
|
"displayName": "Kontainer DAM",
|
|
77
|
-
"description": "Pick assets from Kontainer and store CDN references
|
|
83
|
+
"description": "Pick assets from Kontainer and store CDN references — Kontainer stays the single source of truth."
|
|
78
84
|
},
|
|
79
85
|
"name": "@kontainer/strapi-plugin",
|
|
80
|
-
"description": "Kontainer DAM integration for Strapi 5
|
|
86
|
+
"description": "Kontainer DAM integration for Strapi 5 — pick assets from Kontainer, store CDN references only, track file usage.",
|
|
81
87
|
"license": "MIT",
|
|
82
88
|
"author": "Kontainer <support@kontainer.com> (https://kontainer.com)",
|
|
83
89
|
"homepage": "https://kontainer.com/integrations",
|
|
84
90
|
"repository": {
|
|
85
91
|
"type": "git",
|
|
86
|
-
"url": "
|
|
92
|
+
"url": "git+https://github.com/Kontainer-Dam-and-Pim/kontainer-strapi-plugin.git"
|
|
93
|
+
},
|
|
94
|
+
"bugs": {
|
|
95
|
+
"url": "https://github.com/Kontainer-Dam-and-Pim/kontainer-strapi-plugin/issues"
|
|
87
96
|
},
|
|
88
97
|
"engines": {
|
|
89
98
|
"node": ">=18.0.0"
|