Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

Commit 48dd2e9

Browse files
committed
chore: update deps, readme
1 parent 8360ca0 commit 48dd2e9

File tree

13 files changed

+2038
-2550
lines changed

13 files changed

+2038
-2550
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
version: 2
1+
version: 2.1
22

33
jobs:
44
checkout:
55
working_directory: ~/svelte3-boilerplate
66
docker:
7-
- image: circleci/node:12-browsers
7+
- image: cimg/node:14.17-browsers
88
steps:
99
- checkout
1010
- save_cache:
@@ -14,23 +14,23 @@ jobs:
1414
dependencies:
1515
working_directory: ~/svelte3-boilerplate
1616
docker:
17-
- image: circleci/node:12-browsers
17+
- image: cimg/node:14.17-browsers
1818
steps:
1919
- restore_cache:
2020
key: v0-repo-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }}
2121
- restore_cache:
2222
key: v0-node-{{ .Branch }}-{{ checksum "package.json" }}
2323
- run:
2424
name: Install dependencies
25-
command: npm install
25+
command: npm ci
2626
- save_cache:
2727
key: v0-node-{{ .Branch }}-{{ checksum "package.json" }}
2828
paths:
2929
- ~/svelte3-boilerplate/node_modules
3030
lint:
3131
working_directory: ~/svelte3-boilerplate
3232
docker:
33-
- image: circleci/node:12-browsers
33+
- image: cimg/node:14.17-browsers
3434
steps:
3535
- restore_cache:
3636
key: v0-repo-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }}
@@ -45,7 +45,7 @@ jobs:
4545
build:
4646
working_directory: ~/svelte3-boilerplate
4747
docker:
48-
- image: circleci/node:12-browsers
48+
- image: cimg/node:14.17-browsers
4949
steps:
5050
- restore_cache:
5151
key: v0-repo-{{ .Branch }}-{{ .Environment.CIRCLE_SHA1 }}
File renamed without changes.
File renamed without changes.

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
node: ['16.x', '14.x', '12.x']
16+
node: ['16.0.0', '14.17.0']
1717

1818
steps:
1919
- name: Checkout source code
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2121
- name: Cache node modules
22-
uses: actions/cache@v2
22+
uses: actions/cache@v3
2323
with:
2424
path: ~/.npm
2525
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
2626
restore-keys: |
2727
${{ runner.os }}-node-${{ matrix.node }}
2828
- name: Use Node.js
29-
uses: actions/setup-node@v2
29+
uses: actions/setup-node@v3
3030
with:
3131
node-version: ${{ matrix.node }}
3232
- name: Install dependencies

.gitignore

Lines changed: 160 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
2-
# Created by https://www.gitignore.io/api/intellij+all
3-
# Edit at https://www.gitignore.io/?templates=intellij+all
1+
# Created by https://www.toptal.com/developers/gitignore/api/svelte,intellij+all,node
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=svelte,intellij+all,node
43

54
### Intellij+all ###
6-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
5+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
76
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
87

98
# User-specific stuff
@@ -13,6 +12,9 @@
1312
.idea/**/dictionaries
1413
.idea/**/shelf
1514

15+
# AWS User-specific
16+
.idea/**/aws.xml
17+
1618
# Generated files
1719
.idea/**/contentModel.xml
1820

@@ -33,6 +35,9 @@
3335
# When using Gradle or Maven with auto-import, you should exclude module files,
3436
# since they will be recreated, and may cause churn. Uncomment if using
3537
# auto-import.
38+
# .idea/artifacts
39+
# .idea/compiler.xml
40+
# .idea/jarRepositories.xml
3641
# .idea/modules.xml
3742
# .idea/*.iml
3843
# .idea/modules
@@ -60,6 +65,9 @@ atlassian-ide-plugin.xml
6065
# Cursive Clojure plugin
6166
.idea/replstate.xml
6267

68+
# SonarLint plugin
69+
.idea/sonarlint/
70+
6371
# Crashlytics plugin (for Android Studio and IntelliJ)
6472
com_crashlytics_export_strings.xml
6573
crashlytics.properties
@@ -73,25 +81,160 @@ fabric.properties
7381
.idea/caches/build_file_checksums.ser
7482

