rename plugin folders

pull/3475/head
Joseph Izang 2 years ago committed by Aniket
parent 6fab2ee3c5
commit d90382ac3f
  1. 0
      apps/doc-gen/.eslintrc.json
  2. 0
      apps/doc-gen/.prettierrc
  3. 26
      apps/doc-gen/project.json
  4. 0
      apps/doc-gen/src/app/App.css
  5. 6
      apps/doc-gen/src/app/App.tsx
  6. 0
      apps/doc-gen/src/app/docgen-client.ts
  7. 0
      apps/doc-gen/src/app/docgen/common/helpers.ts
  8. 0
      apps/doc-gen/src/app/docgen/common/properties.ts
  9. 0
      apps/doc-gen/src/app/docgen/config.ts
  10. 0
      apps/doc-gen/src/app/docgen/doc-item.ts
  11. 0
      apps/doc-gen/src/app/docgen/render.ts
  12. 0
      apps/doc-gen/src/app/docgen/site.ts
  13. 0
      apps/doc-gen/src/app/docgen/templates.ts
  14. 0
      apps/doc-gen/src/app/docgen/themes/markdown/common.hbs
  15. 0
      apps/doc-gen/src/app/docgen/themes/markdown/contract.hbs
  16. 0
      apps/doc-gen/src/app/docgen/themes/markdown/enum.hbs
  17. 0
      apps/doc-gen/src/app/docgen/themes/markdown/error.hbs
  18. 0
      apps/doc-gen/src/app/docgen/themes/markdown/event.hbs
  19. 0
      apps/doc-gen/src/app/docgen/themes/markdown/function.hbs
  20. 0
      apps/doc-gen/src/app/docgen/themes/markdown/helpers.ts
  21. 0
      apps/doc-gen/src/app/docgen/themes/markdown/modifier.hbs
  22. 0
      apps/doc-gen/src/app/docgen/themes/markdown/page.hbs
  23. 0
      apps/doc-gen/src/app/docgen/themes/markdown/struct.hbs
  24. 0
      apps/doc-gen/src/app/docgen/themes/markdown/user-defined-value-type.hbs
  25. 0
      apps/doc-gen/src/app/docgen/themes/markdown/variable.hbs
  26. 0
      apps/doc-gen/src/app/docgen/utils/ItemError.ts
  27. 0
      apps/doc-gen/src/app/docgen/utils/arrays-equal.ts
  28. 0
      apps/doc-gen/src/app/docgen/utils/assert-equal-types.ts
  29. 0
      apps/doc-gen/src/app/docgen/utils/clone.ts
  30. 0
      apps/doc-gen/src/app/docgen/utils/ensure-array.ts
  31. 0
      apps/doc-gen/src/app/docgen/utils/execall.ts
  32. 0
      apps/doc-gen/src/app/docgen/utils/is-child.ts
  33. 0
      apps/doc-gen/src/app/docgen/utils/item-type.ts
  34. 0
      apps/doc-gen/src/app/docgen/utils/map-keys.ts
  35. 0
      apps/doc-gen/src/app/docgen/utils/map-values.ts
  36. 0
      apps/doc-gen/src/app/docgen/utils/memoized-getter.ts
  37. 0
      apps/doc-gen/src/app/docgen/utils/natspec.ts
  38. 0
      apps/doc-gen/src/app/docgen/utils/read-item-docs.ts
  39. 0
      apps/doc-gen/src/app/docgen/utils/scope.ts
  40. 0
      apps/doc-gen/src/app/hooks/useLocalStorage.tsx
  41. 0
      apps/doc-gen/src/app/views/ErrorView.tsx
  42. 0
      apps/doc-gen/src/app/views/index.ts
  43. 0
      apps/doc-gen/src/favicon.ico
  44. 0
      apps/doc-gen/src/index.html
  45. 0
      apps/doc-gen/src/main.tsx
  46. 0
      apps/doc-gen/src/types.ts
  47. 0
      apps/doc-gen/tsconfig.app.json
  48. 0
      apps/doc-gen/tsconfig.json
  49. 0
      apps/doc-gen/webpack.config.js
  50. 0
      apps/doc-viewer/project.json
  51. 0
      apps/doc-viewer/src/app/App.tsx
  52. 0
      apps/doc-viewer/src/app/docviewer.ts
  53. 0
      apps/doc-viewer/src/favicon.ico
  54. 0
      apps/doc-viewer/src/index.html
  55. 0
      apps/doc-viewer/src/main.tsx
  56. 0
      apps/doc-viewer/tsconfig.app.json
  57. 0
      apps/doc-viewer/tsconfig.json
  58. 0
      apps/doc-viewer/webpack.config.js

