Skip to content

Commit

Permalink
Merge pull request #53 from webdevnerdstuff/dev
Browse files Browse the repository at this point in the history
Package updates
  • Loading branch information
webdevnerdstuff authored Jul 6, 2024
2 parents becd10e + e991c70 commit 1737711
Show file tree
Hide file tree
Showing 11 changed files with 1,246 additions and 985 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

strategy:
matrix:
node-version: [20.10.0]
node-version: [20]

steps:
- uses: actions/checkout@v3
Expand Down
7 changes: 4 additions & 3 deletions dist/plugin/VCodeBlock.vue.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Props } from './types';

declare function copyCode(): void;
declare function runCode(): void;
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
browserWindow: boolean;
cssPath: undefined;
code: string;
Expand All @@ -27,10 +28,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
tabGap: string;
tabs: boolean;
theme: string;
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
run: (...args: any[]) => void;
"update:copy-status": (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
browserWindow: boolean;
cssPath: undefined;
code: string;
Expand Down
4 changes: 2 additions & 2 deletions dist/plugin/components/StatusIcons.vue.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
declare const _default: import("vue").DefineComponent<{
declare const _default: import('vue').DefineComponent<{
icon: {
type: StringConstructor;
required: true;
};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
icon: {
type: StringConstructor;
required: true;
Expand Down
1 change: 1 addition & 0 deletions dist/plugin/composables/classes.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { UseCodeBlockClasses, UseCopyButtonClasses, UseIconClasses, UseLabelClasses, UseTabClasses } from '../types';

export declare const useCodeBlockClasses: UseCodeBlockClasses;
export declare const useCopyButtonClasses: UseCopyButtonClasses;
export declare const useIconClasses: UseIconClasses;
Expand Down
1 change: 1 addition & 0 deletions dist/plugin/composables/helpers.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { UseConvertToUnit } from '../types';

/**
* Converts a string to a number with a unit.
*/
Expand Down
1 change: 1 addition & 0 deletions dist/plugin/composables/styles.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { UseCodeTagStyles, UseHeaderStyles, UsePreTagStyles, UseTabGroupStyles } from '../types';

export declare const useCodeTagStyles: UseCodeTagStyles;
export declare const useHeaderStyles: UseHeaderStyles;
export declare const usePreTagStyles: UsePreTagStyles;
Expand Down
7 changes: 4 additions & 3 deletions dist/plugin/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { App } from 'vue';
import type { Props } from './types';
import VCodeBlock from './VCodeBlock.vue';
import { App } from 'vue';
import { Props } from './types';
import { default as VCodeBlock } from './VCodeBlock.vue';

export declare const codeBlockOptions: unique symbol;
export declare function createVCodeBlock(options?: Props): {
install: (app: App) => void;
Expand Down
5 changes: 3 additions & 2 deletions dist/plugin/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { CSSProperties, MaybeRef } from 'vue';
import VCodeBlock from '../VCodeBlock.vue';
import { CSSProperties, MaybeRef } from 'vue';
import { default as VCodeBlock } from '../VCodeBlock.vue';

export * from '../index';
export type UseTheme = MaybeRef<string | boolean>;
export type CopyStatus = MaybeRef<'copy' | 'success' | 'failed'>;
Expand Down
48 changes: 19 additions & 29 deletions dist/vue-code-block.es.js

Large diffs are not rendered by default.

70 changes: 35 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"deploy": "gh-pages -d docs",
"prepublishOnly": "npm run build",
"lint": "eslint src/**/*.{ts,vue} --max-warnings 4",
"prepare": "husky install",
"prepare": "husky",
"test:dev": "NODE_OPTIONS='--no-warnings' vitest",
"test:commit": "vitest --run --bail 1",
"test:build": "vitest --run --bail 1 --reporter dot"
Expand Down Expand Up @@ -75,65 +75,65 @@
"dependencies": {
"highlight.js": "^11.8.0",
"prismjs": "^1.29.0",
"ua-parser-js": "^1.0.35",
"vue": "^3.4.10"
"ua-parser-js": "^1.0.38",
"vue": "^3.4.31"
},
"devDependencies": {
"@fortawesome/fontawesome-svg-core": "^6.5.1",
"@fortawesome/free-brands-svg-icons": "^6.5.1",
"@fortawesome/free-regular-svg-icons": "^6.5.1",
"@fortawesome/free-solid-svg-icons": "^6.5.1",
"@fortawesome/vue-fontawesome": "^3.0.5",
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-brands-svg-icons": "^6.5.2",
"@fortawesome/free-regular-svg-icons": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/vue-fontawesome": "^3.0.8",
"@mdi/font": "^7.4.47",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@stylistic/stylelint-plugin": "^2.0.0",
"@types/node": "^20.11.0",
"@types/prismjs": "^1.26.3",
"@stylistic/stylelint-plugin": "^2.1.2",
"@types/node": "^20.14.10",
"@types/prismjs": "^1.26.4",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"@vitejs/plugin-vue": "^5.0.3",
"@vitejs/plugin-vue": "^5.0.5",
"@vue/cli-plugin-eslint": "^5.0.8",
"@vue/cli-service": "^5.0.8",
"@vue/compiler-sfc": "^3.4.10",
"@vue/compiler-sfc": "^3.4.31",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/test-utils": "^2.4.3",
"autoprefixer": "^10.4.16",
"@vue/test-utils": "^2.4.6",
"autoprefixer": "^10.4.19",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.20.0",
"gh-pages": "^6.1.1",
"husky": "^8.0.3",
"jsdom": "^23.2.0",
"lint-staged": "^15.2.0",
"husky": "^9.0.11",
"jsdom": "^24.1.0",
"lint-staged": "^15.2.7",
"pinia": "^2.1.7",
"postcss": "^8.4.33",
"postcss-html": "^1.5.0",
"postcss": "^8.4.39",
"postcss-html": "^1.7.0",
"postcss-scss": "^4.0.9",
"prettier": "^3.1.1",
"rollup": "^4.9.4",
"prettier": "^3.3.2",
"rollup": "^4.18.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-scss": "^4.0.0",
"rollup-plugin-typescript2": "^0.36.0",
"sass": "^1.69.7",
"stylelint": "^16.1.0",
"stylelint-config-standard": "^36.0.0",
"sass": "^1.77.6",
"stylelint": "^16.6.1",
"stylelint-config-standard": "^36.0.1",
"stylelint-order": "^6.0.4",
"stylelint-scss": "^6.0.0",
"stylelint-scss": "^6.3.2",
"typescript": "^5.3.3",
"unplugin-auto-import": "^0.17.3",
"vite": "^5.0.11",
"vite-plugin-css-injected-by-js": "^3.3.1",
"vite-plugin-dts": "^3.7.0",
"unplugin-auto-import": "^0.17.6",
"vite": "^5.3.3",
"vite-plugin-css-injected-by-js": "^3.5.1",
"vite-plugin-dts": "^3.9.1",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-static-copy": "^1.0.0",
"vite-plugin-static-copy": "^1.0.6",
"vite-plugin-stylelint": "^5.3.1",
"vite-plugin-vuetify": "^2.0.1",
"vitest": "^1.1.3",
"vue-tsc": "^1.8.27",
"vite-plugin-vuetify": "^2.0.3",
"vitest": "^1.6.0",
"vue-tsc": "^2.0.26",
"vuetify": "^3.4.10",
"webfontloader": "^1.6.28"
}
Expand Down
Loading

0 comments on commit 1737711

Please sign in to comment.