Skip to content

Commit cc4b77f

Browse files
Merge pull request #2 from hcengineering/fix-svelte
Fix svelte warnings
2 parents 063b52c + c51bf43 commit cc4b77f

File tree

5 files changed

+29
-4
lines changed

5 files changed

+29
-4
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@hcengineering/platform-rig",
5+
"comment": "Ignore svelte preprocess warnings",
6+
"type": "patch"
7+
}
8+
],
9+
"packageName": "@hcengineering/platform-rig"
10+
}

packages/platform-rig/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hcengineering/platform-rig",
3-
"version": "0.7.19",
3+
"version": "0.7.20",
44
"scripts": {
55
"build": "echo 'Not required'",
66
"format": "echo 'Not required'"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
const sveltePreprocess = require('svelte-preprocess')
2+
3+
module.exports = {
4+
preprocess: sveltePreprocess({
5+
scss: {
6+
// This is expected as svelte-preprocess hasn't fully migrated to the modern API yet
7+
silenceDeprecations: ['legacy-js-api']
8+
}
9+
})
10+
};

packages/ui-test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hcengineering/ui-test",
3-
"version": "0.7.12",
3+
"version": "0.7.13",
44
"author": "Copyright © Hardcore Engineering Inc.",
55
"template": "@hcengineering/node-package",
66
"license": "EPL-2.0",

packages/ui-test/svelte.config.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
const sveltePreprocess = require('svelte-preprocess')
22

33
module.exports = {
4-
preprocess: sveltePreprocess()
5-
};
4+
preprocess: sveltePreprocess({
5+
scss: {
6+
// This is expected as svelte-preprocess hasn't fully migrated to the modern API yet
7+
silenceDeprecations: ['legacy-js-api']
8+
}
9+
})
10+
};

0 commit comments

Comments
 (0)