Skip to content

Commit 44228e9

Browse files
committed
init
1 parent 262e803 commit 44228e9

16 files changed

+32990
-1
lines changed

.editorconfig

Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
# https://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
end_of_line = lf
7+
insert_final_newline = true
8+
charset = utf-8
9+
indent_style = space
10+
indent_size = 4
11+
max_line_length = 1200
12+
tab_width = 4
13+
trim_trailing_whitespace = true
14+
ij_continuation_indent_size = 4
15+
16+
[{*.cjs,*.js,*.ts,*.jsx,*.tsx}]
17+
max_line_length = 240
18+
ij_continuation_indent_size = 4
19+
ij_javascript_align_imports = false
20+
ij_javascript_align_multiline_array_initializer_expression = false
21+
ij_javascript_align_multiline_binary_operation = false
22+
ij_javascript_align_multiline_chained_methods = false
23+
ij_javascript_align_multiline_extends_list = false
24+
ij_javascript_align_multiline_for = true
25+
ij_javascript_align_multiline_parameters = true
26+
ij_javascript_align_multiline_parameters_in_calls = false
27+
ij_javascript_align_multiline_ternary_operation = false
28+
ij_javascript_align_object_properties = 0
29+
ij_javascript_align_union_types = false
30+
ij_javascript_align_var_statements = 0
31+
ij_javascript_array_initializer_new_line_after_left_brace = false
32+
ij_javascript_array_initializer_right_brace_on_new_line = false
33+
ij_javascript_array_initializer_wrap = off
34+
ij_javascript_assignment_wrap = off
35+
ij_javascript_binary_operation_sign_on_next_line = false
36+
ij_javascript_binary_operation_wrap = off
37+
ij_javascript_blacklist_imports = rxjs/Rx,node_modules/**,**/node_modules/**,@angular/material,@angular/material/typings/**
38+
ij_javascript_blank_lines_after_imports = 1
39+
ij_javascript_blank_lines_around_class = 1
40+
ij_javascript_blank_lines_around_field = 0
41+
ij_javascript_blank_lines_around_function = 1
42+
ij_javascript_blank_lines_around_method = 1
43+
ij_javascript_block_brace_style = end_of_line
44+
ij_javascript_call_parameters_new_line_after_left_paren = false
45+
ij_javascript_call_parameters_right_paren_on_new_line = false
46+
ij_javascript_call_parameters_wrap = off
47+
ij_javascript_catch_on_new_line = false
48+
ij_javascript_chained_call_dot_on_new_line = true
49+
ij_javascript_class_brace_style = end_of_line
50+
ij_javascript_comma_on_new_line = false
51+
ij_javascript_do_while_brace_force = never
52+
ij_javascript_else_on_new_line = false
53+
ij_javascript_enforce_trailing_comma = whenmultiline
54+
ij_javascript_extends_keyword_wrap = off
55+
ij_javascript_extends_list_wrap = off
56+
ij_javascript_field_prefix = _
57+
ij_javascript_file_name_style = relaxed
58+
ij_javascript_finally_on_new_line = false
59+
ij_javascript_for_brace_force = never
60+
ij_javascript_for_statement_new_line_after_left_paren = false
61+
ij_javascript_for_statement_right_paren_on_new_line = false
62+
ij_javascript_for_statement_wrap = off
63+
ij_javascript_force_quote_style = true
64+
ij_javascript_force_semicolon_style = false
65+
ij_javascript_function_expression_brace_style = end_of_line
66+
ij_javascript_if_brace_force = never
67+
ij_javascript_import_merge_members = global
68+
ij_javascript_import_prefer_absolute_path = global
69+
ij_javascript_import_sort_members = true
70+
ij_javascript_import_sort_module_name = false
71+
ij_javascript_import_use_node_resolution = true
72+
ij_javascript_imports_wrap = on_every_item
73+
ij_javascript_indent_case_from_switch = true
74+
ij_javascript_indent_chained_calls = true
75+
ij_javascript_indent_package_children = 0
76+
ij_javascript_jsx_attribute_value = braces
77+
ij_javascript_keep_blank_lines_in_code = 2
78+
ij_javascript_keep_first_column_comment = true
79+
ij_javascript_keep_indents_on_empty_lines = false
80+
ij_javascript_keep_line_breaks = true
81+
ij_javascript_keep_simple_blocks_in_one_line = false
82+
ij_javascript_keep_simple_methods_in_one_line = true
83+
ij_javascript_line_comment_add_space = true
84+
ij_javascript_line_comment_at_first_column = false
85+
ij_javascript_method_brace_style = end_of_line
86+
ij_javascript_method_call_chain_wrap = off
87+
ij_javascript_method_parameters_new_line_after_left_paren = false
88+
ij_javascript_method_parameters_right_paren_on_new_line = false
89+
ij_javascript_method_parameters_wrap = off
90+
ij_javascript_object_literal_wrap = on_every_item
91+
ij_javascript_parentheses_expression_new_line_after_left_paren = false
92+
ij_javascript_parentheses_expression_right_paren_on_new_line = false
93+
ij_javascript_place_assignment_sign_on_next_line = false
94+
ij_javascript_prefer_as_type_cast = false
95+
ij_javascript_prefer_explicit_types_function_expression_returns = false
96+
ij_javascript_prefer_explicit_types_function_returns = false
97+
ij_javascript_prefer_explicit_types_vars_fields = false
98+
ij_javascript_prefer_parameters_wrap = false
99+
ij_javascript_reformat_c_style_comments = false
100+
ij_javascript_space_after_colon = true
101+
ij_javascript_space_after_comma = true
102+
ij_javascript_space_after_dots_in_rest_parameter = false
103+
ij_javascript_space_after_generator_mult = true
104+
ij_javascript_space_after_property_colon = true
105+
ij_javascript_space_after_quest = true
106+
ij_javascript_space_after_type_colon = true
107+
ij_javascript_space_after_unary_not = false
108+
ij_javascript_space_before_async_arrow_lparen = true
109+
ij_javascript_space_before_catch_keyword = true
110+
ij_javascript_space_before_catch_left_brace = true
111+
ij_javascript_space_before_catch_parentheses = false
112+
ij_javascript_space_before_class_lbrace = true
113+
ij_javascript_space_before_class_left_brace = true
114+
ij_javascript_space_before_colon = true
115+
ij_javascript_space_before_comma = false
116+
ij_javascript_space_before_do_left_brace = true
117+
ij_javascript_space_before_else_keyword = true
118+
ij_javascript_space_before_else_left_brace = true
119+
ij_javascript_space_before_finally_keyword = true
120+
ij_javascript_space_before_finally_left_brace = true
121+
ij_javascript_space_before_for_left_brace = true
122+
ij_javascript_space_before_for_parentheses = false
123+
ij_javascript_space_before_for_semicolon = false
124+
ij_javascript_space_before_function_left_parenth = false
125+
ij_javascript_space_before_generator_mult = false
126+
ij_javascript_space_before_if_left_brace = true
127+
ij_javascript_space_before_if_parentheses = false
128+
ij_javascript_space_before_method_call_parentheses = false
129+
ij_javascript_space_before_method_left_brace = true
130+
ij_javascript_space_before_method_parentheses = false
131+
ij_javascript_space_before_property_colon = false
132+
ij_javascript_space_before_quest = true
133+
ij_javascript_space_before_switch_left_brace = true
134+
ij_javascript_space_before_switch_parentheses = false
135+
ij_javascript_space_before_try_left_brace = true
136+
ij_javascript_space_before_type_colon = false
137+
ij_javascript_space_before_unary_not = false
138+
ij_javascript_space_before_while_keyword = true
139+
ij_javascript_space_before_while_left_brace = true
140+
ij_javascript_space_before_while_parentheses = false
141+
ij_javascript_spaces_around_additive_operators = true
142+
ij_javascript_spaces_around_arrow_function_operator = true
143+
ij_javascript_spaces_around_assignment_operators = true
144+
ij_javascript_spaces_around_bitwise_operators = true
145+
ij_javascript_spaces_around_equality_operators = true
146+
ij_javascript_spaces_around_logical_operators = true
147+
ij_javascript_spaces_around_multiplicative_operators = true
148+
ij_javascript_spaces_around_relational_operators = true
149+
ij_javascript_spaces_around_shift_operators = true
150+
ij_javascript_spaces_around_unary_operator = false
151+
ij_javascript_spaces_within_array_initializer_brackets = false
152+
ij_javascript_spaces_within_brackets = false
153+
ij_javascript_spaces_within_catch_parentheses = false
154+
ij_javascript_spaces_within_for_parentheses = false
155+
ij_javascript_spaces_within_if_parentheses = false
156+
ij_javascript_spaces_within_imports = false
157+
ij_javascript_spaces_within_interpolation_expressions = false
158+
ij_javascript_spaces_within_method_call_parentheses = false
159+
ij_javascript_spaces_within_method_parentheses = false
160+
ij_javascript_spaces_within_object_literal_braces = false
161+
ij_javascript_spaces_within_object_type_braces = true
162+
ij_javascript_spaces_within_parentheses = false
163+
ij_javascript_spaces_within_switch_parentheses = false
164+
ij_javascript_spaces_within_type_assertion = false
165+
ij_javascript_spaces_within_union_types = true
166+
ij_javascript_spaces_within_while_parentheses = false
167+
ij_javascript_special_else_if_treatment = true
168+
ij_javascript_ternary_operation_signs_on_next_line = false
169+
ij_javascript_ternary_operation_wrap = off
170+
ij_javascript_union_types_wrap = on_every_item
171+
ij_javascript_use_chained_calls_group_indents = true
172+
ij_javascript_use_double_quotes = false
173+
ij_javascript_use_explicit_js_extension = global
174+
ij_javascript_use_path_mapping = always
175+
ij_javascript_use_public_modifier = false
176+
ij_javascript_use_semicolon_after_statement = true
177+
ij_javascript_var_declaration_wrap = normal
178+
ij_javascript_while_brace_force = never
179+
ij_javascript_while_on_new_line = false
180+
ij_javascript_wrap_comments = false

.github/workflows/blank.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Kit-CodeMirror MUI Example CI
2+
3+
env:
4+
DOCKER_BUILDKIT: 1
5+
6+
on:
7+
push:
8+
branches: [master, develop]
9+
pull_request:
10+
branches: [master, develop]
11+
workflow_dispatch:
12+
13+
jobs:
14+
build_node:
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
node-version: [14.x]
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Set Branch
22+
id: vars
23+
run: echo ::set-output name=short_ref::${GITHUB_REF#refs/*/}
24+
- name: Use Node.js ${{ matrix.node-version }}
25+
uses: actions/setup-node@v1
26+
with:
27+
node-version: ${{ matrix.node-version }}
28+
registry-url: 'https://registry.npmjs.org'
29+
30+
- name: Cache CI node_modules
31+
uses: actions/cache@v2
32+
env:
33+
cache-name: cache-node-modules
34+
with:
35+
# npm cache files are stored in `~/.npm` on Linux/macOS
36+
path: ~/.npm
37+
key: ${{ runner.os }}-build-${{ env.cache-name }}
38+
39+
- name: Setup packages
40+
run: |
41+
npm ci
42+
- name: Run tests
43+
run: |
44+
npm test
45+
- name: Build
46+
run: |
47+
npm run build

