Skip to content

Commit

Permalink
Move theme components
Browse files Browse the repository at this point in the history
  • Loading branch information
jlvandenhout committed May 27, 2024
1 parent e4d246c commit 4d7f665
Show file tree
Hide file tree
Showing 20 changed files with 16 additions and 251 deletions.
1 change: 0 additions & 1 deletion cli/src/docusaurus/config/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ const common = {
),
},
],
'@iota-wiki/theme',
path.resolve(__dirname, '../theme'),
],
themeConfig: {
Expand Down
2 changes: 1 addition & 1 deletion docs/learn/glossary.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ title: Glossary
description: Glossary of all specialized names and phrases used in the IOTA and Shimmer networks. If you dont understand a wording you will find answers here.
---

import Glossary from '/theme/src/theme/Glossary';
import Glossary from '@site/src/theme/Glossary';

<Glossary />
1 change: 0 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,6 @@ module.exports = async () => {
themes: [
'docusaurus-theme-openapi-docs',
'@saucelabs/theme-github-codeblock',
'@iota-wiki/theme',
],
staticDirectories: [path.resolve(__dirname, 'static')],
},
Expand Down
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "@iota-wiki/core",
"version": "1.1.0",
"scripts": {
"build:theme": "yarn ./theme build",
"checkout": "git submodule update --init",
"checkout:remote": "yarn checkout --remote",
"generate:api": "docusaurus gen-api-docs all && ./scripts/get_sdk_references.sh && ./scripts/get_wasp_references.sh",
Expand All @@ -14,7 +13,7 @@
"format": "prettier --cache --write .",
"format:check": "prettier --cache --check .",
"format:svg": "svgo ./src/**/*.svg",
"prepare": "yarn build:theme && yarn checkout",
"prepare": "yarn checkout",
"docusaurus": "docusaurus",
"start": "NODE_OPTIONS='--max-old-space-size=4096' docusaurus start",
"start:section:build": "SELECTED_SECTION='build' yarn start",
Expand All @@ -31,13 +30,15 @@
},
"dependencies": {
"@algolia/client-search": "^4.22.1",
"@artsy/to-title-case": "^1.1.0",
"@docusaurus/core": "2.4.3",
"@docusaurus/plugin-client-redirects": "2.4.3",
"@docusaurus/preset-classic": "2.4.3",
"@docusaurus/remark-plugin-npm2yarn": "^2.4.3",
"@docusaurus/theme-classic": "2.4.3",
"@docusaurus/theme-common": "2.4.3",
"@iota-wiki/theme": "workspace:^",
"@mdx-js/react": "^1.6.21",
"@metamask/providers": "^10.2.1",
"@popperjs/core": "^2.11.5",
"@saucelabs/theme-github-codeblock": "^0.2.3",
"@svgr/webpack": "^5.5.0",
Expand All @@ -50,6 +51,7 @@
"flickity-fade": "^2.0.0",
"globby": "^13.1.4",
"hast-util-is-element": "1.1.0",
"html-react-parser": "^4.2.10",
"humanize-duration": "^3.30.0",
"infima": "^0.2.0-alpha.43",
"plugin-image-zoom": "flexanalytics/plugin-image-zoom",
Expand All @@ -58,6 +60,7 @@
"react-dom": "18.2.0",
"react-flickity-component": "^3.6.3",
"react-image-gallery": "^1.3.0",
"react-markdown": "6",
"react-player": "^2.11.2",
"react-popper": "^2.3.0",
"react-select": "^5.7.7",
Expand All @@ -71,6 +74,7 @@
"remark-remove-comments": "^0.2.0",
"url-loader": "^4.1.1",
"utf-8-validate": "^6.0.3",
"web3": "^4.2.2",
"webpack": "^5.89.0",
"webpack-node-externals": "^3.0.0",
"ws": "^8.16.0"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion theme/.gitignore

This file was deleted.

72 changes: 0 additions & 72 deletions theme/README.md

This file was deleted.

45 changes: 0 additions & 45 deletions theme/package.json

This file was deleted.

14 changes: 0 additions & 14 deletions theme/src/index.ts

This file was deleted.

34 changes: 0 additions & 34 deletions theme/src/types.d.ts

This file was deleted.

15 changes: 0 additions & 15 deletions theme/tsconfig.client.json

This file was deleted.

23 changes: 0 additions & 23 deletions theme/tsconfig.json

This file was deleted.

14 changes: 0 additions & 14 deletions theme/tsconfig.server.json

This file was deleted.

35 changes: 8 additions & 27 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2827,16 +2827,18 @@ __metadata:
"@algolia/client-search": ^4.22.1
"@argos-ci/cli": ^1.0.11
"@argos-ci/playwright": ^1.9.3
"@artsy/to-title-case": ^1.1.0
"@docusaurus/core": 2.4.3
"@docusaurus/module-type-aliases": 2.4.3
"@docusaurus/plugin-client-redirects": 2.4.3
"@docusaurus/plugin-google-gtag": 2.4.3
"@docusaurus/preset-classic": 2.4.3
"@docusaurus/remark-plugin-npm2yarn": ^2.4.3
"@docusaurus/theme-classic": 2.4.3
"@docusaurus/theme-common": 2.4.3
"@iota-wiki/cli": "workspace:^"
"@iota-wiki/theme": "workspace:^"
"@mdx-js/react": ^1.6.21
"@metamask/providers": ^10.2.1
"@playwright/test": ^1.42.1
"@popperjs/core": ^2.11.5
"@saucelabs/theme-github-codeblock": ^0.2.3
Expand All @@ -2861,6 +2863,7 @@ __metadata:
flickity-fade: ^2.0.0
globby: ^13.1.4
hast-util-is-element: 1.1.0
html-react-parser: ^4.2.10
humanize-duration: ^3.30.0
infima: ^0.2.0-alpha.43
plugin-image-zoom: flexanalytics/plugin-image-zoom
Expand All @@ -2870,6 +2873,7 @@ __metadata:
react-dom: 18.2.0
react-flickity-component: ^3.6.3
react-image-gallery: ^1.3.0
react-markdown: 6
react-player: ^2.11.2
react-popper: ^2.3.0
react-select: ^5.7.7
Expand All @@ -2885,36 +2889,13 @@ __metadata:
typescript: ^4.5.4
url-loader: ^4.1.1
utf-8-validate: ^6.0.3
web3: ^4.2.2
webpack: ^5.89.0
webpack-node-externals: ^3.0.0
ws: ^8.16.0
languageName: unknown
linkType: soft

"@iota-wiki/theme@workspace:^, @iota-wiki/theme@workspace:theme":
version: 0.0.0-use.local
resolution: "@iota-wiki/theme@workspace:theme"
dependencies:
"@artsy/to-title-case": ^1.1.0
"@docusaurus/theme-classic": 2.4.3
"@docusaurus/theme-common": 2.4.3
"@docusaurus/types": 2.4.3
"@metamask/providers": ^10.2.1
"@types/react": 18.2.71
clsx: ^1.2.1
copyfiles: ^2.4.1
html-react-parser: ^4.2.10
nodemon: ^2.0.16
prettier: ^2.8.8
react: 18.2.0
react-markdown: 6
typescript: ^4.9
web3: ^4.2.2
peerDependencies:
react: "*"
languageName: unknown
linkType: soft

"@isaacs/cliui@npm:^8.0.2":
version: 8.0.2
resolution: "@isaacs/cliui@npm:8.0.2"
Expand Down Expand Up @@ -19378,7 +19359,7 @@ plugin-image-zoom@flexanalytics/plugin-image-zoom:
languageName: node
linkType: hard

"typescript@npm:^4.5.4, typescript@npm:^4.9":
"typescript@npm:^4.5.4":
version: 4.9.5
resolution: "typescript@npm:4.9.5"
bin:
Expand All @@ -19388,7 +19369,7 @@ plugin-image-zoom@flexanalytics/plugin-image-zoom:
languageName: node
linkType: hard

"typescript@patch:typescript@^4.5.4#~builtin<compat/typescript>, typescript@patch:typescript@^4.9#~builtin<compat/typescript>":
"typescript@patch:typescript@^4.5.4#~builtin<compat/typescript>":
version: 4.9.5
resolution: "typescript@patch:typescript@npm%3A4.9.5#~builtin<compat/typescript>::version=4.9.5&hash=bda367"
bin:
Expand Down

0 comments on commit 4d7f665

Please sign in to comment.