A Node.js and TypeScript Framework on top of Express. It provides a lot of decorators and guidelines to write your code.
This repository is the new website for Ts.ED. It replaces the old website https://tsed.io based on VuePress 1.x by a new website based on VitePress.
yarn install
yarn docs:dev
yarn storybook
yarn docs:build
Note: The build check the dead links in the documentation.
Most of the VuePress feature are available in VitePress. However, VuePress use Vue 2 and VitePress use Vue 3. So right now, we migrate the content without all custom components.
- Ask me to be added to the migration team (it gives you access to this repo)
- Go to this link to pick and assign you a task: #14
- Start PR
- Get the legacy content from https://github.com/tsedio/tsed/tree/production/docs
- Review the content and migrate syntax that must me converted (see syntax migration)
- Submit PR
Migrate page per page is really fast and you should take very little time but will enormously advance migration. So thank you for your help!!
In VuePress, we use a custom Tabs component to display content in tabs:
<Tabs class="-code">
<Tab label="Jest"> <<< @/docs/snippets/testing/parse-service.jest.spec.ts </Tab>
<Tab label="Vitest"> <<< @/docs/snippets/testing/parse-service.vitest.spec.ts </Tab>
<Tab label="Mocha"> <<< @/docs/snippets/testing/parse-service.mocha.spec.ts </Tab>
<Tab label="ParseService.ts"> <<< @/docs/snippets/testing/parse-service.ts </Tab>
</Tabs>
VitePress has a custom markdown syntax for tabs. Base on the previous example, we can rewrite the previous example like this:
::: code-group
<<< @/docs/snippets/testing/parse-service.jest.spec.ts [jest]
<<< @/docs/snippets/testing/parse-service.vitest.spec.ts [vitest]
<<< @/docs/snippets/testing/parse-service.mocha.spec.ts [mocha]
<<< @/docs/snippets/testing/parse-service.ts [ParseService.ts]
:::
Please read contributing guidelines here.
Thank you to all our backers! 🙏 [Become a backer]
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
The MIT License (MIT)
Copyright (c) 2016 - 2023 Romain Lenzotti
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:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.