@lotte-innovate/ui-component-test 0.2.20 → 0.2.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/dist/lib/components/Editor/index.js +2 -2
- package/dist/lib/components/Editor/index.mjs +1 -1
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/post-tinymce.d.ts +0 -1
- package/dist/post-tinymce.js +0 -22
- /package/{post-tinymce.js → src/utils/post-tinymce.js} +0 -0
package/dist/post-tinymce.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import fs from 'fs';
|
|
2
|
-
import path from 'path';
|
|
3
|
-
import { fileURLToPath } from 'url';
|
|
4
|
-
var __filename = fileURLToPath(import.meta.url);
|
|
5
|
-
var __dirname = path.dirname(__filename);
|
|
6
|
-
var sourceFile = path.join(__dirname, 'public/tinymce/skins/ui/oxide/content.min.css');
|
|
7
|
-
var destinationFile = path.join(__dirname, '../../../public/tinymce/skins/ui/oxide/content.min.css');
|
|
8
|
-
// sourceDir이 존재하지 않으면 로직 중단
|
|
9
|
-
if (!fs.existsSync(sourceFile)) {
|
|
10
|
-
console.error("Error: Directory ".concat(sourceFile, " does not exist."));
|
|
11
|
-
process.exit(1);
|
|
12
|
-
}
|
|
13
|
-
function copyFile(src, dest) {
|
|
14
|
-
var destDir = path.dirname(dest);
|
|
15
|
-
if (!fs.existsSync(destDir)) {
|
|
16
|
-
fs.mkdirSync(destDir, { recursive: true });
|
|
17
|
-
}
|
|
18
|
-
// 파일 복사
|
|
19
|
-
fs.copyFileSync(src, dest);
|
|
20
|
-
console.log("\uD30C\uC77C\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uBCF5\uC0AC\uB418\uC5C8\uC2B5\uB2C8\uB2E4: ".concat(dest));
|
|
21
|
-
}
|
|
22
|
-
copyFile(sourceFile, destinationFile);
|
|
File without changes
|