Skip to content

Commit

Permalink
chore: fix namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
crutchcorn committed Sep 5, 2024
1 parent 8f17872 commit 2a68adf
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion examples/vue/simple/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createApp } from 'vue'
import { provideStoreToApp } from 'vue-redux'
import { provideStoreToApp } from '@reduxjs/vue-redux'
import { store } from './store'

import App from './App.vue'
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/simple/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
optimizeDeps: {
exclude: ['vue-redux'],
exclude: ['@reduxjs/vue-redux'],
},
})
3 changes: 2 additions & 1 deletion knip.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"ignoreWorkspaces": ["examples/**"]
"ignoreWorkspaces": ["examples/**"],
"ignoreDependencies": ["redux"]
}
2 changes: 1 addition & 1 deletion packages/vue-redux/src/use-dispatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function createDispatchComposition<
*
* @example
*
* import { useDispatch } from 'vue-redux'
* import { useDispatch } from '@reduxjs/vue-redux'
*
* export const CounterComponent = ({ value }) => {
* const dispatch = useDispatch()
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-redux/src/use-selector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export function createSelectorComposition(): UseSelector {
*
* @example
*
* import { useSelector } from 'vue-redux'
* import { useSelector } from '@reduxjs/vue-redux'
*
* export const CounterComponent = () => {
* const counter = useSelector(state => state.counter)
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-redux/src/use-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function createStoreComposition<
*
* @example
*
* import { useStore } from 'vue-redux'
* import { useStore } from '@reduxjs/vue-redux'
*
* export const ExampleComponent = () => {
* const store = useStore()
Expand Down
2 changes: 1 addition & 1 deletion scripts/generateDocs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const __dirname = fileURLToPath(new URL('.', import.meta.url))
/** @type {import('@tanstack/config/typedoc').Package[]} */
const packages = [
{
name: 'vue-redux',
name: '@reduxjs/vue-redux',
entryPoints: [resolve(__dirname, '../packages/vue-redux/src/index.ts')],
tsconfig: resolve(__dirname, '../packages/vue-redux/tsconfig.docs.json'),
outputDir: resolve(__dirname, '../docs/reference')
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const __dirname = fileURLToPath(new URL('.', import.meta.url))
await publish({
packages: [
{
name: 'vue-redux',
name: '@reduxjs/vue-redux',
packageDir: 'packages/vue-redux',
}
],
Expand Down

0 comments on commit 2a68adf

Please sign in to comment.