Skip to content

Commit 1fbcee5

Browse files
Merge branch 'main' into #71-fix-losing-styleClass
2 parents 3647e9e + ead4840 commit 1fbcee5

Some content is hidden

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

61 files changed

+3070
-2514
lines changed

.devcontainer/devcontainer.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
3+
{
4+
"name": "Node.js & TypeScript",
5+
6+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
7+
// Here we use node 20 with the bullseye release of Debian.
8+
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye",
9+
10+
// Features to add to the dev container. More info: https://containers.dev/features.
11+
// "features": {},
12+
13+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
14+
15+
// Use 'postCreateCommand' to run commands after the container is created.
16+
"postCreateCommand": "bash -i .devcontainer/postCreateCommand.sh",
17+
18+
// "postStartCommand": "bash -i .devcontainer/postStartCommand.sh",
19+
20+
// Configure tool-specific properties.
21+
// This adds a more advanced git
22+
"customizations": {
23+
"vscode": {
24+
"extensions": [
25+
"mhutchie.git-graph"
26+
]
27+
}
28+
}
29+
30+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
31+
// "remoteUser": "root"
32+
}

.devcontainer/postCreateCommand.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
# xdg-open is used to open the browser in the vite start script
4+
# This is not installed by default in the node image
5+
sudo apt-get update
6+
sudo apt-get install -y xdg-utils
7+
8+
npm install

.devcontainer/postStartCommand.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
3+
# This script is executed each time if the container is started.
4+
5+
#cd /workspaces/text-annotator-js/packages/extension-tei
6+
#cd /workspaces/text-annotator-js/packages/text-annotator-react
7+
8+
#cd packages/text-annotator
9+
10+
#npm run start
11+
#npm run test

0 commit comments

Comments
 (0)