Skip to content

Commit

Permalink
Fixed naming for package
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmcroft committed Nov 3, 2021
1 parent a898c52 commit ea4777a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions made-vue-range-selector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ A Vue 3 range selector component, a double slider that allows the user to select
To customise the range selector, you'll want to import the scss styling:

```
import "made-ui-rangeselector/styles.scss";
import "made-vue-range-selector/styles.scss";
```

In your main file, you can import the component:
Expand All @@ -23,7 +23,7 @@ In your main file, you can import the component:
import { createApp } from "vue";
import App from "./App.vue";
import RangeSelector from "made-ui-rangeselector";
import RangeSelector from "made-vue-range-selector";
const app = createApp(App);
...
Expand Down
4 changes: 2 additions & 2 deletions made-vue-range-selector/package-lock.json

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

12 changes: 6 additions & 6 deletions made-vue-range-selector/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "made-ui-rangeselector",
"name": "made-vue-range-selector",
"version": "1.0.0",
"main": "./made-ui-rangeselector.umd.js",
"module": "./made-ui-rangeselector.es.js",
"main": "./made-vue-range-selector.umd.js",
"module": "./made-vue-range-selector.es.js",
"typings": "./index.d.ts",
"exports": {
".": {
"import": "./made-ui-rangeselector.es.js",
"require": "./made-ui-rangeselector.umd.js"
"import": "./made-vue-range-selector.es.js",
"require": "./made-vue-range-selector.umd.js"
},
"./styles.scss": "./scss/made-ui-rangeselector.scss"
"./styles.scss": "./scss/made-vue-range-selector.scss"
},
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion made-vue-range-selector/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createApp } from 'vue'
import App from './App.vue'

import '../public/scss/made-ui-rangeselector.scss'
import '../public/scss/made-vue-range-selector.scss'

createApp(App).mount('#app')
4 changes: 2 additions & 2 deletions made-vue-range-selector/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export default defineConfig({
build: {
lib: {
entry: path.resolve(__dirname, "src/index.ts"),
name: "made-ui-rangeselector",
fileName: (format) => `made-ui-rangeselector.${format}.js`,
name: "made-vue-range-selector",
fileName: (format) => `made-vue-range-selector.${format}.js`,
},
rollupOptions: {
external: ["vue"],
Expand Down

0 comments on commit ea4777a

Please sign in to comment.