You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.MD
+22-3Lines changed: 22 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,22 @@
1
+
### 2.2.9
2
+
3
+
- Added:
4
+
- New record button at the top of the table
5
+
- Yalc instructions to README as an alternative to yarn link(buggy) for development
6
+
- Fix:
7
+
- Archive functionality
8
+
- Archive icon style
9
+
10
+
### 2.2.7 / 2.2.8
11
+
- No change - We weren't sure if yarn link was broken or the library was broken
12
+
13
+
### 2.2.6
14
+
15
+
- Added:
16
+
- Edit and archive buttons to table rows
17
+
- Archived styling for rows that are archived
18
+
- Configure whether edit and archive columns are shown via keys in the options prop of the FilterableTable. See README.md for more details about table props.
19
+
1
20
### 2.2.5
2
21
3
22
- Fix: add .node-version and .tool-version files
@@ -65,7 +84,7 @@
65
84
- Enforce newline between computed properties, methods and props
66
85
- Enforce newline between sibling elements in markdown
67
86
- Enforce whitespace between `if` and `()`
68
-
- Refactoring:
87
+
- Refactoring:
69
88
- Use `mapGetters`, `mapState` & `mapActions` and `createNamespacedHelpers` instead of `this.$store.getters[]`
70
89
- Use `const` for mutable object assignments
71
90
- Use `v-text` instead of `{{}}` wherever possible
@@ -95,8 +114,8 @@
95
114
- Fix the CSV Download
96
115
### 1.0.1
97
116
98
-
-
117
+
-
99
118
100
119
### 1.0.0
101
120
102
-
Initial version of the component library to test it works with npm.
121
+
Initial version of the component library to test it works with npm.
Copy file name to clipboardExpand all lines: README.md
+14-3Lines changed: 14 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -33,11 +33,22 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
33
33
### Install local package
34
34
- Clone this repo
35
35
- Run `yarn build-lib` to create the library files in the dist folder
36
-
- Run `yarn link` to enable you to sync this repo to another
36
+
- Run either `yarn link` (not working well) to enable you to sync this repo to another OR `yalc push` (working well) to publish your library files to the local yalc repository
37
+
-**in order to use `yalc push` you need to first install yalc, run `yarn global add yalc` or `npm install -g yalc` in the terminal**
38
+
- if using `yalc` whenever you change something in the code and want to try it, you have to run `yarn build-lib` and `yalc push`
37
39
38
40
In your **new project** do the following:
39
-
- Add the following the the package.json `"@unep-wcmc/wcmc-components": "../wcmc-components",`
40
-
- Run `yarn link "@unep-wcmc/wcmc-components"`
41
+
- if using `yarn link`
42
+
- Add the following the the package.json `"@unep-wcmc/wcmc-components": "../wcmc-components",`
43
+
- Run `yarn link "@unep-wcmc/wcmc-components"`
44
+
- if using `yalc push`
45
+
- Run `yalc add @unep-wcmc/wcmc-components && yalc link @unep-wcmc/wcmc-components && yarn install`
46
+
- Add the following to the .gitignore file
47
+
```
48
+
# Yalc
49
+
/.yalc
50
+
yalc.lock
51
+
````
41
52
- In your js file add `import FilterableTable from "@unep-wcmc/wcmc-components"`
42
53
- In your js file add `Vue.use(FilterableTable, { store })`
0 commit comments