Skip to content

Commit 9690ec4

Browse files
committed
Update to tailwind 2, fix security warnings
1 parent f2d75ec commit 9690ec4

21 files changed

+19103
-18319
lines changed

package-lock.json

Lines changed: 3350 additions & 4345 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@
1111
"dependencies": {
1212
"@nyaruka/flow-editor": "1.13.15",
1313
"@nyaruka/temba-components": "0.11.9",
14-
"@tailwindcss/ui": "0.2.2",
1514
"colorette": "1.2.2",
1615
"fa-icons": "0.2.0",
1716
"is-core-module": "2.4.0",
1817
"less": "2.7.1",
19-
"postcss": "7.0.27",
2018
"queue-microtask": "1.2.3",
2119
"react": "16.13.1",
2220
"react-dom": "16.13.1"
@@ -27,15 +25,15 @@
2725
"tw-watch": "watch 'npm run tw-build' ./static/scss"
2826
},
2927
"devDependencies": {
28+
"autoprefixer": "10.2.5",
3029
"bower": "1.8.8",
31-
"cssnano": "^4.1.10",
3230
"jasmine-core": "2.5.0",
33-
"postcss-cli": "7.1.1",
34-
"postcss-nested": "^4.2.1",
35-
"postcss-scss": "^2.0.0",
36-
"postcss-simple-vars": "^5.0.2",
37-
"tailwindcss": "1.3.5",
38-
"tailwindcss-dir": "^4.0.0",
31+
"postcss": "8.3.0",
32+
"postcss-import": "14.0.2",
33+
"postcss-loader": "5.3.0",
34+
"postcss-scss": "3.0.5",
35+
"postcss-simple-vars": "6.0.3",
36+
"tailwindcss": "2.1.2",
3937
"watch": "0.13.0"
4038
},
4139
"resolutions": {

postcss.config.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
1-
const tailwindcss = require('tailwindcss');
2-
31
module.exports = {
4-
syntax: 'postcss-scss',
2+
// syntax: 'postcss-scss',
53
plugins: [
64
require('tailwindcss'),
75
require('postcss-simple-vars'),
86
require('postcss-nested'),
97
require('autoprefixer'),
10-
// require('cssnano')({
11-
// preset: 'default',
12-
//}),
138
],
149
};

0 commit comments

Comments
 (0)