File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -167,8 +167,11 @@ jobs:
167
167
echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/dist/plotly.min.js
168
168
echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/dist/plot-schema.json
169
169
- run :
170
- name : Test bundles
170
+ name : Test certain bundles against function constructors
171
171
command : npm run no-new-func
172
+ - run :
173
+ name : Test plotly bundles againt unexpected characters
174
+ command : npm run no-bad-char
172
175
173
176
workflows :
174
177
version : 2
Original file line number Diff line number Diff line change 32
32
"lint" : " eslint --version && eslint ." ,
33
33
"lint-fix" : " eslint . --fix || true" ,
34
34
"no-new-func" : " eslint --no-ignore --no-eslintrc --no-inline-config --rule '{no-new-func: error}' $(find dist -type f -iname '*.js' | grep -v plotly-gl* | grep -v plotly-with-meta.* | grep -v plotly.js | grep -v plotly.min.js | grep -v MathJax.js)" ,
35
+ "no-bad-char" : " eslint --no-ignore --no-eslintrc --no-inline-config --rule '{no-misleading-character-class: error}' $(find dist -type f -iname '*.js' | grep plotly)" ,
35
36
"docker" : " node tasks/docker.js" ,
36
37
"pretest" : " node tasks/pretest.js" ,
37
38
"test-jasmine" : " karma start test/jasmine/karma.conf.js" ,
45
46
"start" : " npm run start-test_dashboard" ,
46
47
"baseline" : " node tasks/baseline.js" ,
47
48
"preversion" : " check-node-version --node 12 --npm 6.14 && npm-link-check && npm ls --prod" ,
48
- "version" : " npm run build && git add -A dist src build" ,
49
+ "version" : " npm run build && npm run no-bad-char && git add -A dist src build" ,
49
50
"postversion" : " node -e \" console.log('Version bumped and committed. If ok, run: git push && git push --tags')\" " ,
50
51
"postpublish" : " node tasks/sync_packages.js" ,
51
52
"postshrinkwrap" : " chttps ."
You can’t perform that action at this time.
0 commit comments