Skip to content

Commit b0f5db5

Browse files
Update assets/
1 parent cfeb771 commit b0f5db5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+1825
-2102
lines changed

assets/js/admin.js renamed to assets/admin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import '../scss/admin.scss';
1+
import './styles/admin.scss';
22
import 'eonasdan-bootstrap-datetimepicker';
33
import 'typeahead.js';
44
import Bloodhound from "bloodhound-js";
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import '../scss/app.scss';
1+
import './styles/app.scss';
22

33
// loads the Bootstrap jQuery plugins
44
import 'bootstrap-sass/assets/javascripts/bootstrap/transition.js';
@@ -9,7 +9,10 @@ import 'bootstrap-sass/assets/javascripts/bootstrap/modal.js';
99
import 'jquery'
1010

1111
// loads the code syntax highlighting library
12-
import './highlight.js';
12+
import './js/highlight.js';
1313

1414
// Creates links to the Symfony documentation
15-
import './doclinks.js';
15+
import './js/doclinks.js';
16+
17+
// start the Stimulus application
18+
import './bootstrap';

assets/bootstrap.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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+
/\.(j|t)sx?$/
8+
));
9+
10+
// register any custom, 3rd party controllers here
11+
// app.register('some_controller_name', SomeImportedController);

assets/controllers.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"controllers": [],
3+
"entrypoints": []
4+
}

assets/controllers/.gitignore

Whitespace-only changes.
File renamed without changes.

assets/js/search.js renamed to assets/search.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import './jquery.instantSearch.js';
1+
import './js/jquery.instantSearch.js';
22

33
$(function() {
44
$('.search-field')
File renamed without changes.
File renamed without changes.

config/packages/security.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ security:
5555
target: homepage
5656

5757
# needed because in tests we redefine the 'main' firewall to use
58-
# HTTP Basic instead of he login form, so this firewall has
58+
# HTTP Basic instead of the login form, so this firewall has
5959
# multiple authenticators
6060
# See https://symfony.com/doc/current/security/experimental_authenticators.html#configuring-the-authentication-entry-point
6161
entry_point: 'form_login'

package.json

+29-25
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,31 @@
11
{
2-
"devDependencies": {
3-
"@fortawesome/fontawesome-free": "^5.8.1",
4-
"@symfony/webpack-encore": "^1.0.0",
5-
"bloodhound-js": "^1.2.3",
6-
"bootstrap-sass": "^3.3.7",
7-
"bootstrap-tagsinput": "^0.7.1",
8-
"bootswatch": "^3.3.7",
9-
"core-js": "^3.0.0",
10-
"eonasdan-bootstrap-datetimepicker": "^4.17.47",
11-
"highlight.js": "^10.4.1",
12-
"imports-loader": "^0.8.0",
13-
"jquery": "^3.5.1",
14-
"lato-font": "^3.0.0",
15-
"node-sass": "^4.9.3",
16-
"sass-loader": "^9.0.1",
17-
"typeahead.js": "^0.11.1"
18-
},
19-
"license": "MIT",
20-
"private": true,
21-
"scripts": {
22-
"dev-server": "encore dev-server",
23-
"dev": "encore dev",
24-
"watch": "encore dev --watch",
25-
"build": "encore production --progress"
26-
}
2+
"devDependencies": {
3+
"@fortawesome/fontawesome-free": "^5.8.1",
4+
"@symfony/stimulus-bridge": "^2.0.0",
5+
"@symfony/webpack-encore": "^1.0.0",
6+
"bloodhound-js": "^1.2.3",
7+
"bootstrap-sass": "^3.3.7",
8+
"bootstrap-tagsinput": "^0.7.1",
9+
"bootswatch": "^3.3.7",
10+
"core-js": "^3.0.0",
11+
"eonasdan-bootstrap-datetimepicker": "^4.17.47",
12+
"highlight.js": "^10.4.1",
13+
"imports-loader": "^0.8.0",
14+
"jquery": "^3.5.1",
15+
"lato-font": "^3.0.0",
16+
"node-sass": "^4.9.3",
17+
"sass-loader": "^9.0.1",
18+
"typeahead.js": "^0.11.1",
19+
"regenerator-runtime": "^0.13.2",
20+
"stimulus": "^2.0.0",
21+
"webpack-notifier": "^1.6.0"
22+
},
23+
"license": "MIT",
24+
"private": true,
25+
"scripts": {
26+
"dev-server": "encore dev-server",
27+
"dev": "encore dev",
28+
"watch": "encore dev --watch",
29+
"build": "encore production --progress"
30+
}
2731
}

public/build/169.61570d43.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/build/898.css renamed to public/build/169.8ccdf84f.css

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/build/498.3bafb5f9.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)