Skip to content

Commit

Permalink
feat: update dependencies (#135)
Browse files Browse the repository at this point in the history
* feat: update dependencies

* chore: update package-lock.json

* chore: migrate from `@sveltejs/kit@1.1.0-next.405` to `@sveltejs/kit@1.1.0-next.406`

* chore: upgrade to `@sveltejs/kit@1.1.0-next.461`

* chore: add vite as a dependency again

* chore: ci test on node 16 and 18, not on 14 anymore
  • Loading branch information
josdejong authored Sep 1, 2022
1 parent a6cce69 commit c2e8e0a
Show file tree
Hide file tree
Showing 21 changed files with 3,727 additions and 2,325 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x]
node-version: [16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
5,978 changes: 3,689 additions & 2,289 deletions package-lock.json

Large diffs are not rendered by default.

42 changes: 22 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"build:watch": "npm run build -- --watch",
"build:svelte": "npm-run-all build:svelte:**",
"build:svelte:prepare": "svelte-kit sync",
"build:svelte:package": "svelte-kit package",
"build:svelte:package": "svelte-package",
"build:svelte:deprecated": "cpy --flat tools/dist-deprecated package/dist",
"build:vanilla": "npm-run-all build:vanilla:**",
"build:vanilla:clean": "del-cli package-vanilla",
Expand Down Expand Up @@ -53,47 +53,49 @@
"@codemirror/lang-json": "^6.0.0",
"@codemirror/language": "^6.2.1",
"@codemirror/lint": "^6.0.0",
"@codemirror/search": "^6.1.0",
"@codemirror/search": "^6.2.0",
"@codemirror/state": "^6.1.1",
"@codemirror/view": "^6.2.0",
"@codemirror/view": "^6.2.2",
"@fontsource/fira-mono": "^4.5.9",
"@fortawesome/free-regular-svg-icons": "^6.1.2",
"@fortawesome/free-solid-svg-icons": "^6.1.2",
"@fortawesome/free-regular-svg-icons": "^6.2.0",
"@fortawesome/free-solid-svg-icons": "^6.2.0",
"ajv-dist": "^8.11.0",
"classnames": "^2.3.1",
"codemirror": "^6.0.1",
"diff-sequences": "^28.1.1",
"diff-sequences": "^29.0.0",
"immutable-json-patch": "^4.0.0",
"jmespath": "^0.16.0",
"json-source-map": "^0.6.1",
"jsonrepair": "^2.2.1",
"lodash-es": "^4.17.21",
"memoize-one": "^6.0.0",
"natural-compare-lite": "^1.4.0",
"sass": "^1.54.4",
"sass": "^1.54.8",
"svelte": "^3.49.0",
"svelte-awesome": "^3.0.0",
"svelte-select": "^4.4.7",
"svelte-simple-modal": "^1.4.1",
"vanilla-picker": "^2.12.1"
},
"devDependencies": {
"@babel/core": "7.18.10",
"@babel/core": "7.18.13",
"@babel/preset-env": "7.18.10",
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"@commitlint/cli": "17.1.2",
"@commitlint/config-conventional": "17.1.0",
"@rollup/plugin-babel": "5.3.1",
"@rollup/plugin-commonjs": "22.0.2",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "13.3.0",
"@rollup/plugin-typescript": "8.3.4",
"@sveltejs/kit": "1.0.0-next.405",
"@rollup/plugin-typescript": "8.4.0",
"@sveltejs/adapter-auto": "1.0.0-next.71",
"@sveltejs/kit": "1.0.0-next.461",
"@sveltejs/package": "1.0.0-next.3",
"@types/cookie": "0.5.1",
"@types/lodash-es": "4.17.6",
"@types/mocha": "9.1.1",
"@typescript-eslint/eslint-plugin": "5.33.1",
"@typescript-eslint/parser": "5.33.1",
"cpy-cli": "4.1.0",
"@typescript-eslint/eslint-plugin": "5.36.1",
"@typescript-eslint/parser": "5.36.1",
"cpy-cli": "4.2.0",
"del-cli": "5.0.0",
"eslint": "8.22.0",
"eslint-config-prettier": "8.5.0",
Expand All @@ -103,17 +105,17 @@
"npm-run-all": "4.1.5",
"prettier": "2.7.1",
"prettier-plugin-svelte": "2.7.0",
"rollup": "2.78.0",
"rollup": "2.79.0",
"rollup-plugin-dts": "4.2.2",
"rollup-plugin-svelte": "7.1.0",
"rollup-plugin-terser": "7.0.2",
"standard-version": "9.5.0",
"svelte-check": "2.8.1",
"svelte-check": "2.9.0",
"svelte-preprocess": "4.10.7",
"svelte2tsx": "0.5.14",
"svelte2tsx": "0.5.16",
"ts-node": "10.9.1",
"tslib": "2.4.0",
"typescript": "4.7.4",
"vite": "3.0.8"
"typescript": "4.8.2",
"vite": "3.1.0-beta.1"
}
}
4 changes: 2 additions & 2 deletions src/lib/plugins/validator/createAjvValidator.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type AjvType from 'ajv'
import type { Options } from 'ajv'
import Ajv from 'ajv-dist'
import type { JSONData } from 'immutable-json-patch'
import { parsePath } from 'immutable-json-patch'
Expand All @@ -17,7 +17,7 @@ import { ValidationSeverity } from '../../types.js'
export function createAjvValidator(
schema: JSONData,
schemaDefinitions: JSONData = undefined,
ajvOptions: AjvType.Options = undefined
ajvOptions: Options = undefined
): Validator {
const ajv = new Ajv({
allErrors: true,
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<script context="module" lang="ts">
export const prerender = true
</script>

<script lang="ts">
import {
createAjvValidator,
Expand All @@ -13,7 +9,7 @@
EditableValue,
ReadonlyValue
} from '$lib'
import { useLocalStorage } from '../lib/utils/localStorageUtils.js'
import { useLocalStorage } from '../../lib/utils/localStorageUtils.js'
import { range } from 'lodash-es'
import { tick } from 'svelte'
Expand Down Expand Up @@ -559,8 +555,8 @@ See https://github.com/sveltejs/kit/issues/981
{/if}

<style lang="scss">
@import '../lib/themes/jse-theme-dark.css';
@import 'examples/themes/jse-theme-big.css';
@import '../../lib/themes/jse-theme-dark.css';
@import '../themes/jse-theme-big.css';
.demo-app {
margin: -10px; // compensate for the padding of the root element
Expand Down
1 change: 1 addition & 0 deletions src/routes/development/+page.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const prerender = true
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script>
import { EnumValue, JSONEditor, renderValue } from 'svelte-jsoneditor'
import ReadonlyPassword from './components/ReadonlyPassword.svelte'
import ReadonlyPassword from '../../components/ReadonlyPassword.svelte'
let content = {
text: undefined, // used when in text mode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
//
// @import 'svelte-jsoneditor/themes/jse-theme-dark.css';
//
@import '../../lib/themes/jse-theme-dark.css';
@import 'themes/jse-theme-big.css';
@import '../../../lib/themes/jse-theme-dark.css';
@import '../../themes/jse-theme-big.css';
.page {
width: 100%;
Expand Down
File renamed without changes.
File renamed without changes.
9 changes: 6 additions & 3 deletions svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import adapter from '@sveltejs/adapter-auto'
import preprocess from 'svelte-preprocess'

/** @type {import('@sveltejs/kit').Config} */
Expand All @@ -7,9 +8,11 @@ const config = {
preprocess: preprocess(),

kit: {
package: {
dir: 'package'
}
adapter: adapter()
},

package: {
dir: 'package'
}
}

Expand Down

0 comments on commit c2e8e0a

Please sign in to comment.