-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade all dependencies, migrate to latest svelte-kit
- Loading branch information
1 parent
eae8ffb
commit 2208993
Showing
34 changed files
with
5,749 additions
and
2,781 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
module.exports = { | ||
root: true, | ||
extends: ['eslint:recommended', 'prettier'], | ||
plugins: ['svelte3'], | ||
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }], | ||
parserOptions: { | ||
sourceType: 'module', | ||
ecmaVersion: 2020 | ||
}, | ||
env: { | ||
browser: true, | ||
es2017: true, | ||
node: true | ||
}, | ||
rules: { | ||
'no-restricted-imports': ['error', { name: 'path', message: 'use upath instead' }] | ||
} | ||
root: true, | ||
extends: ['eslint:recommended', 'plugin:svelte/recommended', 'prettier'], | ||
parserOptions: { | ||
sourceType: 'module', | ||
ecmaVersion: 2020 | ||
}, | ||
env: { | ||
browser: true, | ||
es2017: true, | ||
node: true | ||
}, | ||
rules: { | ||
'no-restricted-imports': ['error', { name: 'path', message: 'use upath instead' }] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"tabWidth": 2, | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"printWidth": 100, | ||
"semi": false | ||
"tabWidth": 2, | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"printWidth": 100, | ||
"semi": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
{ | ||
"hooks": { | ||
"after:bump": "npm run build" | ||
}, | ||
"git": { | ||
"requireCleanWorkingDir": true, | ||
"commitMessage": "chore: release v${version}" | ||
}, | ||
"github": { | ||
"release": true | ||
}, | ||
"npm": { | ||
"publish": true, | ||
"publishPath": "./package", | ||
"tag": "latest" | ||
}, | ||
"plugins": { | ||
"@release-it/conventional-changelog": { | ||
"preset": "conventionalcommits", | ||
"infile": "CHANGELOG.md" | ||
} | ||
} | ||
"hooks": { | ||
"after:bump": "npm run build" | ||
}, | ||
"git": { | ||
"requireCleanWorkingDir": true, | ||
"commitMessage": "chore: release v${version}" | ||
}, | ||
"github": { | ||
"release": true | ||
}, | ||
"npm": { | ||
"publish": true, | ||
"publishPath": "./package", | ||
"tag": "latest" | ||
}, | ||
"plugins": { | ||
"@release-it/conventional-changelog": { | ||
"preset": "conventionalcommits", | ||
"infile": "CHANGELOG.md" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
extends: ['@commitlint/config-conventional'] | ||
extends: ['@commitlint/config-conventional'] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ | ||
"extends": "./.svelte-kit/tsconfig.json" | ||
"extends": "./.svelte-kit/tsconfig.json", | ||
"compilerOptions": { | ||
"moduleResolution": "bundler" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,64 @@ | ||
{ | ||
"name": "mdsvexamples", | ||
"version": "0.3.3", | ||
"files": [ | ||
"dist" | ||
], | ||
"exports": { | ||
"./Example.svelte": { | ||
"types": "./dist/Example.svelte.d.ts", | ||
"svelte": "./dist/Example.svelte" | ||
}, | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"svelte": "./dist/index.js" | ||
} | ||
}, | ||
"scripts": { | ||
"dev": "vite dev", | ||
"build:site": "vite build", | ||
"build": "svelte-kit package", | ||
"build": "svelte-package", | ||
"test": "playwright test", | ||
"preview": "vite preview", | ||
"prepare": "svelte-kit sync && husky install", | ||
"prepare": "husky install", | ||
"release": "release-it --npm.tag=latest", | ||
"prerelease": "release-it --preRelease=beta --npm.tag=next", | ||
"lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .", | ||
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ." | ||
}, | ||
"dependencies": { | ||
"abstract-syntax-tree": "^2.20.5", | ||
"abstract-syntax-tree": "^2.21.0", | ||
"prism-svelte": "^0.5.0", | ||
"prismjs": "^1.27.0", | ||
"unist-util-visit": "^4.1.0", | ||
"unplugin": "^1.0.0", | ||
"prismjs": "^1.29.0", | ||
"unist-util-visit": "^4.1.2", | ||
"unplugin": "^1.4.0", | ||
"upath": "^2.0.1" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^16.2.3", | ||
"@commitlint/config-conventional": "^16.2.1", | ||
"@playwright/test": "^1.28.0", | ||
"@release-it/conventional-changelog": "^5.0.0", | ||
"@sveltejs/adapter-auto": "next", | ||
"@sveltejs/kit": "1.0.0-next.377", | ||
"autoprefixer": "^10.4.2", | ||
"eslint": "^7.32.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-svelte3": "^3.2.1", | ||
"@commitlint/config-conventional": "^16.2.4", | ||
"@playwright/test": "^1.36.2", | ||
"@release-it/conventional-changelog": "^5.1.1", | ||
"@sveltejs/adapter-auto": "^2.1.0", | ||
"@sveltejs/kit": "^1.22.4", | ||
"@sveltejs/package": "^2.2.0", | ||
"autoprefixer": "^10.4.14", | ||
"eslint": "^8.0.0", | ||
"eslint-config-prettier": "^8.10.0", | ||
"eslint-plugin-svelte": "^2.32.0", | ||
"husky": "^7.0.4", | ||
"mdsvex": "^0.10.5", | ||
"postcss": "^8.4.5", | ||
"postcss-load-config": "^3.1.1", | ||
"prettier": "^2.5.1", | ||
"prettier-plugin-svelte": "^2.5.0", | ||
"release-it": "^15.1.2", | ||
"svelte": "^3.44.0", | ||
"svelte-preprocess": "^4.10.1", | ||
"svelte2tsx": "^0.5.6", | ||
"tailwindcss": "^3.0.12", | ||
"typescript": "^4.6.2", | ||
"vite": "^3.0.0" | ||
"mdsvex": "^0.10.6", | ||
"postcss": "^8.4.27", | ||
"postcss-load-config": "^3.1.4", | ||
"prettier": "^2.8.8", | ||
"prettier-plugin-svelte": "^2.10.1", | ||
"release-it": "^15.11.0", | ||
"svelte": "^4.0.0", | ||
"svelte-preprocess": "^5.0.0", | ||
"svelte2tsx": "^0.5.23", | ||
"tailwindcss": "^3.3.3", | ||
"typescript": "^5.0.0", | ||
"vite": "^4.4.8" | ||
}, | ||
"type": "module" | ||
} |
Oops, something went wrong.