Skip to content

Commit

Permalink
style: prettier --write . (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhoffa authored Aug 9, 2024
1 parent 5204c38 commit 2282421
Show file tree
Hide file tree
Showing 15 changed files with 312,239 additions and 385 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/issues-gh-to-ado.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
---
# This example file will enable actions that trigger on created or modified GitHub issues.
# This example file will enable actions that trigger on created or modified GitHub issues.
#
# Note the @main in `uses:` on the last line. This will call the latest version of the workflow from the `main` branch in the RMI-PACTA/actions repo.
# You can also specify a tag from that repo, or a commit SHA to pin action versions.
on:
issues:
types:
[opened, edited, deleted, closed, reopened, labeled, unlabeled, assigned]
types: [opened, edited, deleted, closed, reopened, labeled, unlabeled, assigned]
issue_comment:
types: [created, edited, deleted]

Expand Down
6 changes: 2 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"prettier.documentSelectors": [
"**/*.svelte"
],
"prettier.documentSelectors": ["**/*.svelte"],
"tailwindCSS.classAttributes": [
"class",
"accent",
Expand Down Expand Up @@ -117,4 +115,4 @@
"width",
"zIndex"
]
}
}
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ This is a demonstration of a dashboard for the Pacta project using Svelte, Svelt
You will need to have Node.js installed on your machine. You can download it from [nodejs.org](https://nodejs.org/).

First, install the dependencies:
``` bash

```bash
npm install # or pnpm install or yarn
```

Then start a development server:
Then start a development server:

```bash
npm run dev
Expand Down
110 changes: 55 additions & 55 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
{
"name": "pacta-dashboard-svelte",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"test": "npm run test:integration && npm run test:unit",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check . && eslint .",
"format": "prettier --write .",
"test:integration": "playwright test",
"test:unit": "vitest"
},
"devDependencies": {
"@playwright/test": "^1.28.1",
"@skeletonlabs/skeleton": "2.10.1",
"@skeletonlabs/tw-plugin": "0.4.0",
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/adapter-static": "^3.0.2",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@tailwindcss/forms": "0.5.7",
"@tailwindcss/typography": "0.5.13",
"@types/eslint": "^8.56.7",
"@types/node": "20.14.10",
"autoprefixer": "10.4.19",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.36.0",
"globals": "^15.0.0",
"postcss": "8.4.39",
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.1.2",
"svelte": "^4.2.7",
"svelte-check": "^3.6.0",
"tailwindcss": "3.4.4",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"typescript-eslint": "^8.0.0-alpha.20",
"vite": "^5.0.3",
"vite-plugin-tailwind-purgecss": "0.3.3",
"vitest": "^1.2.0"
},
"type": "module",
"dependencies": {
"@floating-ui/dom": "1.6.7",
"d3": "^5.16.0",
"d3-array": "^3.2.4",
"d3-color": "^3.1.0",
"d3-geo-projection": "^4.0.0",
"highlight.js": "11.10.0",
"topojson-client": "^3.1.0"
}
"name": "pacta-dashboard-svelte",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"test": "npm run test:integration && npm run test:unit",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check . && eslint .",
"format": "prettier --write .",
"test:integration": "playwright test",
"test:unit": "vitest"
},
"devDependencies": {
"@playwright/test": "^1.28.1",
"@skeletonlabs/skeleton": "2.10.1",
"@skeletonlabs/tw-plugin": "0.4.0",
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/adapter-static": "^3.0.2",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@tailwindcss/forms": "0.5.7",
"@tailwindcss/typography": "0.5.13",
"@types/eslint": "^8.56.7",
"@types/node": "20.14.10",
"autoprefixer": "10.4.19",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.36.0",
"globals": "^15.0.0",
"postcss": "8.4.39",
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.1.2",
"svelte": "^4.2.7",
"svelte-check": "^3.6.0",
"tailwindcss": "3.4.4",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"typescript-eslint": "^8.0.0-alpha.20",
"vite": "^5.0.3",
"vite-plugin-tailwind-purgecss": "0.3.3",
"vitest": "^1.2.0"
},
"type": "module",
"dependencies": {
"@floating-ui/dom": "1.6.7",
"d3": "^5.16.0",
"d3-array": "^3.2.4",
"d3-color": "^3.1.0",
"d3-geo-projection": "^4.0.0",
"highlight.js": "11.10.0",
"topojson-client": "^3.1.0"
}
}
6 changes: 3 additions & 3 deletions postcss.config.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
autoprefixer: {}
}
};
2 changes: 1 addition & 1 deletion src/app.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en" class="dark">
<head>
<meta charset="utf-8" />
Expand Down
Loading

0 comments on commit 2282421

Please sign in to comment.