Skip to content

Commit

Permalink
Add simple LayerChart integration template (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
techniq committed Nov 12, 2023
1 parent 7b081bb commit 877d00d
Show file tree
Hide file tree
Showing 30 changed files with 7,632 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/shy-shrimps-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte-ux': minor
---

Add simple LayerChart integration template
13 changes: 13 additions & 0 deletions packages/create-svelte-ux/templates/layerchart/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock
30 changes: 30 additions & 0 deletions packages/create-svelte-ux/templates/layerchart/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module.exports = {
root: true,
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:svelte/recommended',
'prettier',
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020,
extraFileExtensions: ['.svelte'],
},
env: {
browser: true,
es2017: true,
node: true,
},
overrides: [
{
files: ['*.svelte'],
parser: 'svelte-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
},
},
],
};
9 changes: 9 additions & 0 deletions packages/create-svelte-ux/templates/layerchart/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
4 changes: 4 additions & 0 deletions packages/create-svelte-ux/templates/layerchart/.meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "LayerChart",
"hint": "Starter application with LayerChart integration"
}
1 change: 1 addition & 0 deletions packages/create-svelte-ux/templates/layerchart/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
13 changes: 13 additions & 0 deletions packages/create-svelte-ux/templates/layerchart/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock
9 changes: 9 additions & 0 deletions packages/create-svelte-ux/templates/layerchart/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"pluginSearchDirs": ["."],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
}
14 changes: 14 additions & 0 deletions packages/create-svelte-ux/templates/layerchart/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# create-svelte-ux-demo

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:

```bash
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open
```

You will learn the rest on the Home page of the demo app.

More info on: https://svelte-ux.techniq.dev/
Loading

1 comment on commit 877d00d

@vercel
Copy link

@vercel vercel bot commented on 877d00d Nov 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.