@akemona-org/strapi-admin 3.7.1 → 3.7.4
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/index.js +5 -3
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -8,7 +8,7 @@ const WebpackDevServer = require('webpack-dev-server');
|
|
|
8
8
|
const chalk = require('chalk');
|
|
9
9
|
const chokidar = require('chokidar');
|
|
10
10
|
// eslint-disable-next-line node/no-extraneous-require
|
|
11
|
-
const hasEE =
|
|
11
|
+
const hasEE = false;
|
|
12
12
|
const getWebpackConfig = require('./webpack.config');
|
|
13
13
|
|
|
14
14
|
const getPkgPath = (name) => path.dirname(require.resolve(`${name}/package.json`));
|
|
@@ -154,7 +154,7 @@ async function copyPlugin(name, dest) {
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
async function copyAdmin(dest) {
|
|
157
|
-
const adminPath = getPkgPath('strapi-admin');
|
|
157
|
+
const adminPath = getPkgPath('@akemona-org/strapi-admin');
|
|
158
158
|
|
|
159
159
|
// TODO copy ee folders for plugins
|
|
160
160
|
await fs.copy(path.resolve(adminPath, 'ee', 'admin'), path.resolve(dest, 'ee', 'admin'));
|
|
@@ -304,7 +304,9 @@ async function watchFiles(dir, ignoreFiles = []) {
|
|
|
304
304
|
const isExtension = filePath.includes(extensionsPath);
|
|
305
305
|
const pluginName = isExtension ? filePath.replace(extensionsPath, '').split(path.sep)[1] : '';
|
|
306
306
|
|
|
307
|
-
const packageName = isExtension
|
|
307
|
+
const packageName = isExtension
|
|
308
|
+
? `@akemona-org/strapi-plugin-${pluginName}`
|
|
309
|
+
: '@akemona-org/strapi-admin';
|
|
308
310
|
|
|
309
311
|
const targetPath = isExtension
|
|
310
312
|
? path.normalize(filePath.split(extensionsPath)[1].replace(pluginName, ''))
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "3.7.
|
|
6
|
+
"version": "3.7.4",
|
|
7
7
|
"description": "Strapi Admin",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
},
|
|
18
18
|
"main": "index.js",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@akemona-org/strapi-helper-plugin": "3.7.
|
|
21
|
-
"@akemona-org/strapi-utils": "3.7.
|
|
20
|
+
"@akemona-org/strapi-helper-plugin": "3.7.4",
|
|
21
|
+
"@akemona-org/strapi-utils": "3.7.4",
|
|
22
22
|
"@babel/core": "^7.14.0",
|
|
23
23
|
"@babel/plugin-proposal-async-generator-functions": "^7.13.15",
|
|
24
24
|
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
|
@@ -125,5 +125,5 @@
|
|
|
125
125
|
"devDependencies": {
|
|
126
126
|
"webpack-bundle-analyzer": "4.4.0"
|
|
127
127
|
},
|
|
128
|
-
"gitHead": "
|
|
128
|
+
"gitHead": "a627972678ce3f460d6b1786adb976f1d3a7c35d"
|
|
129
129
|
}
|