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 node_modules
modules/**/scripts modules/**/scripts
public/src/vendor frontend/js/vendor
public/js
public/minjs public/minjs

View file

@ -78,7 +78,7 @@
}, },
{ {
// Frontend test specific rules // Frontend test specific rules
"files": ["**/test/unit_frontend/{src,es}/**/*.js"], "files": ["**/test/frontend/**/*.js"],
"globals": { "globals": {
"expect": true, "expect": true,
"define": true, "define": true,
@ -95,7 +95,7 @@
}, },
{ {
// Frontend specific rules // Frontend specific rules
"files": ["**/public/{src,es}/**/*.js"], "files": ["**/frontend/js/**/*.js"],
"globals": { "globals": {
"define": true, "define": true,
"$": true, "$": true,

View file

@ -42,8 +42,8 @@ TpdsWorker.js
BackgroundJobsWorker.js BackgroundJobsWorker.js
UserAndProjectPopulator.coffee UserAndProjectPopulator.coffee
public/js/manifest.json public/js
public/minjs/ public/minjs
public/stylesheets/style*.css public/stylesheets/style*.css
public/stylesheets/sl-style*.css public/stylesheets/sl-style*.css

View file

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

View file

@ -1068,7 +1068,7 @@ function generateThemeList() {
const files = fs.readdirSync( const files = fs.readdirSync(
Path.join( Path.join(
__dirname, __dirname,
'/../../../../public/src/vendor/', '/../../../../frontend/js/vendor/',
PackageVersions.lib('ace') PackageVersions.lib('ace')
) )
) )

Some files were not shown because too many files have changed in this diff Show more