Skip to content

Commit

Permalink
Update assets/
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Jun 2, 2021
1 parent cfeb771 commit b0f5db5
Show file tree
Hide file tree
Showing 67 changed files with 1,825 additions and 2,102 deletions.
2 changes: 1 addition & 1 deletion assets/js/admin.js → assets/admin.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../scss/admin.scss';
import './styles/admin.scss';
import 'eonasdan-bootstrap-datetimepicker';
import 'typeahead.js';
import Bloodhound from "bloodhound-js";
Expand Down
9 changes: 6 additions & 3 deletions assets/js/app.js → assets/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../scss/app.scss';
import './styles/app.scss';

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

// loads the code syntax highlighting library
import './highlight.js';
import './js/highlight.js';

// Creates links to the Symfony documentation
import './doclinks.js';
import './js/doclinks.js';

// start the Stimulus application
import './bootstrap';
11 changes: 11 additions & 0 deletions assets/bootstrap.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { startStimulusApp } from '@symfony/stimulus-bridge';

// Registers Stimulus controllers from controllers.json and in the controllers/ directory
export const app = startStimulusApp(require.context(
'@symfony/stimulus-bridge/lazy-controller-loader!./controllers',
true,
/\.(j|t)sx?$/
));

// register any custom, 3rd party controllers here
// app.register('some_controller_name', SomeImportedController);
4 changes: 4 additions & 0 deletions assets/controllers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"controllers": [],
"entrypoints": []
}
Empty file added assets/controllers/.gitignore
Empty file.
File renamed without changes.
2 changes: 1 addition & 1 deletion assets/js/search.js → assets/search.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import './jquery.instantSearch.js';
import './js/jquery.instantSearch.js';

$(function() {
$('.search-field')
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ security:
target: homepage

# needed because in tests we redefine the 'main' firewall to use
# HTTP Basic instead of he login form, so this firewall has
# HTTP Basic instead of the login form, so this firewall has
# multiple authenticators
# See https://symfony.com/doc/current/security/experimental_authenticators.html#configuring-the-authentication-entry-point
entry_point: 'form_login'
Expand Down
54 changes: 29 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,31 @@
{
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.8.1",
"@symfony/webpack-encore": "^1.0.0",
"bloodhound-js": "^1.2.3",
"bootstrap-sass": "^3.3.7",
"bootstrap-tagsinput": "^0.7.1",
"bootswatch": "^3.3.7",
"core-js": "^3.0.0",
"eonasdan-bootstrap-datetimepicker": "^4.17.47",
"highlight.js": "^10.4.1",
"imports-loader": "^0.8.0",
"jquery": "^3.5.1",
"lato-font": "^3.0.0",
"node-sass": "^4.9.3",
"sass-loader": "^9.0.1",
"typeahead.js": "^0.11.1"
},
"license": "MIT",
"private": true,
"scripts": {
"dev-server": "encore dev-server",
"dev": "encore dev",
"watch": "encore dev --watch",
"build": "encore production --progress"
}
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.8.1",
"@symfony/stimulus-bridge": "^2.0.0",
"@symfony/webpack-encore": "^1.0.0",
"bloodhound-js": "^1.2.3",
"bootstrap-sass": "^3.3.7",
"bootstrap-tagsinput": "^0.7.1",
"bootswatch": "^3.3.7",
"core-js": "^3.0.0",
"eonasdan-bootstrap-datetimepicker": "^4.17.47",
"highlight.js": "^10.4.1",
"imports-loader": "^0.8.0",
"jquery": "^3.5.1",
"lato-font": "^3.0.0",
"node-sass": "^4.9.3",
"sass-loader": "^9.0.1",
"typeahead.js": "^0.11.1",
"regenerator-runtime": "^0.13.2",
"stimulus": "^2.0.0",
"webpack-notifier": "^1.6.0"
},
"license": "MIT",
"private": true,
"scripts": {
"dev-server": "encore dev-server",
"dev": "encore dev",
"watch": "encore dev --watch",
"build": "encore production --progress"
}
}
1 change: 1 addition & 0 deletions public/build/169.61570d43.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions public/build/898.css → public/build/169.8ccdf84f.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/build/498.3bafb5f9.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b0f5db5

Please sign in to comment.