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: README.md
+35-1Lines changed: 35 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,4 +24,38 @@ What is missing:
24
24
In order to start working on an AdminBro feature/plugin/adapter follow this steps:
25
25
26
26
1. fork this repository
27
-
2.
27
+
2. Make sure it uses the latest versions of the packages
28
+
2. rename package in package.json
29
+
3. add env variables github settings:
30
+
- SLACK_WEBHOOK
31
+
- NPM_TOKEN
32
+
4. in the root folder:
33
+
-`yarn install`
34
+
-`yarn link` (registers package in `linked packages` repository)
35
+
5. cd example-app
36
+
-`yarn install`
37
+
-`yarn add NAME_OF_YOUR_PACKAGE`
38
+
-`yarn link NAME_OF_YOUR_PACKAGE`
39
+
6. then in one terminal in the root folder run:
40
+
-`yarn build --watch`
41
+
7. in the second terminal in example app:
42
+
-`yarn dev`
43
+
44
+
You can read more about package linking in [yarn link documentation](https://classic.yarnpkg.com/en/docs/cli/link/)
45
+
46
+
## Publishing to NPM
47
+
48
+
package has semantic-release configured, but it don't upload build to NPM because of `private: true` set in package.json. In order to trigger automatic releases simply remove this line.
0 commit comments