domma-cms 0.6.10 → 0.6.12
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/package.json +1 -1
- package/public/js/package.json +3 -0
- package/scripts/build.js +5 -2
package/package.json
CHANGED
package/scripts/build.js
CHANGED
|
@@ -19,8 +19,9 @@ const COPY_AS_IS = [
|
|
|
19
19
|
'config',
|
|
20
20
|
'scripts',
|
|
21
21
|
'package.json',
|
|
22
|
+
'public/js/package.json',
|
|
22
23
|
'README.md',
|
|
23
|
-
|
|
24
|
+
'CLAUDE.md',
|
|
24
25
|
'LICENSE',
|
|
25
26
|
'.npmignore',
|
|
26
27
|
];
|
|
@@ -124,7 +125,9 @@ async function build() {
|
|
|
124
125
|
for (const item of COPY_AS_IS) {
|
|
125
126
|
const src = join(ROOT, item);
|
|
126
127
|
if (existsSync(src)) {
|
|
127
|
-
|
|
128
|
+
const dest = join(OUT, item);
|
|
129
|
+
mkdirSync(dirname(dest), {recursive: true});
|
|
130
|
+
cpSync(src, dest, {recursive: true});
|
|
128
131
|
}
|
|
129
132
|
}
|
|
130
133
|
|