File tree Expand file tree Collapse file tree 4 files changed +543
-335
lines changed Expand file tree Collapse file tree 4 files changed +543
-335
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
-
3
2
node_js :
4
- - " 8 "
5
- - " 7 "
6
- - " 6 "
3
+ - ' 8 '
4
+ - ' 7 '
5
+ - ' 6 '
7
6
8
7
cache :
9
8
directories :
10
- - node_modules
9
+ - node_modules
11
10
12
11
script :
13
- - yarn build
14
- - yarn test
15
- - yarn lint
16
- - yarn test-gen
12
+ - yarn build
13
+ - yarn test
14
+ - yarn lint
15
+ - yarn test-gen
16
+ - yarn check
17
+
18
+ deploy :
19
+ provider : npm
20
+ email : $NPM_AUTH_EMAIL
21
+ api_key : $NPM_AUTH_TOKEN
22
+ on :
23
+ tags : true
24
+ node_js : ' 8'
25
+ skip_cleanup : true
26
+
27
+ env :
28
+ global :
29
+ - secure : BYLfuGrikJZU3xtVZQ8/aSt2otDJpnpTtLEVKeKabGIvXcQCjyhOu5xeUFAl2+zaPb72d2oPOgxUJA2F1RGy9s7EKdJ8nS76FgXw7NgHJ3mM/Fb9DpBgZ+SjlPD0N8248PODkFyaolDcmgKkHuZlqXuoXkN6n6eqlzU0XnwpekBdJKHHGx8j95qVrEHrPkVsYo/xjPL4ECK3pwjJWy58MPERrOPuka9lAm1QdMqGsHzXauxxPNqWbeu7vw/7SEnrjN1t0AXYRO5tLD5arjRhHX07lWoxmbA7m7Lk8SL3biIerNpD0d1gGIngF5zXw35y2bISUMBvgWQbTgqPS6z6v0b4ReZf7jNDiGzO7cu1W1eeL37ULhNiO6v3Gn8TwyKuwOSpiYoc6DR/AYQvv09/Ieqf3K3Zq31nkq8h9IHhyrx37JZvfbudpHJRvdOEugWKnUXZnnpjwNL1U/4Dm5HvD8h0wuIPH3+DESntpz2ME+ngwRYeHaahTcoOmbpGd+XTnRlMub8N6ONjLZMGMZlbEy+13KqLrf/1buDEmhX+E8kRaPG0JlsIwHa4/oYRrrfI00mrNJK724rtO5VL9QEFc97YuD1MUt00X3oUHvyALerCLioEFLSeBTIUOW4KhOCEfTrF2AqbyICP6d6irxfhP9EUaX4Z0IRqwP8ByKp2MDc=
30
+ - secure : guu6quOfCnjapELFaPlPwWD59duhd2Hv4ljhNnUYdmA/kthiVMAE3Z/FygABVNyCXc3Nv9j5/mO+85T37oeGn03tvmcaPf41WrrY+bZQUV7dJH8ct1LCaJL9zpC9TmPhGenFmiuzpR51QXkPNicYk14NiorJGxMcMhW1AOEDDHoWPH3UuCytpy3KJ3H0hY69e2I8ByuGlx31hFQ+l7bM81o9e/UJMRFImZ9PeSU5P6Vc89//9k2OfVSUuxCNoI6JpRCadoJuoXedv4jeadrKUML2/ZtXaezTyydHYADw6GyoO9ZsOQUgLbPcACi6r0pmeTihwTWJwWyD48h/geYz0Ijf/he5VanVGf2dlIQZTuqNkPAE+60X9ggCTPyLwNT27gqVl7XVJDmR/VEadVEfeF9yOGs7hcTQTI1raiepW3+1lDQun3s7j1TdK/WSuIkGa/AzoMg34YDZmyIMc2YZGDyle1+0F0IlqssZcQsAh8LVzPmlx6AGBfZ0wzRDMGaLesBhSj0ZcQY8lws0OW70YUFupviW2iqXuBpH/BkOTf3Z7xFTekqh4aXk1t6mGbKkwN31gsp9oNEu05ughGDORJBOGSkGlatLrN2/DBUh8XozLDkXjfpe3Oz0BiyAXbpGJZQpd4h7TxBC9NF+8fSq3xdPj4H07rOhNsDa0aIFQYQ=
Original file line number Diff line number Diff line change 1
- # API Platform CRUD Generator
1
+ # API Platform Client Generator
2
2
3
- [ ![ Build Status] ( https://travis-ci.org/api-platform/generate-crud .svg?branch=master )] ( https://travis-ci.org/api-platform/generate-crud )
4
- [ ![ npm version] ( https://badge.fury.io/js/api -platform-generate-crud .svg )] ( https://badge.fury.io/js/@api -platform/generate-crud )
3
+ [ ![ Build Status] ( https://travis-ci.org/api-platform/client-generator .svg?branch=master )] ( https://travis-ci.org/api-platform/client-generator )
4
+ [ ![ npm version] ( https://badge.fury.io/js/%40api -platform%2Fclient-generator .svg )] ( https://badge.fury.io/js/%40api -platform%2Fclient-generator )
5
5
[ ![ MIT Licence] ( https://badges.frapsoft.com/os/mit/mit.svg?v=103 )] ( https://opensource.org/licenses/mit-license.php )
6
6
7
- [ ![ NPM] ( https://nodei.co/npm/@api-platform/generate-crud.png?downloads=true&downloadRank=true&stars=true )] ( https://nodei.co/npm/@api-platform/generate-crud/ )
8
-
9
7
A generator to scaffold a React/Redux app with Create-Retrieve-Update-Delete features for any API exposing a Hydra documentation.
10
8
Works especially well with APIs built with the [ API Platform] ( https://api-platform.com ) framework.
11
9
12
10
## Installation
13
11
14
- ```
15
- npm install -g @api-platform/generate-crud
16
- ```
12
+ yarn global add @api-platform/client-generator
17
13
18
14
## Usage
19
15
20
- ```
21
- api-platform-generate-crud https://demo.api-platform.com/ output/ --resource Book
22
- ```
16
+ generate-api-platform-client https://demo.api-platform.com/ output/ --resource Book
23
17
24
18
## Features
25
19
@@ -38,7 +32,7 @@ api-platform-generate-crud https://demo.api-platform.com/ output/ --resource Boo
38
32
39
33
## Documentation
40
34
41
- The documentation of API Platform CRUD Generator can be browsed [ on the docs repository ] ( https://github.com/ api-platform/docs/blob/master/index.md#api-platform- crud-generator-scaffold-a-reactredux-app-with-crud-features ) .
35
+ The documentation of API Platform's Client Generator can be browsed [ on the official website ] ( https://api-platform.com /docs/generate- crud/ ) .
42
36
43
37
## Credits
44
38
Original file line number Diff line number Diff line change 10
10
" templates"
11
11
],
12
12
"main" : " lib/index" ,
13
- "repository" : " api-platform/generate-crud " ,
14
- "homepage" : " https://github.com/api-platform/generate-crud " ,
15
- "bugs" : " https://github.com/api-platform/generate-crud /issues" ,
13
+ "repository" : " api-platform/client-generator " ,
14
+ "homepage" : " https://github.com/api-platform/client-generator " ,
15
+ "bugs" : " https://github.com/api-platform/client-generator /issues" ,
16
16
"author" : " Kévin Dunglas" ,
17
17
"license" : " MIT" ,
18
18
"devDependencies" : {
46
46
"test-gen" : " rm -rf ./tmp && npm run build && ./lib/index.js https://demo.api-platform.com ./tmp"
47
47
},
48
48
"bin" : {
49
- "api-platform-generate-crud" : " ./lib/index.js"
49
+ "generate-api-platform-client" : " ./lib/index.js"
50
+ },
51
+ "publishConfig" : {
52
+ "access" : " public"
50
53
}
51
54
}
You can’t perform that action at this time.
0 commit comments