Skip to content

Commit 2bb4027

Browse files
committed
initial svelte
1 parent dc2d5b4 commit 2bb4027

344 files changed

Lines changed: 7345 additions & 18670 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎apps/codingcatdev/.eslintignore‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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

‎apps/codingcatdev/.eslintrc.cjs‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
root: true,
3+
parser: '@typescript-eslint/parser',
4+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
5+
plugins: ['svelte3', '@typescript-eslint'],
6+
ignorePatterns: ['*.cjs'],
7+
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
8+
settings: {
9+
'svelte3/typescript': () => require('typescript')
10+
},
11+
parserOptions: {
12+
sourceType: 'module',
13+
ecmaVersion: 2020
14+
},
15+
env: {
16+
browser: true,
17+
es2017: true,
18+
node: true
19+
}
20+
};

‎apps/codingcatdev/.eslintrc.json‎

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

‎apps/codingcatdev/.gitignore‎

Lines changed: 9 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,11 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2-
3-
# dependencies
4-
/node_modules
5-
/.pnp
6-
.pnp.js
7-
8-
# testing
9-
/coverage
10-
11-
# next.js
12-
/.next/
13-
/out/
14-
15-
# production
16-
/build
17-
18-
# misc
191
.DS_Store
20-
*.pem
21-
22-
# debug
23-
npm-debug.log*
24-
yarn-debug.log*
25-
yarn-error.log*
26-
27-
# local env files
28-
.env.local
29-
.env.development.local
30-
.env.test.local
31-
.env.production.local
32-
33-
# vercel
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
vite.config.js.timestamp-*
10+
vite.config.ts.timestamp-*
3411
.vercel
35-
*.env*
36-
37-
public/robots.txt
38-
public/sitemap.xml
39-
40-
# PWA files
41-
**/public/sw.js
42-
**/public/workbox-*.js
43-
**/public/worker-*.js
44-
**/public/sw.js.map
45-
**/public/workbox-*.js.map
46-
**/public/worker-*.js.map

‎apps/codingcatdev/.npmrc‎

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

‎apps/codingcatdev/.prettierignore‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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

‎apps/codingcatdev/.prettierrc‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
{
2-
"semi": true,
3-
"singleQuote": true
2+
"useTabs": true,
3+
"singleQuote": true,
4+
"trailingComma": "none",
5+
"printWidth": 100,
6+
"plugins": ["prettier-plugin-svelte"],
7+
"pluginSearchDirs": ["."],
8+
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
49
}

‎apps/codingcatdev/.turbo/turbo-build.log‎

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
> codingcatdev@2.0.0 lint /Users/ccd/web/codingcatdev/v2-codingcat.dev/apps/codingcatdev
3+
> prettier --plugin-search-dir . --check . && eslint .
4+
5+
Checking formatting...
6+
 ELIFECYCLE  Command failed.

‎apps/codingcatdev/README.md‎

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,38 @@
1-
# codingcat.dev
1+
# create-svelte
22

3-
This is the main site.
3+
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
44

5-
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
5+
## Creating a project
66

7-
## Getting Started
8-
9-
First, run the development server:
7+
If you're seeing this, you've probably already done this step. Congrats!
108

119
```bash
12-
npm run dev
13-
# or
14-
yarn dev
10+
# create a new project in the current directory
11+
npm create svelte@latest
12+
13+
# create a new project in my-app
14+
npm create svelte@latest my-app
1515
```
1616

17-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
17+
## Developing
1818

19-
You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.
19+
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
2020

21-
## Learn More
21+
```bash
22+
npm run dev
2223

23-
To learn more about Next.js, take a look at the following resources:
24+
# or start the server and open the app in a new browser tab
25+
npm run dev -- --open
26+
```
2427

25-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
26-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
28+
## Building
2729

28-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
30+
To create a production version of your app:
2931

30-
## Deploy on Vercel
32+
```bash
33+
npm run build
34+
```
3135

32-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/import?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
36+
You can preview the production build with `npm run preview`.
3337

34-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
38+
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.

0 commit comments

Comments
 (0)