create-alistt69-kit 0.1.4 → 0.1.6

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 CHANGED
@@ -65,7 +65,7 @@ npm create alistt69-kit@latest
65
65
  Follow the prompts — or skip them entirely:
66
66
 
67
67
  ```bash
68
- npm create alistt69-kit@latest my-app -- --defaults
68
+ npm create alistt69-kit@latest my-app -- -- --defaults
69
69
  ```
70
70
 
71
71
  ## 🛠️ Usage examples
@@ -75,22 +75,22 @@ npm create alistt69-kit@latest my-app -- --defaults
75
75
  npm create alistt69-kit@latest my-app
76
76
 
77
77
  # All defaults, no prompts
78
- npm create alistt69-kit@latest my-app -- --defaults
78
+ npm create alistt69-kit@latest my-app -- -- --defaults
79
79
 
80
80
  # Skip dependency installation
81
- npm create alistt69-kit@latest my-app -- --no-install
81
+ npm create alistt69-kit@latest my-app -- -- --no-install
82
82
 
83
83
  # Enable only selected features
84
- npm create alistt69-kit@latest my-app -- --features=eslint,react-router
84
+ npm create alistt69-kit@latest my-app -- -- --features=eslint,react-router
85
85
 
86
86
  # Enable all optional features
87
- npm create alistt69-kit@latest my-app -- --features=all
87
+ npm create alistt69-kit@latest my-app -- -- --features=all
88
88
 
89
89
  # Use pnpm as package manager
90
- npm create alistt69-kit@latest my-app -- --pm pnpm
90
+ npm create alistt69-kit@latest my-app -- -- --pm pnpm
91
91
 
92
92
  # Overwrite existing directory
93
- npm create alistt69-kit@latest my-app -- --defaults --overwrite
93
+ npm create alistt69-kit@latest my-app -- -- --defaults --overwrite
94
94
  ```
95
95
 
96
96
  ## ⚙️ CLI options
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-alistt69-kit",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Opinionated React + TypeScript + Webpack project generator by alistt69",
5
5
  "keywords": [
6
6
  "create",
@@ -1,9 +1,12 @@
1
1
  import { RouterProvider } from 'react-router-dom';
2
2
  import { appRouter } from './providers/router/config/router';
3
+ import styles from './styles.module.scss';
3
4
 
4
5
  function App() {
5
6
  return (
6
- <RouterProvider router={appRouter} />
7
+ <div className={styles.app_wrapper}>
8
+ <RouterProvider router={appRouter} />
9
+ </div>
7
10
  );
8
11
  }
9
12
 
@@ -1,6 +1,10 @@
1
+ import styles from './styles.module.scss';
2
+
1
3
  function App() {
2
4
  return (
3
- <h1>alistt69</h1>
5
+ <div className={styles.app_wrapper}>
6
+ alistt69
7
+ </div>
4
8
  )
5
9
  }
6
10
 
@@ -0,0 +1,3 @@
1
+ .app_wrapper {
2
+
3
+ }
@@ -0,0 +1,16 @@
1
+ declare module '*.module.scss' {
2
+ type IClassNames = Record<string, string>;
3
+
4
+ const classNames: IClassNames;
5
+ export = classNames;
6
+ }
7
+
8
+ declare module '*.png';
9
+ declare module '*.jpg';
10
+ declare module '*.jpeg';
11
+ declare module '*.svg' {
12
+ import { FC, SVGProps } from 'react';
13
+
14
+ const SVG: FC<SVGProps<SVGSVGElement>>;
15
+ export default SVG;
16
+ }