Skip to content

Commit

Permalink
Move up resource directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
nanaya committed Jan 20, 2023
1 parent 1423eb9 commit ff3e804
Show file tree
Hide file tree
Showing 1,062 changed files with 36 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ public/assets
public/uploads
public/uploads-avatar
public/uploads-replay
resources/assets/build/
resources/builds/
storage/
vendor/
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
'plugin:react-hooks/recommended',
'plugin:react/recommended',
],
files: ['resources/assets/lib/**/*.{ts,tsx}', 'tests/karma/**/*.ts'],
files: ['resources/js/**/*.{ts,tsx}', 'tests/karma/**/*.ts'],
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
Expand Down Expand Up @@ -170,7 +170,7 @@ module.exports = {
browser: true,
node: false,
},
files: ['resources/assets/lib/**/*.{ts,tsx}'],
files: ['resources/js/**/*.{ts,tsx}'],
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
Expand Down
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* text=auto
*.sh eol=lf
/public/images/** binary
/resources/assets/fonts/** binary
/resources/fonts/** binary
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ com_crashlytics_export_strings.xml

sftp-settings.json

/resources/assets/build/
/resources/builds/

composer-installer

Expand Down
21 changes: 10 additions & 11 deletions bin/update_licence.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,11 @@ _fix() {
database/migrations/2016_03_18_170011_create_oauth_access_tokens_table.php|\
database/migrations/2016_03_18_170012_create_oauth_access_token_scopes_table.php|\
database/migrations/2016_03_18_170013_create_oauth_refresh_tokens_table.php|\
resources/assets/build/*|\
resources/assets/js/ziggy.js|\
resources/assets/less/jquery-ui/slider.less|\
resources/assets/less/jquery-ui/theme.less|\
resources/assets/less/spinner.less|\
resources/assets/less/torus.less)
resources/builds/*|\
resources/css/jquery-ui/slider.less|\
resources/css/jquery-ui/theme.less|\
resources/css/spinner.less|\
resources/css/torus.less)
_debug "S $file"
continue
;;
Expand Down Expand Up @@ -204,12 +203,12 @@ licence_new_php=$(printf "<?php\n\n%s" "$licence_new_c")
_fix "${licence_old_php}" "${licence_new_php}" '*.php' app/ database/ resources/lang/en/ routes/ tests/
_fix "${licence_old_blade}" "${licence_new_blade}" '*.blade.php' resources/views/

_fix "${licence_old_c}" "${licence_new_c}" '*.less' resources/assets/
_fix "${licence_old_c}" "${licence_new_c}" '*.less' resources/css/

_fix "${licence_old_c}" "${licence_new_c}" '*.ts' tests/
_fix "${licence_old_c}" "${licence_new_c}" '*.ts' resources/assets/
_fix "${licence_old_c}" "${licence_new_c}" '*.tsx' resources/assets/
_fix "${licence_old_c}" "${licence_new_c}" '*.js' resources/assets/
_fix "${licence_old_c}" "${licence_new_c}" '*.ts' resources/js/
_fix "${licence_old_c}" "${licence_new_c}" '*.tsx' resources/js/
_fix "${licence_old_c}" "${licence_new_c}" '*.js' resources/js/
_fix "${licence_old_c}" "${licence_new_c}" '*.js' *.js

_fix "${licence_old_coffee}" "${licence_new_coffee}" '*.coffee' resources/assets/
_fix "${licence_old_coffee}" "${licence_new_coffee}" '*.coffee' resources/js/
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"scripts": {
"dev": "yarn run development",
"development": "cross-env NODE_ENV=development webpack --progress --hide-modules --config=webpack.config.js",
"lint": "eslint --cache 'resources/assets/lib/**/*.{js,ts,tsx}' 'tests/karma/**/*.ts' '*.js'",
"lint": "eslint --cache 'resources/js/**/*.{js,ts,tsx}' 'tests/karma/**/*.ts' '*.js'",
"localize": "yarn run generate-localizations",
"prod": "yarn run production",
"production": "cross-env NODE_ENV=production webpack --hide-modules --config=webpack.config.js",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit ff3e804

Please sign in to comment.