Skip to content

Commit

Permalink
add nx and typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
damienmortini committed Aug 30, 2023
1 parent f18ed02 commit 0f3a840
Show file tree
Hide file tree
Showing 12 changed files with 10,016 additions and 4,395 deletions.
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"@damienmortini/prettier-config"
1 change: 1 addition & 0 deletions globals.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module '*.css'
55 changes: 26 additions & 29 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,33 +1,30 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<title></title>
<link rel="icon" href="data:," />
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
html,
body {
height: 100%;
margin: 0;
}

<head>
<meta charset="UTF-8">
<title></title>
<link rel="icon" href="data:,">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html,
body {
height: 100%;
margin: 0;
}
starter-main {
width: 100%;
height: 100%;
}
</style>
</head>

starter-main {
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<starter-main></starter-main>

<body>
<starter-main></starter-main>

<script type="module">
import './node_modules/@damienmortini/starter-main/index.js';
</script>

</body>

</html>
<script type="module">
import './node_modules/@damienmortini/starter-main/dist/index.js'
</script>
</body>
</html>
8 changes: 0 additions & 8 deletions jsconfig.json

This file was deleted.

26 changes: 26 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"tasksRunnerOptions": {
"default": {
"runner": "nx-cloud",
"options": {
"cacheableOperations": [
"build"
],
"accessToken": "YmRjYjY4MzQtZjc0Yy00ZGJlLTkzYWItNjlmMzRkYjczNGZhfHJlYWQtd3JpdGU="
}
}
},
"targetDefaults": {
"build": {
"dependsOn": [
"^build"
],
"outputs": [
"{projectRoot}/dist"
]
}
},
"affected": {
"defaultBase": "main"
}
}
Loading

0 comments on commit 0f3a840

Please sign in to comment.