Skip to content

Commit d7675aa

Browse files
committed
Resolve conflicts between 2.0 and 2.1
2 parents c721cfc + 0064d19 commit d7675aa

File tree

12 files changed

+169
-7
lines changed

12 files changed

+169
-7
lines changed

assets/admin/bootstrap.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { startStimulusApp } from '@symfony/stimulus-bridge';
2+
3+
// Registers Stimulus controllers from controllers.json and in the controllers/ directory
4+
export const app = startStimulusApp(require.context(
5+
'@symfony/stimulus-bridge/lazy-controller-loader!./controllers',
6+
true,
7+
/\.[jt]sx?$/
8+
));
9+
// register any custom, 3rd party controllers here
10+
// app.register('some_controller_name', SomeImportedController);

assets/admin/controllers.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"controllers": {
3+
"@sylius/admin-bundle": {
4+
"slug": {
5+
"enabled": true,
6+
"fetch": "lazy"
7+
},
8+
"taxon-slug": {
9+
"enabled": true,
10+
"fetch": "lazy"
11+
},
12+
"taxon-tree": {
13+
"enabled": true,
14+
"fetch": "lazy"
15+
},
16+
"delete-taxon": {
17+
"enabled": true,
18+
"fetch": "lazy"
19+
},
20+
"product-attribute-autocomplete": {
21+
"enabled": true,
22+
"fetch": "lazy"
23+
},
24+
"product-taxon-tree": {
25+
"enabled": true,
26+
"fetch": "lazy"
27+
},
28+
"save-positions": {
29+
"enabled": true,
30+
"fetch": "lazy"
31+
},
32+
"compound-form-errors": {
33+
"enabled": true,
34+
"fetch": "lazy"
35+
},
36+
"tabs-errors": {
37+
"enabled": true,
38+
"fetch": "lazy"
39+
},
40+
"back-button": {
41+
"enabled": true,
42+
"fetch": "lazy"
43+
}
44+
}
45+
},
46+
"entrypoints": []
47+
}

assets/admin/controllers/.gitignore

Whitespace-only changes.

assets/admin/entrypoint.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import './bootstrap.js';
2+
3+
// In this file you can import assets like images or stylesheets
4+
console.log('Hello Webpack Encore! Edit me in assets/admin/entrypoint.js');

assets/controllers.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"controllers": {
3+
"@symfony/ux-autocomplete": {
4+
"autocomplete": {
5+
"enabled": true,
6+
"fetch": "eager",
7+
"autoimport": {
8+
"tom-select/dist/css/tom-select.default.css": true,
9+
"tom-select/dist/css/tom-select.bootstrap4.css": false,
10+
"tom-select/dist/css/tom-select.bootstrap5.css": false
11+
}
12+
}
13+
},
14+
"@symfony/ux-live-component": {
15+
"live": {
16+
"enabled": true,
17+
"fetch": "eager",
18+
"autoimport": {
19+
"@symfony/ux-live-component/dist/live.min.css": true
20+
}
21+
}
22+
}
23+
},
24+
"entrypoints": []
25+
}

assets/shop/bootstrap.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { startStimulusApp } from '@symfony/stimulus-bridge';
2+
3+
// Registers Stimulus controllers from controllers.json and in the controllers/ directory
4+
export const app = startStimulusApp(require.context(
5+
'@symfony/stimulus-bridge/lazy-controller-loader!./controllers',
6+
true,
7+
/\.[jt]sx?$/
8+
));
9+
// register any custom, 3rd party controllers here
10+
// app.register('some_controller_name', SomeImportedController);

assets/shop/controllers.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"controllers": {
3+
"@sylius/shop-bundle": {
4+
"api-login": {
5+
"enabled": true,
6+
"fetch": "lazy"
7+
}
8+
}
9+
},
10+
"entrypoints": []
11+
}

assets/shop/controllers/.gitignore

Whitespace-only changes.

assets/shop/entrypoint.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import './bootstrap.js';
2+
3+
// In this file you can import assets like images or stylesheets
4+
console.log('Hello Webpack Encore! Edit me in assets/shop/entrypoint.js');

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"license": "MIT",
44
"require": {
55
"php": "^8.2",
6-
"sylius/sylius": "~2.0.0",
6+
"sylius/sylius": "~2.1.0",
77
"symfony/debug-bundle": "*",
88
"symfony/dotenv": "*",
99
"symfony/flex": "*",

0 commit comments

Comments
 (0)