Skip to content

Commit 9a1be5a

Browse files
committed
Migrate to svelte-package
1 parent d9055c7 commit 9a1be5a

25 files changed

+167
-265
lines changed

.eslintignore

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
1-
/docs/build/
2-
/dist/
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
10+
# Ignore files for PNPM, NPM and YARN
11+
pnpm-lock.yaml
12+
package-lock.json
13+
yarn.lock

.eslintrc.cjs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
module.exports = {
2+
root: true,
3+
extends: ['eslint:recommended', 'prettier'],
4+
plugins: ['svelte3'],
5+
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
6+
parserOptions: {
7+
sourceType: 'module',
8+
ecmaVersion: 2020
9+
},
10+
env: {
11+
browser: true,
12+
es2017: true,
13+
node: true
14+
},
15+
rules: {
16+
'no-tabs': 'error',
17+
'no-unexpected-multiline': 'error'
18+
}
19+
}

.eslintrc.js

Lines changed: 0 additions & 17 deletions
This file was deleted.

.gitignore

Lines changed: 8 additions & 142 deletions
Original file line numberDiff line numberDiff line change
@@ -1,144 +1,10 @@
1-
# Created by https://www.toptal.com/developers/gitignore/api/macos,node
2-
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,node
3-
4-
/dist/
5-
/docs/build/
6-
7-
### macOS ###
8-
# General
91
.DS_Store
10-
.AppleDouble
11-
.LSOverride
12-
13-
# Icon must end with two \r
14-
Icon
15-
16-
# Thumbnails
17-
._*
18-
19-
# Files that might appear in the root of a volume
20-
.DocumentRevisions-V100
21-
.fseventsd
22-
.Spotlight-V100
23-
.TemporaryItems
24-
.Trashes
25-
.VolumeIcon.icns
26-
.com.apple.timemachine.donotpresent
27-
28-
# Directories potentially created on remote AFP share
29-
.AppleDB
30-
.AppleDesktop
31-
Network Trash Folder
32-
Temporary Items
33-
.apdisk
34-
35-
### Node ###
36-
# Logs
37-
logs
38-
*.log
39-
npm-debug.log*
40-
yarn-debug.log*
41-
yarn-error.log*
42-
lerna-debug.log*
43-
44-
# Diagnostic reports (https://nodejs.org/api/report.html)
45-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
46-
47-
# Runtime data
48-
pids
49-
*.pid
50-
*.seed
51-
*.pid.lock
52-
53-
# Directory for instrumented libs generated by jscoverage/JSCover
54-
lib-cov
55-
56-
# Coverage directory used by tools like istanbul
57-
coverage
58-
*.lcov
59-
60-
# nyc test coverage
61-
.nyc_output
62-
63-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
64-
.grunt
65-
66-
# Bower dependency directory (https://bower.io/)
67-
bower_components
68-
69-
# node-waf configuration
70-
.lock-wscript
71-
72-
# Compiled binary addons (https://nodejs.org/api/addons.html)
73-
build/Release
74-
75-
# Dependency directories
76-
node_modules/
77-
jspm_packages/
78-
79-
# TypeScript v1 declaration files
80-
typings/
81-
82-
# TypeScript cache
83-
*.tsbuildinfo
84-
85-
# Optional npm cache directory
86-
.npm
87-
88-
# Optional eslint cache
89-
.eslintcache
90-
91-
# Microbundle cache
92-
.rpt2_cache/
93-
.rts2_cache_cjs/
94-
.rts2_cache_es/
95-
.rts2_cache_umd/
96-
97-
# Optional REPL history
98-
.node_repl_history
99-
100-
# Output of 'npm pack'
101-
*.tgz
102-
103-
# Yarn Integrity file
104-
.yarn-integrity
105-
106-
# dotenv environment variables file
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
1076
.env
108-
.env.test
109-
110-
# parcel-bundler cache (https://parceljs.org/)
111-
.cache
112-
113-
# Next.js build output
114-
.next
115-
116-
# Nuxt.js build / generate output
117-
.nuxt
118-
dist
119-
120-
# Gatsby files
121-
.cache/
122-
# Comment in the public line in if your project uses Gatsby and not Next.js
123-
# https://nextjs.org/blog/next-9-1#public-directory-support
124-
# public
125-
126-
# vuepress build output
127-
.vuepress/dist
128-
129-
# Serverless directories
130-
.serverless/
131-
132-
# FuseBox cache
133-
.fusebox/
134-
135-
# DynamoDB Local files
136-
.dynamodb/
137-
138-
# TernJS port file
139-
.tern-port
140-
141-
# Stores VSCode versions used for testing VSCode extensions
142-
.vscode-test
143-
144-
# End of https://www.toptal.com/developers/gitignore/api/macos,node
7+
.env.*
8+
!.env.example
9+
vite.config.js.timestamp-*
10+
vite.config.ts.timestamp-*

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

.prettierignore

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
1-
/docs/build/
2-
/dist/
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
10+
# Ignore files for PNPM, NPM and YARN
11+
pnpm-lock.yaml
12+
package-lock.json
13+
yarn.lock

.prettierrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
22
"useTabs": false,
3-
"semi": false,
43
"singleQuote": true,
54
"trailingComma": "none",
65
"printWidth": 100,
6+
"plugins": ["prettier-plugin-svelte"],
7+
"pluginSearchDirs": ["."],
8+
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }],
9+
"semi": false,
710
"proseWrap": "always",
8-
"svelteSortOrder": "options-scripts-markup-styles",
911
"svelteIndentScriptAndStyle": false
1012
}

docs/favicon.ico

-33.7 KB
Binary file not shown.

docs/index.html

Lines changed: 0 additions & 14 deletions
This file was deleted.

docs/main.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)