diff --git a/.changeset/polite-roses-laugh.md b/.changeset/polite-roses-laugh.md new file mode 100644 index 00000000..59a80120 --- /dev/null +++ b/.changeset/polite-roses-laugh.md @@ -0,0 +1,7 @@ +--- +'docs': major +'@samgreening/sanity-tools-svelte': major +'@samsveltecomponents/youtube-lite': major +--- + +Fixes for new youtube-lite package diff --git a/.prettierignore b/.prettierignore index 8ff54bce..aff2020c 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,7 +4,8 @@ node_modules # generated files and output /build /packages/*/build/ -/packages/**/package/ +/packages/*/dist/ +/packages/*/package/ .svelte-kit/ package/ /storybook/storybook-static diff --git a/docs/.eslintrc.cjs b/docs/.eslintrc.cjs index 1f14a49f..bab958c8 100644 --- a/docs/.eslintrc.cjs +++ b/docs/.eslintrc.cjs @@ -1,6 +1,6 @@ module.exports = { root: true, - extends: ['eslint:recommended', 'prettier', 'plugin:storybook/recommended'], + extends: ['eslint:recommended', 'prettier'], plugins: ['svelte3'], overrides: [ { diff --git a/docs/jsconfig.json b/docs/jsconfig.json index fe45e13f..0c3344ea 100644 --- a/docs/jsconfig.json +++ b/docs/jsconfig.json @@ -1,6 +1,7 @@ { "extends": "./.svelte-kit/tsconfig.json", "compilerOptions": { + "moduleResolution": "nodenext", "allowJs": true, "checkJs": true, "esModuleInterop": true, diff --git a/docs/package.json b/docs/package.json index 2415634d..c44022d3 100644 --- a/docs/package.json +++ b/docs/package.json @@ -3,15 +3,11 @@ "version": "0.1.1", "private": true, "scripts": { - "dev": "vite dev", - "build": "vite build", - "preview": "vite preview", - "check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json", - "check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch", "lint": "prettier --plugin-search-dir . --check . && eslint .", "format": "prettier --plugin-search-dir . --write .", "storybook": "storybook dev -p 6006", - "build-storybook": "storybook build" + "build-storybook": "storybook build", + "test-storybook": "test-storybook" }, "devDependencies": { "@samsveltecomponents/core": "workspace:*", @@ -25,13 +21,14 @@ "@storybook/blocks": "7.0.7", "@storybook/svelte": "7.0.7", "@storybook/sveltekit": "7.0.7", + "@storybook/test-runner": "^0.16.0", "@storybook/testing-library": "0.0.14-next.2", "@sveltejs/adapter-auto": "2.0.1", "@sveltejs/kit": "1.15.9", "autoprefixer": "10.4.16", - "eslint": "8.35.0", + "eslint": "8.56.0", "eslint-config-prettier": "8.6.0", - "eslint-plugin-storybook": "0.6.12", + "eslint-plugin-storybook": "0.6.15", "eslint-plugin-svelte3": "4.0.0", "postcss": "8.4.23", "prettier": "2.8.4", @@ -42,7 +39,7 @@ "svelte": "3.55.0", "svelte-check": "3.5.2", "tailwindcss": "3.3.2", - "typescript": "5.1.6", + "typescript": "5.3.3", "vite": "4.5.1" }, "type": "module" diff --git a/packages/sanity-tools-svelte/src/lib/YouTube/YouTube.svelte b/packages/sanity-tools-svelte/src/lib/YouTube/YouTube.svelte index 9c028a2e..3d2b56d5 100644 --- a/packages/sanity-tools-svelte/src/lib/YouTube/YouTube.svelte +++ b/packages/sanity-tools-svelte/src/lib/YouTube/YouTube.svelte @@ -1,6 +1,6 @@