@capillarytech/cap-ui-dev-tools 0.0.2 → 0.0.4
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
|
@@ -21,6 +21,8 @@ This plugin provides a single, clean interface to handle both aliasing and watch
|
|
|
21
21
|
|
|
22
22
|
**Based on initial testing, this can reduce development iteration time by over 90% (e.g., from 3 minutes to under 10 seconds).**
|
|
23
23
|
|
|
24
|
+

|
|
25
|
+
|
|
24
26
|
## Installation
|
|
25
27
|
|
|
26
28
|
```bash
|
|
@@ -74,7 +76,7 @@ module.exports = {
|
|
|
74
76
|
// Optional: Options passed directly to chokidar.
|
|
75
77
|
// See https://github.com/paulmillr/chokidar#api for details.
|
|
76
78
|
watchOptions: {
|
|
77
|
-
//
|
|
79
|
+
// ..
|
|
78
80
|
}
|
|
79
81
|
})
|
|
80
82
|
]
|
|
@@ -95,7 +97,3 @@ module.exports = {
|
|
|
95
97
|
- **Check Paths**: Make sure the `path` in the `libs` configuration is an **absolute path** pointing to the **source code** of your library. Use `path.resolve(__dirname, '..', 'your-lib')`.
|
|
96
98
|
- **Check Name**: Ensure the `name` property matches the package name your host application is trying to import (e.g., `'cap-creatives-ui'`).
|
|
97
99
|
- **Enable `verbose` mode**: Set `verbose: true` to see detailed logs. It will confirm which aliases are being created and which paths are being watched.
|
|
98
|
-
|
|
99
|
-
## License
|
|
100
|
-
|
|
101
|
-
ISC
|
package/architecture.png
ADDED
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capillarytech/cap-ui-dev-tools",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"main": "src/LibraryWatcherPlugin.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "webpack serve",
|
|
@@ -24,4 +24,4 @@
|
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"webpack": "^5.0.0"
|
|
26
26
|
}
|
|
27
|
-
}
|
|
27
|
+
}
|