@openc-bv/design-system
Advanced tools
Comparing version 0.0.1-alpha.7 to 0.0.1-alpha.8
/** | ||
* Workaround for typings for vite-imagetools. | ||
* | ||
* @see https://github.com/JonasKruckenberg/imagetools/issues/160 | ||
@@ -16,3 +15,2 @@ * @see https://github.com/JonasKruckenberg/imagetools/tree/main/packages/vite | ||
* Workaround for typings for vite-imagetools. | ||
* | ||
* @see https://github.com/JonasKruckenberg/imagetools/issues/160 | ||
@@ -27,1 +25,9 @@ * @see https://github.com/JonasKruckenberg/imagetools/tree/main/packages/vite | ||
} | ||
/** | ||
* This enables importing Svelte components in TypeScript files. | ||
* @see https://stackoverflow.com/a/66582171 | ||
*/ | ||
declare module '*.svelte' { | ||
export { SvelteComponentDev as default } from 'svelte/internal'; | ||
} |
@@ -1,3 +0,5 @@ | ||
export * from './util'; | ||
export * from './types'; | ||
export * from './util.js'; | ||
export * from './types.js'; | ||
export { default as svelteKitServiceWorker } from './sveltekit/service-worker.js'; | ||
export { default as SvelteKitLoadingBar } from './sveltekit/loading-bar.svelte'; | ||
export { default as Alert } from './components/alert.svelte'; | ||
@@ -4,0 +6,0 @@ export { default as Box } from './components/box.svelte'; |
@@ -1,3 +0,5 @@ | ||
export * from './util'; | ||
export * from './types'; | ||
export * from './util.js'; | ||
export * from './types.js'; | ||
export { default as svelteKitServiceWorker } from './sveltekit/service-worker.js'; | ||
export { default as SvelteKitLoadingBar } from './sveltekit/loading-bar.svelte'; | ||
export { default as Alert } from './components/alert.svelte'; | ||
@@ -4,0 +6,0 @@ export { default as Box } from './components/box.svelte'; |
{ | ||
"name": "@openc-bv/design-system", | ||
"version": "0.0.1-alpha.7", | ||
"license": "CC-BY-NC-SA-4.0", | ||
"dependencies": { | ||
"@sveltejs/kit": "next", | ||
"version": "0.0.1-alpha.8", | ||
"peerDependencies": { | ||
"autoprefixer": "^10.4.2", | ||
"deepmerge": "^4.2.2", | ||
"nprogress": "^0.2.0", | ||
"sass": "^1.48.0", | ||
"svelte": "^3.44.2", | ||
"svelte-preprocess": "^4.10.1", | ||
"svelte": "^3.44.0", | ||
"svelte-preprocess-import-assets": "^0.1.5", | ||
@@ -17,27 +15,22 @@ "svelte-sequential-preprocessor": "^0.0.7", | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^4.31.1", | ||
"@typescript-eslint/parser": "^4.31.1", | ||
"copyfiles": "^2.4.1", | ||
"@sveltejs/adapter-auto": "next", | ||
"@sveltejs/adapter-static": "^1.0.0-next.26", | ||
"@sveltejs/kit": "next", | ||
"@typescript-eslint/eslint-plugin": "^5.10.1", | ||
"@typescript-eslint/parser": "^5.10.1", | ||
"eslint": "^7.32.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-svelte3": "^3.2.1", | ||
"prettier": "^2.5.0", | ||
"prettier-plugin-svelte": "^2.5.1", | ||
"rimraf": "^3.0.2", | ||
"svelte-check": "^2.2.10", | ||
"prettier": "^2.4.1", | ||
"prettier-plugin-svelte": "^2.4.0", | ||
"svelte-check": "^2.2.6", | ||
"svelte-preprocess": "^4.9.4", | ||
"svelte2tsx": "^0.4.14", | ||
"tslib": "^2.3.1", | ||
"typescript": "^4.5.4" | ||
"typescript": "^4.4.3" | ||
}, | ||
"type": "module", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/openc-bv/design-system" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/openc-bv/design-system/issues", | ||
"email": "romeinvanburen@openc.nl" | ||
}, | ||
"exports": { | ||
"./package.json": "./package.json", | ||
"./COLOPHON.md": "./COLOPHON.md", | ||
"./components/alert.svelte": "./components/alert.svelte", | ||
@@ -44,0 +37,0 @@ "./components/box.svelte": "./components/box.svelte", |
@@ -38,4 +38,4 @@ import preprocess from 'svelte-preprocess'; | ||
vite: { | ||
plugins: [imagetools()] | ||
} | ||
plugins: [imagetools()], | ||
}, | ||
} | ||
@@ -42,0 +42,0 @@ }; |
/// <reference lib="webworker" /> | ||
export default function serviceWorker(): void; | ||
export default function serviceWorker({ build, files, timestamp }: { | ||
build: string[]; | ||
files: string[]; | ||
timestamp: number; | ||
}): void; |
/// <reference lib="webworker" /> | ||
// https://dev.to/100lvlmaster/create-a-pwa-with-sveltekit-svelte-a36 | ||
import { build, files, timestamp } from '$service-worker'; | ||
export default function serviceWorker() { | ||
export default function serviceWorker({ build, files, timestamp }) { | ||
const worker = self; | ||
@@ -6,0 +5,0 @@ const FILES = `cache${timestamp}`; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8
637
2581892
15
1
- Removed@sveltejs/kit@next
- Removedautoprefixer@^10.4.2
- Removednprogress@^0.2.0
- Removedsass@^1.48.0
- Removedsvelte@^3.44.2
- Removedsvelte-preprocess@^4.10.1
- Removedvite-imagetools@^4.0.3
- Removed@esbuild/android-arm@0.18.20(transitive)
- Removed@esbuild/android-arm64@0.18.20(transitive)
- Removed@esbuild/android-x64@0.18.20(transitive)
- Removed@esbuild/darwin-arm64@0.18.20(transitive)
- Removed@esbuild/darwin-x64@0.18.20(transitive)
- Removed@esbuild/freebsd-arm64@0.18.20(transitive)
- Removed@esbuild/freebsd-x64@0.18.20(transitive)
- Removed@esbuild/linux-arm@0.18.20(transitive)
- Removed@esbuild/linux-arm64@0.18.20(transitive)
- Removed@esbuild/linux-ia32@0.18.20(transitive)
- Removed@esbuild/linux-loong64@0.18.20(transitive)
- Removed@esbuild/linux-mips64el@0.18.20(transitive)
- Removed@esbuild/linux-ppc64@0.18.20(transitive)
- Removed@esbuild/linux-riscv64@0.18.20(transitive)
- Removed@esbuild/linux-s390x@0.18.20(transitive)
- Removed@esbuild/linux-x64@0.18.20(transitive)
- Removed@esbuild/netbsd-x64@0.18.20(transitive)
- Removed@esbuild/openbsd-x64@0.18.20(transitive)
- Removed@esbuild/sunos-x64@0.18.20(transitive)
- Removed@esbuild/win32-arm64@0.18.20(transitive)
- Removed@esbuild/win32-ia32@0.18.20(transitive)
- Removed@esbuild/win32-x64@0.18.20(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@polka/url@1.0.0-next.28(transitive)
- Removed@sveltejs/kit@1.0.0-next.589(transitive)
- Removed@sveltejs/vite-plugin-svelte@2.5.3(transitive)
- Removed@sveltejs/vite-plugin-svelte-inspector@1.0.4(transitive)
- Removed@types/cookie@0.5.4(transitive)
- Removed@types/pug@2.0.10(transitive)
- Removed@types/sass@1.45.0(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedbuffer-crc32@0.2.13(transitive)
- Removedbusboy@1.6.0(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedcookie@0.5.0(transitive)
- Removeddebug@4.3.7(transitive)
- Removeddetect-indent@6.1.0(transitive)
- Removeddevalue@4.3.3(transitive)
- Removedes6-promise@3.3.1(transitive)
- Removedesbuild@0.18.20(transitive)
- Removedesm-env@1.0.0(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedfsevents@2.3.3(transitive)
- Removedglob@7.2.3(transitive)
- Removedglobalyzer@0.1.0(transitive)
- Removedglobrex@0.1.2(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedinflight@1.0.6(transitive)
- Removedkleur@4.1.5(transitive)
- Removedmagic-string@0.27.00.30.11(transitive)
- Removedmime@3.0.0(transitive)
- Removedmin-indent@1.0.1(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedmri@1.2.0(transitive)
- Removedmrmime@2.0.0(transitive)
- Removedms@2.1.3(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedrimraf@2.7.1(transitive)
- Removedrollup@3.29.4(transitive)
- Removedsade@1.8.1(transitive)
- Removedsander@0.5.1(transitive)
- Removedset-cookie-parser@2.7.0(transitive)
- Removedsirv@2.0.4(transitive)
- Removedsorcery@0.10.0(transitive)
- Removedstreamsearch@1.1.0(transitive)
- Removedstrip-indent@3.0.0(transitive)
- Removedsvelte-hmr@0.15.3(transitive)
- Removedsvelte-preprocess@4.10.7(transitive)
- Removedtiny-glob@0.2.9(transitive)
- Removedtotalist@3.0.1(transitive)
- Removedundici@5.14.0(transitive)
- Removedvite@4.5.5(transitive)
- Removedvitefu@0.2.5(transitive)