stable
Clone or download
Everything is supposed to work as before. This drops support for "npm run sass". There is only "npm run build" now. All gulp code related to SCSS work is also dropped. I've chosen to build once the CSS for select2 and just include it in sources. Given that's what we're doing for other vendor deps like 'atwho' or bootstrap, we can live with it. Besides, as long as it's not an npm dependency, it's not going to change in those sources... A couple of rules were removed from "style.scss": they referenced images that were deleted in 027e5d7c61a23b5013d8fe103dcb553e9fb6058b in 2016. They belonged to the STTab theme. I think it's safe to drop the rules. Part of request #13299: Move all SCSS/CSS build process to Webpack Change-Id: Id53c8d9b3002b30c2befbf8a5510290c756807f0
Modified Files
Name | ||||
---|---|---|---|---|
M | .gitignore | +2 | −1 | Go to diff View file |
M | build-manifest.json | +1 | −9 | Go to diff View file |
M | gulpfile.js | +2 | −25 | Go to diff View file |
M | package-lock.json | +9 | −681 | Go to diff View file |
M | package.json | +1 | −3 | Go to diff View file |
M | src/common/layout/Layout.class.php | +17 | −7 | Go to diff View file |
A | src/www/scripts/select2/select2.css | +1 | −0 | Go to diff View file |
M | src/www/themes/common/css/print.scss | +7 | −7 | Go to diff View file |
M | src/www/themes/common/css/style.scss | +101 | −110 | Go to diff View file |
A | src/www/themes/common/package-lock.json | +4 | −0 | Go to diff View file |
A | src/www/themes/common/package.json | +14 | −0 | Go to diff View file |
A | src/www/themes/common/webpack.common.js | +40 | −0 | Go to diff View file |
A | src/www/themes/common/webpack.dev.js | +23 | −0 | Go to diff View file |
A | src/www/themes/common/webpack.prod.js | +23 | −0 | Go to diff View file |
M | tools/rpm/tuleap.rhel6.spec | +3 | −0 | Go to diff View file |
M | tools/rpm/tuleap.rhel7.spec | +3 | −0 | Go to diff View file |
D | tools/utils/scripts/sass-builder.js | +0 | −106 | Go to diff View file |
M | tools/utils/scripts/tuleap-gulp-build.js | +0 | −21 | Go to diff View file |