7583
### Intellij+all Patch ###
76-
# Ignores the whole .idea folder and all .iml files
77-
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360
84+
# Ignore everything but code style settings and run configurations
85+
# that are supposed to be shared within teams.
86+
87+
.idea/*
88+
89+
### Node ###
90+
# Logs
91+
logs
92+
*.log
93+
npm-debug.log*
94+
yarn-debug.log*
95+
yarn-error.log*
96+
lerna-debug.log*
97+
.pnpm-debug.log*
98+
99+
# Diagnostic reports (https://nodejs.org/api/report.html)
100+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
101+
102+
# Runtime data
103+
pids
104+
*.pid
105+
*.seed
106+
*.pid.lock
107+
108+
# Directory for instrumented libs generated by jscoverage/JSCover
109+
lib-cov
110+
111+
# Coverage directory used by tools like istanbul
112+
coverage
113+
*.lcov
114+
115+
# nyc test coverage
116+
.nyc_output
117+
118+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
119+
.grunt
120+
121+
# Bower dependency directory (https://bower.io/)
122+
bower_components
123+
124+
# node-waf configuration
125+
.lock-wscript
126+
127+
# Compiled binary addons (https://nodejs.org/api/addons.html)
128+
build/Release
129+
130+
# Dependency directories
131+
node_modules/
132+
jspm_packages/
133+
134+
# Snowpack dependency directory (https://snowpack.dev/)
135+
web_modules/
136+
137+
# TypeScript cache
138+
*.tsbuildinfo
139+
140+
# Optional npm cache directory
141+
.npm
142+
143+
# Optional eslint cache
144+
.eslintcache
145+
146+
# Optional stylelint cache
147+
.stylelintcache
148+
149+
# Microbundle cache
150+
.rpt2_cache/
151+
.rts2_cache_cjs/
152+
.rts2_cache_es/
153+
.rts2_cache_umd/
154+
155+
# Optional REPL history
156+
.node_repl_history
157+
158+
# Output of 'npm pack'
159+
*.tgz
160+
161+
# Yarn Integrity file
162+
.yarn-integrity
163+
164+
# dotenv environment variable files
165+
.env
166+
.env.development.local
167+
.env.test.local
168+
.env.production.local
169+
.env.local
170+
171+
# parcel-bundler cache (https://parceljs.org/)
172+
.cache
173+
.parcel-cache
174+
175+
# Next.js build output
176+
.next
177+
out
178+
179+
# Nuxt.js build / generate output
180+
.nuxt
181+
dist
182+
183+
# Gatsby files
184+
.cache/
185+
# Comment in the public line in if your project uses Gatsby and not Next.js
186+
# https://nextjs.org/blog/next-9-1#public-directory-support
187+
# public
188+
189+
# vuepress build output
190+
.vuepress/dist
191+
192+
# vuepress v2.x temp and cache directory
193+
.temp
194+
195+
# Docusaurus cache and generated files
196+
.docusaurus
197+
198+
# Serverless directories
199+
.serverless/
200+
201+
# FuseBox cache
202+
.fusebox/
203+
204+
# DynamoDB Local files
205+
.dynamodb/
206+
207+
# TernJS port file
208+
.tern-port
209+
210+
# Stores VSCode versions used for testing VSCode extensions
211+
.vscode-test
212+
213+
# yarn v2
214+
.yarn/cache
215+
.yarn/unplugged
216+
.yarn/build-state.yml
217+
.yarn/install-state.gz
218+
.pnp.*
219+
220+
### Node Patch ###
221+
# Serverless Webpack directories
222+
.webpack/
78223

79-
.idea/
224+
# Optional stylelint cache
80225

81-
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
226+
# SvelteKit build / generate output
227+
.svelte-kit
82228

83-
*.iml
84-
modules.xml
85-
.idea/misc.xml
86-
*.ipr
229+
### Svelte ###
230+
# gitignore template for the SvelteKit, frontend web component framework
231+
# website: https://kit.svelte.dev/
87232

88-
# Sonarlint plugin
89-
.idea/sonarlint
233+
.svelte-kit/
234+
package
90235

91-
# End of https://www.gitignore.io/api/intellij+all
236+
# End of https://www.toptal.com/developers/gitignore/api/svelte,intellij+all,node
92237

93-
# Svelte
94-
/node_modules/
95238
/public/build/
96239

97240
.DS_Store

.lintstagedrc

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

.lintstagedrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"./**/*.svelte": ["eslint --fix"],
3+
"./**/*.{js,css,scss,html,json,*rc,svelte}": ["prettier --write"]
4+
}
File renamed without changes.

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
dist: bionic
1+
dist: focal
22
language: node_js
33
node_js:
4-
- '12'
5-
- '14'
6-
- '16'
4+
- '14.17.0'
5+
- '16.0.0'
76

87
os:
98
- linux
@@ -13,7 +12,7 @@ cache:
1312
- ./node_modules
1413

1514
install:
16-
- npm install --no-progress
15+
- npm ci --no-progress
1716

1817
script:
1918
- npm run eslint:check

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/smarlhens/svelte3-boilerplate)
1616
![GitHub repo size](https://img.shields.io/github/repo-size/smarlhens/svelte3-boilerplate)
1717

18-
_Psst — looking for a more complete solution? Check out [SvelteKit](https://kit.svelte.dev), the official framework for building web applications of all sizes, with a beautiful development experience and flexible filesystem-based routing._
19-
20-
_Looking for a shareable component template instead? You can [use SvelteKit for that as well](https://kit.svelte.dev/docs#packaging) or the older [sveltejs/component-template](https://github.com/sveltejs/component-template)_
18+
> ⚠️This repo is no longer maintained. Consider using `npm init vite` and selecting the `svelte` option or — if you want a full-fledged app framework and don't mind using pre-1.0 software — use [SvelteKit](https://kit.svelte.dev), the official application framework for Svelte.
2119
2220
---
2321

0 commit comments

Comments
 (0)