Skip to content

Commit 0d9b80e

Browse files
committed
[netbull/core-bundle] Add recipe
1 parent a0f097a commit 0d9b80e

3 files changed

Lines changed: 54 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
netbull_core:
2+
# Everything below is optional — the bundle works with an empty config.
3+
4+
# Where "bin/console netbull:core:js-routing" dumps the routes for the frontend,
5+
# relative to the project directory. Only routes marked with
6+
# "options: { expose: true }" are exported.
7+
# js_routes_path: 'assets/js/router.js'
8+
9+
# Flavor of the generated router file: "js" or "es6".
10+
# js_type: 'es6'
11+
12+
# Defaults applied to the AjaxType / Select2Type form types (select2-based widgets).
13+
# form_types:
14+
# ajax:
15+
# minimum_input_length: 1
16+
# page_limit: 10
17+
# allow_clear: false
18+
# delay: 250
19+
# language: 'en'
20+
# cache: true
21+
22+
# CSS classes / icons used by the pagination_sortable() Twig function.
23+
# paginator:
24+
# sortable:
25+
# icons:
26+
# none: 'fa fa-sort'
27+
# asc: 'fa fa-sort-up'
28+
# desc: 'fa fa-sort-down'
29+
# active_class: 'text-success'
30+
# not_active_class: 'text-primary'
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"bundles": {
3+
"NetBull\\CoreBundle\\NetBullCoreBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
}
8+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<bg=blue;fg=white> </>
2+
<bg=blue;fg=white> NetBull CoreBundle </>
3+
<bg=blue;fg=white> </>
4+
5+
* A starter configuration was created at <comment>config/packages/netbull_core.yaml</comment>.
6+
All options are optional — uncomment what you need.
7+
8+
* Doctrine column types (spatial, phone number, range) must be registered in
9+
<comment>doctrine.dbal.types</comment> before use; the DQL function GREATEST under
10+
<comment>doctrine.orm.dql.numeric_functions</comment>. See the README for the snippet.
11+
12+
* To export routes to the frontend, mark them with <comment>options: { expose: true }</comment>,
13+
set <comment>netbull_core.js_routes_path</comment> and run
14+
<comment>bin/console netbull:core:js-routing</comment>.
15+
16+
Reference: <fg=blue>https://packagist.org/packages/netbull/core-bundle</fg=blue>

0 commit comments

Comments
 (0)