-
Notifications
You must be signed in to change notification settings - Fork 10
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
NGSTACK-870 implement vite for asset bundleing instead of webpack #196
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,8 @@ | |
"netgen/layouts-ibexa": "~1.4.0", | ||
"netgen/layouts-ibexa-site-api": "~1.4.0", | ||
"netgen/layouts-ibexa-relation-list-query": "^1.4", | ||
"netgen/layouts-ibexa-tags-query": "^1.4" | ||
"netgen/layouts-ibexa-tags-query": "^1.4", | ||
"pentatrion/vite-bundle": "^6.4" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you please move this just below `"tanoconsulting/ibexa-migration-bundle", to keep extra dependencies not related to Netgen together? |
||
}, | ||
"require-dev": { | ||
"symfony/debug-bundle": "5.4.*", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
_pentatrion_vite: | ||
prefix: /build | ||
resource: "@PentatrionViteBundle/Resources/config/routing.yaml" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,84 +1,90 @@ | ||
{ | ||
"browserslist": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please revert back to 4 spaces, for more relevant diffs and easier comparison to Ibexa version of |
||
"defaults": [ | ||
"last 2 versions", | ||
"Safari >= 10", | ||
"iOS >= 10", | ||
"not ie <= 10", | ||
"> 1%" | ||
], | ||
"evergreen": [ | ||
"last 2 Chrome versions", | ||
"last 2 ChromeAndroid versions", | ||
"last 2 Firefox versions", | ||
"last 2 FirefoxAndroid versions", | ||
"last 2 Safari versions", | ||
"last 2 iOS versions", | ||
"last 2 Edge versions", | ||
"last 2 Opera versions" | ||
] | ||
}, | ||
"scripts": { | ||
"build:dev": "encore dev", | ||
"build:prod": "encore production", | ||
"watch": "encore dev --watch", | ||
"start": "encore dev-server", | ||
"server": "encore dev-server", | ||
"site:dev": "encore dev --config-name", | ||
"site:prod": "encore production --config-name", | ||
"site:watch": "encore dev --watch --config-name", | ||
"site:server": "encore dev-server --config-name", | ||
"ibexa": "encore production --config=webpack.config.ibexa.js", | ||
"format:js": "prettier --write \"assets/js/**/*.js\"", | ||
"linter:js": "eslint \"assets/js/**/*.js\"" | ||
}, | ||
"private": true, | ||
"devDependencies": { | ||
"@babel/core": "^7.4.3", | ||
"@babel/preset-env": "^7.4.3", | ||
"@babel/preset-react": "^7.0.0", | ||
"@babel/runtime": "^7.13.10", | ||
"@ckeditor/ckeditor5-alignment": "^40.1.0", | ||
"@ckeditor/ckeditor5-build-inline": "^40.1.0", | ||
"@ckeditor/ckeditor5-code-block": "^40.1.0", | ||
"@ckeditor/ckeditor5-dev-utils": "^39.0.0", | ||
"@ckeditor/ckeditor5-theme-lark": "^40.1.0", | ||
"@ckeditor/ckeditor5-widget": "^40.1.0", | ||
"@hotwired/stimulus": "^3.0.0", | ||
"@svgr/webpack": "^8.1.0", | ||
"@symfony/stimulus-bridge": "^3.0.0", | ||
"@symfony/webpack-encore": "^3.0.0", | ||
"autoprefixer": "^9.5.1", | ||
"core-js": "^3.0.0", | ||
"eslint": "^8.3.0", | ||
"eslint-config-airbnb": "^19.0.2", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-import": "^2.17.2", | ||
"eslint-plugin-jsx-a11y": "^6.2.1", | ||
"eslint-plugin-react": "^7.12.4", | ||
"eslint-plugin-react-hooks": "^4.3.0", | ||
"file-loader": "^6.0.0", | ||
"path": "^0.12.7", | ||
"postcss-loader": "^4.3.0", | ||
"prettier": "^2.5.0", | ||
"raw-loader": "^4.0.1", | ||
"regenerator-runtime": "^0.13.2", | ||
"sass": "^1.63.4", | ||
"sass-lint": "^1.12.1", | ||
"sass-loader": "^13.0.0", | ||
"style-loader": "^2.0.0", | ||
"webpack-notifier": "^1.6.0" | ||
}, | ||
"dependencies": { | ||
"@netgen/javascript-cookie-control": "^0.0.8", | ||
"@popperjs/core": "^2.11.6", | ||
"bootstrap": "~5.2.1", | ||
"js-cookie": "^3.0.5", | ||
"photoswipe": "^5.3.4", | ||
"popper.js": "^1.15.0", | ||
"swiper": "^11.0.2" | ||
}, | ||
"engines": { | ||
"node": "^18" | ||
} | ||
"browserslist": { | ||
"defaults": [ | ||
"last 2 versions", | ||
"Safari >= 10", | ||
"iOS >= 10", | ||
"not ie <= 10", | ||
"> 1%" | ||
], | ||
"evergreen": [ | ||
"last 2 Chrome versions", | ||
"last 2 ChromeAndroid versions", | ||
"last 2 Firefox versions", | ||
"last 2 FirefoxAndroid versions", | ||
"last 2 Safari versions", | ||
"last 2 iOS versions", | ||
"last 2 Edge versions", | ||
"last 2 Opera versions" | ||
] | ||
}, | ||
"scripts": { | ||
"dev": "vite", | ||
"watch": "vite", | ||
"build:dev": "vite build --mode development", | ||
"build:prod": "vite build", | ||
"encore:build:dev": "encore dev", | ||
"encore:build:prod": "encore production", | ||
"encore:watch": "encore dev --watch", | ||
"start": "encore dev-server", | ||
"server": "encore dev-server", | ||
"site:dev": "encore dev --config-name", | ||
"site:prod": "encore production --config-name", | ||
"site:watch": "encore dev --watch --config-name", | ||
"site:server": "encore dev-server --config-name", | ||
"ibexa": "encore production --config=webpack.config.ibexa.js", | ||
"format:js": "prettier --write \"assets/js/**/*.js\"", | ||
"linter:js": "eslint \"assets/js/**/*.js\"" | ||
}, | ||
"private": true, | ||
"devDependencies": { | ||
"@babel/core": "^7.4.3", | ||
"@babel/preset-env": "^7.4.3", | ||
"@babel/preset-react": "^7.0.0", | ||
"@babel/runtime": "^7.13.10", | ||
"@ckeditor/ckeditor5-alignment": "^40.1.0", | ||
"@ckeditor/ckeditor5-build-inline": "^40.1.0", | ||
"@ckeditor/ckeditor5-code-block": "^40.1.0", | ||
"@ckeditor/ckeditor5-dev-utils": "^39.0.0", | ||
"@ckeditor/ckeditor5-theme-lark": "^40.1.0", | ||
"@ckeditor/ckeditor5-widget": "^40.1.0", | ||
"@hotwired/stimulus": "^3.0.0", | ||
"@svgr/webpack": "^8.1.0", | ||
"@symfony/stimulus-bridge": "^3.0.0", | ||
"@symfony/webpack-encore": "^3.0.0", | ||
"autoprefixer": "^9.5.1", | ||
"core-js": "^3.0.0", | ||
"eslint": "^8.3.0", | ||
"eslint-config-airbnb": "^19.0.2", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-import": "^2.17.2", | ||
"eslint-plugin-jsx-a11y": "^6.2.1", | ||
"eslint-plugin-react": "^7.12.4", | ||
"eslint-plugin-react-hooks": "^4.3.0", | ||
"file-loader": "^6.0.0", | ||
"path": "^0.12.7", | ||
"postcss-loader": "^4.3.0", | ||
"prettier": "^2.5.0", | ||
"raw-loader": "^4.0.1", | ||
"regenerator-runtime": "^0.13.2", | ||
"sass": "^1.63.4", | ||
"sass-lint": "^1.12.1", | ||
"sass-loader": "^13.0.0", | ||
"style-loader": "^2.0.0", | ||
"webpack-notifier": "^1.6.0" | ||
}, | ||
"dependencies": { | ||
"@netgen/javascript-cookie-control": "^0.0.8", | ||
"@popperjs/core": "^2.11.6", | ||
"bootstrap": "~5.2.1", | ||
"js-cookie": "^3.0.5", | ||
"photoswipe": "^5.4.3", | ||
"popper.js": "^1.15.0", | ||
"swiper": "^11.0.2", | ||
"vite": "^5.2.11", | ||
"vite-plugin-symfony": "^6.4.4" | ||
}, | ||
"engines": { | ||
"node": "^18" | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing new line at EOF.