mirror of
https://github.com/strapi/strapi.git
synced 2025-08-18 13:45:25 +00:00
3.0.0-alpha.5.4
This commit is contained in:
parent
d20809fe14
commit
b64015f23a
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"assert": "~1.3.0",
|
"assert": "~1.3.0",
|
||||||
"babel-eslint": "^6.1.2",
|
"babel-eslint": "^6.1.2",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-admin",
|
"name": "strapi-admin",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Strapi Admin",
|
"description": "Strapi Admin",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -14,7 +14,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fs-extra": "^0.30.0",
|
"fs-extra": "^0.30.0",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"strapi-utils": "^3.0.0-alpha.5.3"
|
"strapi-utils": "3.0.0-alpha.5.4"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "cd files/public && npm run test",
|
"test": "cd files/public && npm run test",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-bookshelf",
|
"name": "strapi-bookshelf",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Bookshelf hook for the Strapi framework",
|
"description": "Bookshelf hook for the Strapi framework",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -19,8 +19,8 @@
|
|||||||
"bookshelf": "^0.10.3",
|
"bookshelf": "^0.10.3",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"pluralize": "^6.0.0",
|
"pluralize": "^6.0.0",
|
||||||
"strapi-bookshelf": "^3.0.0-alpha.5.3",
|
"strapi-bookshelf": "3.0.0-alpha.5.4",
|
||||||
"strapi-utils": "^3.0.0-alpha.5.3"
|
"strapi-utils": "3.0.0-alpha.5.4"
|
||||||
},
|
},
|
||||||
"strapi": {
|
"strapi": {
|
||||||
"isHook": true,
|
"isHook": true,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-ejs",
|
"name": "strapi-ejs",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "EJS hook for the Strapi framework",
|
"description": "EJS hook for the Strapi framework",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-generate-admin",
|
"name": "strapi-generate-admin",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Generate the default admin panel for a Strapi application.",
|
"description": "Generate the default admin panel for a Strapi application.",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -15,7 +15,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fs-extra": "^0.30.0",
|
"fs-extra": "^0.30.0",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"strapi-admin": "^3.0.0-alpha.5.3"
|
"strapi-admin": "3.0.0-alpha.5.4"
|
||||||
},
|
},
|
||||||
"author": {
|
"author": {
|
||||||
"email": "hi@strapi.io",
|
"email": "hi@strapi.io",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-generate-api",
|
"name": "strapi-generate-api",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Generate an API for a Strapi application.",
|
"description": "Generate an API for a Strapi application.",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-generate-controller",
|
"name": "strapi-generate-controller",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Generate a controller for a Strapi API.",
|
"description": "Generate a controller for a Strapi API.",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-generate-migrations",
|
"name": "strapi-generate-migrations",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Generate migration files for a Strapi application.",
|
"description": "Generate migration files for a Strapi application.",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -24,8 +24,8 @@
|
|||||||
"knex": "^0.13.0",
|
"knex": "^0.13.0",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"pluralize": "^6.0.0",
|
"pluralize": "^6.0.0",
|
||||||
"strapi-bookshelf": "^3.0.0-alpha.5.3",
|
"strapi-bookshelf": "3.0.0-alpha.5.4",
|
||||||
"strapi-utils": "^3.0.0-alpha.5.3"
|
"strapi-utils": "3.0.0-alpha.5.4"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublish": "npm prune"
|
"prepublish": "npm prune"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-generate-model",
|
"name": "strapi-generate-model",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Generate a model for a Strapi API.",
|
"description": "Generate a model for a Strapi API.",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -31,7 +31,7 @@ module.exports = scope => {
|
|||||||
'dependencies': {
|
'dependencies': {
|
||||||
'lodash': '4.x.x',
|
'lodash': '4.x.x',
|
||||||
'strapi': getDependencyVersion(cliPkg, 'strapi'),
|
'strapi': getDependencyVersion(cliPkg, 'strapi'),
|
||||||
'strapi-mongoose': getDependencyVersion(cliPkg, 'strapi-mongoose')
|
'strapi-mongoose': getDependencyVersion(cliPkg, 'strapi')
|
||||||
},
|
},
|
||||||
'main': './server.js',
|
'main': './server.js',
|
||||||
'scripts': {
|
'scripts': {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-generate-new",
|
"name": "strapi-generate-new",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Generate a new Strapi application.",
|
"description": "Generate a new Strapi application.",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -17,7 +17,7 @@
|
|||||||
"fs-extra": "^4.0.0",
|
"fs-extra": "^4.0.0",
|
||||||
"get-installed-path": "^3.0.1",
|
"get-installed-path": "^3.0.1",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"strapi-utils": "^3.0.0-alpha.5.3"
|
"strapi-utils": "3.0.0-alpha.5.4"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublish": "npm prune"
|
"prepublish": "npm prune"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-generate-plugin",
|
"name": "strapi-generate-plugin",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Generate an plugin for a Strapi application.",
|
"description": "Generate an plugin for a Strapi application.",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-generate-policy",
|
"name": "strapi-generate-policy",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Generate a policy for a Strapi API.",
|
"description": "Generate a policy for a Strapi API.",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-generate-service",
|
"name": "strapi-generate-service",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Generate a service for a Strapi API.",
|
"description": "Generate a service for a Strapi API.",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-generate",
|
"name": "strapi-generate",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Master of ceremonies for the Strapi generators.",
|
"description": "Master of ceremonies for the Strapi generators.",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -17,7 +17,7 @@
|
|||||||
"fs-extra": "^4.0.0",
|
"fs-extra": "^4.0.0",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"reportback": "^2.0.1",
|
"reportback": "^2.0.1",
|
||||||
"strapi-utils": "^3.0.0-alpha.5.3"
|
"strapi-utils": "3.0.0-alpha.5.4"
|
||||||
},
|
},
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Strapi team",
|
"name": "Strapi team",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-helper-plugin",
|
"name": "strapi-helper-plugin",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Helper for Strapi plugins development",
|
"description": "Helper for Strapi plugins development",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 8.0.0",
|
"node": ">= 8.0.0",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-knex",
|
"name": "strapi-knex",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Knex hook for the Strapi framework",
|
"description": "Knex hook for the Strapi framework",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-mongoose",
|
"name": "strapi-mongoose",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Mongoose hook for the Strapi framework",
|
"description": "Mongoose hook for the Strapi framework",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -20,7 +20,7 @@
|
|||||||
"mongoose-double": "0.0.1",
|
"mongoose-double": "0.0.1",
|
||||||
"mongoose-float": "^1.0.2",
|
"mongoose-float": "^1.0.2",
|
||||||
"pluralize": "^6.0.0",
|
"pluralize": "^6.0.0",
|
||||||
"strapi-utils": "^3.0.0-alpha.5.3"
|
"strapi-utils": "3.0.0-alpha.5.4"
|
||||||
},
|
},
|
||||||
"strapi": {
|
"strapi": {
|
||||||
"isHook": true
|
"isHook": true
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-plugin-content-manager",
|
"name": "strapi-plugin-content-manager",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "A powerful UI to easily manage your data.",
|
"description": "A powerful UI to easily manage your data.",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 8.0.0",
|
"node": ">= 8.0.0",
|
||||||
@ -61,7 +61,7 @@
|
|||||||
"plop": "^1.5.0",
|
"plop": "^1.5.0",
|
||||||
"prettier": "^1.5.3",
|
"prettier": "^1.5.3",
|
||||||
"rimraf": "^2.5.4",
|
"rimraf": "^2.5.4",
|
||||||
"strapi-helper-plugin": "^3.0.0-alpha.5.3",
|
"strapi-helper-plugin": "3.0.0-alpha.5.4",
|
||||||
"webpack": "^2.1.0-beta.25"
|
"webpack": "^2.1.0-beta.25"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-plugin-settings-manager",
|
"name": "strapi-plugin-settings-manager",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Strapi plugin to manage settings.",
|
"description": "Strapi plugin to manage settings.",
|
||||||
"strapi": {
|
"strapi": {
|
||||||
"name": "Settings Manager",
|
"name": "Settings Manager",
|
||||||
@ -48,7 +48,7 @@
|
|||||||
"plop": "^1.5.0",
|
"plop": "^1.5.0",
|
||||||
"prettier": "^1.5.3",
|
"prettier": "^1.5.3",
|
||||||
"rimraf": "^2.5.4",
|
"rimraf": "^2.5.4",
|
||||||
"strapi-helper-plugin": "^3.0.0-alpha.5.3",
|
"strapi-helper-plugin": "3.0.0-alpha.5.4",
|
||||||
"webpack": "^2.1.0-beta.25"
|
"webpack": "^2.1.0-beta.25"
|
||||||
},
|
},
|
||||||
"author": {
|
"author": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-redis",
|
"name": "strapi-redis",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Redis hook for the Strapi framework",
|
"description": "Redis hook for the Strapi framework",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -18,7 +18,7 @@
|
|||||||
"ioredis": "^3.1.2",
|
"ioredis": "^3.1.2",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"stack-trace": "0.0.10",
|
"stack-trace": "0.0.10",
|
||||||
"strapi-utils": "^3.0.0-alpha.5.3"
|
"strapi-utils": "3.0.0-alpha.5.4"
|
||||||
},
|
},
|
||||||
"strapi": {
|
"strapi": {
|
||||||
"isHook": true
|
"isHook": true
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-utils",
|
"name": "strapi-utils",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Shared utilities for the Strapi packages",
|
"description": "Shared utilities for the Strapi packages",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-views",
|
"name": "strapi-views",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "Views hook to enable server-side rendering for the Strapi framework",
|
"description": "Views hook to enable server-side rendering for the Strapi framework",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -100,11 +100,13 @@ const requireMiddlewares = function (files, cwd) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Lazy loading.
|
// Lazy loading.
|
||||||
|
if (!this.koaMiddlewares.hasOwnProperty(name)) {
|
||||||
Object.defineProperty(this.koaMiddlewares, name, {
|
Object.defineProperty(this.koaMiddlewares, name, {
|
||||||
configurable: false,
|
configurable: false,
|
||||||
enumerable: true,
|
enumerable: true,
|
||||||
get: () => require(path.resolve(cwd, p))
|
get: () => require(path.resolve(cwd, p))
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
cb();
|
cb();
|
||||||
}),
|
}),
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi",
|
"name": "strapi",
|
||||||
"version": "3.0.0-alpha.5.3",
|
"version": "3.0.0-alpha.5.4",
|
||||||
"description": "An open source solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier.",
|
"description": "An open source solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier.",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -50,14 +50,13 @@
|
|||||||
"koa-static": "^4.0.1",
|
"koa-static": "^4.0.1",
|
||||||
"lodash": "^4.16.5",
|
"lodash": "^4.16.5",
|
||||||
"node-schedule": "^1.2.0",
|
"node-schedule": "^1.2.0",
|
||||||
"strapi-generate": "^3.0.0-alpha.5.3",
|
"strapi-generate": "3.0.0-alpha.5.4",
|
||||||
"strapi-generate-admin": "^3.0.0-alpha.5.3",
|
"strapi-generate-admin": "3.0.0-alpha.5.4",
|
||||||
"strapi-generate-api": "^3.0.0-alpha.5.3",
|
"strapi-generate-api": "3.0.0-alpha.5.4",
|
||||||
"strapi-generate-new": "^3.0.0-alpha.5.3",
|
"strapi-generate-new": "3.0.0-alpha.5.4",
|
||||||
"strapi-generate-policy": "^3.0.0-alpha.5.3",
|
"strapi-generate-policy": "3.0.0-alpha.5.4",
|
||||||
"strapi-generate-service": "^3.0.0-alpha.5.3",
|
"strapi-generate-service": "3.0.0-alpha.5.4",
|
||||||
"strapi-mongoose": "^3.0.0-alpha.5.3",
|
"strapi-utils": "3.0.0-alpha.5.4"
|
||||||
"strapi-utils": "^3.0.0-alpha.5.3"
|
|
||||||
},
|
},
|
||||||
"author": {
|
"author": {
|
||||||
"email": "hi@strapi.io",
|
"email": "hi@strapi.io",
|
||||||
|
@ -11,12 +11,12 @@ try {
|
|||||||
packageJSON.version = pkgJSON.version;
|
packageJSON.version = pkgJSON.version;
|
||||||
|
|
||||||
Object.keys(packageJSON.dependencies).filter(dependency => dependency.indexOf('strapi-') !== -1).forEach(dependency => {
|
Object.keys(packageJSON.dependencies).filter(dependency => dependency.indexOf('strapi-') !== -1).forEach(dependency => {
|
||||||
packageJSON.dependencies[dependency] = '^' + pkgJSON.version;
|
packageJSON.dependencies[dependency] = pkgJSON.version;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (packageJSON.devDependencies) {
|
if (packageJSON.devDependencies) {
|
||||||
Object.keys(packageJSON.devDependencies).filter(devDependency => devDependency.indexOf('strapi-') !== -1).forEach(devDependency => {
|
Object.keys(packageJSON.devDependencies).filter(devDependency => devDependency.indexOf('strapi-') !== -1).forEach(devDependency => {
|
||||||
packageJSON.devDependencies[devDependency] = '^' + pkgJSON.version;
|
packageJSON.devDependencies[devDependency] = pkgJSON.version;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ shell.exec('npm install ../strapi-utils');
|
|||||||
shell.exec('npm link');
|
shell.exec('npm link');
|
||||||
|
|
||||||
shell.cd('../strapi');
|
shell.cd('../strapi');
|
||||||
shell.exec('npm install ../strapi-generate ../strapi-generate-admin ../strapi-generate-api ../strapi-generate-new ../strapi-generate-policy ../strapi-generate-service ../strapi-mongoose ../strapi-utils');
|
shell.exec('npm install ../strapi-generate ../strapi-generate-admin ../strapi-generate-api ../strapi-generate-new ../strapi-generate-policy ../strapi-generate-service ../strapi-utils');
|
||||||
shell.exec('npm link');
|
shell.exec('npm link');
|
||||||
|
|
||||||
shell.cd('../strapi-helper-plugin');
|
shell.cd('../strapi-helper-plugin');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user