Skip to content

Commit

Permalink
fix(deps): Upgrade deps & support ts internally (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltaranto committed Dec 11, 2019
1 parent 02d5f01 commit 5b506d8
Show file tree
Hide file tree
Showing 30 changed files with 10,496 additions and 7,437 deletions.
4 changes: 3 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"presets": [
"@babel/preset-typescript",
"@babel/preset-env",
"@babel/preset-react"
]
],
"plugins": ["@babel/plugin-proposal-class-properties"]
}
3 changes: 0 additions & 3 deletions .pullapprove.yml

This file was deleted.

16 changes: 7 additions & 9 deletions examples/braid-design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@
},
"license": "MIT",
"dependencies": {
"@babel/core": "^7.1.6",
"@babel/preset-env": "^7.1.6",
"@babel/preset-react": "^7.0.0",
"babel-loader": "^8.0.4",
"babel-plugin-transform-class-properties": "^6.24.1",
"@babel/core": "^7.7.5",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/preset-env": "^7.7.6",
"@babel/preset-react": "^7.7.4",
"babel-loader": "^8.0.6",
"braid-design-system": "^0.0.6",
"css-in-js-loader": "^0.1.2",
"css-loader": "^1.0.0",
"postcss-js": "^2.0.0",
"react": "^16.6.0",
"style-loader": "^0.23.0"
"postcss-js": "^2.0.3",
"style-loader": "^1.0.1"
}
}
10 changes: 6 additions & 4 deletions examples/braid-design-system/playroom.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports = {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env', '@babel/preset-react'],
plugins: ['babel-plugin-transform-class-properties']
plugins: ['@babel/plugin-proposal-class-properties']
}
}
},
Expand All @@ -65,8 +65,10 @@ module.exports = {
{
loader: 'css-loader',
options: {
modules: true,
localIdentName: '[name]__[local]___[hash:base64:7]',
modules: {
mode: 'local',
localIdentName: '[name]__[local]___[hash:base64:7]'
},
importLoaders: 2
}
},
Expand All @@ -77,7 +79,7 @@ module.exports = {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env', '@babel/preset-react'],
plugins: ['babel-plugin-transform-class-properties']
plugins: ['@babel/plugin-proposal-class-properties']
}
}
]
Expand Down
1,546 changes: 738 additions & 808 deletions examples/braid-design-system/yarn.lock

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions examples/material-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@
},
"license": "MIT",
"dependencies": {
"@babel/core": "^7.1.6",
"@babel/preset-env": "^7.1.6",
"@babel/preset-react": "^7.0.0",
"@material-ui/core": "^3.3.1",
"babel-loader": "^8.0.4",
"react": "^16.6.0"
"@babel/core": "^7.7.5",
"@babel/preset-env": "^7.7.6",
"@babel/preset-react": "^7.7.4",
"@material-ui/core": "^4.7.2",
"babel-loader": "^8.0.6"
}
}
1,696 changes: 844 additions & 852 deletions examples/material-ui/yarn.lock

Large diffs are not rendered by default.

46 changes: 22 additions & 24 deletions examples/office-ui-fabric-react/package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
{
"name": "office-ui-fabric-react-playroom",
"private": true,
"version": "1.0.0",
"description": "Office UI Fabric React Playroom",
"scripts": {
"playroom:start": "playroom start",
"playroom:build": "playroom build"
},
"dependencies": {
"office-ui-fabric-react": "^7.58.0",
"playroom": "^0.10.1",
"react": "^16.11.0"
},
"devDependencies": {
"@babel/core": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@types/react": "^16.7.13",
"babel-loader": "^8.0.4",
"typescript": "3.7.2"
}
}
{
"name": "office-ui-fabric-react-playroom",
"private": true,
"version": "1.0.0",
"description": "Office UI Fabric React Playroom",
"scripts": {
"build": "node ./../../bin/cli build",
"start": "node ./../../bin/cli start"
},
"dependencies": {
"office-ui-fabric-react": "^7.70.0"
},
"devDependencies": {
"@babel/core": "^7.7.5",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/preset-env": "^7.7.6",
"@babel/preset-react": "^7.7.4",
"@babel/preset-typescript": "^7.7.4",
"babel-loader": "^8.0.6",
"typescript": "3.7.3"
}
}
10 changes: 6 additions & 4 deletions examples/office-ui-fabric-react/playroom.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env', '@babel/preset-react'],
plugins: ['babel-plugin-transform-class-properties']
plugins: ['@babel/plugin-proposal-class-properties']
}
}
},
Expand All @@ -56,8 +56,10 @@ module.exports = {
{
loader: 'css-loader',
options: {
modules: true,
localIdentName: '[name]__[local]___[hash:base64:7]',
modules: {
mode: 'local',
localIdentName: '[name]__[local]___[hash:base64:7]'
},
importLoaders: 2
}
},
Expand All @@ -68,7 +70,7 @@ module.exports = {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env', '@babel/preset-react'],
plugins: ['babel-plugin-transform-class-properties']
plugins: ['@babel/plugin-proposal-class-properties']
}
}
]
Expand Down
Loading

0 comments on commit 5b506d8

Please sign in to comment.