@morda-dev/create-sdk 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -0
- package/bin/create-sdk.js +185 -31
- package/package.json +14 -4
- package/template/.github/workflows/ci.yml +30 -35
- package/template/api-extractor.json +6 -6
- package/template/etc/project-template.api.md +32 -32
- package/template/package.json +14 -5
- package/template/src/index.ts +8 -2
- package/template/src/modules/user.ts +23 -4
- package/template/src/types/user.ts +11 -3
- package/template/.editorconfig +0 -0
- package/template/.github/CODEOWNERS +0 -2
- package/template/.github/ISSUE_TEMPLATE/bug_report.md +0 -35
- package/template/.github/ISSUE_TEMPLATE/feature_request.md +0 -26
- package/template/.github/dependabot.yml +0 -18
- package/template/.github/pull_request_template.md +0 -25
- package/template/.github/workflows/auto-release.yml +0 -77
- package/template/.github/workflows/deploy-pages.yml +0 -73
- package/template/.github/workflows/docs-ci.yml +0 -38
- package/template/.github/workflows/docs.yml +0 -19
- package/template/.github/workflows/release.yml +0 -51
- package/template/.husky/commit-msg +0 -4
- package/template/.husky/pre-commit +0 -4
- package/template/.prettierrc +0 -0
- package/template/CHANGELOG.md +0 -49
- package/template/CODE_OF_CONDUCT.md +0 -40
- package/template/CONTRIBUTING.md +0 -38
- package/template/SECURITY.md +0 -16
- package/template/TEST_DEPLOY.md +0 -0
- package/template/ci-cd.md +0 -93
- package/template/commitlint.config.cjs +0 -3
- package/template/coverage/base.css +0 -224
- package/template/coverage/block-navigation.js +0 -87
- package/template/coverage/clover.xml +0 -6
- package/template/coverage/coverage-final.json +0 -1
- package/template/coverage/favicon.png +0 -0
- package/template/coverage/index.html +0 -101
- package/template/coverage/prettify.css +0 -1
- package/template/coverage/prettify.js +0 -2
- package/template/coverage/sort-arrow-sprite.png +0 -0
- package/template/coverage/sorter.js +0 -210
- package/template/docs/api/README.md +0 -5
- package/template/docs/api-auto/README.md +0 -5
- package/template/docs/index.html +0 -73
- package/template/docs/index.md +0 -28
- package/template/docusaurus-build/.github/workflows/deploy-docs.yml +0 -46
- package/template/docusaurus-build/.github/workflows/deploy-pages.yml +0 -43
- package/template/docusaurus-build/README.md +0 -44
- package/template/docusaurus-build/blog/authors.yml +0 -34
- package/template/docusaurus-build/blog/hello-world.md +0 -9
- package/template/docusaurus-build/docs/ci-cd.md +0 -62
- package/template/docusaurus-build/docs/conventions.md +0 -50
- package/template/docusaurus-build/docs/folder-structure.md +0 -24
- package/template/docusaurus-build/docs/getting-started.md +0 -24
- package/template/docusaurus-build/docs/intro.md +0 -14
- package/template/docusaurus-build/docs/project-architecture.md +0 -125
- package/template/docusaurus-build/docs/project-template/architecture.md +0 -82
- package/template/docusaurus-build/docs/project-template/getting-started.md +0 -24
- package/template/docusaurus-build/docs/project-template/overview.md +0 -78
- package/template/docusaurus-build/docs/project-template/structure.md +0 -145
- package/template/docusaurus-build/docs/scripts.md +0 -42
- package/template/docusaurus-build/docs/testing.md +0 -30
- package/template/docusaurus-build/docusaurus-build/sidebars.ts +0 -30
- package/template/docusaurus-build/docusaurus-build/tsconfig.json +0 -8
- package/template/docusaurus-build/docusaurus-build/typedoc.tsconfig.json +0 -28
- package/template/docusaurus-build/docusaurus.config.ts +0 -129
- package/template/docusaurus-build/package-lock.json +0 -18235
- package/template/docusaurus-build/package.json +0 -51
- package/template/docusaurus-build/project-template/README.md +0 -44
- package/template/docusaurus-build/project-template/src/index.ts +0 -4
- package/template/docusaurus-build/project-template/src/modules/user.ts +0 -20
- package/template/docusaurus-build/project-template/src/types/user.ts +0 -5
- package/template/docusaurus-build/sidebars.ts +0 -20
- package/template/docusaurus-build/src/components/HomepageFeatures/index.tsx +0 -71
- package/template/docusaurus-build/src/components/HomepageFeatures/styles.module.css +0 -11
- package/template/docusaurus-build/src/css/custom.css +0 -30
- package/template/docusaurus-build/src/pages/index.module.css +0 -23
- package/template/docusaurus-build/src/pages/index.tsx +0 -52
- package/template/docusaurus-build/src/pages/markdown-page.md +0 -7
- package/template/docusaurus-build/static/.nojekyll +0 -0
- package/template/docusaurus-build/static/api/.nojekyll +0 -1
- package/template/docusaurus-build/static/api/assets/hierarchy.js +0 -1
- package/template/docusaurus-build/static/api/assets/highlight.css +0 -22
- package/template/docusaurus-build/static/api/assets/icons.js +0 -18
- package/template/docusaurus-build/static/api/assets/icons.svg +0 -1
- package/template/docusaurus-build/static/api/assets/main.js +0 -60
- package/template/docusaurus-build/static/api/assets/navigation.js +0 -1
- package/template/docusaurus-build/static/api/assets/search.js +0 -1
- package/template/docusaurus-build/static/api/assets/style.css +0 -1633
- package/template/docusaurus-build/static/api/functions/modules_user.getUser.html +0 -1
- package/template/docusaurus-build/static/api/functions/modules_user.sumAges.html +0 -1
- package/template/docusaurus-build/static/api/hierarchy.html +0 -1
- package/template/docusaurus-build/static/api/index.html +0 -1
- package/template/docusaurus-build/static/api/modules/index.html +0 -1
- package/template/docusaurus-build/static/api/modules/modules_user.html +0 -1
- package/template/docusaurus-build/static/api/modules/types_user.html +0 -1
- package/template/docusaurus-build/static/api/types/types_user.ApiResult.html +0 -3
- package/template/docusaurus-build/static/api/types/types_user.User.html +0 -4
- package/template/docusaurus-build/static/img/docusaurus-social-card.jpg +0 -0
- package/template/docusaurus-build/static/img/docusaurus.png +0 -0
- package/template/docusaurus-build/static/img/favicon.ico +0 -0
- package/template/docusaurus-build/static/img/logo.svg +0 -1
- package/template/docusaurus-build/static/img/undraw_docusaurus_mountain.svg +0 -171
- package/template/docusaurus-build/static/img/undraw_docusaurus_react.svg +0 -170
- package/template/docusaurus-build/static/img/undraw_docusaurus_tree.svg +0 -40
- package/template/docusaurus-build/tsconfig.json +0 -8
- package/template/docusaurus-build/typedoc.json +0 -14
- package/template/docusaurus-build/typedoc.tsconfig.json +0 -7
- package/template/eslint.config.mjs +0 -72
- package/template/morda-dev-project-template-0.1.1.tgz +0 -0
- package/template/package-lock.json +0 -45
- package/template/scripts/commitlint-runner.mjs +0 -10
- package/template/test.ts +0 -4
- package/template/tests/example.test.js +0 -3
- package/template/tests/public-api.snapshot.test.ts +0 -13
- package/template/tests/public-api.test.ts +0 -58
- package/template/tests/user.test.ts +0 -16
- package/template/tsconfig.eslint.json +0 -14
- package/template/typedoc.json +0 -6
- package/template/vitest.config.ts +0 -12
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { themes as prismThemes } from "prism-react-renderer";
|
|
2
|
-
import type { Config } from "@docusaurus/types";
|
|
3
|
-
import type * as Preset from "@docusaurus/preset-classic";
|
|
4
|
-
|
|
5
|
-
const config: Config = {
|
|
6
|
-
title: "Project Template Docs",
|
|
7
|
-
tagline: "Production-ready TypeScript template",
|
|
8
|
-
favicon: "img/favicon.ico",
|
|
9
|
-
|
|
10
|
-
url: "https://project-template-bvv.pages.dev",
|
|
11
|
-
baseUrl: "/",
|
|
12
|
-
|
|
13
|
-
organizationName: "mordaHQ",
|
|
14
|
-
projectName: "project-template",
|
|
15
|
-
|
|
16
|
-
trailingSlash: false,
|
|
17
|
-
|
|
18
|
-
// 🔒 СТРОГО: реальные ошибки ловим
|
|
19
|
-
onBrokenLinks: "throw",
|
|
20
|
-
|
|
21
|
-
// ✅ v3.9+ / v4-ready
|
|
22
|
-
markdown: {
|
|
23
|
-
hooks: {
|
|
24
|
-
onBrokenMarkdownLinks: "warn",
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
i18n: {
|
|
29
|
-
defaultLocale: "en",
|
|
30
|
-
locales: ["en"],
|
|
31
|
-
},
|
|
32
|
-
|
|
33
|
-
presets: [
|
|
34
|
-
[
|
|
35
|
-
"classic",
|
|
36
|
-
{
|
|
37
|
-
docs: {
|
|
38
|
-
path: "docs",
|
|
39
|
-
routeBasePath: "/", // docs = homepage
|
|
40
|
-
sidebarPath: "./sidebars.ts",
|
|
41
|
-
editUrl:
|
|
42
|
-
"https://github.com/mordaHQ/project-template/tree/main/docusaurus-build/",
|
|
43
|
-
},
|
|
44
|
-
|
|
45
|
-
blog: {
|
|
46
|
-
showReadingTime: true,
|
|
47
|
-
blogTitle: "Project Blog",
|
|
48
|
-
blogDescription: "Updates, releases and development notes",
|
|
49
|
-
onUntruncatedBlogPosts: "ignore",
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
theme: {
|
|
53
|
-
customCss: "./src/css/custom.css",
|
|
54
|
-
},
|
|
55
|
-
} satisfies Preset.Options,
|
|
56
|
-
],
|
|
57
|
-
],
|
|
58
|
-
|
|
59
|
-
themeConfig: {
|
|
60
|
-
navbar: {
|
|
61
|
-
title: "Project Docs",
|
|
62
|
-
logo: {
|
|
63
|
-
alt: "Logo",
|
|
64
|
-
src: "img/logo.svg",
|
|
65
|
-
},
|
|
66
|
-
items: [
|
|
67
|
-
{
|
|
68
|
-
type: "docSidebar",
|
|
69
|
-
sidebarId: "tutorialSidebar",
|
|
70
|
-
label: "Docs",
|
|
71
|
-
position: "left",
|
|
72
|
-
},
|
|
73
|
-
|
|
74
|
-
// ✅ КЛЮЧЕВОЙ ФИКС — API НЕ ВАЛИДИРУЕТСЯ
|
|
75
|
-
{
|
|
76
|
-
type: "html",
|
|
77
|
-
position: "left",
|
|
78
|
-
value: `
|
|
79
|
-
<a class="navbar__item navbar__link"
|
|
80
|
-
href="/api/index.html"
|
|
81
|
-
target="_self"
|
|
82
|
-
rel="noopener">
|
|
83
|
-
API
|
|
84
|
-
</a>
|
|
85
|
-
`,
|
|
86
|
-
},
|
|
87
|
-
|
|
88
|
-
{
|
|
89
|
-
to: "/blog",
|
|
90
|
-
label: "Blog",
|
|
91
|
-
position: "left",
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
href: "https://github.com/mordaHQ/project-template",
|
|
95
|
-
label: "GitHub",
|
|
96
|
-
position: "right",
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
},
|
|
100
|
-
|
|
101
|
-
footer: {
|
|
102
|
-
style: "dark",
|
|
103
|
-
links: [
|
|
104
|
-
{
|
|
105
|
-
title: "Docs",
|
|
106
|
-
items: [{ label: "Intro", to: "/" }],
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
title: "More",
|
|
110
|
-
items: [
|
|
111
|
-
{ label: "Blog", to: "/blog" },
|
|
112
|
-
{
|
|
113
|
-
label: "GitHub",
|
|
114
|
-
href: "https://github.com/mordaHQ/project-template",
|
|
115
|
-
},
|
|
116
|
-
],
|
|
117
|
-
},
|
|
118
|
-
],
|
|
119
|
-
copyright: `Copyright © ${new Date().getFullYear()} Project Template.`,
|
|
120
|
-
},
|
|
121
|
-
|
|
122
|
-
prism: {
|
|
123
|
-
theme: prismThemes.github,
|
|
124
|
-
darkTheme: prismThemes.dracula,
|
|
125
|
-
},
|
|
126
|
-
},
|
|
127
|
-
};
|
|
128
|
-
|
|
129
|
-
export default config;
|