Nothing12Man commited on
Commit
2492439
·
1 Parent(s): 4dd7aa0

fix: add postcss/autoprefixer, update tailwind config for Hugging Face Docker deploy

Browse files
lifeline-ai/package-lock.json CHANGED
@@ -13,15 +13,17 @@
13
  "react-dom": "19.2.4"
14
  },
15
  "devDependencies": {
16
- "@tailwindcss/postcss": "^4.2.2",
17
  "@types/estree": "^1.0.8",
18
  "@types/json-schema": "^7.0.15",
19
  "@types/node": "^20",
20
  "@types/react": "^19",
21
  "@types/react-dom": "^19",
 
22
  "eslint": "^9",
23
  "eslint-config-next": "16.2.2",
24
- "tailwindcss": "^4",
 
25
  "typescript": "^5"
26
  }
27
  },
@@ -2395,6 +2397,43 @@
2395
  "node": ">= 0.4"
2396
  }
2397
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2398
  "node_modules/available-typed-arrays": {
2399
  "version": "1.0.7",
2400
  "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz",
@@ -3606,6 +3645,20 @@
3606
  "url": "https://github.com/sponsors/ljharb"
3607
  }
3608
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3609
  "node_modules/function-bind": {
3610
  "version": "1.1.2",
3611
  "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
@@ -5356,6 +5409,7 @@
5356
  }
5357
  ],
5358
  "license": "MIT",
 
5359
  "dependencies": {
5360
  "nanoid": "^3.3.11",
5361
  "picocolors": "^1.1.1",
@@ -5365,6 +5419,13 @@
5365
  "node": "^10 || ^12 || >=14"
5366
  }
5367
  },
 
 
 
 
 
 
 
5368
  "node_modules/prelude-ls": {
5369
  "version": "1.2.1",
5370
  "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
 
13
  "react-dom": "19.2.4"
14
  },
15
  "devDependencies": {
16
+ "@tailwindcss/postcss": "latest",
17
  "@types/estree": "^1.0.8",
18
  "@types/json-schema": "^7.0.15",
19
  "@types/node": "^20",
20
  "@types/react": "^19",
21
  "@types/react-dom": "^19",
22
+ "autoprefixer": "latest",
23
  "eslint": "^9",
24
  "eslint-config-next": "16.2.2",
25
+ "postcss": "latest",
26
+ "tailwindcss": "latest",
27
  "typescript": "^5"
28
  }
29
  },
 
2397
  "node": ">= 0.4"
2398
  }
2399
  },
2400
+ "node_modules/autoprefixer": {
2401
+ "version": "10.4.27",
2402
+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.27.tgz",
2403
+ "integrity": "sha512-NP9APE+tO+LuJGn7/9+cohklunJsXWiaWEfV3si4Gi/XHDwVNgkwr1J3RQYFIvPy76GmJ9/bW8vyoU1LcxwKHA==",
2404
+ "dev": true,
2405
+ "funding": [
2406
+ {
2407
+ "type": "opencollective",
2408
+ "url": "https://opencollective.com/postcss/"
2409
+ },
2410
+ {
2411
+ "type": "tidelift",
2412
+ "url": "https://tidelift.com/funding/github/npm/autoprefixer"
2413
+ },
2414
+ {
2415
+ "type": "github",
2416
+ "url": "https://github.com/sponsors/ai"
2417
+ }
2418
+ ],
2419
+ "license": "MIT",
2420
+ "dependencies": {
2421
+ "browserslist": "^4.28.1",
2422
+ "caniuse-lite": "^1.0.30001774",
2423
+ "fraction.js": "^5.3.4",
2424
+ "picocolors": "^1.1.1",
2425
+ "postcss-value-parser": "^4.2.0"
2426
+ },
2427
+ "bin": {
2428
+ "autoprefixer": "bin/autoprefixer"
2429
+ },
2430
+ "engines": {
2431
+ "node": "^10 || ^12 || >=14"
2432
+ },
2433
+ "peerDependencies": {
2434
+ "postcss": "^8.1.0"
2435
+ }
2436
+ },
2437
  "node_modules/available-typed-arrays": {
2438
  "version": "1.0.7",
2439
  "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz",
 
3645
  "url": "https://github.com/sponsors/ljharb"
3646
  }
3647
  },
3648
+ "node_modules/fraction.js": {
3649
+ "version": "5.3.4",
3650
+ "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-5.3.4.tgz",
3651
+ "integrity": "sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==",
3652
+ "dev": true,
3653
+ "license": "MIT",
3654
+ "engines": {
3655
+ "node": "*"
3656
+ },
3657
+ "funding": {
3658
+ "type": "github",
3659
+ "url": "https://github.com/sponsors/rawify"
3660
+ }
3661
+ },
3662
  "node_modules/function-bind": {
3663
  "version": "1.1.2",
3664
  "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
 
5409
  }
5410
  ],
5411
  "license": "MIT",
5412
+ "peer": true,
5413
  "dependencies": {
5414
  "nanoid": "^3.3.11",
5415
  "picocolors": "^1.1.1",
 
5419
  "node": "^10 || ^12 || >=14"
5420
  }
5421
  },
5422
+ "node_modules/postcss-value-parser": {
5423
+ "version": "4.2.0",
5424
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
5425
+ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
5426
+ "dev": true,
5427
+ "license": "MIT"
5428
+ },
5429
  "node_modules/prelude-ls": {
5430
  "version": "1.2.1",
5431
  "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
lifeline-ai/package.json CHANGED
@@ -16,15 +16,17 @@
16
  "react-dom": "19.2.4"
17
  },
18
  "devDependencies": {
19
- "@tailwindcss/postcss": "^4.2.2",
20
  "@types/estree": "^1.0.8",
21
  "@types/json-schema": "^7.0.15",
22
  "@types/node": "^20",
23
  "@types/react": "^19",
24
  "@types/react-dom": "^19",
 
25
  "eslint": "^9",
26
  "eslint-config-next": "16.2.2",
27
- "tailwindcss": "^4",
 
28
  "typescript": "^5"
29
  }
30
  }
 
16
  "react-dom": "19.2.4"
17
  },
18
  "devDependencies": {
19
+ "@tailwindcss/postcss": "latest",
20
  "@types/estree": "^1.0.8",
21
  "@types/json-schema": "^7.0.15",
22
  "@types/node": "^20",
23
  "@types/react": "^19",
24
  "@types/react-dom": "^19",
25
+ "autoprefixer": "latest",
26
  "eslint": "^9",
27
  "eslint-config-next": "16.2.2",
28
+ "postcss": "latest",
29
+ "tailwindcss": "latest",
30
  "typescript": "^5"
31
  }
32
  }
lifeline-ai/postcss.config.mjs CHANGED
@@ -1,7 +1,6 @@
1
- const config = {
2
  plugins: {
3
  "@tailwindcss/postcss": {},
 
4
  },
5
  };
6
-
7
- export default config;
 
1
+ export default {
2
  plugins: {
3
  "@tailwindcss/postcss": {},
4
+ autoprefixer: {},
5
  },
6
  };