Skip to content

Commit

Permalink
chore: Replace ts-node with tsx
Browse files Browse the repository at this point in the history
Signed-off-by: Joern Bernhardt <joern.bernhardt@googlemail.com>
  • Loading branch information
Narigo authored and meldron committed Jun 5, 2024
1 parent dd9006f commit cbbc270
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 113 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lint": "prettier --check . && eslint .",
"format": "prettier --write . '!participants/*.json'",
"logos": "tsx scripts/logo-to-social-media-pngs.ts",
"update-schema": "node --loader ts-node/esm --experimental-specifier-resolution=node create-json-schema.ts > static/schemas/participants.2024.json && prettier --write ./static/schemas/participants.2024.json"
"update-schema": "tsx create-json-schema.ts > static/schemas/participants.2024.json && prettier --write ./static/schemas/participants.2024.json"
},
"packageManager": "pnpm@9.1.0",
"devDependencies": {
Expand All @@ -36,7 +36,6 @@
"prettier-plugin-svelte": "3.2.3",
"svelte": "4.2.16",
"svelte-check": "3.7.1",
"ts-node": "10.9.2",
"tslib": "2.6.2",
"tsx": "^4.10.5",
"typescript": "5.4.5",
Expand Down
109 changes: 0 additions & 109 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions static/schemas/participants.2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"additionalProperties": false
},
"iCanTakeNotesDuringSessions": { "type": "boolean" },
"tags": { "type": "array", "items": { "type": "string" }, "minItems": 1 },
"tags": { "type": "array", "items": { "type": "string", "minLength": 1 }, "minItems": 1 },
"vegan": { "type": ["boolean", "null"] },
"vegetarian": { "type": ["boolean", "null"] },
"allergies": {
"anyOf": [
{ "type": "array", "items": { "type": "string" }, "minItems": 1 },
{ "type": "array", "items": { "type": "string", "minLength": 1 }, "minItems": 1 },
{ "type": "null" }
]
},
Expand Down

0 comments on commit cbbc270

Please sign in to comment.