Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
6553348a
Commit
6553348a
authored
Oct 02, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade to babel 7
parent
0ef1060e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
801 additions
and
836 deletions
+801
-836
.babelrc
.babelrc
+21
-5
package.json
package.json
+9
-6
yarn.lock
yarn.lock
+771
-825
No files found.
.babelrc
View file @
6553348a
{
"presets": [["latest", { "es2015": { "modules": false } }], "stage-2"],
"presets": [
[
"@babel/preset-env",
{
"modules": false,
"targets": {
"ie": "11"
}
}
]
],
"plugins": [
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-json-strings"
],
"env": {
"karma": {
"plugins": ["rewire"]
"plugins": ["
babel-plugin-
rewire"]
},
"coverage": {
"plugins": [
[
"istanbul",
"
babel-plugin-
istanbul",
{
"exclude": ["spec/javascripts/**/*", "app/assets/javascripts/locale/**/app.js"]
}
],
[
"transform-define",
"
babel-plugin-
transform-define",
{
"process.env.BABEL_ENV": "coverage"
}
],
"rewire"
"
babel-plugin-
rewire"
]
}
}
...
...
package.json
View file @
6553348a
...
...
@@ -18,15 +18,18 @@
"webpack-prod"
:
"NODE_ENV=production webpack --config config/webpack.config.js"
},
"dependencies"
:
{
"
@babel/core
"
:
"
^7.1.2
"
,
"
@babel/plugin-proposal-class-properties
"
:
"
^7.1.0
"
,
"
@babel/plugin-proposal-json-strings
"
:
"
^7.0.0
"
,
"
@babel/plugin-syntax-dynamic-import
"
:
"
^7.0.0
"
,
"
@babel/plugin-syntax-import-meta
"
:
"
^7.0.0
"
,
"
@babel/preset-env
"
:
"
^7.1.0
"
,
"
@gitlab-org/gitlab-svgs
"
:
"
^1.29.0
"
,
"
@gitlab-org/gitlab-ui
"
:
"
^1.7.1
"
,
"
autosize
"
:
"
^4.0.0
"
,
"
axios
"
:
"
^0.17.1
"
,
"
babel-core
"
:
"
^6.26.3
"
,
"
babel-loader
"
:
"
^7.1.5
"
,
"
babel-loader
"
:
"
^8.0.4
"
,
"
babel-plugin-transform-define
"
:
"
^1.3.0
"
,
"
babel-preset-latest
"
:
"
^6.24.1
"
,
"
babel-preset-stage-2
"
:
"
^6.24.1
"
,
"
blackst0ne-mermaid
"
:
"
^7.1.0-fixed
"
,
"
bootstrap
"
:
"
4.1.1
"
,
"
brace-expansion
"
:
"
^1.1.8
"
,
...
...
@@ -111,7 +114,7 @@
"devDependencies"
:
{
"
axios-mock-adapter
"
:
"
^1.15.0
"
,
"
babel-eslint
"
:
"
^9.0.0
"
,
"
babel-plugin-istanbul
"
:
"
^5.
0.1
"
,
"
babel-plugin-istanbul
"
:
"
^5.
1.0
"
,
"
babel-plugin-rewire
"
:
"
^1.2.0
"
,
"
babel-template
"
:
"
^6.26.0
"
,
"
babel-types
"
:
"
^6.26.0
"
,
...
...
@@ -135,7 +138,7 @@
"
jasmine-jquery
"
:
"
^2.1.1
"
,
"
karma
"
:
"
^3.0.0
"
,
"
karma-chrome-launcher
"
:
"
^2.2.0
"
,
"
karma-coverage-istanbul-reporter
"
:
"
^
1.4.2
"
,
"
karma-coverage-istanbul-reporter
"
:
"
^
2.0.4
"
,
"
karma-jasmine
"
:
"
^1.1.2
"
,
"
karma-junit-reporter
"
:
"
^1.2.0
"
,
"
karma-mocha-reporter
"
:
"
^2.2.5
"
,
...
...
yarn.lock
View file @
6553348a
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment