Skip to content

Commit 6fe6f2f

Browse files
authored
Move utils into server directory (#360)
* Add correct files to files field in package.json * Update version * Move utils directory in server directory * Update version
1 parent 3a45931 commit 6fe6f2f

File tree

6 files changed

+4381
-3
lines changed

6 files changed

+4381
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "strapi-plugin-meilisearch",
3-
"version": "0.6.1",
3+
"version": "0.6.2",
44
"description": "Synchronise and search in your Strapi content-types with MeiliSearch",
55
"scripts": {
66
"playground:dev": "yarn --cwd ./playground && yarn --cwd ./playground develop",

server/configuration-validation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { isObject } = require('../utils')
1+
const { isObject } = require('./utils')
22

33
/**
44
* Validates the plugin configuration provided in `plugins/config.js` of the users plugin configuration.

server/services/meilisearch/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict'
2-
const { isObject } = require('../../../utils')
2+
const { isObject } = require('../../utils')
33
/**
44
* Log an error message on a failed action on a contentType.
55
*
File renamed without changes.

0 commit comments

Comments
 (0)