diff --git a/.circleci/config.yml b/.circleci/config.yml index 2d0f700daf3f..2a6cd9a21052 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,8 +31,12 @@ jobs: name: Add examples/* to yarn workspace command: | npm pkg delete workspaces[4] + npm pkg delete workspaces[3] + npm pkg delete workspaces[2] + npm pkg delete workspaces[1] npm pkg set 'workspaces[]'='examples/todo-app' npm pkg set 'workspaces[]'='examples/github-app' + npm pkg set 'workspaces[]'='examples/normalizr-relationships' - restore_cache: keys: - v14-dependencies-{{ checksum "yarn.lock" }}-{{ checksum "examples/github-app/package.json" }}-{{ checksum "examples/todo-app/package.json" }} @@ -55,7 +59,9 @@ jobs: # explicitly list so we can ignore some directories that are not needed - project/.yarn - project/__tests__ - - project/examples + - project/examples/todo-app + - project/examples/github-app + - project/examples/normalizr-relationships - project/node_modules - project/packages - project/scripts diff --git a/examples/normalizr-github/package.json b/examples/normalizr-github/package.json index 2b9dc0200612..58bde3f619e9 100644 --- a/examples/normalizr-github/package.json +++ b/examples/normalizr-github/package.json @@ -16,14 +16,6 @@ "devDependencies": { "@babel/core": "7.26.0", "@babel/node": "7.26.0", - "@types/babel__core": "^7", - "rollup": "2.79.2", - "rollup-plugin-babel": "^4.4.0", - "rollup-plugin-commonjs": "^10.1.0", - "rollup-plugin-filesize": "^9.1.2", - "rollup-plugin-json": "^4.0.0", - "rollup-plugin-node-resolve": "^5.2.0", - "rollup-plugin-replace": "^2.2.0", - "rollup-plugin-terser": "^7.0.2" + "@types/babel__core": "^7" } } diff --git a/examples/normalizr-redux/package.json b/examples/normalizr-redux/package.json index 6a4eaec0698a..edcdcb6b1cb1 100644 --- a/examples/normalizr-redux/package.json +++ b/examples/normalizr-redux/package.json @@ -15,22 +15,14 @@ "devDependencies": { "@babel/core": "7.26.0", "@babel/node": "7.26.0", - "@data-client/normalizr": "workspace:*", "@octokit/rest": "21.0.2", "@types/babel__core": "^7", "inquirer": "^12.0.0", "redux": "5.0.1", - "redux-thunk": "^2.3.0", - "rollup": "2.79.2", - "rollup-plugin-babel": "^4.4.0", - "rollup-plugin-commonjs": "^10.1.0", - "rollup-plugin-filesize": "^9.1.2", - "rollup-plugin-json": "^4.0.0", - "rollup-plugin-node-resolve": "^5.2.0", - "rollup-plugin-replace": "^2.2.0", - "rollup-plugin-terser": "^7.0.2" + "redux-thunk": "^2.3.0" }, "dependencies": { - "@data-client/endpoint": "workspace:^" + "@data-client/endpoint": "workspace:*", + "@data-client/normalizr": "workspace:*" } } diff --git a/website/package.json b/website/package.json index a91eb8444861..349fd8301912 100644 --- a/website/package.json +++ b/website/package.json @@ -45,6 +45,7 @@ "@docusaurus/theme-live-codeblock": "^3.0.1", "@docusaurus/theme-mermaid": "^3.0.1", "@js-temporal/polyfill": "^0.4.4", + "@mdx-js/react": "^3.1.0", "@monaco-editor/react": "^4.4.6", "@number-flow/react": "^0.4.0", "bignumber.js": "9.1.2", diff --git a/yarn.lock b/yarn.lock index a20c55b76171..75b2f0b46b9b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5125,6 +5125,18 @@ __metadata: languageName: node linkType: hard +"@mdx-js/react@npm:^3.1.0": + version: 3.1.0 + resolution: "@mdx-js/react@npm:3.1.0" + dependencies: + "@types/mdx": "npm:^2.0.0" + peerDependencies: + "@types/react": ">=16" + react: ">=16" + checksum: 10c0/381ed1211ba2b8491bf0ad9ef0d8d1badcdd114e1931d55d44019d4b827cc2752586708f9c7d2f9c3244150ed81f1f671a6ca95fae0edd5797fb47a22e06ceca + languageName: node + linkType: hard + "@mermaid-js/parser@npm:^0.3.0": version: 0.3.0 resolution: "@mermaid-js/parser@npm:0.3.0" @@ -21984,14 +21996,6 @@ __metadata: "@data-client/endpoint": "workspace:^" "@data-client/normalizr": "workspace:^" "@types/babel__core": "npm:^7" - rollup: "npm:2.79.2" - rollup-plugin-babel: "npm:^4.4.0" - rollup-plugin-commonjs: "npm:^10.1.0" - rollup-plugin-filesize: "npm:^9.1.2" - rollup-plugin-json: "npm:^4.0.0" - rollup-plugin-node-resolve: "npm:^5.2.0" - rollup-plugin-replace: "npm:^2.2.0" - rollup-plugin-terser: "npm:^7.0.2" languageName: unknown linkType: soft @@ -22001,21 +22005,13 @@ __metadata: dependencies: "@babel/core": "npm:7.26.0" "@babel/node": "npm:7.26.0" - "@data-client/endpoint": "workspace:^" + "@data-client/endpoint": "workspace:*" "@data-client/normalizr": "workspace:*" "@octokit/rest": "npm:21.0.2" "@types/babel__core": "npm:^7" inquirer: "npm:^12.0.0" redux: "npm:5.0.1" redux-thunk: "npm:^2.3.0" - rollup: "npm:2.79.2" - rollup-plugin-babel: "npm:^4.4.0" - rollup-plugin-commonjs: "npm:^10.1.0" - rollup-plugin-filesize: "npm:^9.1.2" - rollup-plugin-json: "npm:^4.0.0" - rollup-plugin-node-resolve: "npm:^5.2.0" - rollup-plugin-replace: "npm:^2.2.0" - rollup-plugin-terser: "npm:^7.0.2" languageName: unknown linkType: soft @@ -25452,6 +25448,7 @@ __metadata: "@docusaurus/theme-live-codeblock": "npm:^3.0.1" "@docusaurus/theme-mermaid": "npm:^3.0.1" "@js-temporal/polyfill": "npm:^0.4.4" + "@mdx-js/react": "npm:^3.1.0" "@monaco-editor/react": "npm:^4.4.6" "@number-flow/react": "npm:^0.4.0" "@tsconfig/docusaurus": "npm:^2.0.0"