mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #2287 from overleaf/as-frontend-rearch
Restructure frontend directories GitOrigin-RevId: 5a1224ca186f4809df45680a80d374c1c318d7bf
This commit is contained in:
parent
47137f6c03
commit
e035d526d6
867 changed files with 42 additions and 43 deletions
|
@ -1,4 +1,5 @@
|
|||
node_modules
|
||||
modules/**/scripts
|
||||
public/src/vendor
|
||||
frontend/js/vendor
|
||||
public/js
|
||||
public/minjs
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
},
|
||||
{
|
||||
// Frontend test specific rules
|
||||
"files": ["**/test/unit_frontend/{src,es}/**/*.js"],
|
||||
"files": ["**/test/frontend/**/*.js"],
|
||||
"globals": {
|
||||
"expect": true,
|
||||
"define": true,
|
||||
|
@ -95,7 +95,7 @@
|
|||
},
|
||||
{
|
||||
// Frontend specific rules
|
||||
"files": ["**/public/{src,es}/**/*.js"],
|
||||
"files": ["**/frontend/js/**/*.js"],
|
||||
"globals": {
|
||||
"define": true,
|
||||
"$": true,
|
||||
|
|
4
services/web/.gitignore
vendored
4
services/web/.gitignore
vendored
|
@ -42,8 +42,8 @@ TpdsWorker.js
|
|||
BackgroundJobsWorker.js
|
||||
UserAndProjectPopulator.coffee
|
||||
|
||||
public/js/manifest.json
|
||||
public/minjs/
|
||||
public/js
|
||||
public/minjs
|
||||
|
||||
public/stylesheets/style*.css
|
||||
public/stylesheets/sl-style*.css
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
node_modules
|
||||
modules/**/scripts
|
||||
public/src/vendor
|
||||
frontend/js/vendor
|
||||
public/js
|
||||
public/minjs
|
||||
|
|
|
@ -1068,7 +1068,7 @@ function generateThemeList() {
|
|||
const files = fs.readdirSync(
|
||||
Path.join(
|
||||
__dirname,
|
||||
'/../../../../public/src/vendor/',
|
||||
'/../../../../frontend/js/vendor/',
|
||||
PackageVersions.lib('ace')
|
||||
)
|
||||
)
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue