forked from carbon-design-system/carbon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(project): update babel deps, remove unused plugins (carbon-desi…
…gn-system#2211) * chore(project): update babel deps, remove unused plugins * chore(project): sync offline mirror * chore(storybook): update babel config to read from package.json
- Loading branch information
Showing
110 changed files
with
646 additions
and
287 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
'use strict'; | ||
|
||
const path = require('path'); | ||
const packageJson = require('../package.json'); | ||
|
||
const root = path.resolve(__dirname, '../'); | ||
const babelConfig = Object.keys(packageJson.babel).reduce((acc, key) => { | ||
const options = packageJson.babel[key].map(option => { | ||
// If the preset/plugin is not a relative path, we can use it directly | ||
if (option[0] !== '.') { | ||
return option; | ||
} | ||
// Otherwise, resolve the full path for storybook to work as intended | ||
return path.resolve(root, option); | ||
}); | ||
|
||
return { | ||
...acc, | ||
[key]: options, | ||
}; | ||
}, {}); | ||
|
||
module.exports = babelConfig; |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+8.13 KB
.yarn-offline-mirror/@babel-helper-create-class-features-plugin-7.4.3.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.86 KB
.yarn-offline-mirror/@babel-plugin-proposal-async-generator-functions-7.2.0.tgz
Binary file not shown.
Binary file added
BIN
+1.65 KB
.yarn-offline-mirror/@babel-plugin-proposal-class-properties-7.4.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-1.69 KB
.yarn-offline-mirror/@babel-plugin-proposal-do-expressions-7.0.0.tgz
Binary file not shown.
Binary file removed
BIN
-1.86 KB
.yarn-offline-mirror/@babel-plugin-proposal-export-default-from-7.0.0.tgz
Binary file not shown.
Binary file added
BIN
+1.88 KB
.yarn-offline-mirror/@babel-plugin-proposal-export-default-from-7.2.0.tgz
Binary file not shown.
Binary file removed
BIN
-1.92 KB
.yarn-offline-mirror/@babel-plugin-proposal-export-namespace-from-7.0.0.tgz
Binary file not shown.
Binary file added
BIN
+1.94 KB
.yarn-offline-mirror/@babel-plugin-proposal-export-namespace-from-7.2.0.tgz
Binary file not shown.
Binary file removed
BIN
-2.11 KB
.yarn-offline-mirror/@babel-plugin-proposal-function-sent-7.1.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-1.98 KB
.yarn-offline-mirror/@babel-plugin-proposal-logical-assignment-operators-7.0.0.tgz
Binary file not shown.
Binary file removed
BIN
-1.89 KB
.yarn-offline-mirror/@babel-plugin-proposal-nullish-coalescing-operator-7.0.0.tgz
Binary file not shown.
Binary file removed
BIN
-1.83 KB
.yarn-offline-mirror/@babel-plugin-proposal-numeric-separator-7.0.0.tgz
Binary file not shown.
Binary file added
BIN
+4.22 KB
.yarn-offline-mirror/@babel-plugin-proposal-object-rest-spread-7.4.3.tgz
Binary file not shown.
Binary file added
BIN
+1.73 KB
.yarn-offline-mirror/@babel-plugin-proposal-optional-catch-binding-7.2.0.tgz
Binary file not shown.
Binary file removed
BIN
-2.42 KB
.yarn-offline-mirror/@babel-plugin-proposal-optional-chaining-7.0.0.tgz
Binary file not shown.
Binary file removed
BIN
-4.8 KB
.yarn-offline-mirror/@babel-plugin-proposal-pipeline-operator-7.0.0.tgz
Binary file not shown.
Binary file removed
BIN
-1.76 KB
.yarn-offline-mirror/@babel-plugin-proposal-throw-expressions-7.0.0.tgz
Binary file not shown.
Binary file added
BIN
+3.01 KB
.yarn-offline-mirror/@babel-plugin-proposal-unicode-property-regex-7.4.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-1.51 KB
.yarn-offline-mirror/@babel-plugin-syntax-export-default-from-7.0.0.tgz
Binary file not shown.
Binary file added
BIN
+1.53 KB
.yarn-offline-mirror/@babel-plugin-syntax-export-default-from-7.2.0.tgz
Binary file not shown.
Binary file removed
BIN
-1.51 KB
.yarn-offline-mirror/@babel-plugin-syntax-export-namespace-from-7.0.0.tgz
Binary file not shown.
Binary file added
BIN
+1.53 KB
.yarn-offline-mirror/@babel-plugin-syntax-export-namespace-from-7.2.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-1.52 KB
.yarn-offline-mirror/@babel-plugin-syntax-logical-assignment-operators-7.0.0.tgz
Binary file not shown.
Binary file removed
BIN
-1.51 KB
.yarn-offline-mirror/@babel-plugin-syntax-nullish-coalescing-operator-7.0.0.tgz
Binary file not shown.
Binary file removed
BIN
-1.54 KB
.yarn-offline-mirror/@babel-plugin-syntax-numeric-separator-7.0.0.tgz
Binary file not shown.
Binary file added
BIN
+1.53 KB
.yarn-offline-mirror/@babel-plugin-syntax-object-rest-spread-7.2.0.tgz
Binary file not shown.
Binary file added
BIN
+1.54 KB
.yarn-offline-mirror/@babel-plugin-syntax-optional-catch-binding-7.2.0.tgz
Binary file not shown.
Binary file removed
BIN
-1.5 KB
.yarn-offline-mirror/@babel-plugin-syntax-optional-chaining-7.0.0.tgz
Binary file not shown.
Binary file removed
BIN
-1.78 KB
.yarn-offline-mirror/@babel-plugin-syntax-pipeline-operator-7.0.0.tgz
Binary file not shown.
Binary file removed
BIN
-1.5 KB
.yarn-offline-mirror/@babel-plugin-syntax-throw-expressions-7.0.0.tgz
Binary file not shown.
Binary file added
BIN
+1.62 KB
.yarn-offline-mirror/@babel-plugin-transform-arrow-functions-7.2.0.tgz
Binary file not shown.
Binary file added
BIN
+1.85 KB
.yarn-offline-mirror/@babel-plugin-transform-async-to-generator-7.4.0.tgz
Binary file not shown.
Binary file added
BIN
+1.83 KB
.yarn-offline-mirror/@babel-plugin-transform-block-scoped-functions-7.2.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.7 KB
.yarn-offline-mirror/@babel-plugin-transform-computed-properties-7.2.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.88 KB
.yarn-offline-mirror/@babel-plugin-transform-duplicate-keys-7.2.0.tgz
Binary file not shown.
Binary file added
BIN
+1.73 KB
.yarn-offline-mirror/@babel-plugin-transform-exponentiation-operator-7.2.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.67 KB
.yarn-offline-mirror/@babel-plugin-transform-member-expression-literals-7.2.0.tgz
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+3.04 KB
.yarn-offline-mirror/@babel-plugin-transform-modules-commonjs-7.4.3.tgz
Binary file not shown.
Binary file added
BIN
+4.42 KB
.yarn-offline-mirror/@babel-plugin-transform-modules-systemjs-7.4.0.tgz
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.93 KB
.yarn-offline-mirror/@babel-plugin-transform-named-capturing-groups-regex-7.4.2.tgz
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-1.57 KB
.yarn-offline-mirror/@babel-plugin-transform-object-assign-7.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.65 KB
.yarn-offline-mirror/@babel-plugin-transform-property-literals-7.2.0.tgz
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.61 KB
.yarn-offline-mirror/@babel-plugin-transform-reserved-words-7.2.0.tgz
Binary file not shown.
Binary file added
BIN
+1.72 KB
.yarn-offline-mirror/@babel-plugin-transform-shorthand-properties-7.2.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.51 KB
.yarn-offline-mirror/@babel-plugin-transform-template-literals-7.2.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+5.01 KB
.yarn-offline-mirror/unicode-match-property-value-ecmascript-1.1.0.tgz
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.