fix: update tailwind config package
This commit is contained in:
parent
e962770a5f
commit
3f708e451c
22 changed files with 24 additions and 30 deletions
|
|
@ -2,7 +2,4 @@ module.exports = {
|
||||||
root: true,
|
root: true,
|
||||||
extends: ["@plane/eslint-config/next.js"],
|
extends: ["@plane/eslint-config/next.js"],
|
||||||
parser: "@typescript-eslint/parser",
|
parser: "@typescript-eslint/parser",
|
||||||
parserOptions: {
|
|
||||||
project: true,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -41,13 +41,13 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@plane/eslint-config": "*",
|
"@plane/eslint-config": "*",
|
||||||
|
"@plane/tailwind-config": "*",
|
||||||
"@plane/typescript-config": "*",
|
"@plane/typescript-config": "*",
|
||||||
"@types/node": "18.16.1",
|
"@types/node": "18.16.1",
|
||||||
"@types/react": "^18.3.11",
|
"@types/react": "^18.3.11",
|
||||||
"@types/react-dom": "^18.2.18",
|
"@types/react-dom": "^18.2.18",
|
||||||
"@types/uuid": "^9.0.8",
|
"@types/uuid": "^9.0.8",
|
||||||
"@types/zxcvbn": "^4.4.4",
|
"@types/zxcvbn": "^4.4.4",
|
||||||
"tailwind-config-custom": "*",
|
|
||||||
"typescript": "5.3.3"
|
"typescript": "5.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
const sharedConfig = require("tailwind-config-custom/tailwind.config.js");
|
/* eslint-disable @typescript-eslint/no-require-imports */
|
||||||
|
const sharedConfig = require("@plane/tailwind-config/tailwind.config.js");
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
presets: [sharedConfig],
|
presets: [sharedConfig],
|
||||||
|
|
|
||||||
|
|
@ -76,12 +76,12 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@plane/eslint-config": "*",
|
"@plane/eslint-config": "*",
|
||||||
|
"@plane/tailwind-config": "*",
|
||||||
"@plane/typescript-config": "*",
|
"@plane/typescript-config": "*",
|
||||||
"@types/node": "18.15.3",
|
"@types/node": "18.15.3",
|
||||||
"@types/react": "^18.3.11",
|
"@types/react": "^18.3.11",
|
||||||
"@types/react-dom": "^18.2.18",
|
"@types/react-dom": "^18.2.18",
|
||||||
"postcss": "^8.4.38",
|
"postcss": "^8.4.38",
|
||||||
"tailwind-config-custom": "*",
|
|
||||||
"tsup": "^7.2.0",
|
"tsup": "^7.2.0",
|
||||||
"typescript": "5.3.3"
|
"typescript": "5.3.3"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
const sharedConfig = require("tailwind-config-custom/tailwind.config.js");
|
const sharedConfig = require("@plane/tailwind-config/tailwind.config.js");
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// prefix ui lib classes to avoid conflicting with the app
|
// prefix ui lib classes to avoid conflicting with the app
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,4 @@ module.exports = {
|
||||||
root: true,
|
root: true,
|
||||||
extends: ["@plane/eslint-config/library.js"],
|
extends: ["@plane/eslint-config/library.js"],
|
||||||
parser: "@typescript-eslint/parser",
|
parser: "@typescript-eslint/parser",
|
||||||
parserOptions: {
|
|
||||||
project: true,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@plane/eslint-config": "*",
|
"@plane/eslint-config": "*",
|
||||||
"tailwind-config-custom": "*",
|
"@plane/tailwind-config": "*",
|
||||||
"@plane/typescript-config": "*",
|
"@plane/typescript-config": "*",
|
||||||
"@types/react": "18.3.1",
|
"@types/react": "18.3.1",
|
||||||
"@types/react-dom": "18.3.0",
|
"@types/react-dom": "18.3.0",
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import type { Config } from "tailwindcss";
|
import type { Config } from "tailwindcss";
|
||||||
// import sharedConfig from "@plane/tailwind-config-custom/tailwind.config";
|
import sharedConfig from "@plane/tailwind-config/tailwind.config";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
// ...sharedConfig,
|
...sharedConfig,
|
||||||
content: ["./src/**/*.{ts,tsx}"],
|
content: ["./src/**/*.{ts,tsx}"],
|
||||||
} satisfies Config;
|
} satisfies Config;
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"name": "tailwind-config-custom",
|
"name": "@plane/tailwind-config",
|
||||||
"version": "0.24.1",
|
"version": "0.24.1",
|
||||||
"description": "common tailwind configuration across monorepo",
|
"description": "common tailwind configuration across monorepo",
|
||||||
"main": "index.js",
|
"main": "tailwind.config.js",
|
||||||
"private": true,
|
"private": true,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/typography": "^0.5.9",
|
"@tailwindcss/typography": "^0.5.9",
|
||||||
|
|
@ -47,6 +47,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@chromatic-com/storybook": "^1.4.0",
|
"@chromatic-com/storybook": "^1.4.0",
|
||||||
"@plane/eslint-config": "*",
|
"@plane/eslint-config": "*",
|
||||||
|
"@plane/tailwind-config": "*",
|
||||||
"@plane/typescript-config": "*",
|
"@plane/typescript-config": "*",
|
||||||
"@storybook/addon-essentials": "^8.1.1",
|
"@storybook/addon-essentials": "^8.1.1",
|
||||||
"@storybook/addon-interactions": "^8.1.1",
|
"@storybook/addon-interactions": "^8.1.1",
|
||||||
|
|
@ -68,7 +69,6 @@
|
||||||
"postcss-cli": "^11.0.0",
|
"postcss-cli": "^11.0.0",
|
||||||
"postcss-nested": "^6.0.1",
|
"postcss-nested": "^6.0.1",
|
||||||
"storybook": "^8.1.1",
|
"storybook": "^8.1.1",
|
||||||
"tailwind-config-custom": "*",
|
|
||||||
"tailwindcss": "^3.4.3",
|
"tailwindcss": "^3.4.3",
|
||||||
"tsup": "^7.2.0",
|
"tsup": "^7.2.0",
|
||||||
"typescript": "5.3.3"
|
"typescript": "5.3.3"
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
module.exports = require("tailwind-config-custom/postcss.config");
|
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
||||||
|
module.exports = require("@plane/tailwind-config/postcss.config.js");
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
const config = require("tailwind-config-custom/tailwind.config");
|
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
||||||
|
const config = require("@plane/tailwind-config/tailwind.config.js");
|
||||||
|
|
||||||
config.content.files = ["./src/**/*.{js,ts,jsx,tsx}"];
|
config.content.files = ["./src/**/*.{js,ts,jsx,tsx}"];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,4 @@ module.exports = {
|
||||||
root: true,
|
root: true,
|
||||||
extends: ["@plane/eslint-config/next.js"],
|
extends: ["@plane/eslint-config/next.js"],
|
||||||
parser: "@typescript-eslint/parser",
|
parser: "@typescript-eslint/parser",
|
||||||
parserOptions: {
|
|
||||||
project: true,
|
|
||||||
},
|
|
||||||
rules: {},
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@plane/eslint-config": "*",
|
"@plane/eslint-config": "*",
|
||||||
|
"@plane/tailwind-config": "*",
|
||||||
"@plane/typescript-config": "*",
|
"@plane/typescript-config": "*",
|
||||||
"@types/dompurify": "^3.0.5",
|
"@types/dompurify": "^3.0.5",
|
||||||
"@types/lodash": "^4.17.1",
|
"@types/lodash": "^4.17.1",
|
||||||
|
|
@ -60,7 +61,6 @@
|
||||||
"@types/uuid": "^9.0.1",
|
"@types/uuid": "^9.0.1",
|
||||||
"@types/zxcvbn": "^4.4.4",
|
"@types/zxcvbn": "^4.4.4",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
||||||
"tailwind-config-custom": "*",
|
|
||||||
"typescript": "5.3.3"
|
"typescript": "5.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
module.exports = require("tailwind-config-custom/postcss.config");
|
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
||||||
|
module.exports = require("@plane/tailwind-config/postcss.config.js");
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
module.exports = require("tailwind-config-custom/tailwind.config");
|
/* eslint-disable @typescript-eslint/no-require-imports */
|
||||||
|
module.exports = require("@plane/tailwind-config/tailwind.config.js");
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://turbo.build/schema.json",
|
"$schema": "https://turbo.build/schema.json",
|
||||||
|
"ui": "tui",
|
||||||
"globalEnv": [
|
"globalEnv": [
|
||||||
"NODE_ENV",
|
"NODE_ENV",
|
||||||
"NEXT_PUBLIC_API_BASE_URL",
|
"NEXT_PUBLIC_API_BASE_URL",
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,4 @@ module.exports = {
|
||||||
root: true,
|
root: true,
|
||||||
extends: ["@plane/eslint-config/next.js"],
|
extends: ["@plane/eslint-config/next.js"],
|
||||||
parser: "@typescript-eslint/parser",
|
parser: "@typescript-eslint/parser",
|
||||||
parserOptions: {
|
|
||||||
project: true,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -75,6 +75,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@plane/eslint-config": "*",
|
"@plane/eslint-config": "*",
|
||||||
|
"@plane/tailwind-config": "*",
|
||||||
"@plane/typescript-config": "*",
|
"@plane/typescript-config": "*",
|
||||||
"@types/dompurify": "^3.0.5",
|
"@types/dompurify": "^3.0.5",
|
||||||
"@types/lodash": "^4.14.202",
|
"@types/lodash": "^4.14.202",
|
||||||
|
|
@ -86,7 +87,6 @@
|
||||||
"@types/uuid": "^8.3.4",
|
"@types/uuid": "^8.3.4",
|
||||||
"@types/zxcvbn": "^4.4.4",
|
"@types/zxcvbn": "^4.4.4",
|
||||||
"prettier": "^3.2.5",
|
"prettier": "^3.2.5",
|
||||||
"tailwind-config-custom": "*",
|
|
||||||
"typescript": "5.3.3"
|
"typescript": "5.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||||
const sharedConfig = require("tailwind-config-custom/tailwind.config.js");
|
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
||||||
|
const sharedConfig = require("@plane/tailwind-config/tailwind.config.js");
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
presets: [sharedConfig],
|
presets: [sharedConfig],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue