fsdcats 0.0.0-stage → 1.0.1
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 +22 -2
- package/all-practicals.txt +875 -0
- package/bin/cli.js +48 -0
- package/index.js +10 -0
- package/lib/generator.js +125 -0
- package/lib/practicalsData.js +762 -0
- package/package.json +23 -4
- package/practical-1.txt +104 -0
- package/practical-2.txt +113 -0
- package/practical-3.txt +169 -0
- package/practical-4.txt +176 -0
- package/practical-5.txt +198 -0
- package/practical-crud.txt +79 -0
- package/practicals/crud-operations/server.js +55 -0
- package/practicals/p1-vue-directives/App.vue +59 -0
- package/practicals/p1-vue-directives/users.json +5 -0
- package/practicals/p2-props-emits/App.vue +53 -0
- package/practicals/p2-props-emits/DriverCard.vue +20 -0
- package/practicals/p3-file-upload/App.vue +67 -0
- package/practicals/p3-file-upload/server.js +61 -0
- package/practicals/p4-pinia-form/App.vue +54 -0
- package/practicals/p4-pinia-form/server.js +35 -0
- package/practicals/p4-pinia-form/store.js +39 -0
- package/practicals/p5-nuxt-routing/app.vue +6 -0
- package/practicals/p5-nuxt-routing/layouts/default.vue +21 -0
- package/practicals/p5-nuxt-routing/layouts/minimal.vue +9 -0
- package/practicals/p5-nuxt-routing/pages/about.vue +14 -0
- package/practicals/p5-nuxt-routing/pages/index.vue +8 -0
- package/practicals/p5-nuxt-routing/pages/items/[id].vue +32 -0
- package/practicals/p5-nuxt-routing/pages/items/index.vue +22 -0
package/README.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
-
#
|
|
1
|
+
# fsdcats
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Minimal exam code generator with automatic clipboard copy.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx fsdcats 1 # Vue Directives
|
|
9
|
+
npx fsdcats 2 # Props & Emits
|
|
10
|
+
npx fsdcats 3 # File Upload
|
|
11
|
+
npx fsdcats 4 # Pinia Multi-Step Form
|
|
12
|
+
npx fsdcats 5 # Nuxt Routing & Layouts
|
|
13
|
+
npx fsdcats crud # Mongoose CRUD API
|
|
14
|
+
npx fsdcats all # All practicals
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Running any command creates the `.txt` file and **automatically copies the entire text directly to your clipboard**.
|
|
18
|
+
|
|
19
|
+
## Publish to npm
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm publish --access public --otp=YOUR_OTP
|
|
23
|
+
```
|