Skip to content

Commit

Permalink
Merge pull request #73 from parcel-bundler/fix-ak-editor
Browse files Browse the repository at this point in the history
Fix ak-editor
  • Loading branch information
mischnic authored Apr 30, 2022
2 parents e008568 + cde8210 commit 29b4be9
Show file tree
Hide file tree
Showing 4 changed files with 2,578 additions and 1,434 deletions.
21 changes: 16 additions & 5 deletions benchmarks/ak-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@
"targets": {
"app": {}
},
"scripts": {
"postinstall": "patch-package"
},
"dependencies": {
"@atlaskit/css-reset": "^5.0.10",
"@atlaskit/editor-core": "^120.1.0",
"@atlaskit/media-core": "^31.1.0",
"@atlaskit/smart-card": "^13.0.0",
"@atlaskit/css-reset": "^6.0.5",
"@atlaskit/editor-core": "^144.0.2",
"@atlaskit/media-core": "^32.1.3",
"@atlaskit/smart-card": "^15.3.0",
"graphql": "^15.5.0",
"patch-package": "^6.2.2",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
Expand All @@ -23,6 +28,12 @@
"devDependencies": {
"@babel/core": "^7.13.8",
"@parcel/reporter-build-metrics": "^2.0.0-alpha.3.1",
"parcel": "^2.0.0-alpha.3.1"
"assert": "^2.0.0",
"events": "^3.3.0",
"parcel": "^2.0.0-alpha.3.1",
"process": "^0.11.10",
"querystring-es3": "^0.2.1",
"stream-browserify": "^3.0.0",
"string_decoder": "^1.3.0"
}
}
17 changes: 17 additions & 0 deletions benchmarks/ak-editor/patches/@atlaskit+css-reset+6.3.11.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/node_modules/@atlaskit/css-reset/dist/bundle.css b/node_modules/@atlaskit/css-reset/dist/bundle.css
index 20ccd42..90c055b 100644
--- a/node_modules/@atlaskit/css-reset/dist/bundle.css
+++ b/node_modules/@atlaskit/css-reset/dist/bundle.css
@@ -110,9 +110,9 @@
dl {
padding-left: 40px;
}
- [dir='rtl']ul,
- [dir='rtl']ol,
- [dir='rtl']dl {
+ [dir='rtl'] ul,
+ [dir='rtl'] ol,
+ [dir='rtl'] dl {
padding-left: 0;
padding-right: 40px;
}
13 changes: 13 additions & 0 deletions benchmarks/ak-editor/patches/react-loadable+5.5.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/node_modules/react-loadable/lib/index.js b/node_modules/react-loadable/lib/index.js
index 75b1364..103f56c 100644
--- a/node_modules/react-loadable/lib/index.js
+++ b/node_modules/react-loadable/lib/index.js
@@ -90,7 +90,7 @@ function loadMap(obj) {
}

function resolve(obj) {
- return obj && obj.__esModule ? obj.default : obj;
+ return obj && obj.default ? obj.default : obj;
}

function render(loaded, props) {
Loading

0 comments on commit 29b4be9

Please sign in to comment.