Skip to content

Commit 59b10d1

Browse files
authored
Merge pull request #1502 from finos/fdc3-web-impl-update-docusaurus
Update website to Docusaurus to 3.7.0
2 parents 8fcde04 + 5ef4ff2 commit 59b10d1

203 files changed

Lines changed: 13444 additions & 16949 deletions

File tree

Some content is hidden

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

.github/workflows/package.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,23 @@ jobs:
3838
with:
3939
filters: |
4040
builtFiles:
41-
- '.eslint*'
42-
- 'src/**'
43-
- 'schemas/**'
41+
- 'packages/*/eslint*'
42+
- 'packages/*/tsconfig.json'
43+
- 'packages/*/src/**'
44+
- 'packages/*/schemas/**'
45+
- 'packages/*/package-lock.json'
46+
- 'packages/*/package.json'
47+
- 'packages/*/rollup.config.js'
48+
- 'packages/*/s2tQuicktypeUtil.js'
49+
- 'packages/fdc3-schema/code-generation/generate-type-predicates.ts'
50+
- 'toolbox/fdc3-workbench/src/**'
51+
- 'toolbox/fdc3-workbench/package.json'
52+
- 'toolbox/fdc3-workbench/package-lock.json'
53+
- 'toolbox/fdc3-workbench/eslint.config.mjs'
54+
- 'toolbox/fdc3-workbench/tsconfig.json'
55+
- 'eslint*'
4456
- 'package-lock.json'
4557
- 'package.json'
46-
- 'rollup.config.js'
47-
- 's2tQuicktypeUtil.js'
4858
- 'tsconfig.json'
4959
- '.github/workflows/package.yml'
5060
@@ -78,7 +88,7 @@ jobs:
7888

7989
- name: Test
8090
if: ${{ needs.changes.outputs.builtFiles == 'true' }}
81-
run: npm run test --ci --coverage --maxWorkers=2
91+
run: npm run test
8292

8393
- name: Build
8494
if: ${{ needs.changes.outputs.builtFiles == 'true' }}

package-lock.json

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/fdc3-schema/generated/api/BrowserTypes.ts

Lines changed: 2318 additions & 2318 deletions
Large diffs are not rendered by default.

toolbox/fdc3-explained/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# <a href='http://fdc3.finos.org/toolbox/fdc3-explained'><img src='logo.png' alt='FDC3 Explained Logo'></a>
1+
# <a href='http://fdc3.finos.org/toolbox/fdc3-explained'><img src='logo.png' alt='FDC3 Explained Logo' /></a>
22

33
FDC3 Explained was originally created by Johan Sandersson, an original maintainer of FDC3, and contributed to the project. It shows how easy it is to create very simple HTML and JavaScript that can use the FDC3 APIs to facilitate interoperability.
44

toolbox/fdc3-workbench/NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
FDC3 Workbench - Fintech Open Source Foundation (https://www.finos.org/)
22
Copyright 2021-2023 Finsemble, inc. info@finsemble.com
3-
Copyright 2021 2023 Contributors to the FDC3 standards project
3+
Copyright 2021-2023 Contributors to the FDC3 standards project

toolbox/fdc3-workbench/eslint.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { fixupPluginRules } from "@eslint/compat";
55
import globals from "globals";
66
import tsParser from "@typescript-eslint/parser";
77
import pluginJs from "@eslint/js";
8-
import tseslint from "typescript-eslint";
98
import eslintConfigPrettier from "eslint-config-prettier";
109
import path from "node:path";
1110
import { fileURLToPath } from "node:url";

toolbox/fdc3-workbench/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"start": "vite",
1414
"preview": "vite preview",
1515
"build": "tsc && vite build",
16-
"lint": "eslint --cache --quiet **/*.{ts,tsx,js,jsx} && prettier --check **/*.{ts,tsx,js,jsx,json,yml,css,html,md}",
17-
"lint:fix": "eslint --cache --quiet --fix **/*.{ts,tsx,js,jsx} && prettier --write **/*.{ts,tsx,js,jsx} && prettier --write **/*.{json,yml,css,html,md}"
16+
"lint": "eslint **/*.{ts,tsx} && prettier --check **/*.{ts,tsx,js,jsx,json,yml,css,html,md}",
17+
"lint:fix": "eslint --fix **/*.{ts,tsx} && prettier --write **/*.{ts,tsx,js,jsx} && prettier --write **/*.{json,yml,css,html,md}"
1818
},
1919
"eslintConfig": {
2020
"extends": [

toolbox/fdc3-workbench/src/utility/Fdc3Api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export async function getTargetOptions(intent: string, context: ContextType): Pr
8282
let foundApp = groupedApps.find((app) => app.appId === currentApp.appId);
8383
if (!foundApp) {
8484
//separate out the instanceId if present
85-
// eslint-disable-next-line no-unused-vars
85+
// eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
8686
const { instanceId: _, ...metadata } = currentApp;
8787
const option: IntentTargetOption = {
8888
appId: currentApp.appId,
@@ -140,7 +140,7 @@ export async function getTargetOptionsForContext(context: ContextType): Promise<
140140
let foundApp = groupedApps.find((app) => app.appId === currentApp.appId);
141141
if (!foundApp) {
142142
//separate out the instanceId if present
143-
// eslint-disable-next-line no-unused-vars
143+
// eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
144144
const { instanceId: _, ...metadata } = currentApp;
145145
const option: IntentTargetOption = {
146146
appId: currentApp.appId,

website/README.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# FDC3 website readme
22

3+
The FDC3 website is not an integrated part of the FDC3 mono-repo (i.e. its not in `workspaces` element of the main repo's package.json) as it is build separately by netlify. Hence, to build and run the website locally run:
4+
5+
```bash
6+
cd website
7+
npm install
8+
npm run build
9+
```
10+
11+
Please note that this will *also* build the mono-repo projects via the `prebuild` and `parent-build` scripts as the modules are needed to build UIs (fdc3-workbench and fdc3-reference-ui) hosted within the site.
12+
313
## Releasing new versions of the Standard
414

515
To create a new version of the website, a number of NPM scripts need to be run that will create the version and update certain content within it (as automatically as possible). There are then a number of additional manual steps to run.
@@ -8,6 +18,7 @@ To create a new version of the website, a number of NPM scripts need to be run t
818

919
```bash
1020
cd website
21+
npm install
1122
npm run build
1223
```
1324

@@ -46,17 +57,17 @@ To create a new version of the website, a number of NPM scripts need to be run t
4657
- Set the `version` filed to the new standard version - but consider appending a beta label, e.g.: `"version": "2.1.0-beta.1",`
4758
- The new NPM module will be built and submitted to NPM via a Github action automatically when this PR is merged.
4859
49-
7. Test you changes locally by running the site:
60+
7. Test your changes locally by running the site:
5061
5162
```bash
52-
cd website
53-
npm run build
54-
npm run start
63+
cd website
64+
npm run build
65+
npm run start
5566
```
5667
5768
8. Create a PR and send out details for other maintainers to review and test.
5869
5970
9. Merge the PR - website and NPM module will be deployed automatically.
6071
6172
10. Goto <https://github.com/finos/FDC3/releases> and create a new release and tag for the new version.
62-
- Copy the change log into the release description.
73+
- Copy the change log into the release description.

website/blog/2017-09-25-testing-rss.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)