Remove the `tailwind_all_the_way` feature flag
This removes the `tailwind_all_the_way` feature flag. We had the flag enabled long enough in production to catch and fix a few regressions. We are now ready to remove the flag and rely on a single Tailwind config which will allow us to resume the migrations. Changelog: added
显示
- app/assets/stylesheets/tailwind.css 94 个添加, 0 个删除app/assets/stylesheets/tailwind.css
- app/assets/stylesheets/tailwind_all_the_way.css 0 个添加, 99 个删除app/assets/stylesheets/tailwind_all_the_way.css
- app/views/layouts/_head.html.haml 1 个添加, 7 个删除app/views/layouts/_head.html.haml
- config/application.rb 0 个添加, 3 个删除config/application.rb
- config/feature_flags/development/tailwind_all_the_way.yml 0 个添加, 8 个删除config/feature_flags/development/tailwind_all_the_way.yml
- config/tailwind.all_the_way.config.js 0 个添加, 92 个删除config/tailwind.all_the_way.config.js
- config/tailwind.config.js 87 个添加, 12 个删除config/tailwind.config.js
- package.json 2 个添加, 3 个删除package.json
- scripts/frontend/compare_css_util_classes.mjs 1 个添加, 1 个删除scripts/frontend/compare_css_util_classes.mjs
- scripts/frontend/start_storybook.sh 1 个添加, 1 个删除scripts/frontend/start_storybook.sh
- scripts/frontend/tailwind_all_the_way.mjs 3 个添加, 10 个删除scripts/frontend/tailwind_all_the_way.mjs
- scripts/frontend/tailwindcss.mjs 6 个添加, 24 个删除scripts/frontend/tailwindcss.mjs
- storybook/config/preview.js 1 个添加, 1 个删除storybook/config/preview.js
- vite.config.js 1 个添加, 0 个删除vite.config.js
config/tailwind.all_the_way.config.js
已删除
100644 → 0
... | @@ -11,8 +11,7 @@ | ... | @@ -11,8 +11,7 @@ |
"internal:stylelint": "stylelint -q --rd '{ee/,}app/assets/stylesheets/**/*.{css,scss}'", | "internal:stylelint": "stylelint -q --rd '{ee/,}app/assets/stylesheets/**/*.{css,scss}'", | ||
"prejest": "yarn check-dependencies", | "prejest": "yarn check-dependencies", | ||
"build:css": "node scripts/frontend/build_css.mjs", | "build:css": "node scripts/frontend/build_css.mjs", | ||
"tailwindcss:build": "node scripts/frontend/tailwindcss.mjs", | "tailwindcss:build": "node scripts/frontend/tailwind_all_the_way.mjs --only-used", | ||
"pretailwindcss:build": "node scripts/frontend/tailwind_all_the_way.mjs --only-used", | |||
"jest": "jest --config jest.config.js", | "jest": "jest --config jest.config.js", | ||
"jest-debug": "node --inspect-brk node_modules/.bin/jest --runInBand", | "jest-debug": "node --inspect-brk node_modules/.bin/jest --runInBand", | ||
"jest:ci": "jest --config jest.config.js --ci --coverage --testSequencer ./scripts/frontend/parallel_ci_sequencer.js", | "jest:ci": "jest --config jest.config.js --ci --coverage --testSequencer ./scripts/frontend/parallel_ci_sequencer.js", | ||
... | @@ -42,7 +41,7 @@ | ... | @@ -42,7 +41,7 @@ |
"preinstall": "node ./scripts/frontend/preinstall.mjs", | "preinstall": "node ./scripts/frontend/preinstall.mjs", | ||
"postinstall": "node ./scripts/frontend/postinstall.js", | "postinstall": "node ./scripts/frontend/postinstall.js", | ||
"storybook:install": "yarn --cwd ./storybook install", | "storybook:install": "yarn --cwd ./storybook install", | ||
"storybook:build": "yarn pretailwindcss:build && yarn --cwd ./storybook build --quiet", | "storybook:build": "yarn tailwindcss:build && yarn --cwd ./storybook build --quiet", | ||
"storybook:start": "./scripts/frontend/start_storybook.sh", | "storybook:start": "./scripts/frontend/start_storybook.sh", | ||
"swagger:validate": "swagger-cli validate", | "swagger:validate": "swagger-cli validate", | ||
"webpack": "NODE_OPTIONS=\"${NODE_OPTIONS:=--max-old-space-size=5120}\" webpack --config config/webpack.config.js", | "webpack": "NODE_OPTIONS=\"${NODE_OPTIONS:=--max-old-space-size=5120}\" webpack --config config/webpack.config.js", | ||
... | ... |
想要评论请 注册 或 登录