Explorar el Código

rename package

Yuki Takei hace 3 años
padre
commit
b4f91f4ef1

+ 1 - 0
.github/workflows/ci-app-prod.yml

@@ -15,6 +15,7 @@ on:
       - packages/codemirror-textlint/**
       - packages/core/**
       - packages/preset-themes/**
+      - packages/presentation/**
       - packages/remark-*/**
       - packages/slack/**
       - packages/ui/**

+ 1 - 0
.github/workflows/ci-app.yml

@@ -15,6 +15,7 @@ on:
       - packages/codemirror-textlint/**
       - packages/core/**
       - packages/preset-themes/**
+      - packages/presentation/**
       - packages/remark-*/**
       - packages/slack/**
       - packages/ui/**

+ 1 - 1
packages/app/docker/Dockerfile

@@ -99,10 +99,10 @@ COPY packages/codemirror-textlint packages/codemirror-textlint
 COPY packages/preset-themes packages/preset-themes
 COPY packages/slack packages/slack
 COPY packages/hackmd packages/hackmd
+COPY packages/presentation packages/presentation
 COPY packages/remark-drawio packages/remark-drawio
 COPY packages/remark-growi-directive packages/remark-growi-directive
 COPY packages/remark-lsx packages/remark-lsx
-COPY packages/remark-presentation packages/remark-presentation
 COPY packages/ui packages/ui
 COPY packages/core packages/core
 COPY packages/app packages/app

+ 1 - 1
packages/app/src/services/renderer/renderer.tsx

@@ -2,11 +2,11 @@
 import type { ComponentType } from 'react';
 
 import { isClient } from '@growi/core';
+import * as presentation from '@growi/presentation';
 import * as drawioPlugin from '@growi/remark-drawio';
 import growiDirective from '@growi/remark-growi-directive';
 import { Lsx, LsxImmutable } from '@growi/remark-lsx/components';
 import * as lsxGrowiPlugin from '@growi/remark-lsx/services/renderer';
-import * as presentation from '@growi/remark-presentation';
 import type { Schema as SanitizeOption } from 'hast-util-sanitize';
 import type { SpecialComponents } from 'react-markdown/lib/ast-to-react';
 import type { NormalComponents } from 'react-markdown/lib/complex-types';

+ 0 - 0
packages/remark-presentation/.eslintignore → packages/presentation/.eslintignore


+ 0 - 0
packages/remark-presentation/.eslintrc.js → packages/presentation/.eslintrc.js


+ 0 - 0
packages/remark-presentation/.gitignore → packages/presentation/.gitignore


+ 3 - 0
packages/presentation/README.md

@@ -0,0 +1,3 @@
+# presentation
+
+[GROWI][growi] sub-package for presentation

+ 1 - 1
packages/remark-presentation/package.json → packages/presentation/package.json

@@ -1,5 +1,5 @@
 {
-  "name": "@growi/remark-presentation",
+  "name": "@growi/presentation",
   "version": "6.0.6-RC.0",
   "description": "GROWI plugin for presentation",
   "license": "MIT",

+ 0 - 0
packages/remark-presentation/src/components/Slide.tsx → packages/presentation/src/components/Slide.tsx


+ 0 - 0
packages/remark-presentation/src/components/index.ts → packages/presentation/src/components/index.ts


+ 0 - 0
packages/remark-presentation/src/index.ts → packages/presentation/src/index.ts


+ 0 - 0
packages/remark-presentation/src/services/renderer/index.ts → packages/presentation/src/services/renderer/index.ts


+ 0 - 0
packages/remark-presentation/src/services/renderer/presentation.ts → packages/presentation/src/services/renderer/presentation.ts


+ 0 - 0
packages/remark-presentation/tsconfig.base.json → packages/presentation/tsconfig.base.json


+ 0 - 0
packages/remark-presentation/tsconfig.build.json → packages/presentation/tsconfig.build.json


+ 0 - 0
packages/remark-presentation/tsconfig.json → packages/presentation/tsconfig.json


+ 0 - 4
packages/remark-presentation/README.md

@@ -1,4 +0,0 @@
-# remark-presentation
-
-[GROWI][growi] sub-package for presentation with [react-splide](https://github.com/Splidejs/react-splide)
-