Update dependenciesw
This commit is contained in:
parent
9b6273c94a
commit
8c663250cb
1447
package-lock.json
generated
1447
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
41
package.json
41
package.json
@ -12,44 +12,45 @@
|
|||||||
"test": "run-p --race dev cy:run"
|
"test": "run-p --race dev cy:run"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@rollup/plugin-typescript": "^6.0.0",
|
"@rollup/plugin-typescript": "^8.0.0",
|
||||||
"@types/node": "^14.11.2",
|
"@types/node": "^14.14.10",
|
||||||
"classnames": "^2.2.6",
|
"classnames": "^2.2.6",
|
||||||
"compression": "^1.7.4",
|
"compression": "^1.7.4",
|
||||||
"date-fns": "^2.16.1",
|
"date-fns": "^2.16.1",
|
||||||
"feed": "^4.2.1",
|
"feed": "^4.2.1",
|
||||||
"front-matter": "^4.0.2",
|
"front-matter": "^4.0.2",
|
||||||
"marked": "^1.1.1",
|
"marked": "^1.2.5",
|
||||||
"polka": "^0.5.2",
|
"polka": "^0.5.2",
|
||||||
"ramda": "^0.27.1",
|
"ramda": "^0.27.1",
|
||||||
"sirv": "^1.0.6",
|
"sirv": "^1.0.7",
|
||||||
"svelte-image": "^0.2.7"
|
"svelte-image": "^0.2.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.11.6",
|
"@babel/core": "^7.12.9",
|
||||||
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
||||||
"@babel/plugin-transform-runtime": "^7.11.5",
|
"@babel/plugin-transform-runtime": "^7.12.1",
|
||||||
"@babel/preset-env": "^7.11.5",
|
"@babel/preset-env": "^7.12.7",
|
||||||
"@babel/runtime": "^7.11.2",
|
"@babel/runtime": "^7.12.5",
|
||||||
"@rollup/plugin-typescript": "^6.0.0",
|
"@rollup/plugin-typescript": "^8.0.0",
|
||||||
"@tsconfig/svelte": "^1.0.10",
|
"@tsconfig/svelte": "^1.0.10",
|
||||||
"@types/classnames": "^2.2.10",
|
"@types/classnames": "^2.2.11",
|
||||||
"@types/ramda": "^0.27.19",
|
"@types/ramda": "^0.27.32",
|
||||||
"autoprefixer": "^10.0.0",
|
"autoprefixer": "^10.0.4",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"postcss": "^8.0.9",
|
"postcss": "^8.1.10",
|
||||||
"rollup": "^2.28.2",
|
"rollup": "^2.34.0",
|
||||||
"rollup-plugin-babel": "^4.4.0",
|
"rollup-plugin-babel": "^4.4.0",
|
||||||
"rollup-plugin-commonjs": "^10.1.0",
|
"rollup-plugin-commonjs": "^10.1.0",
|
||||||
"rollup-plugin-node-resolve": "^5.2.0",
|
"rollup-plugin-node-resolve": "^5.2.0",
|
||||||
"rollup-plugin-replace": "^2.2.0",
|
"rollup-plugin-replace": "^2.2.0",
|
||||||
"rollup-plugin-svelte": "^6.0.1",
|
"rollup-plugin-svelte": "^7.0.0",
|
||||||
"rollup-plugin-svg": "^2.0.0",
|
"rollup-plugin-svg": "^2.0.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"sapper": "^0.28.9",
|
"sapper": "^0.28.10",
|
||||||
"svelte": "^3.28.0",
|
"svelte": "^3.30.1",
|
||||||
"svelte-check": "^1.0.51",
|
"svelte-check": "^1.1.17",
|
||||||
"svelte-preprocess": "^4.3.2",
|
"svelte-preprocess": "^4.6.1",
|
||||||
"typescript": "^4.0.3"
|
"tslib": "^2.0.3",
|
||||||
|
"typescript": "^4.1.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,14 +17,15 @@ const legacy = !!process.env.SAPPER_LEGACY_BUILD
|
|||||||
|
|
||||||
const onwarn = (warning, onwarn) =>
|
const onwarn = (warning, onwarn) =>
|
||||||
(warning.code === 'MISSING_EXPORT' && /'preload'/.test(warning.message)) ||
|
(warning.code === 'MISSING_EXPORT' && /'preload'/.test(warning.message)) ||
|
||||||
(warning.code === 'CIRCULAR_DEPENDENCY' && /[/\\]@sapper[/\\]/.test(warning.message)) ||
|
(warning.code === 'CIRCULAR_DEPENDENCY' &&
|
||||||
|
/[/\\]@sapper[/\\]/.test(warning.message)) ||
|
||||||
onwarn(warning)
|
onwarn(warning)
|
||||||
const dedupe = (importee) =>
|
const dedupe = (importee) =>
|
||||||
importee === 'svelte' || importee.startsWith('svelte/')
|
importee === 'svelte' || importee.startsWith('svelte/')
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
client: {
|
client: {
|
||||||
input: config.client.input().replace(/\.js$/, ".ts"),
|
input: config.client.input().replace(/\.js$/, '.ts'),
|
||||||
output: config.client.output(),
|
output: config.client.output(),
|
||||||
plugins: [
|
plugins: [
|
||||||
replace({
|
replace({
|
||||||
@ -32,8 +33,10 @@ export default {
|
|||||||
'process.env.NODE_ENV': JSON.stringify(mode),
|
'process.env.NODE_ENV': JSON.stringify(mode),
|
||||||
}),
|
}),
|
||||||
svelte({
|
svelte({
|
||||||
|
compilerOptions: {
|
||||||
dev,
|
dev,
|
||||||
hydratable: true,
|
hydratable: true,
|
||||||
|
},
|
||||||
emitCss: true,
|
emitCss: true,
|
||||||
// Disabled automatic image compression
|
// Disabled automatic image compression
|
||||||
// preprocess: {
|
// preprocess: {
|
||||||
@ -87,7 +90,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
server: {
|
server: {
|
||||||
input: config.server.input().server.replace(/\.js$/, ".ts"),
|
input: config.server.input().server.replace(/\.js$/, '.ts'),
|
||||||
output: config.server.output(),
|
output: config.server.output(),
|
||||||
plugins: [
|
plugins: [
|
||||||
replace({
|
replace({
|
||||||
@ -95,14 +98,16 @@ export default {
|
|||||||
'process.env.NODE_ENV': JSON.stringify(mode),
|
'process.env.NODE_ENV': JSON.stringify(mode),
|
||||||
}),
|
}),
|
||||||
svelte({
|
svelte({
|
||||||
|
compilerOptions: {
|
||||||
generate: 'ssr',
|
generate: 'ssr',
|
||||||
dev,
|
dev,
|
||||||
hydratable: true,
|
hydratable: true,
|
||||||
|
},
|
||||||
preprocess: sveltePreprocess({
|
preprocess: sveltePreprocess({
|
||||||
sourceMap: dev,
|
sourceMap: dev,
|
||||||
defaults: {
|
defaults: {
|
||||||
script: 'typescript',
|
script: 'typescript',
|
||||||
}
|
},
|
||||||
}),
|
}),
|
||||||
// preprocess: {
|
// preprocess: {
|
||||||
// ...image(),
|
// ...image(),
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
<figure class="profile-pic">
|
<figure class="profile-pic">
|
||||||
<picture>
|
<picture>
|
||||||
<source srcset="images/profile-picture.webp" type="image/webp" />
|
<source srcset="images/profile-picture.webp" type="image/webp" />
|
||||||
<img alt="My profile picture" src="image/profil-picture.jpg" />
|
<img alt="My profile picture" src="images/profile-picture.jpg" />
|
||||||
</picture>
|
</picture>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
@ -53,9 +53,7 @@
|
|||||||
Hey, welcome to my personal website. My name is
|
Hey, welcome to my personal website. My name is
|
||||||
<strong>Michal Vanko</strong>
|
<strong>Michal Vanko</strong>
|
||||||
and I'm a
|
and I'm a
|
||||||
<em>
|
<em> <a href="https://en.wikipedia.org/wiki/Programmer">programmer</a> </em>
|
||||||
<a href="https://en.wikipedia.org/wiki/Programmer">programmer</a>
|
|
||||||
</em>
|
|
||||||
. I'll try to share some stories and opinions about things that I'm interested
|
. I'll try to share some stories and opinions about things that I'm interested
|
||||||
in.
|
in.
|
||||||
</p>
|
</p>
|
||||||
|
@ -4,6 +4,7 @@ backend:
|
|||||||
branch: master # Branch to update (optional; defaults to master)
|
branch: master # Branch to update (optional; defaults to master)
|
||||||
site_domain: michalvanko.dev
|
site_domain: michalvanko.dev
|
||||||
|
|
||||||
|
publish_mode: editorial_workflow
|
||||||
media_folder: 'static/images/uploads' # Media files will be stored in the repo under images/uploads
|
media_folder: 'static/images/uploads' # Media files will be stored in the repo under images/uploads
|
||||||
public_folder: '/images/uploads' # The src attribute for uploaded media will begin with /images/uploads
|
public_folder: '/images/uploads' # The src attribute for uploaded media will begin with /images/uploads
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user