Skip to content

Commit f054716

Browse files
committed
update package name and readme
1 parent 2d78e3a commit f054716

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ Unleash the full potential of your Strapi content with nested, customizable popu
33

44
## Features
55

6+
- Compatible with [strapi v5](https://docs.strapi.io) and lower strapi versions
67
- Effortlessly populate nested content structures via REST API
78
- Customize population depth on-the-fly
89
- Works seamlessly with all collections and single types
910
- Simple installation and configuration
1011

1112
## Installation
1213

13-
`npm install strapi-plugin-nested-populator`
14+
`npm i @encoreskytech/strapi-plugin-nested-populator`
1415

15-
`yarn add strapi-plugin-nested-populator`
16+
`yarn add @encoreskytech/strapi-plugin-nested-populator`
1617

1718

1819
## Usages
@@ -37,7 +38,7 @@ Tailor the default depth to your needs by editing `config/plugins.js`
3738

3839
```
3940
module.exports = ({ env }) => ({
40-
'strapi-plugin-nested-populator': {
41+
'@encoreskytech/strapi-plugin-nested-populator': {
4142
config: {
4243
defaultDepth: 4, // Default is 6
4344
}

main/framework.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = ({ strapi }) => {
1313

1414
// Get the default depth from plugin config, fallback to 5 if undefined.
1515
const defaultDepth = strapi
16-
.plugin('strapi-plugin-nested-populator')
16+
.plugin('@encoreskytech/strapi-plugin-nested-populator')
1717
?.config('defaultDepth') || 5;
1818

1919
// Apply population logic if 'nested' population is requested.

main/utils/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const extractModelAttributes = (model) => {
1111

1212
const buildPopulateTree = (modelUid, maxDepth = 20, ignore = []) => {
1313
const skipCreatorFields = strapi
14-
.plugin('strapi-plugin-nested-populator')
14+
.plugin('@encoreskytech/strapi-plugin-nested-populator')
1515
?.config('skipCreatorFields');
1616

1717
// Base conditions to terminate recursion.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "@encoreskytech/strapi-plugin-nested-populator",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"description": "Strapi plugin that populates nested content structures via REST API",
55
"strapi": {
6-
"name": "strapi-plugin-nested-populator",
6+
"name": "@encoreskytech/strapi-plugin-nested-populator",
77
"description": "Api helper to populate nested content structures.",
88
"kind": "plugin"
99
},
@@ -18,6 +18,9 @@
1818
},
1919
"keywords": [
2020
"strapi",
21+
"version 5",
22+
"strapi v5",
23+
"strapi version 5",
2124
"strapi plugin",
2225
"populate",
2326
"strapi populate",

0 commit comments

Comments
 (0)