drf-react-by-schema 0.2.1 → 0.2.2

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/.gitlab-ci.yml CHANGED
@@ -6,9 +6,9 @@ pages:
6
6
  - node_modules/
7
7
  script:
8
8
  - yarn install
9
- - npx styleguidist build
9
+ - yarn styleguide:build
10
10
  only:
11
11
  - master
12
12
  artifacts:
13
13
  paths:
14
- - styleguide
14
+ - public
package/README.md CHANGED
@@ -16,4 +16,10 @@ For `drf-react-by-schema` to work, you will have to install other important pack
16
16
 
17
17
  In the next weeks, we hope to offer full Documentation, guides to install, and other useful informations for using it.
18
18
 
19
- For now, if you have interest in using this solution or helping to develop, send us an e-mail at dtygel@eita.org.br or create issues directly at our repository.
19
+ For now, if you have interest in using this solution or helping to develop, send us an e-mail at dtygel@eita.org.br or create issues directly at our repository.
20
+
21
+ ## Styleguides
22
+
23
+ Components documentation is available and constantly updated at https://eita.gitlab.io/drf-react-by-schema/drf-react-by-schema-js/
24
+
25
+ We do welcome suggestions for examples and more details on the props and components.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "drf-react-by-schema",
3
- "version": "0.2.1",
4
- "description": "Tools for building a React App having Django Rest Framework (DRF) as server",
3
+ "version": "0.2.2",
4
+ "description": "Components and Tools for building a React App having Django Rest Framework (DRF) as server",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {
@@ -2,13 +2,8 @@ const path = require('path');
2
2
  const glob = require('glob');
3
3
 
4
4
  module.exports = {
5
- title: 'React Style Guide Example',
6
- // components: function () {
7
- // return glob.sync(path.resolve(__dirname, 'src/components/**/*.tsx'))
8
- // .filter(function (module) {
9
- // return /\/[A-Z]\w*\.tsx$/.test(module);
10
- // });
11
- // },
5
+ title: 'Styleguides for DRF React By Schema Package',
6
+ styleguideDir: 'public',
12
7
  components: [
13
8
  'src/components/*.tsx',
14
9
  'src/context/*.tsx'