create-lunar-kit 0.1.21-beta.v0 → 1.0.0
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 +4 -4
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/README.MD
CHANGED
|
@@ -152,9 +152,9 @@ After creation, you can start building immediately:
|
|
|
152
152
|
```typescript
|
|
153
153
|
// app/index.tsx
|
|
154
154
|
import { View } from 'react-native';
|
|
155
|
-
import { Button } from '@/components/
|
|
156
|
-
import { Card } from '@/components/
|
|
157
|
-
import { Text } from '@/components/
|
|
155
|
+
import { Button } from '@/lunar-kit/components/button';
|
|
156
|
+
import { Card } from '@/lunar-kit/components/card';
|
|
157
|
+
import { Text } from '@/lunar-kit/components/text';
|
|
158
158
|
|
|
159
159
|
export default function HomeScreen() {
|
|
160
160
|
return (
|
|
@@ -248,7 +248,7 @@ const { theme, toggleTheme } = useTheme();
|
|
|
248
248
|
Full TypeScript support with proper types:
|
|
249
249
|
|
|
250
250
|
```typescript
|
|
251
|
-
import type { ButtonProps } from '@/components/
|
|
251
|
+
import type { ButtonProps } from '@/lunar-kit/components/button';
|
|
252
252
|
```
|
|
253
253
|
|
|
254
254
|
### File-based Routing
|
package/dist/index.js
CHANGED
|
@@ -335,7 +335,7 @@ function closeInitProject(packageManager, name) {
|
|
|
335
335
|
// package.json
|
|
336
336
|
var package_default = {
|
|
337
337
|
name: "create-lunar-kit",
|
|
338
|
-
version: "
|
|
338
|
+
version: "1.0.0",
|
|
339
339
|
description: "Create a new React Native app with Lunar Kit and NativeWind pre-configured",
|
|
340
340
|
author: "Your Name",
|
|
341
341
|
license: "MIT",
|
|
@@ -360,7 +360,7 @@ var package_default = {
|
|
|
360
360
|
],
|
|
361
361
|
dependencies: {
|
|
362
362
|
"@clack/prompts": "^1.1.0",
|
|
363
|
-
"@lunar-kit/core": "
|
|
363
|
+
"@lunar-kit/core": "1.0.0",
|
|
364
364
|
chalk: "^5.4.1",
|
|
365
365
|
commander: "^12.1.0",
|
|
366
366
|
execa: "^9.6.1",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-lunar-kit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Create a new React Native app with Lunar Kit and NativeWind pre-configured",
|
|
5
5
|
"author": "Your Name",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@clack/prompts": "^1.1.0",
|
|
28
|
-
"@lunar-kit/core": "
|
|
28
|
+
"@lunar-kit/core": "1.0.0",
|
|
29
29
|
"chalk": "^5.4.1",
|
|
30
30
|
"commander": "^12.1.0",
|
|
31
31
|
"execa": "^9.6.1",
|