Skip to content

Commit

Permalink
remove unused nuxt dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreezag committed Sep 22, 2024
1 parent 8cb9b23 commit 0a2049f
Show file tree
Hide file tree
Showing 6 changed files with 177 additions and 4,099 deletions.
2 changes: 0 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
"postcss.config.js",
"tailwind.config.js",
"src/shared/lib/vendor/",
"layouts/",
"pages/",
"index.html"
],
"parserOptions": {
Expand Down
3 changes: 1 addition & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Ignore artifacts:
.nuxt
.output
dist
node-modules
package-lock.json
storybook-static
3 changes: 0 additions & 3 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ const config = {
stories: [
"../stories/**/*.stories.mdx",
"../stories/**/*.stories.@(js|jsx|ts|tsx)",
"../components/**/*.stories.@(js|jsx|ts|tsx)",
"../layouts/**/*.stories.@(js|jsx|ts|tsx)",
"../pages/**/*.stories.@(js|jsx|ts|tsx)",
"../src/**/**/**/*.stories.@(js|jsx|ts|tsx)",
],

Expand Down
7 changes: 0 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@
"@babel/plugin-syntax-import-attributes": "^7.24.7",
"@chromatic-com/storybook": "^1.6.1",
"@conarti/eslint-plugin-feature-sliced": "^1.0.5",
"@nuxtjs/eslint-config-typescript": "^12.0.0",
"@nuxtjs/storybook": "^8.1.5",
"@nuxtjs/tailwindcss": "^6.2.0",
"@rushstack/eslint-patch": "^1.8.0",
"@storybook-vue/nuxt": "0.2.10",
"@storybook/addon-essentials": "^8.1.11",
"@storybook/addon-interactions": "^8.1.11",
"@storybook/addon-links": "^8.1.11",
Expand Down Expand Up @@ -73,7 +69,6 @@
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-cypress": "^3.3.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-nuxt": "^4.0.0",
"eslint-plugin-storybook": "^0.8.0",
"eslint-plugin-vue": "^9.23.0",
"husky": "^9.0.11",
Expand All @@ -98,7 +93,6 @@
"@floating-ui/vue": "^1.1.2",
"@highlightjs/vue-plugin": "^2.1.2",
"@hpcc-js/wasm": "^2.8.0",
"@pinia/nuxt": "^0.5.1",
"@sentry/types": "^8.15.0",
"@storybook/addon-actions": "^8.1.11",
"@types/lodash": "^4.14.200",
Expand All @@ -118,7 +112,6 @@
"lodash.isstring": "^4.0.1",
"lodash.pick": "^4.4.0",
"moment": "^2.29.4",
"nuxt": "^3.12.4",
"pinia": "^2.1.7",
"pluralize": "^8.0.0",
"tailwindcss": "^3.2.4",
Expand Down
54 changes: 25 additions & 29 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,56 +1,52 @@
/** @type {import('tailwindcss').Config} */
import defaultColors from "tailwindcss/colors.js";
import defaultTheme from "tailwindcss/defaultTheme.js";
import defaultColors from 'tailwindcss/colors.js'
import defaultTheme from 'tailwindcss/defaultTheme.js'

export default {
darkMode: "class",
darkMode: 'class',
content: [
"./assets/**/*.{scss,css}",
"./components/**/*.{js,vue,ts}",
"./components/**/*.stories.{js,vue,ts}",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
"./nuxt.config.{js,ts}",
"./app.vue",
'./src/assets/**/*.{scss,css}',
'./src/**/*.{js,vue,ts}',
'./src/**/*.stories.{js,vue,ts}',
'./src/app.vue'
],
safelist: [
{
pattern: /^text-/,
},
pattern: /^text-/
}
],
variants: {
extend: {
opacity: ["disabled"],
borderWidth: ["hover", "first"],
ringWidth: ["hover"],
},
opacity: ['disabled'],
borderWidth: ['hover', 'first'],
ringWidth: ['hover']
}
},
theme: {
extend: {
fontFamily: {
sans: ["Nunito", defaultTheme.fontFamily.sans],
sans: ['Nunito', defaultTheme.fontFamily.sans]
},
transitionProperty: {
height: "height",
height: 'height'
},
boxShadow: {
bottom: "inset 0 -38px 38px -38px #ececec",
bottom: 'inset 0 -38px 38px -38px #ececec'
},
fontSize: {
"2xs": ["0.6rem", { lineHeight: "1rem" }],
},
'2xs': ['0.6rem', { lineHeight: '1rem' }]
}
},
fontWeight: {
...defaultTheme.fontWeight,
...defaultTheme.fontWeight
},
colors: {
...defaultColors,
transparent: "transparent",
current: "currentColor",
transparent: 'transparent',
current: 'currentColor',
purple: defaultColors.indigo,
red: defaultColors.rose,
orange: defaultColors.amber,
},
},
};
orange: defaultColors.amber
}
}
}
Loading

0 comments on commit 0a2049f

Please sign in to comment.