Permalink
Browse files

Prepare workflow for testing and publishing

  • Loading branch information...
1 parent d446672 commit d81f2840eae39510b2724b2b670921bcaa97ff35 @loicsaintroch loicsaintroch committed Mar 29, 2016
Showing with 130 additions and 219 deletions.
  1. 0 .editorconfig
  2. 0 .github/CONTRIBUTING.md
  3. 0 .github/ISSUE_TEMPLATE.md
  4. 0 .github/PULL_REQUEST_TEMPLATE.md
  5. +5 −2 .travis.yml
  6. +11 −0 Makefile
  7. +17 −14 README.md
  8. 0 docs/README.md
  9. 0 docs/advanced/errors.md
  10. 0 docs/advanced/events.md
  11. 0 docs/advanced/generators.md
  12. 0 docs/advanced/hooks.md
  13. 0 docs/basics/context.md
  14. 0 docs/basics/databases.md
  15. 0 docs/basics/request.md
  16. 0 docs/basics/response.md
  17. 0 docs/basics/router.md
  18. 0 docs/basics/views.md
  19. 0 docs/configuration/bodyParser.md
  20. 0 docs/configuration/favicon.md
  21. 0 docs/configuration/gzip.md
  22. 0 docs/configuration/logging.md
  23. 0 docs/configuration/responseTime.md
  24. 0 docs/configuration/static.md
  25. 0 docs/features/authentication.md
  26. 0 docs/features/cron.md
  27. 0 docs/features/graphql.md
  28. 0 docs/features/internationalization.md
  29. 0 docs/features/jsonapi.md
  30. 0 docs/features/services.md
  31. 0 docs/features/sessions.md
  32. 0 docs/features/websockets.md
  33. 0 docs/security/cors.md
  34. 0 docs/security/csp.md
  35. 0 docs/security/csrf.md
  36. 0 docs/security/hsts.md
  37. 0 docs/security/ip.md
  38. 0 docs/security/p3p.md
  39. 0 docs/security/policies.md
  40. 0 docs/security/proxy.md
  41. 0 docs/security/ssl.md
  42. 0 docs/security/xframe.md
  43. 0 docs/security/xss.md
  44. 0 docs/sql/interfaces.md
  45. 0 docs/sql/migrations.md
  46. 0 docs/sql/models.md
  47. 0 docs/sql/orm.md
  48. 0 docs/sql/queries.md
  49. 0 docs/sql/raw.md
  50. 0 docs/start/anatomy.md
  51. 0 docs/start/api.md
  52. 0 docs/start/configuration.md
  53. 0 docs/start/creation.md
  54. 0 docs/start/install-nodejs.md
  55. 0 docs/start/install-strapi.md
  56. 0 docs/start/repl.md
  57. 0 info/README.md
  58. 0 info/conduct.md
  59. 0 info/governance.md
  60. +3 −2 info/licenses.md
  61. 0 info/releases.md
  62. 0 info/security.md
  63. 0 info/trademarks.md
  64. +58 −0 package.json
  65. 0 packages/README.md
  66. 0 packages/strapi-bookshelf/.editorconfig
  67. 0 packages/strapi-bookshelf/LICENSE.md
  68. 0 packages/strapi-bookshelf/README.md
  69. 0 packages/strapi-bookshelf/lib/index.js
  70. 0 packages/strapi-bookshelf/lib/utils/graphql.js
  71. 0 packages/strapi-bookshelf/lib/utils/index.js
  72. +0 −20 packages/strapi-bookshelf/package.json
  73. 0 packages/strapi-cli/bin/strapi-migrate-make.js
  74. 0 packages/strapi-cli/bin/strapi-migrate-rollback.js
  75. 0 packages/strapi-cli/bin/strapi-migrate-run.js
  76. +6 −18 packages/strapi-cli/package.json
  77. 0 packages/strapi-generate-api/.editorconfig
  78. 0 packages/strapi-generate-api/LICENSE.md
  79. 0 packages/strapi-generate-api/README.md
  80. 0 packages/strapi-generate-api/json/routes.json.js
  81. +0 −15 packages/strapi-generate-api/package.json
  82. 0 packages/strapi-generate-api/templates/service.template
  83. 0 packages/strapi-generate-migrations/.editorconfig
  84. 0 packages/strapi-generate-migrations/LICENSE.md
  85. 0 packages/strapi-generate-migrations/README.md
  86. 0 packages/strapi-generate-migrations/lib/after.js
  87. 0 packages/strapi-generate-migrations/lib/builder/createTable.js
  88. 0 packages/strapi-generate-migrations/lib/builder/index.js
  89. 0 packages/strapi-generate-migrations/lib/builder/options.js
  90. 0 packages/strapi-generate-migrations/lib/builder/relations.js
  91. 0 packages/strapi-generate-migrations/lib/builder/selectTable.js
  92. 0 packages/strapi-generate-migrations/lib/builder/types.js
  93. +0 −21 packages/strapi-generate-migrations/package.json
  94. 0 packages/strapi-generate-migrations/templates/builder/columns/chainables/defaultTo.template
  95. 0 packages/strapi-generate-migrations/templates/builder/columns/chainables/primary.template
  96. 0 packages/strapi-generate-migrations/templates/builder/columns/chainables/unique.template
  97. 0 packages/strapi-generate-migrations/templates/builder/columns/dropColumn.template
  98. 0 packages/strapi-generate-migrations/templates/builder/columns/types/bigInteger.template
  99. 0 packages/strapi-generate-migrations/templates/builder/columns/types/binary.template
  100. 0 packages/strapi-generate-migrations/templates/builder/columns/types/boolean.template
  101. 0 packages/strapi-generate-migrations/templates/builder/columns/types/date.template
  102. 0 packages/strapi-generate-migrations/templates/builder/columns/types/dateTime.template
  103. 0 packages/strapi-generate-migrations/templates/builder/columns/types/decimal.template
  104. 0 packages/strapi-generate-migrations/templates/builder/columns/types/enum.template
  105. 0 packages/strapi-generate-migrations/templates/builder/columns/types/float.template
  106. 0 packages/strapi-generate-migrations/templates/builder/columns/types/integer.template
  107. 0 packages/strapi-generate-migrations/templates/builder/columns/types/json.template
  108. 0 packages/strapi-generate-migrations/templates/builder/columns/types/specificType.template
  109. 0 packages/strapi-generate-migrations/templates/builder/columns/types/string.template
  110. 0 packages/strapi-generate-migrations/templates/builder/columns/types/text.template
  111. 0 packages/strapi-generate-migrations/templates/builder/columns/types/time.template
  112. 0 packages/strapi-generate-migrations/templates/builder/columns/types/timestamp.template
  113. 0 packages/strapi-generate-migrations/templates/builder/columns/types/uuid.template
  114. 0 packages/strapi-generate-migrations/templates/builder/relations/belongsTo-unique.template
  115. 0 packages/strapi-generate-migrations/templates/builder/relations/belongsTo.template
  116. 0 packages/strapi-generate-migrations/templates/builder/relations/belongsToMany.template
  117. 0 packages/strapi-generate-migrations/templates/builder/relations/hasMany.template
  118. 0 packages/strapi-generate-migrations/templates/builder/relations/hasOne.template
  119. 0 packages/strapi-generate-migrations/templates/builder/tables/createTableIfNotExists.template
  120. 0 packages/strapi-generate-migrations/templates/builder/tables/dropTable.template
  121. 0 packages/strapi-generate-migrations/templates/builder/tables/options/comment.template
  122. 0 packages/strapi-generate-migrations/templates/builder/tables/options/increments.template
  123. 0 packages/strapi-generate-migrations/templates/builder/tables/options/primary.template
  124. 0 packages/strapi-generate-migrations/templates/builder/tables/options/timestamps.template
  125. 0 packages/strapi-generate-migrations/templates/builder/tables/select/down.template
  126. 0 packages/strapi-generate-migrations/templates/builder/tables/select/up.template
  127. 0 packages/strapi-generate-migrations/templates/seed.template
  128. 0 packages/strapi-generate-new/.editorconfig
  129. 0 packages/strapi-generate-new/LICENSE.md
  130. 0 packages/strapi-generate-new/README.md
  131. 0 packages/strapi-generate-new/files/config/environments/development/authentication.json
  132. 0 packages/strapi-generate-new/files/config/environments/production/authentication.json
  133. 0 packages/strapi-generate-new/files/config/environments/production/server.json
  134. 0 packages/strapi-generate-new/files/config/general.json
  135. 0 packages/strapi-generate-new/files/config/i18n.json
  136. BIN packages/strapi-generate-new/files/favicon.ico
  137. +2 −17 packages/strapi-generate-new/package.json
  138. 0 packages/strapi-generate-new/templates/editorconfig
  139. 0 packages/strapi-generate-policy/.editorconfig
  140. 0 packages/strapi-generate-policy/LICENSE.md
  141. 0 packages/strapi-generate-policy/README.md
  142. +0 −15 packages/strapi-generate-policy/package.json
  143. 0 packages/strapi-generate-service/.editorconfig
  144. 0 packages/strapi-generate-service/LICENSE.md
  145. 0 packages/strapi-generate-service/README.md
  146. +0 −15 packages/strapi-generate-service/package.json
  147. 0 packages/strapi-generate/.editorconfig
  148. 0 packages/strapi-generate/LICENSE.md
  149. 0 packages/strapi-generate/README.md
  150. +0 −21 packages/strapi-generate/package.json
  151. 0 packages/strapi-knex/.editorconfig
  152. 0 packages/strapi-knex/LICENSE.md
  153. 0 packages/strapi-knex/README.md
  154. 0 packages/strapi-knex/lib/index.js
  155. +0 −16 packages/strapi-knex/package.json
  156. 0 packages/strapi-utils/.editorconfig
  157. 0 packages/strapi-utils/LICENSE.md
  158. 0 packages/strapi-utils/README.md
  159. 0 packages/strapi-utils/lib/dictionary.js
  160. 0 packages/strapi-utils/lib/index.js
  161. 0 packages/strapi-utils/lib/json.js
  162. 0 packages/strapi-utils/lib/knex.js
  163. 0 packages/strapi-utils/lib/regex.js
  164. 0 packages/strapi-utils/lib/winston.js
  165. +3 −16 packages/strapi-utils/package.json
  166. 0 packages/strapi/.editorconfig
  167. 0 packages/strapi/LICENSE.md
  168. 0 packages/strapi/README.md
  169. 0 packages/strapi/lib/configuration/hooks/_api/index.js
  170. 0 packages/strapi/lib/configuration/hooks/_config/index.js
  171. 0 packages/strapi/lib/configuration/hooks/_hooks/index.js
  172. 0 packages/strapi/lib/configuration/hooks/bodyParser/index.js
  173. 0 packages/strapi/lib/configuration/hooks/cors/index.js
  174. 0 packages/strapi/lib/configuration/hooks/cron/index.js
  175. 0 packages/strapi/lib/configuration/hooks/favicon/index.js
  176. 0 packages/strapi/lib/configuration/hooks/grant/index.js
  177. 0 packages/strapi/lib/configuration/hooks/graphql/helpers/index.js
  178. 0 packages/strapi/lib/configuration/hooks/graphql/index.js
  179. 0 packages/strapi/lib/configuration/hooks/graphql/schema.js
  180. 0 packages/strapi/lib/configuration/hooks/graphql/utils/index.js
  181. 0 packages/strapi/lib/configuration/hooks/graphql/utils/scalars/json.js
  182. 0 packages/strapi/lib/configuration/hooks/gzip/index.js
  183. 0 packages/strapi/lib/configuration/hooks/i18n/index.js
  184. 0 packages/strapi/lib/configuration/hooks/index.js
  185. 0 packages/strapi/lib/configuration/hooks/ip/index.js
  186. 0 packages/strapi/lib/configuration/hooks/jsonapi/helpers/request.js
  187. 0 packages/strapi/lib/configuration/hooks/jsonapi/helpers/response.js
  188. 0 packages/strapi/lib/configuration/hooks/jsonapi/index.js
  189. 0 packages/strapi/lib/configuration/hooks/jsonapi/utils/index.js
  190. 0 packages/strapi/lib/configuration/hooks/logger/index.js
  191. 0 packages/strapi/lib/configuration/hooks/lusca/index.js
  192. 0 packages/strapi/lib/configuration/hooks/models/index.js
  193. 0 packages/strapi/lib/configuration/hooks/models/utils/index.js
  194. 0 packages/strapi/lib/configuration/hooks/proxy/index.js
  195. 0 packages/strapi/lib/configuration/hooks/responseTime/index.js
  196. 0 packages/strapi/lib/configuration/hooks/responses/index.js
  197. 0 packages/strapi/lib/configuration/hooks/responses/policy.js
  198. 0 packages/strapi/lib/configuration/hooks/responses/responses/badRequest.js
  199. 0 packages/strapi/lib/configuration/hooks/responses/responses/created.js
  200. 0 packages/strapi/lib/configuration/hooks/responses/responses/forbidden.js
  201. 0 packages/strapi/lib/configuration/hooks/responses/responses/index.js
  202. 0 packages/strapi/lib/configuration/hooks/responses/responses/notFound.js
  203. 0 packages/strapi/lib/configuration/hooks/responses/responses/ok.js
  204. 0 packages/strapi/lib/configuration/hooks/responses/responses/serverError.js
  205. 0 packages/strapi/lib/configuration/hooks/router/index.js
  206. 0 packages/strapi/lib/configuration/hooks/session/index.js
  207. 0 packages/strapi/lib/configuration/hooks/ssl/index.js
  208. 0 packages/strapi/lib/configuration/hooks/static/index.js
  209. 0 packages/strapi/lib/configuration/hooks/views/index.js
  210. 0 packages/strapi/lib/configuration/hooks/websockets/index.js
  211. +0 −27 packages/strapi/package.json
  212. +16 −0 scripts/_get-test-directories.sh
  213. +8 −0 scripts/test.sh
  214. +1 −0 test/mocha.opts
