shinkansen-cogs 1.5.71 → 1.5.73
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 +7 -4
- package/package.json +1 -1
- package/nvm.sh +0 -43
package/README.md
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
## `shinkansen-cogs`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Shinkansen generates JSON Schema valid documents from user submissions with `<html />` forms.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
# Cogs
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
_Cogs_ are React components for input fields.
|
|
8
|
+
|
|
9
|
+
_Cogs_ are the smallest components of _Engine_, for React form layouts.
|
|
8
10
|
|
|
9
11
|
## See also
|
|
10
12
|
|
|
11
|
-
- [
|
|
13
|
+
- [Sprockets](https://github.com/modernpoacher/shinkansen-sprockets)
|
|
14
|
+
- [Engine](https://github.com/modernpoacher/shinkansen-engine)
|
package/package.json
CHANGED
package/nvm.sh
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
NVM=~/.nvm
|
|
4
|
-
|
|
5
|
-
if [ -f "$NVM/nvm.sh" ];
|
|
6
|
-
then
|
|
7
|
-
unset npm_package_scripts_nvm
|
|
8
|
-
unset npm_config_prefix
|
|
9
|
-
unset npm_lifecycle_script
|
|
10
|
-
|
|
11
|
-
source $NVM/nvm.sh
|
|
12
|
-
else
|
|
13
|
-
NVM=$(brew --prefix nvm 2> /dev/null)
|
|
14
|
-
|
|
15
|
-
if [ -f "$NVM/nvm.sh" ];
|
|
16
|
-
then
|
|
17
|
-
unset npm_package_scripts_nvm
|
|
18
|
-
unset npm_config_prefix
|
|
19
|
-
unset npm_lifecycle_script
|
|
20
|
-
|
|
21
|
-
source $NVM/nvm.sh
|
|
22
|
-
fi
|
|
23
|
-
fi
|
|
24
|
-
|
|
25
|
-
VERSION=$(nvm --version 2> /dev/null)
|
|
26
|
-
|
|
27
|
-
if [ -z "$VERSION" ];
|
|
28
|
-
then
|
|
29
|
-
echo Environment does not have NVM installed
|
|
30
|
-
else
|
|
31
|
-
echo Environment has NVM version $VERSION installed
|
|
32
|
-
|
|
33
|
-
set -e
|
|
34
|
-
|
|
35
|
-
nvm use
|
|
36
|
-
|
|
37
|
-
if [[ $? != 0 ]];
|
|
38
|
-
then
|
|
39
|
-
echo Environment does not have NVM configured
|
|
40
|
-
else
|
|
41
|
-
echo Environment has NVM version $VERSION configured
|
|
42
|
-
fi
|
|
43
|
-
fi
|