You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Notice this automatically creates a `package-lock.json` file.
99
+
> Even though dependencies have been installed, if you run `docker images` again, you'll see the image size hasn't changed because the `node_modules` were written to your local volume, not the image layer.
> Notice this automatically creates a `package-lock.json` file.
87
-
> Even though dependencies have been installed, if you run `docker images` again, you'll see the image size hasn't changed because the `node_modules` were written to your local volume, not the image layer.
103
+
Run the following command:
88
104
89
-
2. **Exit the container**
90
-
- Run the following command
105
+
```shell
106
+
exit
107
+
```
108
+
109
+
> [!NOTE]
110
+
> We are now done with the interactive container at this stage and no longer need it.
111
+
112
+
### Create `tsconfig.json`
91
113
92
-
```shell
93
-
exit
94
-
```
114
+
Create `tsconfig.json` and add the following content to configure the TypeScript compiler:
95
115
96
-
> We are now done with the interactive container at this stage and no longer need it.
116
+
```json
117
+
{
118
+
"extends": "@tsconfig/recommended/tsconfig.json",
119
+
"compilerOptions": {
120
+
"outDir": "./build/dist"
121
+
}
122
+
}
123
+
```
97
124
98
-
3. **Create `tsconfig.json`**
99
-
Create `tsconfig.json` and add the following content to configure the TypeScript compiler:
125
+
> [!NOTE]
126
+
> While you could auto-generate this file, our manual configuration using a recommended preset keeps the file minimal and clean.
100
127
101
-
```json
102
-
{
103
-
"extends": "@tsconfig/recommended/tsconfig.json",
104
-
"compilerOptions": {
105
-
"outDir": "./build/dist"
106
-
}
107
-
}
108
-
```
128
+
### Create source file and scripts
109
129
110
-
> ℹ️ While you could auto-generate this file, our manual configuration using a recommended preset keeps the file minimal and clean.
0 commit comments