Skip to content

Commit

Permalink
chore(merge): resolve merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
annawen1 committed Sep 19, 2023
2 parents 51dfa1e + 194f9d0 commit acffcb3
Show file tree
Hide file tree
Showing 26 changed files with 138 additions and 280 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
const HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
// disable the host check on sandbox
devServer: {
disableHostCheck: true
},
plugins: [
new HtmlWebpackPlugin({
template: 'index.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
const HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
// disable the host check on sandbox
devServer: {
disableHostCheck: true
},
module: {
rules: [
{
Expand Down
22 changes: 0 additions & 22 deletions packages/carbon-web-components/examples/codesandbox/ie/.gitignore

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"description": "Sample project for getting started with the Web Components from the Carbon Design System with Next.js.",
"license": "Apache-2",
"scripts": {
"start": "echo 'Running Next in Node 12.16.3+. If you have such Node version in your system just `next` here will work.' && ./node_modules/node/node_modules/.bin/node ./node_modules/.bin/next"
"start": "echo 'Running Next in Node 18.15.0+. If you have such Node version in your system just `next` here will work.' && NODE_OPTIONS=--openssl-legacy-provider ./node_modules/node/node_modules/.bin/node ./node_modules/.bin/next"
},
"dependencies": {
"@carbon/web-components": "latest",
"next": "^10.0.0",
"node": "^12.16.3",
"node": "^18.15.0",
"react": "^17.0.0",
"react-dom": "^17.0.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
*/

module.exports = {
// disable the host check on sandbox
devServer: {
disableHostCheck: true
},
module: {
rules: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
const HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
// disable the host check on sandbox
devServer: {
disableHostCheck: true
},
module: {
rules: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const devServer = {
open: true,
contentBase: path.resolve(__dirname, 'src'),
publicPath: '/dist',
disableHostCheck: true,
setup(app, server) {
app.get('/', (req, res) => {
const { fileSystem, waitUntilValid } = server.middleware;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
const HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
// disable the host check on sandbox
devServer: {
disableHostCheck: true
},
plugins: [
new HtmlWebpackPlugin({
template: 'index.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
"last 2 versions"
],
"eslintConfig": {
"parserOptions": {
Expand Down
7 changes: 4 additions & 3 deletions packages/carbon-web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@
"main": "es/index.js",
"module": "es/index.js",
"exports": {
"./es/components-react/": {
"node": "./lib/components-react-node/",
"default": "./es/components-react/"
"./es/components-react/*": {
"node": "./lib/components-react-node/*",
"default": "./es/components-react/*"
},
"./es/components/*": {
"node": "./lib/components/*",
"default": "./es/components/*"
},
"./es/globals/": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"@babel/plugin-proposal-class-properties": "~7.12.0",
"@babel/plugin-proposal-export-default-from": "~7.12.0",
"@babel/plugin-proposal-export-namespace-from": "~7.12.0",
"@babel/plugin-proposal-private-property-in-object": "~7.12.0",
"@babel/plugin-proposal-private-property-in-object": "~7.21.0",
"@babel/plugin-transform-runtime": "7.18.5",
"@babel/preset-env": "~7.12.0",
"@babel/preset-react": "~7.12.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@

&:not([has-selections]) {
.#{$prefix}--clear {
display: none;
color: $disabled-02;
cursor: not-allowed;
}
}
@include carbon--breakpoint-down('lg') {
Expand Down
Loading

0 comments on commit acffcb3

Please sign in to comment.