Skip to content

Commit

Permalink
feat(forms): integrate @dhis2/ui-forms
Browse files Browse the repository at this point in the history
  • Loading branch information
varl committed Mar 12, 2020
1 parent ce6999e commit af49144
Show file tree
Hide file tree
Showing 127 changed files with 119 additions and 17,749 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/node-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
- name: Install
run: yarn install --frozen-lockfile

- name: Build
run: yarn build

- name: Test
run: yarn test
env:
Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions cypress/support/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ import './uploadMultipleFiles'
import './uploadSingleFile'
import './visitStory'
import './org_unit_tree/index'
import './getFormValue'
import './selectSelectNthOption'
import './verifyFormValue'
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@
"build": "concurrently -n w: \"yarn:build:*\"",
"build:constants": "yarn workspace @dhis2/ui-constants build",
"build:core": "yarn workspace @dhis2/ui-core build",
"build:forms": "yarn workspace @dhis2/ui-forms build",
"build:icons": "yarn workspace @dhis2/ui-icons build",
"build:ui": "yarn workspace @dhis2/ui build",
"build:widgets": "yarn workspace @dhis2/ui-widgets build",
"cy:server": "STORYBOOK_TESTING=1 yarn start",
"cy:open": "concurrently --kill-others --success --first -n cy:server,cy:open 'yarn cy:server' 'wait-on http-get://localhost:5000 && d2-utils-cypress open'",
"cy:run": "concurrently --kill-others --success --first -n cy:server,cy:run 'yarn cy:server' 'wait-on http-get://localhost:5000 && d2-utils-cypress run'",
"cy:run:core": "yarn workspace @dhis2/ui-core cy:run",
"cy:run:widgets": "yarn workspace @dhis2/ui-widgets cy:run",
"demo": "yarn workspace storybook build -o ../dist/demo --quiet",
"docs": "d2-utils-docsite build ./docs -o ./dist --jsdoc ./packages/**/src --jsdoc-output-file api.md",
"format": "yarn format:js && yarn format:text",
Expand All @@ -40,6 +39,7 @@
"test": "d2-app-scripts test",
"watch:constants": "yarn build:constants --watch --dev",
"watch:core": "yarn build:core --watch --dev",
"watch:forms": "yarn build:forms --watch --dev",
"watch:icons": "yarn build:icons --watch --dev",
"watch:storybook": "yarn workspace storybook start --quiet --ci",
"watch:widgets": "yarn build:widgets --watch --dev"
Expand Down
5 changes: 1 addition & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
"access": "public"
},
"scripts": {
"cy:open": "d2-utils-cypress open",
"cy:run": "d2-utils-cypress run",
"build": "d2-app-scripts build",
"test": "d2-app-scripts test"
"build": "d2-app-scripts build"
},
"peerDependencies": {
"react": "^16.8",
Expand Down
5 changes: 0 additions & 5 deletions packages/forms/.browserslistrc

This file was deleted.

7 changes: 0 additions & 7 deletions packages/forms/.dependabot/config.yml

This file was deleted.

16 changes: 0 additions & 16 deletions packages/forms/.editorconfig

This file was deleted.

1 change: 0 additions & 1 deletion packages/forms/.eslintignore

This file was deleted.

5 changes: 0 additions & 5 deletions packages/forms/.eslintrc.js

This file was deleted.

4 changes: 0 additions & 4 deletions packages/forms/.github/semantic.yml

This file was deleted.

1 change: 0 additions & 1 deletion packages/forms/.github/stale.yml

This file was deleted.

36 changes: 0 additions & 36 deletions packages/forms/.github/workflows/cypress.yml

This file was deleted.

26 changes: 0 additions & 26 deletions packages/forms/.github/workflows/node-lint.yml

This file was deleted.

41 changes: 0 additions & 41 deletions packages/forms/.github/workflows/node-publish.yaml

This file was deleted.

26 changes: 0 additions & 26 deletions packages/forms/.github/workflows/node-test.yml

This file was deleted.

33 changes: 0 additions & 33 deletions packages/forms/.gitignore

This file was deleted.

14 changes: 0 additions & 14 deletions packages/forms/.huskyrc.js

This file was deleted.

2 changes: 0 additions & 2 deletions packages/forms/.npmrc

This file was deleted.

5 changes: 0 additions & 5 deletions packages/forms/.prettierrc.js

This file was deleted.

3 changes: 0 additions & 3 deletions packages/forms/.storybook/addons.js

This file was deleted.

28 changes: 0 additions & 28 deletions packages/forms/.storybook/config.js

This file was deleted.

11 changes: 0 additions & 11 deletions packages/forms/.storybook/css-reset-decorator.js

This file was deleted.

14 changes: 0 additions & 14 deletions packages/forms/.storybook/preview-head.html

This file was deleted.

3 changes: 0 additions & 3 deletions packages/forms/cypress-cucumber-preprocessor.config.js

This file was deleted.

6 changes: 0 additions & 6 deletions packages/forms/cypress.json

This file was deleted.

7 changes: 0 additions & 7 deletions packages/forms/cypress/.eslintrc.js

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion packages/forms/cypress/fixtures/FileInput/file.md

This file was deleted.

1 change: 0 additions & 1 deletion packages/forms/cypress/fixtures/FileInput/file.txt

This file was deleted.

7 changes: 0 additions & 7 deletions packages/forms/cypress/plugins/index.js

This file was deleted.

10 changes: 0 additions & 10 deletions packages/forms/cypress/support/index.js

This file was deleted.

5 changes: 0 additions & 5 deletions packages/forms/cypress/support/screenshots.js

This file was deleted.

Loading

0 comments on commit af49144

Please sign in to comment.