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.
@@ -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 (Using new naming convention)
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "juxscript",
3
- "version": "1.0.99",
3
+ "version": "1.0.101",
4
4
  "type": "module",
5
5
  "description": "A JavaScript UX authorship platform",
6
6
  "main": "./index.js",
package/types/css.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  /**
2
- * CSS Module Support
3
- * Allows importing .css files as strings
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;
@@ -1,2 +0,0 @@
1
- declare const styles: string;
2
- export default styles;
@@ -1,2 +0,0 @@
1
- declare const styles: string;
2
- export default styles;
@@ -1,2 +0,0 @@
1
- declare const styles: string;
2
- export default styles;
@@ -1,2 +0,0 @@
1
- declare const styles: string;
2
- export default styles;