-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #266 from lapras-inc/24902/bugfix/remove-vite-plug…
…in-dts 型出力をvite-plugin-dtsからvue-tscに変更
- Loading branch information
Showing
26 changed files
with
106 additions
and
570 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
dist/components/EnhancedIconButton/EnhancedIconButton.vue.d.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ | |
"version": "0.3.5", | ||
"author": "nasum <[email protected]>", | ||
"scripts": { | ||
"build": "yarn run check:types && npm run build:vue", | ||
"check:types": "vue-tsc --noEmit", | ||
"build": "npm run build:types && npm run build:vue", | ||
"build:types": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.types.json && tsc-alias -p tsconfig.json", | ||
"lint": "eslint \"src/**/*.{ts,vue}\"", | ||
"build:vue": "vite build", | ||
"chromatic": "npx chromatic storybook:build --project-token $CHROMATIC_TOKEN -b storybook:build --exit-zero-on-changes", | ||
|
@@ -20,7 +20,8 @@ | |
}, | ||
"main": "dist/lapras-frontend.js", | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"types" | ||
], | ||
"dependencies": { | ||
"@popperjs/core": "^2.11.8", | ||
|
@@ -62,7 +63,6 @@ | |
"typescript": "^5.5.4", | ||
"typescript-eslint": "^7.17.0", | ||
"vite": "^5.3.5", | ||
"vite-plugin-dts": "^4.0.0-beta.1", | ||
"vue-eslint-parser": "^9.4.3", | ||
"vue-tsc": "2.0.29" | ||
}, | ||
|
@@ -76,7 +76,7 @@ | |
"registry": "https://npm.pkg.github.com/" | ||
}, | ||
"repository": "ssh://[email protected]/lapras-inc/lapras-frontend.git", | ||
"types": "dist/main.d.ts", | ||
"types": "types/main.d.ts", | ||
"eslintConfig": { | ||
"extends": [ | ||
"plugin:storybook/recommended" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"exclude": [ | ||
"src/**/*.stories.ts" | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
declare const _default: import("vue").DefineComponent<{ | ||
src: { | ||
type: StringConstructor; | ||
}; | ||
}, { | ||
avatarDefault: string; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ | ||
src: { | ||
type: StringConstructor; | ||
}; | ||
}>>, {}, {}>; | ||
export default _default; |
5 changes: 2 additions & 3 deletions
5
dist/components/Card/Card.vue.d.ts → types/components/Card/Card.vue.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
types/components/EnhancedIconButton/EnhancedIconButton.vue.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
declare const _default: import("vue").DefineComponent<{ | ||
tag: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ | ||
tag: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
}>>, { | ||
tag: string; | ||
}, {}>; | ||
export default _default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.