Skip to content

Commit a3a4217

Browse files
Task: Setting up all parts to a production ready structure (#2)
* add vite first full template Signed-off-by: Carlos Feria <[email protected]> * add predefined pages Signed-off-by: Carlos Feria <[email protected]> * add basic tanstack query Signed-off-by: Carlos Feria <[email protected]> * remove tests Signed-off-by: Carlos Feria <[email protected]> * remove generated code from git & fix format failing builds Signed-off-by: Carlos Feria <[email protected]> * use appropriate logos & update readme Signed-off-by: Carlos Feria <[email protected]> * enhance typo on login Signed-off-by: Carlos Feria <[email protected]> --------- Signed-off-by: Carlos Feria <[email protected]>
1 parent e0ee43a commit a3a4217

File tree

123 files changed

+6677
-7422
lines changed

Some content is hidden

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

123 files changed

+6677
-7422
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
*/dist/

.eslintrc.json

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

.github/workflows/ci.yaml

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,30 @@
11
name: CI
2+
23
on:
3-
pull_request:
44
push:
55
branches:
6-
- main
6+
- "main"
7+
pull_request:
8+
branches:
9+
- "main"
10+
workflow_dispatch:
11+
workflow_call:
712

813
jobs:
9-
lint:
10-
name: Lint
11-
runs-on: ubuntu-latest
12-
steps:
13-
- name: Checkout
14-
uses: actions/checkout@v3
15-
- name: Setup Node.js
16-
uses: actions/setup-node@v3
17-
with:
18-
node-version: lts/*
19-
- name: Install dependencies
20-
run: npm install
21-
- name: Run eslint
22-
run: npm run lint
23-
build:
24-
name: Build
14+
ci:
2515
runs-on: ubuntu-latest
2616
steps:
27-
- name: Checkout
28-
uses: actions/checkout@v3
29-
- name: Setup Node.js
30-
uses: actions/setup-node@v3
17+
- uses: actions/checkout@v4
18+
- name: Use Node.js
19+
uses: actions/setup-node@v4
3120
with:
32-
node-version: lts/*
21+
node-version: 22
22+
cache: npm
3323
- name: Install dependencies
34-
run: npm install
35-
- name: Attempt a build
24+
run: npm ci --ignore-scripts
25+
- name: Build
3626
run: npm run build
27+
- name: Lint sources
28+
run: npm run lint
29+
- name: Check
30+
run: npm run format

.github/workflows/deploy.yaml

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

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,5 @@ storybook-static/
141141

142142
.idea/
143143
.vscode/
144+
145+
client/src/app/client/

.prettierignore

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
1-
package.json
1+
# Library, IDE and build locations
2+
**/node_modules/
3+
**/coverage/
4+
**/dist/
5+
.vscode/
6+
.idea/
7+
.eslintcache/
8+
9+
#
10+
# NOTE: Could ignore anything that eslint will look at since eslint also applies
11+
# prettier.
12+
#
13+
**/dist
14+
client/src/app/client/

.prettierrc

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

.prettierrc.mjs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/** @type {import("prettier").Config} */
2+
const config = {
3+
trailingComma: "es5", // es5 was the default in prettier v2
4+
semi: true,
5+
singleQuote: false,
6+
printWidth: 120,
7+
8+
// Values used from .editorconfig:
9+
// - printWidth == max_line_length
10+
// - tabWidth == indent_size
11+
// - useTabs == indent_style
12+
// - endOfLine == end_of_line
13+
};
14+
15+
export default config;

.storybook/main.ts

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

.storybook/preview.tsx

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

0 commit comments

Comments
 (0)