@ -1,7 +1,7 @@
{ {
"name": "remixdocgen", "name": "doc-gen",
"$schema": "../../node_modules/nx/schemas/project-schema.json", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/remixdocgen/src", "sourceRoot": "apps/doc-gen/src",
"projectType": "application", "projectType": "application",
"implicitDependencies": [ "implicitDependencies": [
], ],
@ -12,17 +12,17 @@
"defaultConfiguration": "development", "defaultConfiguration": "development",
"options": { "options": {
"compiler": "babel", "compiler": "babel",
"outputPath": "dist/apps/remixdocgen", "outputPath": "dist/apps/doc-gen",
"index": "apps/remixdocgen/src/index.html", "index": "apps/doc-gen/src/index.html",
"baseHref": "/", "baseHref": "/",
"main": "apps/remixdocgen/src/main.tsx", "main": "apps/doc-gen/src/main.tsx",
"tsConfig": "apps/remixdocgen/tsconfig.app.json", "tsConfig": "apps/doc-gen/tsconfig.app.json",
"assets": [ "assets": [
"apps/remixdocgen/src/favicon.ico" "apps/doc-gen/src/favicon.ico"
], ],
"styles": [], "styles": [],
"scripts": [], "scripts": [],
"webpackConfig": "apps/remixdocgen/webpack.config.js" "webpackConfig": "apps/doc-gen/webpack.config.js"
}, },
"configurations": { "configurations": {
"development": { "development": {
@ -30,8 +30,8 @@
"production": { "production": {
"fileReplacements": [ "fileReplacements": [
{ {
"replace": "apps/remixdocgen/src/environments/environment.ts", "replace": "apps/doc-gen/src/environments/environment.ts",
"with": "apps/remixdocgen/src/environments/environment.prod.ts" "with": "apps/doc-gen/src/environments/environment.prod.ts"
} }
] ]
} }
@ -41,16 +41,16 @@
"executor": "@nrwl/webpack:dev-server", "executor": "@nrwl/webpack:dev-server",
"defaultConfiguration": "development", "defaultConfiguration": "development",
"options": { "options": {
"buildTarget": "remixdocgen:build", "buildTarget": "doc-gen:build",
"hmr": true "hmr": true
}, },
"configurations": { "configurations": {
"development": { "development": {
"buildTarget": "remixdocgen:build:development", "buildTarget": "doc-gen:build:development",
"port": 6003 "port": 6003
}, },
"production": { "production": {
"buildTarget": "remixdocgen:build:production" "buildTarget": "doc-gen:build:production"
} }
} }
} }

@ -31,11 +31,11 @@ const App = () => {
}, []) }, [])
return ( return (
<div> <div className="p-3">
<h1>Remix Docgen</h1> <h1>Remix Docgen</h1>
{fileName && <h4>File: {fileName.split('/')[1].split('.')[0].concat('.sol')}</h4>} {fileName && <h4>File: {fileName.split('/')[1].split('.')[0].concat('.sol')}</h4>}
{hasBuild && <button className="btn btn-primary mr-3 ml-3 rounded" onClick={() => client.generateDocs()}>Generate doc</button>} {hasBuild && <button className="btn btn-primary btn-block mt-4 rounded" onClick={() => client.generateDocs()}>Generate doc</button>}
{hasBuild && <button className="btn btn-primary mr-3 ml-3 rounded" onClick={() => client.opendDocs(client.docs)}>Open docs</button>}
</div> </div>
) )
}; };

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Loading…
Cancel
Save