chore: move hoppscotch-ui package out of the monorepo (#3620)

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
This commit is contained in:
Anwarul Islam
2023-12-16 17:28:10 +06:00
committed by GitHub
parent d80e6c01c8
commit f93558324f
87 changed files with 1195 additions and 8344 deletions

View File

@@ -28,6 +28,7 @@
"@fontsource-variable/roboto-mono": "^5.0.16",
"@hoppscotch/common": "workspace:^",
"@hoppscotch/data": "workspace:^",
"@hoppscotch/ui": "^0.1.0",
"@import-meta-env/unplugin": "^0.4.10",
"axios": "^1.6.2",
"buffer": "^6.0.3",
@@ -49,7 +50,6 @@
"@graphql-codegen/typescript-urql-graphcache": "^3.0.0",
"@graphql-codegen/urql-introspection": "^3.0.0",
"@graphql-typed-document-node/core": "^3.2.0",
"@hoppscotch/ui": "workspace:^",
"@intlify/vite-plugin-vue-i18n": "^7.0.0",
"@rushstack/eslint-patch": "^1.6.0",
"@typescript-eslint/eslint-plugin": "^6.12.0",
@@ -81,4 +81,4 @@
"vite-plugin-vue-layouts": "^0.8.0",
"vue-tsc": "^1.8.22"
}
}
}

View File

@@ -1,7 +1,8 @@
const postcssConfig = require("@hoppscotch/ui/postcss.config")
const config = {
...postcssConfig,
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
module.exports = config

View File

@@ -2,10 +2,7 @@ import { Config } from "tailwindcss"
import preset from "@hoppscotch/ui/ui-preset"
export default {
content: [
"../hoppscotch-common/src/**/*.{vue,html}",
"../hoppscotch-ui/src/**/*.{vue,html}",
],
content: ["../hoppscotch-common/src/**/*.{vue,html}"],
presets: [preset],
theme: {
extend: {

View File

@@ -117,10 +117,7 @@ export default defineConfig({
}),
Components({
dts: "../hoppscotch-common/src/components.d.ts",
dirs: [
"../hoppscotch-common/src/components",
"../hoppscotch-ui/src/components",
],
dirs: ["../hoppscotch-common/src/components"],
directoryAsNamespace: true,
resolvers: [
IconResolver({