View
0 .editorconfig 100644 → 100755
No changes.
View
0 .github/CONTRIBUTING.md 100644 → 100755
No changes.
View
0 .github/ISSUE_TEMPLATE.md 100644 → 100755
No changes.
View
No changes.
View
7 .travis.yml 100644 → 100755
@@ -1,12 +1,15 @@
+git:
+ depth: 1
+
language: node_js
node_js:
- "4"
+ - "5"
sudo: false
-script: "make test-travis"
-after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
+script: "make test"
notifications:
slack:
View
@@ -0,0 +1,11 @@
+MAKEFLAGS = -j1
+
+export NODE_ENV = test
+
+.PHONY: test
+
+lint:
+ ./node_modules/.bin/xo
+
+test: lint
+ ./scripts/test.sh
View
31 README.md 100644 → 100755
@@ -2,7 +2,6 @@
[![npm version](https://img.shields.io/npm/v/strapi.svg)](https://www.npmjs.org/package/strapi)
[![npm downloads](https://img.shields.io/npm/dm/strapi.svg)](https://www.npmjs.org/package/strapi)
-[![npm dependencies](https://david-dm.org/wistityhq/strapi.svg)](https://david-dm.org/wistityhq/strapi)
[![Build status](https://travis-ci.org/wistityhq/strapi.svg?branch=master)](https://travis-ci.org/wistityhq/strapi)
[![Slack status](http://strapi-slack.herokuapp.com/badge.svg)](http://slack.strapi.io)
@@ -51,19 +50,23 @@ Also, you can follow and ping the Strapi team on [Twitter](https://twitter.com/s
## Badge board
-| Package | Version | Dependencies | Build |
-|---------|---------|--------------|-------|
-| [strapi](https://github.com/wistityhq/strapi/tree/master/packages/strapi) | [![npm version](https://img.shields.io/npm/v/strapi.svg)](https://www.npmjs.org/package/strapi) | [![npm dependencies](https://david-dm.org/wistityhq/strapi.svg)](https://david-dm.org/wistityhq/strapi) | [![Build status](https://travis-ci.org/wistityhq/strapi.svg?branch=master)](https://travis-ci.org/wistityhq/strapi) |
-| [strapi-bookshelf](https://github.com/wistityhq/strapi/tree/master/packages/strapi-bookshelf) | [![npm version](https://img.shields.io/npm/v/strapi-bookshelf.svg)](https://www.npmjs.org/package/strapi-bookshelf) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-bookshelf.svg)](https://david-dm.org/wistityhq/strapi-bookshelf) | [![Build status](https://travis-ci.org/wistityhq/strapi-bookshelf.svg?branch=master)](https://travis-ci.org/wistityhq/strapi-bookshelf) |
-| [strapi-cli](https://github.com/wistityhq/strapi/tree/master/packages/strapi-cli) | [![npm version](https://img.shields.io/npm/v/strapi-cli.svg)](https://www.npmjs.org/package/strapi-cli) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-cli.svg)](https://david-dm.org/wistityhq/strapi-cli) | [![Build status](https://travis-ci.org/wistityhq/strapi-cli.svg?branch=master)](https://travis-ci.org/wistityhq/strapi-cli) |
-| [strapi-generate](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate) | [![npm version](https://img.shields.io/npm/v/strapi-generate.svg)](https://www.npmjs.org/package/strapi-generate) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-generate.svg)](https://david-dm.org/wistityhq/strapi-generate) | [![Build status](https://travis-ci.org/wistityhq/strapi-generate.svg?branch=master)](https://travis-ci.org/wistityhq/strapi-generate) |
-| [strapi-generate-api](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-api) | [![npm version](https://img.shields.io/npm/v/strapi-generate-api.svg)](https://www.npmjs.org/package/strapi-generate-api) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-generate-api.svg)](https://david-dm.org/wistityhq/strapi-generate-api) | [![Build status](https://travis-ci.org/wistityhq/strapi-generate-api.svg?branch=master)](https://travis-ci.org/wistityhq/strapi-generate-api) |
-| [strapi-generate-migrations](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-migrations) | [![npm version](https://img.shields.io/npm/v/strapi-generate-migrations.svg)](https://www.npmjs.org/package/strapi-generate-migrations) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-generate-migrations.svg)](https://david-dm.org/wistityhq/strapi-generate-migrations) | [![Build status](https://travis-ci.org/wistityhq/strapi-generate-migrations.svg?branch=master)](https://travis-ci.org/wistityhq/strapi-generate-migrations) |
-| [strapi-generate-new](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-new) | [![npm version](https://img.shields.io/npm/v/strapi-generate-new.svg)](https://www.npmjs.org/package/strapi-generate-new) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-generate-new.svg)](https://david-dm.org/wistityhq/strapi-generate-new) | [![Build status](https://travis-ci.org/wistityhq/strapi-generate-new.svg?branch=master)](https://travis-ci.org/wistityhq/strapi-generate-new) |
-| [strapi-generate-policy](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-policy) | [![npm version](https://img.shields.io/npm/v/strapi-generate-policy.svg)](https://www.npmjs.org/package/strapi-generate-policy) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-generate-policy.svg)](https://david-dm.org/wistityhq/strapi-generate-policy) | [![Build status](https://travis-ci.org/wistityhq/strapi-generate-policy.svg?branch=master)](https://travis-ci.org/wistityhq/strapi-generate-policy) |
-| [strapi-generate-service](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-service) | [![npm version](https://img.shields.io/npm/v/strapi-generate-service.svg)](https://www.npmjs.org/package/strapi-generate-service) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-generate-service.svg)](https://david-dm.org/wistityhq/strapi-generate-service) | [![Build status](https://travis-ci.org/wistityhq/strapi-generate-service.svg?branch=master)](https://travis-ci.org/wistityhq/strapi-generate-service) |
-| [strapi-knex](https://github.com/wistityhq/strapi/tree/master/packages/strapi-knex) | [![npm version](https://img.shields.io/npm/v/strapi-knex.svg)](https://www.npmjs.org/package/strapi-knex) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-knex.svg)](https://david-dm.org/wistityhq/strapi-knex) | [![Build status](https://travis-ci.org/wistityhq/strapi-knex.svg?branch=master)](https://travis-ci.org/wistityhq/strapi-knex) |
-| [strapi-utils](https://github.com/wistityhq/strapi/tree/master/packages/strapi-utils) | [![npm version](https://img.shields.io/npm/v/strapi-utils.svg)](https://www.npmjs.org/package/strapi-utils) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-utils.svg)](https://david-dm.org/wistityhq/strapi-utils) | [![Build status](https://travis-ci.org/wistityhq/strapi-utils.svg?branch=master)](https://travis-ci.org/wistityhq/strapi-utils) |
+| Package | Version | Dependencies |
+|---------|---------|--------------|
+| [strapi](https://github.com/wistityhq/strapi/tree/master/packages/strapi) | [![npm version](https://img.shields.io/npm/v/strapi.svg)](https://www.npmjs.org/package/strapi) | [![npm dependencies](https://david-dm.org/wistityhq/strapi.svg)](https://david-dm.org/wistityhq/strapi) |
+| [strapi-bookshelf](https://github.com/wistityhq/strapi/tree/master/packages/strapi-bookshelf) | [![npm version](https://img.shields.io/npm/v/strapi-bookshelf.svg)](https://www.npmjs.org/package/strapi-bookshelf) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-bookshelf.svg)](https://david-dm.org/wistityhq/strapi-bookshelf) |
+| [strapi-cli](https://github.com/wistityhq/strapi/tree/master/packages/strapi-cli) | [![npm version](https://img.shields.io/npm/v/strapi-cli.svg)](https://www.npmjs.org/package/strapi-cli) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-cli.svg)](https://david-dm.org/wistityhq/strapi-cli) |
+| [strapi-generate](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate) | [![npm version](https://img.shields.io/npm/v/strapi-generate.svg)](https://www.npmjs.org/package/strapi-generate) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-generate.svg)](https://david-dm.org/wistityhq/strapi-generate) |
+| [strapi-generate-api](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-api) | [![npm version](https://img.shields.io/npm/v/strapi-generate-api.svg)](https://www.npmjs.org/package/strapi-generate-api) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-generate-api.svg)](https://david-dm.org/wistityhq/strapi-generate-api) |
+| [strapi-generate-controller](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-controller) | [![npm version](https://img.shields.io/npm/v/strapi-generate-controller.svg)](https://www.npmjs.org/package/strapi-generate-controller) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-generate-controller.svg)](https://david-dm.org/wistityhq/strapi-generate-controller) |
+| [strapi-generate-generator](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-generator) | [![npm version](https://img.shields.io/npm/v/strapi-generate-generator.svg)](https://www.npmjs.org/package/strapi-generate-generator) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-generate-generator.svg)](https://david-dm.org/wistityhq/strapi-generate-generator) |
+| [strapi-generate-hook](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-hook) | [![npm version](https://img.shields.io/npm/v/strapi-generate-hook.svg)](https://www.npmjs.org/package/strapi-generate-hook) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-generate-hook.svg)](https://david-dm.org/wistityhq/strapi-generate-hook) |
+| [strapi-generate-migrations](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-migrations) | [![npm version](https://img.shields.io/npm/v/strapi-generate-migrations.svg)](https://www.npmjs.org/package/strapi-generate-migrations) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-generate-migrations.svg)](https://david-dm.org/wistityhq/strapi-generate-migrations) |
+| [strapi-generate-model](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-model) | [![npm version](https://img.shields.io/npm/v/strapi-generate-model.svg)](https://www.npmjs.org/package/strapi-generate-model) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-generate-model.svg)](https://david-dm.org/wistityhq/strapi-generate-model) |
+| [strapi-generate-new](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-new) | [![npm version](https://img.shields.io/npm/v/strapi-generate-new.svg)](https://www.npmjs.org/package/strapi-generate-new) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-generate-new.svg)](https://david-dm.org/wistityhq/strapi-generate-new) |
+| [strapi-generate-policy](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-policy) | [![npm version](https://img.shields.io/npm/v/strapi-generate-policy.svg)](https://www.npmjs.org/package/strapi-generate-policy) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-generate-policy.svg)](https://david-dm.org/wistityhq/strapi-generate-policy) |
+| [strapi-generate-service](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-service) | [![npm version](https://img.shields.io/npm/v/strapi-generate-service.svg)](https://www.npmjs.org/package/strapi-generate-service) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-generate-service.svg)](https://david-dm.org/wistityhq/strapi-generate-service) |
+| [strapi-knex](https://github.com/wistityhq/strapi/tree/master/packages/strapi-knex) | [![npm version](https://img.shields.io/npm/v/strapi-knex.svg)](https://www.npmjs.org/package/strapi-knex) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-knex.svg)](https://david-dm.org/wistityhq/strapi-knex) |
+| [strapi-utils](https://github.com/wistityhq/strapi/tree/master/packages/strapi-utils) | [![npm version](https://img.shields.io/npm/v/strapi-utils.svg)](https://www.npmjs.org/package/strapi-utils) | [![npm dependencies](https://david-dm.org/wistityhq/strapi-utils.svg)](https://david-dm.org/wistityhq/strapi-utils) |
## Resources
View
0 docs/README.md 100644 → 100755
No changes.
View
0 docs/advanced/errors.md 100644 → 100755
No changes.
View
0 docs/advanced/events.md 100644 → 100755
No changes.
View
0 docs/advanced/generators.md 100644 → 100755
No changes.
View
0 docs/advanced/hooks.md 100644 → 100755
No changes.
View
0 docs/basics/context.md 100644 → 100755
No changes.
View
0 docs/basics/databases.md 100644 → 100755
No changes.
View
0 docs/basics/request.md 100644 → 100755
No changes.
View
0 docs/basics/response.md 100644 → 100755
No changes.
View
0 docs/basics/router.md 100644 → 100755
No changes.
View
0 docs/basics/views.md 100644 → 100755
No changes.
View
No changes.
View
No changes.
View
0 docs/configuration/gzip.md 100644 → 100755
No changes.
View
No changes.
View
No changes.
View
0 docs/configuration/static.md 100644 → 100755
No changes.
View
No changes.
View
0 docs/features/cron.md 100644 → 100755
No changes.
View
0 docs/features/graphql.md 100644 → 100755
No changes.
View
No changes.
View
0 docs/features/jsonapi.md 100644 → 100755
No changes.
View
0 docs/features/services.md 100644 → 100755
No changes.
View
0 docs/features/sessions.md 100644 → 100755
No changes.
View
0 docs/features/websockets.md 100644 → 100755
No changes.
View
0 docs/security/cors.md 100644 → 100755
No changes.
View
0 docs/security/csp.md 100644 → 100755
No changes.
View
0 docs/security/csrf.md 100644 → 100755
No changes.
View
0 docs/security/hsts.md 100644 → 100755
No changes.
View
0 docs/security/ip.md 100644 → 100755
No changes.
View
0 docs/security/p3p.md 100644 → 100755
No changes.
View
0 docs/security/policies.md 100644 → 100755
No changes.
View
0 docs/security/proxy.md 100644 → 100755
No changes.
View
0 docs/security/ssl.md 100644 → 100755
No changes.
View
0 docs/security/xframe.md 100644 → 100755
No changes.
View
0 docs/security/xss.md 100644 → 100755
No changes.
View
0 docs/sql/interfaces.md 100644 → 100755
No changes.
View
0 docs/sql/migrations.md 100644 → 100755
No changes.
View
0 docs/sql/models.md 100644 → 100755
No changes.
View
0 docs/sql/orm.md 100644 → 100755
No changes.
View
0 docs/sql/queries.md 100644 → 100755
No changes.
View
0 docs/sql/raw.md 100644 → 100755
No changes.
View
0 docs/start/anatomy.md 100644 → 100755
No changes.
View
0 docs/start/api.md 100644 → 100755
No changes.
View
0 docs/start/configuration.md 100644 → 100755
No changes.
View
0 docs/start/creation.md 100644 → 100755
No changes.
View
0 docs/start/install-nodejs.md 100644 → 100755
No changes.
View
0 docs/start/install-strapi.md 100644 → 100755
No changes.
View
0 docs/start/repl.md 100644 → 100755
No changes.
View
0 info/README.md 100644 → 100755
No changes.
View
0 info/conduct.md 100644 → 100755
No changes.
View
0 info/governance.md 100644 → 100755
No changes.
View
5 info/licenses.md 100644 → 100755
@@ -6,9 +6,8 @@ layout: no-sidebar
The Strapi ecosystem is composed by many components offered by [Wistity](http://wistity.co) under the terms of open-source licenses, including:
- [strapi](https://github.com/wistityhq/strapi/tree/master/packages/strapi) ([MIT license](https://github.com/wistityhq/strapi/blob/master/packages/strapi/LICENSE.md))
-- [strapi-cli](https://github.com/wistityhq/strapi/tree/master/packages/strapi-cli) ([MIT license](https://github.com/wistityhq/strapi/blob/master/packages/strapi-cli/LICENSE.md))
-- [strapi-knex](https://github.com/wistityhq/strapi/tree/master/packages/strapi-knex) ([MIT license](https://github.com/wistityhq/strapi/blob/master/packages/strapi-knex/LICENSE.md))
- [strapi-bookshelf](https://github.com/wistityhq/strapi/tree/master/packages/strapi-bookshelf) ([MIT license](https://github.com/wistityhq/strapi/blob/master/packages/strapi-bookshelf/LICENSE.md))
+- [strapi-cli](https://github.com/wistityhq/strapi/tree/master/packages/strapi-cli) ([MIT license](https://github.com/wistityhq/strapi/blob/master/packages/strapi-cli/LICENSE.md))
- [strapi-generate](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate) ([MIT license](https://github.com/wistityhq/strapi/blob/master/packages/strapi-generate/LICENSE.md))
- [strapi-generate-api](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-api) ([MIT license](https://github.com/wistityhq/strapi/blob/master/packages/strapi-generate-api/LICENSE.md))
- [strapi-generate-controller](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-controller) ([MIT license](https://github.com/wistityhq/strapi/blob/master/packages/strapi-generate-controller/LICENSE.md))
@@ -19,3 +18,5 @@ The Strapi ecosystem is composed by many components offered by [Wistity](http://
- [strapi-generate-new](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-new) ([MIT license](https://github.com/wistityhq/strapi/blob/master/packages/strapi-generate-new/LICENSE.md))
- [strapi-generate-policy](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-policy) ([MIT license](https://github.com/wistityhq/strapi/blob/master/packages/strapi-generate-policy/LICENSE.md))
- [strapi-generate-service](https://github.com/wistityhq/strapi/tree/master/packages/strapi-generate-service) ([MIT license](https://github.com/wistityhq/strapi/blob/master/packages/strapi-generate-service/LICENSE.md))
+- [strapi-knex](https://github.com/wistityhq/strapi/tree/master/packages/strapi-knex) ([MIT license](https://github.com/wistityhq/strapi/blob/master/packages/strapi-knex/LICENSE.md))
+- [strapi-utils](https://github.com/wistityhq/strapi/tree/master/packages/strapi-utils) ([MIT license](https://github.com/wistityhq/strapi/blob/master/packages/strapi-utils/LICENSE.md))
View
0 info/releases.md 100644 → 100755
No changes.
View
0 info/security.md 100644 → 100755
No changes.
View
0 info/trademarks.md 100644 → 100755
No changes.
View
@@ -0,0 +1,58 @@
+{
+ "private": true,
+ "version": "2.0.0",
+ "devDependencies": {
+ "expect.js": "~0.3.1",
+ "istanbul": "^0.4.2",
+ "mocha": "~2.4.5",
+ "pre-commit": "~1.1.2",
+ "request": "~2.69.0",
+ "should": "~8.3.0",
+ "xo": "~0.13.0"
+ },
+ "xo": {
+ "space": true,
+ "envs": [
+ "node"
+ ],
+ "globals": [
+ "strapi"
+ ],
+ "ignore": [
+ "packages/**/test/**"
+ ],
+ "rules": {
+ "no-unused-expressions": 0,
+ "padded-blocks": 0,
+ "prefer-template": 0,
+ "strict": 0
+ }
+ },
+ "scripts": {
+ "test": "make test"
+ },
+ "author": {
+ "email": "hack@wistity.co",
+ "name": "Wistity team",
+ "url": "http://wistity.co"
+ },
+ "maintainers": [
+ {
+ "name": "Wistity team",
+ "email": "hack@wistity.co",
+ "url": "http://wistity.co"
+ }
+ ],
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/wistityhq/strapi.git"
+ },
+ "bugs": {
+ "url": "https://github.com/wistityhq/strapi/issues"
+ },
+ "engines": {
+ "node": ">= 4.0.0",
+ "npm": ">= 3.0.0"
+ },
+ "license": "MIT"
+}
View
0 packages/README.md 100644 → 100755
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
@@ -21,30 +21,10 @@
"pluralize": "~1.2.1",
"strapi": "~2.0.0"
},
- "devDependencies": {
- "pre-commit": "~1.1.2",
- "xo": "~0.13.0"
- },
"strapi": {
"isHook": true
},
- "xo": {
- "space": true,
- "envs": [
- "node"
- ],
- "globals": [
- "strapi"
- ],
- "rules": {
- "no-case-declarations": 0,
- "no-unused-vars": 0,
- "padded-blocks": 0,
- "strict": 0
- }
- },
"scripts": {
- "test": "xo",
"prepublish": "npm prune"
},
"author": {
View
No changes.
No changes.
View
No changes.
@@ -21,30 +21,18 @@
"strapi-bookshelf": "~2.0.0",
"strapi-generate": "~2.0.0",
"strapi-generate-api": "~2.0.0",
+ "strapi-generate-controller": "~2.0.0",
+ "strapi-generate-generator": "~2.0.0",
+ "strapi-generate-hook": "~2.0.0",
"strapi-generate-migrations": "~2.0.0",
+ "strapi-generate-model": "~2.0.0",
"strapi-generate-new": "~2.0.0",
+ "strapi-generate-policy": "~2.0.0",
+ "strapi-generate-service": "~2.0.0",
"strapi-knex": "~2.0.0",
"strapi-utils": "~2.0.0"
},
- "devDependencies": {
- "pre-commit": "~1.1.2",
- "xo": "~0.13.0"
- },
- "xo": {
- "space": true,
- "envs": [
- "node"
- ],
- "rules": {
- "no-unused-expressions": 0,
- "padded-blocks": 0,
- "prefer-arrow-callback": 0,
- "prefer-template": 0,
- "strict": 0
- }
- },
"scripts": {
- "test": "xo",
"prepublish": "npm prune"
},
"author": {
View
No changes.
View
No changes.
View
No changes.
No changes.
View
@@ -16,22 +16,7 @@
"lodash": "~4.6.1",
"pluralize": "~1.2.1"
},
- "devDependencies": {
- "pre-commit": "~1.1.2",
- "xo": "~0.13.0"
- },
- "xo": {
- "space": true,
- "envs": [
- "node"
- ],
- "rules": {
- "consistent-return": 0,
- "strict": 0
- }
- },
"scripts": {
- "test": "xo",
"prepublish": "npm prune"
},
"author": {
No changes.
No changes.
View
No changes.
View
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
View
@@ -26,28 +26,7 @@
"strapi-bookshelf": "~2.0.0",
"strapi-utils": "~2.0.0"
},
- "devDependencies": {
- "pre-commit": "~1.1.2",
- "xo": "~0.13.0"
- },
- "xo": {
- "space": true,
- "envs": [
- "node"
- ],
- "rules": {
- "brace-style": 0,
- "camelcase": 0,
- "consistent-return": 0,
- "no-else-return": 0,
- "no-negated-condition": 0,
- "no-warning-comments": 0,
- "padded-blocks": 0,
- "strict": 0
- }
- },
"scripts": {
- "test": "xo",
"prepublish": "npm prune"
},
"author": {
No changes.
View
No changes.
View
No changes.
View
No changes.
No changes.
No changes.
View
No changes.
View
@@ -17,29 +17,14 @@
"lodash": "~4.6.1",
"strapi-utils": "~2.0.0"
},
- "devDependencies": {
- "pre-commit": "~1.1.2",
- "xo": "~0.13.0"
+ "scripts": {
+ "prepublish": "npm prune"
},
"author": {
"email": "hack@wistity.co",
"name": "Wistity team",
"url": "http://wistity.co"
},
- "xo": {
- "space": true,
- "envs": [
- "node"
- ],
- "rules": {
- "quote-props": 0,
- "strict": 0
- }
- },
- "scripts": {
- "test": "xo",
- "prepublish": "npm prune"
- },
"maintainers": [
{
"name": "Wistity team",
No changes.
View
No changes.
View
No changes.
View
No changes.
View
@@ -16,22 +16,7 @@
"dependencies": {
"lodash": "~4.6.1"
},
- "devDependencies": {
- "pre-commit": "~1.1.2",
- "xo": "~0.13.0"
- },
- "xo": {
- "space": true,
- "envs": [
- "node"
- ],
- "rules": {
- "consistent-return": 0,
- "strict": 0
- }
- },
"scripts": {
- "test": "xo",
"prepublish": "npm prune"
},
"author": {
View
No changes.
View
No changes.
View
No changes.
View
@@ -16,22 +16,7 @@
"dependencies": {
"lodash": "~4.6.1"
},
- "devDependencies": {
- "pre-commit": "~1.1.2",
- "xo": "~0.13.0"
- },
- "xo": {
- "space": true,
- "envs": [
- "node"
- ],
- "rules": {
- "consistent-return": 0,
- "strict": 0
- }
- },
"scripts": {
- "test": "xo",
"prepublish": "npm prune"
},
"author": {
View
No changes.
View
No changes.
View
No changes.
View
@@ -19,28 +19,7 @@
"reportback": "~0.1.9",
"strapi-utils": "~2.0.0"
},
- "devDependencies": {
- "pre-commit": "~1.1.2",
- "xo": "~0.13.0"
- },
- "xo": {
- "space": true,
- "envs": [
- "node"
- ],
- "rules": {
- "consistent-return": 0,
- "no-else-return": 0,
- "no-implicit-coercion": 0,
- "no-negated-condition": 0,
- "no-unused-vars": 0,
- "padded-blocks": 0,
- "space-infix-ops": 0,
- "strict": 0
- }
- },
"scripts": {
- "test": "xo",
"prepublish": "npm prune"
},
"author": {
View
No changes.
View
No changes.
View
No changes.
View
No changes.
Oops, something went wrong.

0 comments on commit d81f284

Please sign in to comment.