@patternfly/patternfly-doc-core 1.0.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/.astro/collections/dir.schema.json +28 -0
- package/.astro/collections/textContent.schema.json +28 -0
- package/.astro/content-assets.mjs +1 -0
- package/.astro/content-modules.mjs +1 -0
- package/.astro/content.d.ts +171 -0
- package/.astro/types.d.ts +2 -0
- package/.github/workflows/build.yml +61 -0
- package/.history/package_20250227163130.json +97 -0
- package/.history/package_20250227163527.json +97 -0
- package/.history/package_20250227163646.json +97 -0
- package/.history/package_20250227163651.json +97 -0
- package/.history/package_20250227163654.json +97 -0
- package/.history/package_20250227163657.json +97 -0
- package/.history/package_20250227163659.json +97 -0
- package/.history/package_20250227164608.json +97 -0
- package/.history/package_20250227164611.json +97 -0
- package/.history/package_20250227164616.json +98 -0
- package/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +11 -0
- package/README.md +49 -0
- package/astro.config.mjs +18 -0
- package/babel.config.cjs +4 -0
- package/cli/cli.ts +81 -0
- package/cli/createCollectionContent.ts +31 -0
- package/cli/createConfigFile.ts +36 -0
- package/cli/getConfig.ts +28 -0
- package/cli/setFsRootDir.ts +29 -0
- package/cli/templates/package.json +19 -0
- package/cli/templates/pf-docs.config.mjs +20 -0
- package/cli/testData/good.config.js +12 -0
- package/cli/tsconfig.json +9 -0
- package/cli/updatePackageFile.ts +55 -0
- package/dist/PF-HorizontalLogo-Color.svg +29 -0
- package/dist/PF-HorizontalLogo-Reverse.svg +28 -0
- package/dist/_astro/ClientRouter.astro_astro_type_script_index_0_lang.BScVxmeO.js +1 -0
- package/dist/_astro/Navigation.BoL0fVlO.js +1 -0
- package/dist/_astro/PageContext.CGSBAxAd.js +9 -0
- package/dist/_astro/PageToggle.jHn9PsTr.js +1 -0
- package/dist/_astro/RedHatDisplayVF-Italic.CRpusWc8.woff2 +0 -0
- package/dist/_astro/RedHatDisplayVF.CYDHf1NI.woff2 +0 -0
- package/dist/_astro/RedHatMonoVF-Italic.DGQo2ogW.woff2 +0 -0
- package/dist/_astro/RedHatMonoVF.C4fMH6Vz.woff2 +0 -0
- package/dist/_astro/RedHatTextVF-Italic.Dkj_WqbA.woff2 +0 -0
- package/dist/_astro/RedHatTextVF.wYvZ7prR.woff2 +0 -0
- package/dist/_astro/Toolbar.BI0orElX.js +1 -0
- package/dist/_astro/_id_.DZfGTTvw.css +1 -0
- package/dist/_astro/_id_.EhyPoRav.css +1 -0
- package/dist/_astro/client.DBe4QnD_.js +1 -0
- package/dist/_astro/divider.DrQDtXS2.js +1 -0
- package/dist/_astro/fa-solid-900.DguXoeIz.woff2 +0 -0
- package/dist/_astro/index.IDjx8w0N.js +32 -0
- package/dist/_astro/navStore.br_igkhP.js +1 -0
- package/dist/_astro/pf-v6-pficon.Dy6oiu9u.woff2 +0 -0
- package/dist/avatarImg.svg +18 -0
- package/dist/avatarImgDark.svg +16 -0
- package/dist/cli/cli.js +57 -0
- package/dist/cli/createCollectionContent.js +26 -0
- package/dist/cli/createConfigFile.js +22 -0
- package/dist/cli/getConfig.js +14 -0
- package/dist/cli/setFsRootDir.js +20 -0
- package/dist/cli/templates/pf-docs.config.mjs +20 -0
- package/dist/cli/tsconfig.tsbuildinfo +1 -0
- package/dist/cli/updatePackageFile.js +35 -0
- package/dist/content/typography/line-height.png +0 -0
- package/dist/design-foundations/typography/index.html +193 -0
- package/dist/design-foundations/usage-and-behavior/index.html +342 -0
- package/dist/favicon.svg +9 -0
- package/dist/get-started/contribute/index.html +89 -0
- package/dist/index.html +42 -0
- package/eslint.config.mjs +131 -0
- package/jest.config.ts +27 -0
- package/package.json +98 -0
- package/public/PF-HorizontalLogo-Color.svg +29 -0
- package/public/PF-HorizontalLogo-Reverse.svg +28 -0
- package/public/avatarImg.svg +18 -0
- package/public/avatarImgDark.svg +16 -0
- package/public/content/typography/line-height.png +0 -0
- package/public/favicon.svg +9 -0
- package/release.config.mjs +16 -0
- package/src/__mocks__/styleMock.ts +2 -0
- package/src/components/Breadcrumbs.astro +10 -0
- package/src/components/KebabDropdownItems.astro +14 -0
- package/src/components/KebabDropdownItems.tsx +15 -0
- package/src/components/Masthead.astro +30 -0
- package/src/components/NavEntry.tsx +26 -0
- package/src/components/NavSection.tsx +38 -0
- package/src/components/Navigation.astro +13 -0
- package/src/components/Navigation.tsx +58 -0
- package/src/components/Page.astro +19 -0
- package/src/components/PageToggle.tsx +47 -0
- package/src/components/Toolbar.astro +5 -0
- package/src/components/Toolbar.tsx +173 -0
- package/src/components/UserDropdownItems.astro +9 -0
- package/src/components/UserDropdownItems.tsx +10 -0
- package/src/content.config.ts +36 -0
- package/src/content.ts +1 -0
- package/src/env.d.ts +1 -0
- package/src/layouts/Main.astro +26 -0
- package/src/pages/[section]/[...id].astro +31 -0
- package/src/pages/index.astro +17 -0
- package/src/stores/navStore.ts +3 -0
- package/src/styles/global.scss +1 -0
- package/src/utils/capitalize.ts +3 -0
- package/src/utils/index.ts +1 -0
- package/test.setup.ts +2 -0
- package/textContent/contribute.md +71 -0
- package/textContent/typography.md +95 -0
- package/textContent/usage-and-behavior.md +139 -0
- package/tsconfig.jest.json +8 -0
- package/tsconfig.json +14 -0
- package/tsconfig.vitest.json +6 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/dir",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"dir": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"id": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"section": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"title": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"$schema": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"id",
|
|
22
|
+
"section"
|
|
23
|
+
],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/textContent",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"textContent": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"id": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"section": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"title": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"$schema": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"id",
|
|
22
|
+
"section"
|
|
23
|
+
],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default new Map();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default new Map();
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
declare module 'astro:content' {
|
|
2
|
+
export interface RenderResult {
|
|
3
|
+
Content: import('astro/runtime/server/index.js').AstroComponentFactory;
|
|
4
|
+
headings: import('astro').MarkdownHeading[];
|
|
5
|
+
remarkPluginFrontmatter: Record<string, any>;
|
|
6
|
+
}
|
|
7
|
+
interface Render {
|
|
8
|
+
'.md': Promise<RenderResult>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface RenderedContent {
|
|
12
|
+
html: string;
|
|
13
|
+
metadata?: {
|
|
14
|
+
imagePaths: Array<string>;
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare module 'astro:content' {
|
|
21
|
+
type Flatten<T> = T extends { [K: string]: infer U } ? U : never;
|
|
22
|
+
|
|
23
|
+
export type CollectionKey = keyof AnyEntryMap;
|
|
24
|
+
export type CollectionEntry<C extends CollectionKey> = Flatten<AnyEntryMap[C]>;
|
|
25
|
+
|
|
26
|
+
export type ContentCollectionKey = keyof ContentEntryMap;
|
|
27
|
+
export type DataCollectionKey = keyof DataEntryMap;
|
|
28
|
+
|
|
29
|
+
type AllValuesOf<T> = T extends any ? T[keyof T] : never;
|
|
30
|
+
type ValidContentEntrySlug<C extends keyof ContentEntryMap> = AllValuesOf<
|
|
31
|
+
ContentEntryMap[C]
|
|
32
|
+
>['slug'];
|
|
33
|
+
|
|
34
|
+
/** @deprecated Use `getEntry` instead. */
|
|
35
|
+
export function getEntryBySlug<
|
|
36
|
+
C extends keyof ContentEntryMap,
|
|
37
|
+
E extends ValidContentEntrySlug<C> | (string & {}),
|
|
38
|
+
>(
|
|
39
|
+
collection: C,
|
|
40
|
+
// Note that this has to accept a regular string too, for SSR
|
|
41
|
+
entrySlug: E,
|
|
42
|
+
): E extends ValidContentEntrySlug<C>
|
|
43
|
+
? Promise<CollectionEntry<C>>
|
|
44
|
+
: Promise<CollectionEntry<C> | undefined>;
|
|
45
|
+
|
|
46
|
+
/** @deprecated Use `getEntry` instead. */
|
|
47
|
+
export function getDataEntryById<C extends keyof DataEntryMap, E extends keyof DataEntryMap[C]>(
|
|
48
|
+
collection: C,
|
|
49
|
+
entryId: E,
|
|
50
|
+
): Promise<CollectionEntry<C>>;
|
|
51
|
+
|
|
52
|
+
export function getCollection<C extends keyof AnyEntryMap, E extends CollectionEntry<C>>(
|
|
53
|
+
collection: C,
|
|
54
|
+
filter?: (entry: CollectionEntry<C>) => entry is E,
|
|
55
|
+
): Promise<E[]>;
|
|
56
|
+
export function getCollection<C extends keyof AnyEntryMap>(
|
|
57
|
+
collection: C,
|
|
58
|
+
filter?: (entry: CollectionEntry<C>) => unknown,
|
|
59
|
+
): Promise<CollectionEntry<C>[]>;
|
|
60
|
+
|
|
61
|
+
export function getEntry<
|
|
62
|
+
C extends keyof ContentEntryMap,
|
|
63
|
+
E extends ValidContentEntrySlug<C> | (string & {}),
|
|
64
|
+
>(entry: {
|
|
65
|
+
collection: C;
|
|
66
|
+
slug: E;
|
|
67
|
+
}): E extends ValidContentEntrySlug<C>
|
|
68
|
+
? Promise<CollectionEntry<C>>
|
|
69
|
+
: Promise<CollectionEntry<C> | undefined>;
|
|
70
|
+
export function getEntry<
|
|
71
|
+
C extends keyof DataEntryMap,
|
|
72
|
+
E extends keyof DataEntryMap[C] | (string & {}),
|
|
73
|
+
>(entry: {
|
|
74
|
+
collection: C;
|
|
75
|
+
id: E;
|
|
76
|
+
}): E extends keyof DataEntryMap[C]
|
|
77
|
+
? Promise<DataEntryMap[C][E]>
|
|
78
|
+
: Promise<CollectionEntry<C> | undefined>;
|
|
79
|
+
export function getEntry<
|
|
80
|
+
C extends keyof ContentEntryMap,
|
|
81
|
+
E extends ValidContentEntrySlug<C> | (string & {}),
|
|
82
|
+
>(
|
|
83
|
+
collection: C,
|
|
84
|
+
slug: E,
|
|
85
|
+
): E extends ValidContentEntrySlug<C>
|
|
86
|
+
? Promise<CollectionEntry<C>>
|
|
87
|
+
: Promise<CollectionEntry<C> | undefined>;
|
|
88
|
+
export function getEntry<
|
|
89
|
+
C extends keyof DataEntryMap,
|
|
90
|
+
E extends keyof DataEntryMap[C] | (string & {}),
|
|
91
|
+
>(
|
|
92
|
+
collection: C,
|
|
93
|
+
id: E,
|
|
94
|
+
): E extends keyof DataEntryMap[C]
|
|
95
|
+
? string extends keyof DataEntryMap[C]
|
|
96
|
+
? Promise<DataEntryMap[C][E]> | undefined
|
|
97
|
+
: Promise<DataEntryMap[C][E]>
|
|
98
|
+
: Promise<CollectionEntry<C> | undefined>;
|
|
99
|
+
|
|
100
|
+
/** Resolve an array of entry references from the same collection */
|
|
101
|
+
export function getEntries<C extends keyof ContentEntryMap>(
|
|
102
|
+
entries: {
|
|
103
|
+
collection: C;
|
|
104
|
+
slug: ValidContentEntrySlug<C>;
|
|
105
|
+
}[],
|
|
106
|
+
): Promise<CollectionEntry<C>[]>;
|
|
107
|
+
export function getEntries<C extends keyof DataEntryMap>(
|
|
108
|
+
entries: {
|
|
109
|
+
collection: C;
|
|
110
|
+
id: keyof DataEntryMap[C];
|
|
111
|
+
}[],
|
|
112
|
+
): Promise<CollectionEntry<C>[]>;
|
|
113
|
+
|
|
114
|
+
export function render<C extends keyof AnyEntryMap>(
|
|
115
|
+
entry: AnyEntryMap[C][string],
|
|
116
|
+
): Promise<RenderResult>;
|
|
117
|
+
|
|
118
|
+
export function reference<C extends keyof AnyEntryMap>(
|
|
119
|
+
collection: C,
|
|
120
|
+
): import('astro/zod').ZodEffects<
|
|
121
|
+
import('astro/zod').ZodString,
|
|
122
|
+
C extends keyof ContentEntryMap
|
|
123
|
+
? {
|
|
124
|
+
collection: C;
|
|
125
|
+
slug: ValidContentEntrySlug<C>;
|
|
126
|
+
}
|
|
127
|
+
: {
|
|
128
|
+
collection: C;
|
|
129
|
+
id: keyof DataEntryMap[C];
|
|
130
|
+
}
|
|
131
|
+
>;
|
|
132
|
+
// Allow generic `string` to avoid excessive type errors in the config
|
|
133
|
+
// if `dev` is not running to update as you edit.
|
|
134
|
+
// Invalid collection names will be caught at build time.
|
|
135
|
+
export function reference<C extends string>(
|
|
136
|
+
collection: C,
|
|
137
|
+
): import('astro/zod').ZodEffects<import('astro/zod').ZodString, never>;
|
|
138
|
+
|
|
139
|
+
type ReturnTypeOrOriginal<T> = T extends (...args: any[]) => infer R ? R : T;
|
|
140
|
+
type InferEntrySchema<C extends keyof AnyEntryMap> = import('astro/zod').infer<
|
|
141
|
+
ReturnTypeOrOriginal<Required<ContentConfig['collections'][C]>['schema']>
|
|
142
|
+
>;
|
|
143
|
+
|
|
144
|
+
type ContentEntryMap = {
|
|
145
|
+
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
type DataEntryMap = {
|
|
149
|
+
"dir": Record<string, {
|
|
150
|
+
id: string;
|
|
151
|
+
body?: string;
|
|
152
|
+
collection: "dir";
|
|
153
|
+
data: InferEntrySchema<"dir">;
|
|
154
|
+
rendered?: RenderedContent;
|
|
155
|
+
filePath?: string;
|
|
156
|
+
}>;
|
|
157
|
+
"textContent": Record<string, {
|
|
158
|
+
id: string;
|
|
159
|
+
body?: string;
|
|
160
|
+
collection: "textContent";
|
|
161
|
+
data: InferEntrySchema<"textContent">;
|
|
162
|
+
rendered?: RenderedContent;
|
|
163
|
+
filePath?: string;
|
|
164
|
+
}>;
|
|
165
|
+
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
type AnyEntryMap = ContentEntryMap & DataEntryMap;
|
|
169
|
+
|
|
170
|
+
export type ContentConfig = typeof import("../src/content.config.js");
|
|
171
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
|
|
2
|
+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
|
|
3
|
+
|
|
4
|
+
name: Node.js CI
|
|
5
|
+
env:
|
|
6
|
+
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
|
|
7
|
+
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
|
|
8
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
9
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
10
|
+
on:
|
|
11
|
+
push:
|
|
12
|
+
branches: [ "main" ]
|
|
13
|
+
pull_request:
|
|
14
|
+
branches: [ "main" ]
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
build:
|
|
18
|
+
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
|
|
21
|
+
strategy:
|
|
22
|
+
matrix:
|
|
23
|
+
node-version: [22.x]
|
|
24
|
+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
|
25
|
+
|
|
26
|
+
steps:
|
|
27
|
+
- uses: actions/checkout@v4
|
|
28
|
+
- name: Use Node.js ${{ matrix.node-version }}
|
|
29
|
+
uses: actions/setup-node@v4
|
|
30
|
+
with:
|
|
31
|
+
node-version: ${{ matrix.node-version }}
|
|
32
|
+
cache: 'npm'
|
|
33
|
+
- run: npm ci
|
|
34
|
+
- run: npm run build --if-present
|
|
35
|
+
- run: npm run build:cli
|
|
36
|
+
- run: npm test
|
|
37
|
+
- run: npm run lint
|
|
38
|
+
|
|
39
|
+
publish:
|
|
40
|
+
runs-on: ubuntu-latest
|
|
41
|
+
needs: build
|
|
42
|
+
env:
|
|
43
|
+
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
|
|
44
|
+
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
|
|
45
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
46
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
47
|
+
steps:
|
|
48
|
+
- uses: actions/checkout@v4
|
|
49
|
+
- name: Setup Node.js
|
|
50
|
+
uses: actions/setup-node@v4
|
|
51
|
+
with:
|
|
52
|
+
node-version: 22.x
|
|
53
|
+
registry-url: https://registry.npmjs.org/
|
|
54
|
+
- name: Install Dependencies
|
|
55
|
+
run: npm ci
|
|
56
|
+
- name: Build dist
|
|
57
|
+
run: npm run build
|
|
58
|
+
- name: Build CLI
|
|
59
|
+
run: npm run build:cli
|
|
60
|
+
- name: Release to NPM
|
|
61
|
+
run: npm run semantic-release
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pattternfly/patternfly-doc-core",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"scripts": {
|
|
9
|
+
"dev": "astro dev",
|
|
10
|
+
"start": "astro dev",
|
|
11
|
+
"build": "astro check && astro build",
|
|
12
|
+
"build:cli": "tsc --build ./cli/tsconfig.json",
|
|
13
|
+
"build:cli:watch": "tsc --build --watch ./cli/tsconfig.json",
|
|
14
|
+
"preview": "astro preview",
|
|
15
|
+
"astro": "astro",
|
|
16
|
+
"prettier": "prettier --write ./src",
|
|
17
|
+
"lint": "eslint . --cache --cache-strategy content",
|
|
18
|
+
"test": "jest",
|
|
19
|
+
"test:watch": "jest --watch",
|
|
20
|
+
"semantic-release": "semantic-release"
|
|
21
|
+
},
|
|
22
|
+
"main": "dist/cli/cli.js",
|
|
23
|
+
"bin": "./dist/cli/cli.js",
|
|
24
|
+
"prettier": {
|
|
25
|
+
"plugins": [
|
|
26
|
+
"prettier-plugin-astro"
|
|
27
|
+
],
|
|
28
|
+
"overrides": [
|
|
29
|
+
{
|
|
30
|
+
"files": "*.astro",
|
|
31
|
+
"options": {
|
|
32
|
+
"parser": "astro"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"semi": false,
|
|
37
|
+
"singleQuote": true,
|
|
38
|
+
"trailingComma": "all"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@astrojs/check": "^0.9.4",
|
|
42
|
+
"@astrojs/react": "^4.1.5",
|
|
43
|
+
"@nanostores/react": "^0.8.0",
|
|
44
|
+
"@patternfly/patternfly": "^6.0.0",
|
|
45
|
+
"@patternfly/react-core": "^6.0.0",
|
|
46
|
+
"@types/react": "^18.3.12",
|
|
47
|
+
"@types/react-dom": "^18.3.1",
|
|
48
|
+
"astro": "^5.1.7",
|
|
49
|
+
"change-case": "5.4.4",
|
|
50
|
+
"glob": "^11.0.1",
|
|
51
|
+
"nanostores": "^0.11.3",
|
|
52
|
+
"react": "^18.3.1",
|
|
53
|
+
"react-dom": "^18.3.1",
|
|
54
|
+
"sass": "^1.81.0",
|
|
55
|
+
"typescript": "^5.6.3"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
|
|
59
|
+
"@babel/preset-react": "^7.26.3",
|
|
60
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
61
|
+
"@eslint/js": "^9.16.0",
|
|
62
|
+
"@semantic-release/git": "^10.0.1",
|
|
63
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
64
|
+
"@testing-library/react": "^16.1.0",
|
|
65
|
+
"@testing-library/user-event": "^14.5.2",
|
|
66
|
+
"@types/jest": "^29.5.14",
|
|
67
|
+
"@types/node": "^22.9.1",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^8.17.0",
|
|
69
|
+
"@typescript-eslint/parser": "^8.17.0",
|
|
70
|
+
"babel-jest": "^29.7.0",
|
|
71
|
+
"commander": "^13.1.0",
|
|
72
|
+
"cz-conventional-changelog": "^3.3.0",
|
|
73
|
+
"eslint": "^9.16.0",
|
|
74
|
+
"eslint-config-prettier": "^9.1.0",
|
|
75
|
+
"eslint-plugin-astro": "^1.3.1",
|
|
76
|
+
"eslint-plugin-markdown": "^5.1.0",
|
|
77
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
78
|
+
"eslint-plugin-react": "^7.37.2",
|
|
79
|
+
"eslint-plugin-react-compiler": "^19.0.0-beta-df7b47d-20241124",
|
|
80
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
81
|
+
"globals": "^15.12.0",
|
|
82
|
+
"jest": "^29.7.0",
|
|
83
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
84
|
+
"jsdom": "^25.0.1",
|
|
85
|
+
"prettier": "^3.4.2",
|
|
86
|
+
"prettier-plugin-astro": "^0.14.1",
|
|
87
|
+
"semantic-release": "^24.2.3",
|
|
88
|
+
"ts-jest": "^29.2.5",
|
|
89
|
+
"ts-node": "^10.9.2",
|
|
90
|
+
"typescript-eslint": "^8.15.0"
|
|
91
|
+
},
|
|
92
|
+
"config": {
|
|
93
|
+
"commitizen": {
|
|
94
|
+
"path": "./node_modules/cz-conventional-changelog"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dlabaj/patternfly-doc-core",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"scripts": {
|
|
9
|
+
"dev": "astro dev",
|
|
10
|
+
"start": "astro dev",
|
|
11
|
+
"build": "astro check && astro build",
|
|
12
|
+
"build:cli": "tsc --build ./cli/tsconfig.json",
|
|
13
|
+
"build:cli:watch": "tsc --build --watch ./cli/tsconfig.json",
|
|
14
|
+
"preview": "astro preview",
|
|
15
|
+
"astro": "astro",
|
|
16
|
+
"prettier": "prettier --write ./src",
|
|
17
|
+
"lint": "eslint . --cache --cache-strategy content",
|
|
18
|
+
"test": "jest",
|
|
19
|
+
"test:watch": "jest --watch",
|
|
20
|
+
"semantic-release": "semantic-release"
|
|
21
|
+
},
|
|
22
|
+
"main": "dist/cli/cli.js",
|
|
23
|
+
"bin": "./dist/cli/cli.js",
|
|
24
|
+
"prettier": {
|
|
25
|
+
"plugins": [
|
|
26
|
+
"prettier-plugin-astro"
|
|
27
|
+
],
|
|
28
|
+
"overrides": [
|
|
29
|
+
{
|
|
30
|
+
"files": "*.astro",
|
|
31
|
+
"options": {
|
|
32
|
+
"parser": "astro"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"semi": false,
|
|
37
|
+
"singleQuote": true,
|
|
38
|
+
"trailingComma": "all"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@astrojs/check": "^0.9.4",
|
|
42
|
+
"@astrojs/react": "^4.1.5",
|
|
43
|
+
"@nanostores/react": "^0.8.0",
|
|
44
|
+
"@patternfly/patternfly": "^6.0.0",
|
|
45
|
+
"@patternfly/react-core": "^6.0.0",
|
|
46
|
+
"@types/react": "^18.3.12",
|
|
47
|
+
"@types/react-dom": "^18.3.1",
|
|
48
|
+
"astro": "^5.1.7",
|
|
49
|
+
"change-case": "5.4.4",
|
|
50
|
+
"glob": "^11.0.1",
|
|
51
|
+
"nanostores": "^0.11.3",
|
|
52
|
+
"react": "^18.3.1",
|
|
53
|
+
"react-dom": "^18.3.1",
|
|
54
|
+
"sass": "^1.81.0",
|
|
55
|
+
"typescript": "^5.6.3"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
|
|
59
|
+
"@babel/preset-react": "^7.26.3",
|
|
60
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
61
|
+
"@eslint/js": "^9.16.0",
|
|
62
|
+
"@semantic-release/git": "^10.0.1",
|
|
63
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
64
|
+
"@testing-library/react": "^16.1.0",
|
|
65
|
+
"@testing-library/user-event": "^14.5.2",
|
|
66
|
+
"@types/jest": "^29.5.14",
|
|
67
|
+
"@types/node": "^22.9.1",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^8.17.0",
|
|
69
|
+
"@typescript-eslint/parser": "^8.17.0",
|
|
70
|
+
"babel-jest": "^29.7.0",
|
|
71
|
+
"commander": "^13.1.0",
|
|
72
|
+
"cz-conventional-changelog": "^3.3.0",
|
|
73
|
+
"eslint": "^9.16.0",
|
|
74
|
+
"eslint-config-prettier": "^9.1.0",
|
|
75
|
+
"eslint-plugin-astro": "^1.3.1",
|
|
76
|
+
"eslint-plugin-markdown": "^5.1.0",
|
|
77
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
78
|
+
"eslint-plugin-react": "^7.37.2",
|
|
79
|
+
"eslint-plugin-react-compiler": "^19.0.0-beta-df7b47d-20241124",
|
|
80
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
81
|
+
"globals": "^15.12.0",
|
|
82
|
+
"jest": "^29.7.0",
|
|
83
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
84
|
+
"jsdom": "^25.0.1",
|
|
85
|
+
"prettier": "^3.4.2",
|
|
86
|
+
"prettier-plugin-astro": "^0.14.1",
|
|
87
|
+
"semantic-release": "^24.2.3",
|
|
88
|
+
"ts-jest": "^29.2.5",
|
|
89
|
+
"ts-node": "^10.9.2",
|
|
90
|
+
"typescript-eslint": "^8.15.0"
|
|
91
|
+
},
|
|
92
|
+
"config": {
|
|
93
|
+
"commitizen": {
|
|
94
|
+
"path": "./node_modules/cz-conventional-changelog"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pattternfly/patternfly-doc-core",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"scripts": {
|
|
9
|
+
"dev": "astro dev",
|
|
10
|
+
"start": "astro dev",
|
|
11
|
+
"build": "astro check && astro build",
|
|
12
|
+
"build:cli": "tsc --build ./cli/tsconfig.json",
|
|
13
|
+
"build:cli:watch": "tsc --build --watch ./cli/tsconfig.json",
|
|
14
|
+
"preview": "astro preview",
|
|
15
|
+
"astro": "astro",
|
|
16
|
+
"prettier": "prettier --write ./src",
|
|
17
|
+
"lint": "eslint . --cache --cache-strategy content",
|
|
18
|
+
"test": "jest",
|
|
19
|
+
"test:watch": "jest --watch",
|
|
20
|
+
"semantic-release": "semantic-release"
|
|
21
|
+
},
|
|
22
|
+
"main": "dist/cli/cli.js",
|
|
23
|
+
"bin": "./dist/cli/cli.js",
|
|
24
|
+
"prettier": {
|
|
25
|
+
"plugins": [
|
|
26
|
+
"prettier-plugin-astro"
|
|
27
|
+
],
|
|
28
|
+
"overrides": [
|
|
29
|
+
{
|
|
30
|
+
"files": "*.astro",
|
|
31
|
+
"options": {
|
|
32
|
+
"parser": "astro"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"semi": false,
|
|
37
|
+
"singleQuote": true,
|
|
38
|
+
"trailingComma": "all"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@astrojs/check": "^0.9.4",
|
|
42
|
+
"@astrojs/react": "^4.1.5",
|
|
43
|
+
"@nanostores/react": "^0.8.0",
|
|
44
|
+
"@patternfly/patternfly": "^6.0.0",
|
|
45
|
+
"@patternfly/react-core": "^6.0.0",
|
|
46
|
+
"@types/react": "^18.3.12",
|
|
47
|
+
"@types/react-dom": "^18.3.1",
|
|
48
|
+
"astro": "^5.1.7",
|
|
49
|
+
"change-case": "5.4.4",
|
|
50
|
+
"glob": "^11.0.1",
|
|
51
|
+
"nanostores": "^0.11.3",
|
|
52
|
+
"react": "^18.3.1",
|
|
53
|
+
"react-dom": "^18.3.1",
|
|
54
|
+
"sass": "^1.81.0",
|
|
55
|
+
"typescript": "^5.6.3"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
|
|
59
|
+
"@babel/preset-react": "^7.26.3",
|
|
60
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
61
|
+
"@eslint/js": "^9.16.0",
|
|
62
|
+
"@semantic-release/git": "^10.0.1",
|
|
63
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
64
|
+
"@testing-library/react": "^16.1.0",
|
|
65
|
+
"@testing-library/user-event": "^14.5.2",
|
|
66
|
+
"@types/jest": "^29.5.14",
|
|
67
|
+
"@types/node": "^22.9.1",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^8.17.0",
|
|
69
|
+
"@typescript-eslint/parser": "^8.17.0",
|
|
70
|
+
"babel-jest": "^29.7.0",
|
|
71
|
+
"commander": "^13.1.0",
|
|
72
|
+
"cz-conventional-changelog": "^3.3.0",
|
|
73
|
+
"eslint": "^9.16.0",
|
|
74
|
+
"eslint-config-prettier": "^9.1.0",
|
|
75
|
+
"eslint-plugin-astro": "^1.3.1",
|
|
76
|
+
"eslint-plugin-markdown": "^5.1.0",
|
|
77
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
78
|
+
"eslint-plugin-react": "^7.37.2",
|
|
79
|
+
"eslint-plugin-react-compiler": "^19.0.0-beta-df7b47d-20241124",
|
|
80
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
81
|
+
"globals": "^15.12.0",
|
|
82
|
+
"jest": "^29.7.0",
|
|
83
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
84
|
+
"jsdom": "^25.0.1",
|
|
85
|
+
"prettier": "^3.4.2",
|
|
86
|
+
"prettier-plugin-astro": "^0.14.1",
|
|
87
|
+
"semantic-release": "^24.2.3",
|
|
88
|
+
"ts-jest": "^29.2.5",
|
|
89
|
+
"ts-node": "^10.9.2",
|
|
90
|
+
"typescript-eslint": "^8.15.0"
|
|
91
|
+
},
|
|
92
|
+
"config": {
|
|
93
|
+
"commitizen": {
|
|
94
|
+
"path": "./node_modules/cz-conventional-changelog"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@patternfly/patternfly-doc-core",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"scripts": {
|
|
9
|
+
"dev": "astro dev",
|
|
10
|
+
"start": "astro dev",
|
|
11
|
+
"build": "astro check && astro build",
|
|
12
|
+
"build:cli": "tsc --build ./cli/tsconfig.json",
|
|
13
|
+
"build:cli:watch": "tsc --build --watch ./cli/tsconfig.json",
|
|
14
|
+
"preview": "astro preview",
|
|
15
|
+
"astro": "astro",
|
|
16
|
+
"prettier": "prettier --write ./src",
|
|
17
|
+
"lint": "eslint . --cache --cache-strategy content",
|
|
18
|
+
"test": "jest",
|
|
19
|
+
"test:watch": "jest --watch",
|
|
20
|
+
"semantic-release": "semantic-release"
|
|
21
|
+
},
|
|
22
|
+
"main": "dist/cli/cli.js",
|
|
23
|
+
"bin": "./dist/cli/cli.js",
|
|
24
|
+
"prettier": {
|
|
25
|
+
"plugins": [
|
|
26
|
+
"prettier-plugin-astro"
|
|
27
|
+
],
|
|
28
|
+
"overrides": [
|
|
29
|
+
{
|
|
30
|
+
"files": "*.astro",
|
|
31
|
+
"options": {
|
|
32
|
+
"parser": "astro"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"semi": false,
|
|
37
|
+
"singleQuote": true,
|
|
38
|
+
"trailingComma": "all"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@astrojs/check": "^0.9.4",
|
|
42
|
+
"@astrojs/react": "^4.1.5",
|
|
43
|
+
"@nanostores/react": "^0.8.0",
|
|
44
|
+
"@patternfly/patternfly": "^6.0.0",
|
|
45
|
+
"@patternfly/react-core": "^6.0.0",
|
|
46
|
+
"@types/react": "^18.3.12",
|
|
47
|
+
"@types/react-dom": "^18.3.1",
|
|
48
|
+
"astro": "^5.1.7",
|
|
49
|
+
"change-case": "5.4.4",
|
|
50
|
+
"glob": "^11.0.1",
|
|
51
|
+
"nanostores": "^0.11.3",
|
|
52
|
+
"react": "^18.3.1",
|
|
53
|
+
"react-dom": "^18.3.1",
|
|
54
|
+
"sass": "^1.81.0",
|
|
55
|
+
"typescript": "^5.6.3"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
|
|
59
|
+
"@babel/preset-react": "^7.26.3",
|
|
60
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
61
|
+
"@eslint/js": "^9.16.0",
|
|
62
|
+
"@semantic-release/git": "^10.0.1",
|
|
63
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
64
|
+
"@testing-library/react": "^16.1.0",
|
|
65
|
+
"@testing-library/user-event": "^14.5.2",
|
|
66
|
+
"@types/jest": "^29.5.14",
|
|
67
|
+
"@types/node": "^22.9.1",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^8.17.0",
|
|
69
|
+
"@typescript-eslint/parser": "^8.17.0",
|
|
70
|
+
"babel-jest": "^29.7.0",
|
|
71
|
+
"commander": "^13.1.0",
|
|
72
|
+
"cz-conventional-changelog": "^3.3.0",
|
|
73
|
+
"eslint": "^9.16.0",
|
|
74
|
+
"eslint-config-prettier": "^9.1.0",
|
|
75
|
+
"eslint-plugin-astro": "^1.3.1",
|
|
76
|
+
"eslint-plugin-markdown": "^5.1.0",
|
|
77
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
78
|
+
"eslint-plugin-react": "^7.37.2",
|
|
79
|
+
"eslint-plugin-react-compiler": "^19.0.0-beta-df7b47d-20241124",
|
|
80
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
81
|
+
"globals": "^15.12.0",
|
|
82
|
+
"jest": "^29.7.0",
|
|
83
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
84
|
+
"jsdom": "^25.0.1",
|
|
85
|
+
"prettier": "^3.4.2",
|
|
86
|
+
"prettier-plugin-astro": "^0.14.1",
|
|
87
|
+
"semantic-release": "^24.2.3",
|
|
88
|
+
"ts-jest": "^29.2.5",
|
|
89
|
+
"ts-node": "^10.9.2",
|
|
90
|
+
"typescript-eslint": "^8.15.0"
|
|
91
|
+
},
|
|
92
|
+
"config": {
|
|
93
|
+
"commitizen": {
|
|
94
|
+
"path": "./node_modules/cz-conventional-changelog"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|