Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pre and postinstall script to fix custom build with ckeditor and custom builds on windows #96

Merged
merged 22 commits into from
Mar 10, 2021
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
ff6d9f1
Add post and pre install script symlinks and add browserlistrc file
alexander-schranz Mar 3, 2021
1b7630a
Renamte .babelrc to babel.config.json
alexander-schranz Mar 8, 2021
51e06f2
Test against sulu/sulu branch
alexander-schranz Mar 8, 2021
93d497f
Change package.json order
alexander-schranz Mar 8, 2021
e8274d6
Remove cacheDirectory and cacheCompression from babel.config.json
alexander-schranz Mar 8, 2021
6252970
Try with babelrcroots
alexander-schranz Mar 8, 2021
77af1da
Try with babelrcroots directories
alexander-schranz Mar 8, 2021
3e69159
Add build version
alexander-schranz Mar 8, 2021
c5585f8
Add windows workflow for test application
alexander-schranz Mar 8, 2021
6536eb8
Fix test windows on github ci
alexander-schranz Mar 8, 2021
6014be3
Fix build
alexander-schranz Mar 8, 2021
87f7c00
Apply suggestions from code review
alexander-schranz Mar 9, 2021
e205c87
Remove appveyor integration
alexander-schranz Mar 9, 2021
eecbb25
Merge branch 'feature/link-dependencies' of github.com:alexander-schr…
alexander-schranz Mar 9, 2021
fcf580d
Update composer and test application
alexander-schranz Mar 9, 2021
c6267c6
Apply suggestions from code review
alexander-schranz Mar 9, 2021
39ed499
Fix test matrix
alexander-schranz Mar 9, 2021
e4665ab
Fix node version string
alexander-schranz Mar 9, 2021
30e4d6b
Remove test for npm install npm run build
alexander-schranz Mar 9, 2021
2da9ebe
Test windows npm install and npm run build
alexander-schranz Mar 9, 2021
3114244
Remove highest dependency check
alexander-schranz Mar 9, 2021
a65bd72
Apply suggestions from code review
alexander-schranz Mar 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions assets/admin/.browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
last 2 versions and not dead
not ie < 12
not ie_mob < 12
5 changes: 5 additions & 0 deletions assets/admin/.babelrc → assets/admin/babel.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
alexander-schranz marked this conversation as resolved.
Show resolved Hide resolved
"babelrcRoots": [
".",
"./node_modules/@sulu/vendor/*",
"../../vendor/*"
],
"presets": ["@babel/preset-env", "@babel/preset-react"],
"plugins": [
["@babel/plugin-proposal-decorators", {"legacy": true}],
Expand Down
29 changes: 15 additions & 14 deletions assets/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"repository": "https://github.com/sulu/skeleton.git",
"scripts": {
"preinstall": "node ../../vendor/sulu/sulu/preinstall.js",
"postinstall": "node ../../vendor/sulu/sulu/postinstall.js",
"build": "webpack --mode production",
"watch": "webpack --mode development -w"
},
Expand All @@ -12,20 +13,20 @@
"mobx-react": "^5.0.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"sulu-admin-bundle": "file:../../vendor/sulu/sulu/src/Sulu/Bundle/AdminBundle/Resources/js",
"sulu-audience-targeting-bundle": "file:../../vendor/sulu/sulu/src/Sulu/Bundle/AudienceTargetingBundle/Resources/js",
"sulu-category-bundle": "file:../../vendor/sulu/sulu/src/Sulu/Bundle/CategoryBundle/Resources/js",
"sulu-contact-bundle": "file:../../vendor/sulu/sulu/src/Sulu/Bundle/ContactBundle/Resources/js",
"sulu-custom-url-bundle": "file:../../vendor/sulu/sulu/src/Sulu/Bundle/CustomUrlBundle/Resources/js",
"sulu-location-bundle": "file:../../vendor/sulu/sulu/src/Sulu/Bundle/LocationBundle/Resources/js",
"sulu-media-bundle": "file:../../vendor/sulu/sulu/src/Sulu/Bundle/MediaBundle/Resources/js",
"sulu-page-bundle": "file:../../vendor/sulu/sulu/src/Sulu/Bundle/PageBundle/Resources/js",
"sulu-preview-bundle": "file:../../vendor/sulu/sulu/src/Sulu/Bundle/PreviewBundle/Resources/js",
"sulu-route-bundle": "file:../../vendor/sulu/sulu/src/Sulu/Bundle/RouteBundle/Resources/js",
"sulu-search-bundle": "file:../../vendor/sulu/sulu/src/Sulu/Bundle/SearchBundle/Resources/js",
"sulu-security-bundle": "file:../../vendor/sulu/sulu/src/Sulu/Bundle/SecurityBundle/Resources/js",
"sulu-snippet-bundle": "file:../../vendor/sulu/sulu/src/Sulu/Bundle/SnippetBundle/Resources/js",
"sulu-website-bundle": "file:../../vendor/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/Resources/js"
"sulu-admin-bundle": "file:node_modules/@sulu/vendor/sulu/sulu/src/Sulu/Bundle/AdminBundle/Resources/js",
"sulu-audience-targeting-bundle": "file:node_modules/@sulu/vendor/sulu/sulu/src/Sulu/Bundle/AudienceTargetingBundle/Resources/js",
"sulu-category-bundle": "file:node_modules/@sulu/vendor/sulu/sulu/src/Sulu/Bundle/CategoryBundle/Resources/js",
"sulu-contact-bundle": "file:node_modules/@sulu/vendor/sulu/sulu/src/Sulu/Bundle/ContactBundle/Resources/js",
"sulu-custom-url-bundle": "file:node_modules/@sulu/vendor/sulu/sulu/src/Sulu/Bundle/CustomUrlBundle/Resources/js",
"sulu-location-bundle": "file:node_modules/@sulu/vendor/sulu/sulu/src/Sulu/Bundle/LocationBundle/Resources/js",
"sulu-media-bundle": "file:node_modules/@sulu/vendor/sulu/sulu/src/Sulu/Bundle/MediaBundle/Resources/js",
"sulu-page-bundle": "file:node_modules/@sulu/vendor/sulu/sulu/src/Sulu/Bundle/PageBundle/Resources/js",
"sulu-preview-bundle": "file:node_modules/@sulu/vendor/sulu/sulu/src/Sulu/Bundle/PreviewBundle/Resources/js",
"sulu-route-bundle": "file:node_modules/@sulu/vendor/sulu/sulu/src/Sulu/Bundle/RouteBundle/Resources/js",
"sulu-search-bundle": "file:node_modules/@sulu/vendor/sulu/sulu/src/Sulu/Bundle/SearchBundle/Resources/js",
"sulu-security-bundle": "file:node_modules/@sulu/vendor/sulu/sulu/src/Sulu/Bundle/SecurityBundle/Resources/js",
"sulu-snippet-bundle": "file:node_modules/@sulu/vendor/sulu/sulu/src/Sulu/Bundle/SnippetBundle/Resources/js",
"sulu-website-bundle": "file:node_modules/@sulu/vendor/sulu/sulu/src/Sulu/Bundle/WebsiteBundle/Resources/js"
},
"devDependencies": {
"@babel/core": "^7.5.5",
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"friendsofsymfony/http-cache-bundle": "^2.8",
"handcraftedinthealps/zendsearch": "^2.0",
"jackalope/jackalope-doctrine-dbal": "^1.3",
"sulu/sulu": "~2.1.9",
"sulu/sulu": "dev-feature/link-dependencies as 2.1.10",
alexander-schranz marked this conversation as resolved.
Show resolved Hide resolved
"symfony/config": "^5.1",
"symfony/dotenv": "^5.1",
"symfony/flex": "^1.2",
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions public/build/admin/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"main.css": "build/admin/main.b5838101ff6f209c54da.css",
"main.js": "build/admin/main.b5838101ff6f209c54da.js",
"main.js.map": "build/admin/main.b5838101ff6f209c54da.js.map",
"main.css": "build/admin/main.b8b4994300f39540d6f3.css",
"main.js": "build/admin/main.b8b4994300f39540d6f3.js",
"main.js.map": "build/admin/main.b8b4994300f39540d6f3.js.map",
"/build/admin/fonts/font-awesome.min.css": "/build/admin/fonts/fontawesome-webfont.f691f37e57f04c152e2315ab7dbad881.woff",
"/build/admin/fonts/global.scss": "/build/admin/fonts/open-sans-v15-latin-regular.ec806460121999bcfb12bc264d46d41e.woff2",
"/build/admin/fonts/sulu-icon.css": "/build/admin/fonts/sulu.ab0d4220533e95b7dbd01d80b26b0710.woff",
Expand Down