Skip to content

Commit

Permalink
Update dependency svelte-preprocess to v6 (#38303)
Browse files Browse the repository at this point in the history
* Update dependency svelte-preprocess to v6
* Add `verbatimModuleSyntax` to tsconfig (and then fix type includes).

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
  • Loading branch information
3 people authored Jul 11, 2024
1 parent a27b4c6 commit c08834c
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 78 deletions.
83 changes: 12 additions & 71 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated package dependencies.
2 changes: 1 addition & 1 deletion projects/js-packages/image-guide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"rollup-plugin-svelte-svg": "1.0.0-beta.6",
"sass": "1.64.1",
"svelte": "4.2.18",
"svelte-preprocess": "5.0.4",
"svelte-preprocess": "6.0.2",
"tslib": "2.5.0",
"typescript": "5.0.4",
"webpack": "5.76.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FetchFn, MeasurableImage } from './MeasurableImage.js';
import { MeasurableImage, type FetchFn } from './MeasurableImage.js';

/**
* Get elements that either are image tags or have a background image.
Expand Down
4 changes: 2 additions & 2 deletions projects/js-packages/image-guide/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Dimensions, FetchFn, MeasurableImage, Weight } from './MeasurableImage.js';
import { TracksCallback } from './analytics.js';
import { MeasurableImage, type Dimensions, type FetchFn, type Weight } from './MeasurableImage.js';
import { type TracksCallback } from './analytics.js';
import { getMeasurableImages } from './find-image-elements.js';
import { setupLoadListener } from './initialize.js';
import AdminBarToggle from './ui/AdminBarToggle.svelte';
Expand Down
3 changes: 2 additions & 1 deletion projects/js-packages/image-guide/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"typeRoots": [ "./node_modules/@types/" ],
"sourceMap": true,
"outDir": "./build/",
"target": "es2019"
"target": "es2019",
"verbatimModuleSyntax": true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated package dependencies.
2 changes: 1 addition & 1 deletion projects/plugins/inspect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"rollup-plugin-svelte": "7.2.2",
"sass": "1.64.1",
"svelte": "4.2.18",
"svelte-preprocess": "5.0.4",
"svelte-preprocess": "6.0.2",
"tslib": "2.5.0",
"typescript": "5.0.4",
"zod": "3.22.3"
Expand Down
3 changes: 2 additions & 1 deletion projects/plugins/inspect/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"strict": true,
"types": [],
"baseUrl": ".",
"paths": {}
"paths": {},
"verbatimModuleSyntax": true
}
}

0 comments on commit c08834c

Please sign in to comment.