File tree Expand file tree Collapse file tree 8 files changed +19
-17
lines changed
tools/client-plugins/browser-scripts Expand file tree Collapse file tree 8 files changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -158,10 +158,6 @@ jspm_packages/
158
158
159
159
# ## Generated config files ###
160
160
config /env.json
161
- config /client /sass-compile.json
162
- config /client /frame-runner.json
163
- config /client /test-evaluator.json
164
- config /client /python-runner.json
165
161
config /curriculum.json
166
162
config /i18n.js
167
163
config /misc.js
@@ -216,18 +212,11 @@ tags
216
212
* .out
217
213
* .gz
218
214
curriculum /curricula.json
219
- client /static /js /frame-runner.js
220
- client /static /js /frame-runner.js.map
221
215
222
216
# ## Additional Folders ###
223
217
api-server /lib /*
224
218
curriculum /dist
225
219
curriculum /build
226
- client /static /_redirects
227
- client /static /mobile
228
- client /static /curriculum-data
229
- client /i18n /locales /** /trending.json
230
- client /src /components /Donation /types.js
231
220
232
221
# ## UI Components ###
233
222
tools /ui-components /dist
Original file line number Diff line number Diff line change 2
2
** /public
3
3
client /static
4
4
client /** /trending.json
5
+ client /config /browser-scripts /* .json
5
6
** /* fixtures *
6
7
curriculum /challenges /_meta /* /*
7
8
curriculum /challenges /** /*
Original file line number Diff line number Diff line change @@ -9,3 +9,12 @@ yarn-error.log
9
9
10
10
/static /js
11
11
. /static /_redirects
12
+ static /curriculum-data
13
+
14
+ # Generated config
15
+ config /browser-scripts /* .json
16
+ i18n /locales /** /trending.json
17
+
18
+ # TODO: Remove once you've figured out why it's generated.
19
+ # JS that probably should not be generated
20
+ src /components /Donation /types.js
File renamed without changes.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
11
11
stubTrue
12
12
} from 'lodash-es' ;
13
13
14
- import sassData from '../../../../../config/client /sass-compile.json' ;
14
+ import sassData from '../../../../../client/ config/browser-scripts /sass-compile.json' ;
15
15
import {
16
16
transformContents ,
17
17
transformHeadTailAndContents ,
Original file line number Diff line number Diff line change 1
1
import { challengeTypes } from '../../../../../config/challenge-types' ;
2
- import frameRunnerData from '../../../../../config/client /frame-runner.json' ;
3
- import testEvaluatorData from '../../../../../config/client /test-evaluator.json' ;
4
- import pythonRunnerData from '../../../../../config/client /python-runner.json' ;
2
+ import frameRunnerData from '../../../../../client/ config/browser-scripts /frame-runner.json' ;
3
+ import testEvaluatorData from '../../../../../client/ config/browser-scripts /test-evaluator.json' ;
4
+ import pythonRunnerData from '../../../../../client/ config/browser-scripts /python-runner.json' ;
5
5
6
6
import {
7
7
ChallengeFile as PropTypesChallengeFile ,
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const {
34
34
const { challengeTypes } = require ( '../../config/challenge-types' ) ;
35
35
// the config files are created during the build, but not before linting
36
36
const testEvaluator =
37
- require ( '../../config/client /test-evaluator.json' ) . filename ;
37
+ require ( '../../client/ config/browser-scripts /test-evaluator.json' ) . filename ;
38
38
39
39
const { getLines } = require ( '../../utils/get-lines' ) ;
40
40
Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ const webpack = require('webpack');
6
6
module . exports = ( env = { } ) => {
7
7
const __DEV__ = env . production !== true ;
8
8
const staticPath = path . join ( __dirname , '../../../client/static/js' ) ;
9
- const configPath = path . join ( __dirname , '../../../config/client' ) ;
9
+ const configPath = path . join (
10
+ __dirname ,
11
+ '../../../client/config/browser-scripts/'
12
+ ) ;
10
13
return {
11
14
cache : __DEV__ ? { type : 'filesystem' } : false ,
12
15
mode : __DEV__ ? 'development' : 'production' ,
You can’t perform that action at this time.
0 commit comments