juxscript 1.0.99 → 1.0.101
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/lib/componentsv2/tools/Scaffold.js +2 -3
- package/package.json +1 -1
- package/types/css.d.ts +4 -2
- package/lib/componentsv2/element/structure.css.d.ts +0 -2
- package/lib/componentsv2/grid/structure.css.d.ts +0 -2
- package/lib/componentsv2/input/structure.css.d.ts +0 -2
- package/lib/componentsv2/list/structure.css.d.ts +0 -2
|
@@ -35,13 +35,12 @@ const indexBackup = fs.readFileSync(INDEX_FILE, 'utf-8');
|
|
|
35
35
|
// 1. Create Directory
|
|
36
36
|
fs.mkdirSync(targetDir);
|
|
37
37
|
|
|
38
|
-
// 2. Generate Files from Stubs
|
|
38
|
+
// 2. Generate Files from Stubs
|
|
39
39
|
const stubs = {
|
|
40
40
|
'ComponentComposition.ts.stub': `component.ts`,
|
|
41
41
|
'ComponentEngine.ts.stub': `engine.ts`,
|
|
42
42
|
'ComponentSkin.ts.stub': `skin.ts`,
|
|
43
|
-
'ComponentStructure.css.stub': `structure.css
|
|
44
|
-
'ComponentStructure.css.d.ts.stub': `structure.css.d.ts` // ✅ Added CSS type declaration
|
|
43
|
+
'ComponentStructure.css.stub': `structure.css`
|
|
45
44
|
};
|
|
46
45
|
|
|
47
46
|
Object.entries(stubs).forEach(([stub, file]) => {
|
package/package.json
CHANGED
package/types/css.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* CSS Module
|
|
3
|
-
*
|
|
2
|
+
* CSS Module Type Declaration
|
|
3
|
+
*
|
|
4
|
+
* This single declaration handles ALL .css imports in the project.
|
|
5
|
+
* No need for individual .d.ts files next to each CSS file.
|
|
4
6
|
*/
|
|
5
7
|
declare module '*.css' {
|
|
6
8
|
const content: string;
|