@nativescript-community/ui-collectionview-waterfall 4.0.64 → 4.0.66
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/CHANGELOG.md +16 -0
- package/README.md +72 -12
- package/package.json +6 -6
- package/vue/index.js.map +0 -1
- package/waterfall.android.js.map +0 -1
- package/waterfall.ios.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.0.66](https://github.com/nativescript-community/ui-collectionview/compare/v4.0.65...v4.0.66) (2023-01-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @nativescript-community/ui-collectionview-waterfall
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [4.0.65](https://github.com/nativescript-community/ui-collectionview/compare/v4.0.64...v4.0.65) (2022-12-18)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @nativescript-community/ui-collectionview-waterfall
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [4.0.64](https://github.com/nativescript-community/ui-collectionview/compare/v4.0.63...v4.0.64) (2022-12-01)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @nativescript-community/ui-collectionview-waterfall
|
package/README.md
CHANGED
|
@@ -40,9 +40,15 @@
|
|
|
40
40
|
* [Installation](#installation)
|
|
41
41
|
* [Configuration](#configuration)
|
|
42
42
|
* [Demos and Development](#demos-and-development)
|
|
43
|
-
* [Setup](#setup)
|
|
43
|
+
* [Repo Setup](#repo-setup)
|
|
44
44
|
* [Build](#build)
|
|
45
45
|
* [Demos](#demos)
|
|
46
|
+
* [Contributing](#contributing)
|
|
47
|
+
* [Update repo ](#update-repo-)
|
|
48
|
+
* [Update readme ](#update-readme-)
|
|
49
|
+
* [Update doc ](#update-doc-)
|
|
50
|
+
* [Publish](#publish)
|
|
51
|
+
* [modifying submodules](#modifying-submodules)
|
|
46
52
|
* [Questions](#questions)
|
|
47
53
|
|
|
48
54
|
|
|
@@ -72,18 +78,18 @@ then simply use the `layoutStyle="waterfall"` as a collectionview property
|
|
|
72
78
|
## Demos and Development
|
|
73
79
|
|
|
74
80
|
|
|
75
|
-
### Setup
|
|
76
|
-
|
|
77
|
-
To run the demos, you must clone this repo **recursively**.
|
|
81
|
+
### Repo Setup
|
|
78
82
|
|
|
83
|
+
The repo uses submodules. If you did not clone with ` --recursive` then you need to call
|
|
79
84
|
```
|
|
80
|
-
git
|
|
85
|
+
git submodule update --init
|
|
81
86
|
```
|
|
82
87
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
88
|
+
The package manager used to install and link dependencies must be `pnpm` or `yarn`. `npm` wont work.
|
|
89
|
+
|
|
90
|
+
To develop and test:
|
|
91
|
+
if you use `yarn` then run `yarn`
|
|
92
|
+
if you use `pnpm` then run `pnpm i`
|
|
87
93
|
|
|
88
94
|
**Interactive Menu:**
|
|
89
95
|
|
|
@@ -92,10 +98,9 @@ To start the interactive menu, run `npm start` (or `yarn start` or `pnpm start`)
|
|
|
92
98
|
### Build
|
|
93
99
|
|
|
94
100
|
```bash
|
|
95
|
-
npm run build
|
|
96
|
-
|
|
97
|
-
npm run build.angular # or for Angular
|
|
101
|
+
npm run build.all
|
|
98
102
|
```
|
|
103
|
+
WARNING: it seems `yarn build.all` wont always work (not finding binaries in `node_modules/.bin`) which is why the doc explicitly uses `npm run`
|
|
99
104
|
|
|
100
105
|
### Demos
|
|
101
106
|
|
|
@@ -104,6 +109,61 @@ npm run demo.[ng|react|svelte|vue].[ios|android]
|
|
|
104
109
|
|
|
105
110
|
npm run demo.svelte.ios # Example
|
|
106
111
|
```
|
|
112
|
+
|
|
113
|
+
Demo setup is a bit special in the sense that if you want to modify/add demos you dont work directly in `demo-[ng|react|svelte|vue]`
|
|
114
|
+
Instead you work in `demo-snippets/[ng|react|svelte|vue]`
|
|
115
|
+
You can start from the `install.ts` of each flavor to see how to register new demos
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
[](#contributing)
|
|
119
|
+
|
|
120
|
+
## Contributing
|
|
121
|
+
|
|
122
|
+
### Update repo
|
|
123
|
+
|
|
124
|
+
You can update the repo files quite easily
|
|
125
|
+
|
|
126
|
+
First update the submodules
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
npm run update
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Then commit the changes
|
|
133
|
+
Then update common files
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
npm run sync
|
|
137
|
+
```
|
|
138
|
+
Then you can run `yarn|pnpm`, commit changed files if any
|
|
139
|
+
|
|
140
|
+
### Update readme
|
|
141
|
+
```bash
|
|
142
|
+
npm run readme
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### Update doc
|
|
146
|
+
```bash
|
|
147
|
+
npm run doc
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### Publish
|
|
151
|
+
|
|
152
|
+
The publishing is completely handled by `lerna` (you can add `-- --bump major` to force a major release)
|
|
153
|
+
Simply run
|
|
154
|
+
```shell
|
|
155
|
+
npm run publish
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### modifying submodules
|
|
159
|
+
|
|
160
|
+
The repo uses https:// for submodules which means you won't be able to push directly into the submodules.
|
|
161
|
+
One easy solution is t modify `~/.gitconfig` and add
|
|
162
|
+
```
|
|
163
|
+
[url "ssh://git@github.com/"]
|
|
164
|
+
pushInsteadOf = https://github.com/
|
|
165
|
+
```
|
|
166
|
+
|
|
107
167
|
|
|
108
168
|
[](#questions)
|
|
109
169
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nativescript-community/ui-collectionview-waterfall",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.66",
|
|
4
4
|
"description": "A NativeScript CollectionView waterfall Plugin.",
|
|
5
5
|
"main": "./index",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "npm run tsc && npm run readme",
|
|
14
14
|
"build.all": "npm run build",
|
|
15
|
-
"readme": "
|
|
16
|
-
"tsc": "
|
|
17
|
-
"clean": "
|
|
15
|
+
"readme": "readme generate -c ../../tools/readme/blueprint.json",
|
|
16
|
+
"tsc": "cpy '**/*.d.ts' '../../packages/waterfall' --parents --cwd=../../src/waterfall && tsc -skipLibCheck -d",
|
|
17
|
+
"clean": "rimraf ./*.d.ts ./*.js ./*.js.map"
|
|
18
18
|
},
|
|
19
19
|
"nativescript": {
|
|
20
20
|
"platforms": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://github.com/nativescript-community/ui-collectionview#readme",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@nativescript-community/ui-collectionview": "^4.0.
|
|
41
|
+
"@nativescript-community/ui-collectionview": "^4.0.66"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "5f90ee9c777544c67ba9fe5493780133377aa6a6"
|
|
44
44
|
}
|
package/vue/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["vue/index.ts"],"names":[],"mappings":";AAAA,8CAA0D;AAE1D,IAAM,iBAAiB,GAAG;IACtB,OAAO,YAAC,GAAG,EAAE,OAAO;QAChB,GAAG,CAAC,eAAe,CAAC,aAAa,EAAE,cAAM,OAAA,yBAAW,EAAX,CAAW,CAAC,CAAC;QACtD,GAAG,CAAC,eAAe,CAAC,OAAO,EAAE,cAAM,OAAA,kBAAI,EAAJ,CAAI,CAAC,CAAC;QACzC,GAAG,CAAC,eAAe,CAAC,QAAQ,EAAE,cAAM,OAAA,mBAAK,EAAL,CAAK,CAAC,CAAC;IAC/C,CAAC;CACJ,CAAC;AAEF,kBAAe,iBAAiB,CAAC"}
|
package/waterfall.android.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"waterfall.android.js","sourceRoot":"../src/","sources":["waterfall.android.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAC3E,MAAM,CAAC,OAAO,UAAU,OAAO;IAC3B,cAAc,CAAC,mBAAmB,CAAC,WAAW,EAAE;QAC5C,YAAY,EAAE,CAAC,cAA8B,EAAE,EAAE,CAAC,IAAI,QAAQ,CAAC,YAAY,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC,EAAE,CAAC,CAAC;KACtH,CAAC,CAAC;AACP,CAAC"}
|
package/waterfall.ios.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"waterfall.ios.js","sourceRoot":"../src/","sources":["waterfall.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+C3E,MAAM,CAAC,OAAO,UAAU,OAAO;IAC3B,cAAc,CAAC,mBAAmB,CAAC,WAAW,EAAE;QAC5C,YAAY,EAAE,CAAC,cAA8B,EAAE,EAAE;YAC7C,MAAM,MAAM,GAAG,6BAA6B,CAAC,GAAG,EAAE,CAAC;YACnD,MAAM,CAAC,aAAa,CAAC,GAAG,cAAc,CAAC,gBAAgB,EAAE,CAAC;YAG1D,OAAO,MAAM,CAAC;QAClB,CAAC;QACD,cAAc,EAAE,GAAG,EAAE,CAAC,qCAAqC,CAAC,GAAG,EAAE;KACpE,CAAC,CAAC;IACH,cAAc,CAAC,cAAc,CAAC,WAAW,EAAE;QACvC,QAAQ,EAAE,CAAC,cAA8B,EAAE,EAAE;YACzC,MAAM,MAAM,GAAG,cAAc,CAAC,mBAAmB,CAAC,oBAAoB,CAAC;YACvE,MAAM,CAAC,aAAa,CAAC,GAAG,cAAc,CAAC,gBAAgB,EAAE,CAAC;QAC9D,CAAC;KACJ,CAAC,CAAC;AACP,CAAC"}
|