@lotte-innovate/ui-component-test 0.2.16 → 0.2.18
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/post-tinymce.js +6 -3
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lotte-innovate/ui-component-test",
|
3
3
|
"description": "Lotte UI Library",
|
4
|
-
"version": "0.2.
|
4
|
+
"version": "0.2.18",
|
5
5
|
"private": false,
|
6
6
|
"type": "module",
|
7
7
|
"files": [
|
@@ -40,7 +40,7 @@
|
|
40
40
|
"lint": "next lint",
|
41
41
|
"prepare": "next build",
|
42
42
|
"start": "next start",
|
43
|
-
"postinstall": "node post-tinymce.js",
|
43
|
+
"postinstall": "node post-tinymce.js && echo 'Running postinstall script...'",
|
44
44
|
"compile": "tsc --jsx react-jsx",
|
45
45
|
"build": "next build && npm run compile",
|
46
46
|
"clean": "rimraf dist && mkdir dist && rimraf .rollup.cache",
|
package/post-tinymce.js
CHANGED
@@ -6,10 +6,13 @@ const __filename = fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = path.dirname(__filename);
|
7
7
|
const projectRoot = process.cwd();
|
8
8
|
|
9
|
-
const sourceFile = path.join(__dirname, '
|
10
|
-
const destinationFile = path.join(
|
9
|
+
const sourceFile = path.join(__dirname, 'public/tinymce/skins/ui/oxide/content.min.css');
|
10
|
+
const destinationFile = path.join(
|
11
|
+
projectRoot,
|
12
|
+
'../../../public/tinymce/skins/ui/oxide/content.min.css',
|
13
|
+
);
|
11
14
|
|
12
|
-
console.log(
|
15
|
+
console.log(`복사 대상 작업 디렉토리: ${destinationFile}`);
|
13
16
|
|
14
17
|
// sourceDir이 존재하지 않으면 로직 중단
|
15
18
|
if (!fs.existsSync(sourceFile)) {
|