Merge pull request #2287 from overleaf/as-frontend-rearch

Restructure frontend directories

GitOrigin-RevId: 5a1224ca186f4809df45680a80d374c1c318d7bf
This commit is contained in:
Alasdair Smith 2019-11-05 14:00:13 +00:00 committed by sharelatex
parent 47137f6c03
commit e035d526d6
867 changed files with 42 additions and 43 deletions

View file

@ -1,4 +1,5 @@
node_modules
modules/**/scripts
public/src/vendor
frontend/js/vendor
public/js
public/minjs

View file

@ -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,

View file

@ -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

View file

@ -1,4 +1,5 @@
node_modules
modules/**/scripts
public/src/vendor
frontend/js/vendor
public/js
public/minjs

View file

@ -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