.gitignore

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# env variables
2+
.env
3+
.npmrc
4+
5+
# default upload dir
6+
/upload
7+
8+
# default tmp dir
9+
/tmp
10+
/dist
11+
12+
# Composer
13+
/vendor
14+
15+
# NodeJS
16+
node_modules
17+
18+
lerna-debug.log
19+
20+
# Webpack profiling
21+
profile.json
22+
23+
24+
# Mac
25+
.DS_Store
26+
27+
#
28+
## JetBrains IDE's
29+
30+
.idea/
31+
*.iml
32+
*.iws
33+
34+
/coverage

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 UI Schema
3+
Copyright (c) 2022 bemit UG (haftungsbeschränkt)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Kit-CodeMirror Example w/ Material-UI
2+
3+
Only ReactJS integration, together with MUI styling - but no further `@ui-schema/` packages.
4+
5+
See [ui-schema/react-codemirror repo](https://github.com/ui-schema/react-codemirror) for more information.
6+
7+
[![Run on CodeSandbox](https://img.shields.io/badge/run%20on%20CodeSandbox-blue?labelColor=fff&logoColor=505050&style=for-the-badge&logo=codesandbox)](https://codesandbox.io/s/github/ui-schema/demo-mui-kit-codemirror/tree/master/?autoresize=1&fontsize=12&hidenavigation=1&module=%2Fsrc%2Fpages%2FPageSimpleForm.tsx)
8+
9+
[![Run on StackBlitz](https://img.shields.io/badge/run%20on%20StackBlitz-blue?labelColor=fff&logoColor=505050&style=for-the-badge&logo=stackblitz)](https://stackblitz.com/github/ui-schema/demo-mui-kit-codemirror)
10+
11+
[![Clone on Repl.it](https://img.shields.io/badge/clone%20on%20repl.it-grey?labelColor=fff&style=for-the-badge&logo=replit)](https://repl.it/github/ui-schema/demo-mui-kit-codemirror)
12+
13+
---
14+
---
15+
---
16+
17+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
18+
19+
## Available Scripts
20+
21+
In the project directory, you can run:
22+
23+
### `npm start`
24+
25+
Runs the app in the development mode.\
26+
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
27+
28+
The page will reload if you make edits.\
29+
You will also see any lint errors in the console.
30+
31+
### `npm test`
32+
33+
Launches the test runner in the interactive watch mode.\
34+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
35+
36+
### `npm run build`
37+
38+
Builds the app for production to the `build` folder.\
39+
It correctly bundles React in production mode and optimizes the build for the best performance.
40+
41+
The build is minified and the filenames include the hashes.\
42+
Your app is ready to be deployed!
43+
44+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
45+
46+
### `npm run eject`
47+
48+
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
49+
50+
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
51+
52+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
53+
54+
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
55+
56+
## Learn More
57+
58+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
59+
60+
To learn React, check out the [React documentation](https://reactjs.org/).

0 commit comments

Comments
 (0)