Skip to content

Commit a026601

Browse files
author
Damiano
committed
Chapter 17 - my-component-library
1 parent 3f78b17 commit a026601

39 files changed

+19183
-168
lines changed

Diff for: .gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
.DS_Store
22
node_modules
3-
/dist
3+
dist/*
4+
lib/*
5+
*.tgz

Diff for: composition-api/package-lock.json

+143-165
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: composition-api/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
},
1818
"dependencies": {
1919
"axios": "^0.19.2",
20+
"my-component-library": "file:../my-component-library-0.1.0.tgz",
2021
"vue": "^3.0.0-0",
2122
"vue-i18n": "^9.0.0-alpha.13",
2223
"vue-router": "^4.0.0-0",

Diff for: composition-api/src/App.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import { config } from '@/config'
2121
import { LocaleInfoInterface } from '@/models/localization/LocaleInfo.interface'
2222
import LocaleSelector from '@/components/locale-selector/LocaleSelector.component.vue'
23-
import { ThemeSelector } from '@/components-standalone'
23+
import { ThemeSelector } from 'my-component-library'
2424
2525
export default defineComponent({
2626
name: 'App',

Diff for: composition-api/src/config/Config.interface.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ItemsApiClientUrlsInterface } from '@/models/api-client/items'
22
import { LocaleInfoInterface } from '@/models/localization/LocaleInfo.interface'
3-
import { ThemeInfoInterface } from '@/components-standalone'
3+
import { ThemeInfoInterface } from 'my-component-library'
44

55
/**
66
* @Name ConfigInterface

Diff for: my-component-library/.browserslistrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not dead

0 commit comments

Comments
 (0)