Compare commits

...

15 Commits

Author SHA1 Message Date
99df26217e
add classes 2024-04-11 12:20:49 +02:00
0d90bed752
add styles 2024-04-11 12:20:34 +02:00
80a1f981d8
add events 2024-04-11 12:20:25 +02:00
b239b2a5e1
add services 2024-04-11 12:20:15 +02:00
efa5314879
add templates 2024-04-11 12:20:04 +02:00
873d80e6e3
add types 2024-04-11 12:19:58 +02:00
1b394bd9fa
add utils 2024-04-11 12:19:51 +02:00
4a4343be18
add script entrypoint 2024-04-11 12:19:41 +02:00
7b1f9f10a9
add index.html 2024-04-11 12:19:19 +02:00
f5f8c5f107
add sass file 2024-04-11 12:19:02 +02:00
4999f65e34
add parcelrc 2024-04-11 12:18:49 +02:00
62223abbfe
add gitignore 2024-04-11 12:16:09 +02:00
97caa49f4f
add tsconfig 2024-04-11 12:15:41 +02:00
022565e74c
edit licence template 2024-04-11 11:30:52 +02:00
c86dc618b7
add gitignore 2024-04-11 11:30:24 +02:00
31 changed files with 76 additions and 1 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
node_modules
pnpm-lock.yaml
yarn.lock

12
.parcelrc Normal file
View File

@ -0,0 +1,12 @@
{
"extends": "@parcel/config-default",
"transformers": {
"*.{ts,tsx}": ["@parcel/transformer-typescript-tsc"]
},
"compressors": {
"*.{html,css,js,svg,map}": [
"@parcel/compressor-gzip",
"@parcel/compressor-brotli"
]
}
}

3
.sassrc Normal file
View File

@ -0,0 +1,3 @@
{
}

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2024 WorkSimplon
Copyright (c) 2024 NOBODY
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

17
src/index.html Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="styles/index.module.scss">
</head>
<body>
<main>
<header></header>
<section></section>
<footer></footer>
</main>
<script type="module" src="scripts/main.ts"></script>
</body>
</html>

View File

View File

@ -0,0 +1 @@
> Contient les classes...

View File

View File

@ -0,0 +1 @@
> Contient les évenements du DOM

0
src/scripts/main.ts Normal file
View File

View File

View File

@ -0,0 +1 @@
> Contient les services. ex: RegisterService, DisconnectService

View File

View File

@ -0,0 +1 @@
> Contient les templates DOM

View File

View File

@ -0,0 +1 @@
> Contient les interfaces, énumérations et autres...

View File

View File

@ -0,0 +1 @@
> Contient des diférents éléments 'utilitaires'

View File

View File

5
src/styles/readme.md Normal file
View File

@ -0,0 +1,5 @@
```javascript
import * as classes from './style.module.scss';
document.body.className = classes.body;
```

29
tsconfig.json Normal file
View File

@ -0,0 +1,29 @@
{
"compilerOptions": {
"lib": [
"esnext",
"dom"
],
"baseUrl": "/",
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "ESNext",
"isolatedModules": true,
"incremental": true,
"plugins": [],
"paths": {
"@/*": ["./src/*"],
"@class/*": ["./src/class/*"],
"@events/*": ["./src/events/*"],
"@services": ["./src/services"],
"@templates": ["./src/templates"],
"@types": ["./src/types"],
"@utils/*": ["./src/utils/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}