-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from tmea-tlip/chore/package-updates
Chore/package updates
- Loading branch information
Showing
81 changed files
with
12,968 additions
and
9,023 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ node_modules | |
.vercel_build_output | ||
.vercel | ||
.env | ||
.updatable-packages |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"line-length": false, | ||
"MD029": false, | ||
"MD041": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,38 @@ | ||
{ | ||
"semi": true, | ||
"trailingComma": "none", | ||
"singleQuote": false, | ||
"printWidth": 120, | ||
"tabWidth": 4, | ||
"useTabs": false, | ||
"arrowParens": "avoid", | ||
"overrides": [ | ||
{ | ||
"files": "*.yaml", | ||
"options": { | ||
"tabWidth": 2 | ||
} | ||
} | ||
] | ||
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"], | ||
"semi": true, | ||
"trailingComma": "none", | ||
"singleQuote": false, | ||
"jsxSingleQuote": false, | ||
"printWidth": 120, | ||
"tabWidth": 4, | ||
"useTabs": true, | ||
"arrowParens": "avoid", | ||
"overrides": [ | ||
{ | ||
"files": "*.yaml", | ||
"options": { | ||
"tabWidth": 2 | ||
} | ||
}, | ||
{ | ||
"files": "*.svelte", | ||
"options": { | ||
"parser": "svelte" | ||
} | ||
}, | ||
{ | ||
"files": ["*.md"], | ||
"options": { | ||
"tabWidth": 2, | ||
"useTabs": false | ||
} | ||
}, | ||
{ | ||
"files": ["*.scss"], | ||
"options": { | ||
"singleQuote": true | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"recommendations": [ | ||
"dbaeumer.vscode-eslint", | ||
"rvest.vs-code-prettier-eslint", | ||
"stylelint.vscode-stylelint", | ||
"svelte.svelte-vscode", | ||
"ardenivanov.svelte-intellisense", | ||
"bradlc.vscode-tailwindcss", | ||
"davidanson.vscode-markdownlint", | ||
"streetsidesoftware.code-spell-checker" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
{ | ||
"css.validate": false, | ||
"scss.lint.unknownAtRules": "ignore" | ||
"css.validate": false, | ||
"scss.lint.unknownAtRules": "ignore", | ||
"eslint.validate": ["svelte"], | ||
"stylelint.validate": ["css", "scss"], | ||
"cSpell.words": ["TLIP"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,54 @@ | ||
# www.tlip.io | ||
# Content for the Main TLIP Web Site | ||
|
||
Web site for TMEA TLIP project [www.tlip.io](www.tlip.io). | ||
Web site for TMA TLIP project [www.tlip.io](www.tlip.io). | ||
|
||
## VSCode | ||
The site is built using Svelte. | ||
|
||
The following VSCode extensions are recommended while working with this package. | ||
## Developing Locally | ||
|
||
* ESLint - <https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint> | ||
* Prettier - <https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode> | ||
* StyleLint - <https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint> | ||
* Svelte - <https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode> | ||
* Tailwind - <https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss> | ||
* Markdown Lint - <https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint> | ||
First install and build the project. | ||
|
||
```shell | ||
npm run install | ||
npm run build | ||
``` | ||
|
||
To run the development build locally: | ||
|
||
```shell | ||
npm run dev | ||
``` | ||
|
||
To run the build and run the production version locally: | ||
|
||
```shell | ||
npm run build | ||
npm run preview | ||
``` | ||
|
||
## Code Quality | ||
|
||
Make sure the code is formatted correctly by running the following command: | ||
|
||
```shell | ||
npm run format | ||
``` | ||
|
||
To validate the quality of your code and check it for errors you can run the following commands. | ||
|
||
```shell | ||
npm run lint | ||
npm run check | ||
``` | ||
|
||
## Contributing | ||
|
||
When creating a new PR make sure you run `npm run dist` before committing, this will run all the checks necessary to ensure code quality. If any of these checks fail locally, they will also fail creating the PR. | ||
|
||
## Deployment | ||
|
||
The project contains GitHub actions to automatically deploy the project. | ||
|
||
When you create a PR for a new feature it will automatically trigger the preview GitHub action, which will first build and check the code, before deploying it to a preview location. | ||
|
||
Features branches that are merged into `main` will trigger the production action to make the site live. |
Oops, something went wrong.