Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
cab-mikee committed Nov 27, 2024
1 parent 9c05a0c commit a5f8797
Show file tree
Hide file tree
Showing 28 changed files with 303 additions and 36 deletions.
31 changes: 31 additions & 0 deletions storage/framework/core/components/dropdown/api-extractor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "<projectFolder>/temp/index.d.ts",
"bundledPackages": [],
"compiler": {
"tsconfigFilePath": "<projectFolder>/tsconfig.build.json"
},
"apiReport": {
"enabled": false
},
"docModel": {
"enabled": false
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "<projectFolder>/dist/index.d.ts"
},
"tsdocMetadata": {
"enabled": false
},
"messages": {
"extractorMessageReporting": {
"ae-forgotten-export": {
"logLevel": "none"
},
"ae-missing-release-tag": {
"logLevel": "none"
}
}
}
}
5 changes: 1 addition & 4 deletions storage/framework/core/components/dropdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./*": {
"import": "./dist/*"
}
},
"files": [
"README.md",
Expand All @@ -45,7 +42,7 @@
"dev": "bunx --bun vite",
"build": "bunx --bun vite build --mode lib",
"build:demo": "bunx --bun vite build",
"build:types": "bunx --bun vue-tsc -p tsconfig.build.json && api-extractor run",
"build:types": "bunx vue-tsc -p tsconfig.build.json && bunx api-extractor run",
"preview": "bunx --bun vite preview",
"prepublishOnly": "bun run build"
},
Expand Down
2 changes: 2 additions & 0 deletions storage/framework/core/components/dropdown/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ const plugin: Plugin = {
}

export default plugin

export { Menu, MenuButton, MenuItem, MenuItems }
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,11 @@
},
"vueCompilerOptions": {
"skipTemplateCodegen": true
}
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue"
]
}
31 changes: 31 additions & 0 deletions storage/framework/core/components/listbox/api-extractor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "<projectFolder>/temp/index.d.ts",
"bundledPackages": [],
"compiler": {
"tsconfigFilePath": "<projectFolder>/tsconfig.build.json"
},
"apiReport": {
"enabled": false
},
"docModel": {
"enabled": false
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "<projectFolder>/dist/index.d.ts"
},
"tsdocMetadata": {
"enabled": false
},
"messages": {
"extractorMessageReporting": {
"ae-forgotten-export": {
"logLevel": "none"
},
"ae-missing-release-tag": {
"logLevel": "none"
}
}
}
}
5 changes: 1 addition & 4 deletions storage/framework/core/components/listbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./*": {
"import": "./dist/*"
}
},
"files": [
Expand All @@ -45,7 +42,7 @@
"dev": "bunx --bun vite",
"build": "bunx --bun vite build --mode lib",
"build:demo": "bunx --bun vite build",
"build:types": "bunx --bun vue-tsc -p tsconfig.build.json && api-extractor run",
"build:types": "bunx vue-tsc -p tsconfig.build.json && bunx api-extractor run",
"preview": "bunx --bun vite preview",
"prepublishOnly": "bun run build"
},
Expand Down
2 changes: 2 additions & 0 deletions storage/framework/core/components/listbox/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ const plugin: Plugin = {
}

export default plugin

export { Listbox, ListboxButton, ListboxOption, ListboxOptions }
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,11 @@
},
"vueCompilerOptions": {
"skipTemplateCodegen": true
}
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue"
]
}
31 changes: 31 additions & 0 deletions storage/framework/core/components/popover/api-extractor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "<projectFolder>/temp/index.d.ts",
"bundledPackages": [],
"compiler": {
"tsconfigFilePath": "<projectFolder>/tsconfig.build.json"
},
"apiReport": {
"enabled": false
},
"docModel": {
"enabled": false
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "<projectFolder>/dist/index.d.ts"
},
"tsdocMetadata": {
"enabled": false
},
"messages": {
"extractorMessageReporting": {
"ae-forgotten-export": {
"logLevel": "none"
},
"ae-missing-release-tag": {
"logLevel": "none"
}
}
}
}
5 changes: 1 addition & 4 deletions storage/framework/core/components/popover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./*": {
"import": "./dist/*"
}
},
"files": [
Expand All @@ -45,7 +42,7 @@
"dev": "bunx --bun vite",
"build": "bunx --bun vite build --mode lib",
"build:demo": "bunx --bun vite build",
"build:types": "bunx --bun vue-tsc -p tsconfig.build.json && api-extractor run",
"build:types": "bunx vue-tsc -p tsconfig.build.json && bunx api-extractor run",
"preview": "bunx --bun vite preview",
"prepublishOnly": "bun run build"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,11 @@
},
"vueCompilerOptions": {
"skipTemplateCodegen": true
}
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue"
]
}
31 changes: 31 additions & 0 deletions storage/framework/core/components/radio-group/api-extractor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "<projectFolder>/temp/index.d.ts",
"bundledPackages": [],
"compiler": {
"tsconfigFilePath": "<projectFolder>/tsconfig.build.json"
},
"apiReport": {
"enabled": false
},
"docModel": {
"enabled": false
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "<projectFolder>/dist/index.d.ts"
},
"tsdocMetadata": {
"enabled": false
},
"messages": {
"extractorMessageReporting": {
"ae-forgotten-export": {
"logLevel": "none"
},
"ae-missing-release-tag": {
"logLevel": "none"
}
}
}
}
5 changes: 1 addition & 4 deletions storage/framework/core/components/radio-group/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./*": {
"import": "./dist/*"
}
},
"files": [
Expand All @@ -45,7 +42,7 @@
"dev": "bunx --bun vite",
"build": "bunx --bun vite build --mode lib",
"build:demo": "bunx --bun vite build",
"build:types": "bunx --bun vue-tsc -p tsconfig.build.json && api-extractor run",
"build:types": "bunx vue-tsc -p tsconfig.build.json && bunx api-extractor run",
"preview": "bunx --bun vite preview",
"prepublishOnly": "bun run build"
},
Expand Down
2 changes: 2 additions & 0 deletions storage/framework/core/components/radio-group/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ const plugin: Plugin = {
}

export default plugin

export { RadioGroup, RadioGroupLabel, RadioGroupDescription, RadioGroupOption }
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,11 @@
},
"vueCompilerOptions": {
"skipTemplateCodegen": true
}
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue"
]
}
31 changes: 31 additions & 0 deletions storage/framework/core/components/stepper/api-extractor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "<projectFolder>/temp/index.d.ts",
"bundledPackages": [],
"compiler": {
"tsconfigFilePath": "<projectFolder>/tsconfig.build.json"
},
"apiReport": {
"enabled": false
},
"docModel": {
"enabled": false
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "<projectFolder>/dist/index.d.ts"
},
"tsdocMetadata": {
"enabled": false
},
"messages": {
"extractorMessageReporting": {
"ae-forgotten-export": {
"logLevel": "none"
},
"ae-missing-release-tag": {
"logLevel": "none"
}
}
}
}
3 changes: 0 additions & 3 deletions storage/framework/core/components/stepper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./*": {
"import": "./dist/*"
}
},
"files": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
export { default as Stepper } from './Stepper.vue'
import Stepper from './Stepper.vue'
import Steps from './Steps.vue'

export { Stepper, Steps }
5 changes: 3 additions & 2 deletions storage/framework/core/components/stepper/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import type { Plugin } from 'vue'
import { Stepper } from './components'
import { Stepper, Steps } from './components'

const plugin: Plugin = {
install(app) {
app.component('Stepper', Stepper)
app.component('Steps', Steps)
},
}

export default plugin

export { Stepper }
export { Stepper, Steps }
21 changes: 21 additions & 0 deletions storage/framework/core/components/stepper/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"compilerOptions": {
"baseUrl": "./",
"moduleResolution": "Node",
"declaration": true,
"declarationDir": "./temp",
"emitDeclarationOnly": true,
"noEmit": false,
"outDir": "lib"
},
"vueCompilerOptions": {
"skipTemplateCodegen": true
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue"
]
}
31 changes: 31 additions & 0 deletions storage/framework/core/components/switch/api-extractor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "<projectFolder>/temp/index.d.ts",
"bundledPackages": [],
"compiler": {
"tsconfigFilePath": "<projectFolder>/tsconfig.build.json"
},
"apiReport": {
"enabled": false
},
"docModel": {
"enabled": false
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "<projectFolder>/dist/index.d.ts"
},
"tsdocMetadata": {
"enabled": false
},
"messages": {
"extractorMessageReporting": {
"ae-forgotten-export": {
"logLevel": "none"
},
"ae-missing-release-tag": {
"logLevel": "none"
}
}
}
}
Loading

0 comments on commit a5f8797

Please sign in to comment.