Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(app): package name #112

Merged
merged 1 commit into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//registry.npmjs.org/:_authToken=<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>
@<@selemondev>:registry=https://registry.npmjs.org/
registry=https://registry.npmjs.org
ignore-workspace-root-check=true
shamefully-hoist=true
strict-peer-dependencies=false
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ Add `Windi UI` to your project by running one of the following commands:
```bash

# pnpm
pnpm add @windi-ui/vue
pnpm add @selemondev/windi-ui

# yarn
yarn add @windi-ui/vue
yarn add @selemondev/windi-ui

# npm
npm install @windi-ui/vue
npm install @selemondev/windi-ui

```

Expand All @@ -37,7 +37,7 @@ npm install @windi-ui/vue
```ts
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}', 'node_modules/@windi-ui/vue/dist/theme/*.{js,jsx,ts,tsx,vue}'],
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}', 'node_modules/@selemondev/windi-ui/dist/theme/*.{js,jsx,ts,tsx,vue}'],
darkMode: 'class',
theme: {
extend: {},
Expand All @@ -57,8 +57,8 @@ To import all the components provided by `Windi UI`, add `WindiUI` in your main

```ts
import { createApp } from 'vue'
import windiTheme from '@windi-ui/vue/dist/theme/windiTheme'
import WindiUI from '@windi-ui/vue'
import windiTheme from '@selemondev/windi-ui/dist/theme/windiTheme'
import WindiUI from '@selemondev/windi-ui'
import App from './App.vue'

const app = createApp(App)
Expand All @@ -78,9 +78,9 @@ Probably you might not want to globally register all the components but instead
```ts
import { createApp } from 'vue'
import './style.css'
import windiTheme from '@windi-ui/vue/dist/theme/windiTheme'
import windiTheme from '@selemondev/windi-ui/dist/theme/windiTheme'

import { WKbd, createWindiUI } from '@windi-ui/vue'
import { WKbd, createWindiUI } from '@selemondev/windi-ui'

import App from './App.vue'

Expand Down Expand Up @@ -137,9 +137,9 @@ npm i -D unplugin-vue-components
```ts
import { createApp } from 'vue'
import './style.css'
import windiTheme from '@windi-ui/vue/dist/theme/windiTheme'
import windiTheme from '@selemondev/windi-ui/dist/theme/windiTheme'

import { createWindiUI } from '@windi-ui/vue'
import { createWindiUI } from '@selemondev/windi-ui'

import App from './App.vue'

Expand All @@ -158,7 +158,7 @@ app.mount('#app')

```ts
// other imports
import { WindiUIComponentResolver } from '@windi-ui/vue'
import { WindiUIComponentResolver } from '@selemondev/windi-ui'
import Components from 'unplugin-vue-components/vite'

export default defineConfig({
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import "./rainbow.css"
import "./style.css"
import './tailwind.css'
import 'uno.css'
import windiTheme from '@windi-ui/vue/dist/theme/windiTheme'
import WindiUI from '@windi-ui/vue'
import windiTheme from '@selemondev/windi-ui/dist/theme/windiTheme'
import WindiUI from '@selemondev/windi-ui'
let homePageStyle: HTMLStyleElement | undefined
export default {
extend: Theme,
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"serve": "vitepress serve"
},
"dependencies": {
"@windi-ui/vue": "workspace:^",
"@selemondev/windi-ui": "workspace:^",
"markdown-it": "^13.0.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
content: ['./docs/.vitepress/**/*.{js,ts,vue}', './components/**/*.{js,ts,vue,md}', './src/**/*.{js,ts,vue}', 'node_modules/@windi-ui/vue/dist/theme/*.{js,ts,json}'],
content: ['./docs/.vitepress/**/*.{js,ts,vue}', './components/**/*.{js,ts,vue,md}', './src/**/*.{js,ts,vue}', 'node_modules/@selemondev/windi-ui/dist/theme/*.{js,ts,json}'],
plugins: [],
darkMode: 'class',
theme: {
Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"vue": "^3.3.4"
},
"devDependencies": {
"@windi-ui/vue": "workspace:^",
"@selemondev/windi-ui": "workspace:^",
"@tsconfig/node18": "^18.2.0",
"@types/node": "^20.4.5",
"@vitejs/plugin-vue": "^4.2.3",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test": "vitest",
"test:update": "vitest -u",
"test:coverage": "vitest --coverage",
"windi-ui": "pnpm --filter @windi-ui/vue",
"windi-ui": "pnpm --filter @selemondev/windi-ui",
"postinstall": "npx simple-git-hooks",
"major": "taze minor -wIr"
},
Expand Down
2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"homepage": "https://github.com/selemondev/windi-ui#readme",
"dependencies": {
"@windi-ui/vue": "workspace:^",
"@selemondev/windi-ui": "workspace:^",
"@vue/repl": "^1.4.1",
"autoprefixer": "^10.4.14",
"compare-versions": "^4.1.4",
Expand Down
2 changes: 1 addition & 1 deletion playground/tailwind.config.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}", './node_modules/@windi-ui/vue/dist/theme/*.{js,ts,json}'],
content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}", './node_modules/@selemondev/windi-ui/dist/theme/*.{js,ts,json}'],
theme: {
extend: {},
},
Expand Down
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.