Skip to content

Commit ad9fe3b

Browse files
committed
chore: rename library to @native-html/table-plugin
1 parent 3557668 commit ad9fe3b

File tree

117 files changed

+17328
-4696
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+17328
-4696
lines changed

Diff for: .babelrc

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"presets": ["@babel/typescript", "module:metro-react-native-babel-preset"],
3+
"plugins": [
4+
[
5+
"babel-plugin-inline-import",
6+
{
7+
"extensions": ["webjs"]
8+
}
9+
],
10+
"@babel/plugin-transform-react-jsx"
11+
]
12+
}

Diff for: .editorconfig

+8-11
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
14

2-
# EditorConfig is awesome: https://EditorConfig.org
3-
4-
# top-most EditorConfig file
55
root = true
66

7-
# Unix-style newlines with a newline ending every file
87
[*]
9-
end_of_line = lf
10-
insert_final_newline = true
118

12-
# Matches multiple files with brace expansion notation
13-
# Set default charset
14-
[*.{js,ts,tsx,json,jsx}]
15-
charset = utf-8
16-
indent_size = 2
179
indent_style = space
10+
indent_size = 2
1811

12+
end_of_line = lf
13+
charset = utf-8
14+
trim_trailing_whitespace = true
15+
insert_final_newline = true

Diff for: .eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/node_modules
2+
/lib

Diff for: .eslintrc.js

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
root: true,
3+
extends: ['@react-native-community', 'plugin:compat/recommended'],
4+
parser: '@typescript-eslint/parser',
5+
plugins: ['@typescript-eslint', 'eslint-plugin-tsdoc'],
6+
ignorePatterns: ['lib/', 'types/'],
7+
overrides: [
8+
{
9+
files: ['*.webjs'],
10+
extends: '@formidable-webview/eslint-config-webjs'
11+
}
12+
],
13+
rules: {
14+
'comma-dangle': ['error', 'never'],
15+
'@typescript-eslint/no-unused-vars': [
16+
'error',
17+
{ vars: 'all', args: 'after-used', ignoreRestSiblings: true }
18+
]
19+
}
20+
};

Diff for: .github/workflows/ci.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This workflow will do a clean install of node dependencies, run JS and Typescript tests.
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: CI
5+
6+
on: [push, pull_request]
7+
8+
jobs:
9+
test:
10+
name: Testing
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: [14.x]
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Use Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v1
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
- run: npm ci
24+
- run: npm run test:ts
25+
name: Typescript Tests
26+
- run: npm run test:lint
27+
name: Linting Tests
28+
# - run: npm run test:jest -- --coverage
29+
# name: Behavior Tests
30+
- run: npm run build
31+
name: Build
32+
# - uses: codecov/codecov-action@v1
33+
# with:
34+
# file: ./coverage/clover.xml
35+
# fail_ci_if_error: true

Diff for: .gitignore

+73-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,75 @@
1+
# OSX
2+
#
3+
.DS_Store
4+
5+
# Xcode
6+
#
7+
build/
8+
*.pbxuser
9+
!default.pbxuser
10+
*.mode1v3
11+
!default.mode1v3
12+
*.mode2v3
13+
!default.mode2v3
14+
*.perspectivev3
15+
!default.perspectivev3
16+
xcuserdata
17+
*.xccheckout
18+
*.moved-aside
19+
DerivedData
20+
*.hmap
21+
*.ipa
22+
*.xcuserstate
23+
24+
# Android/IntelliJ
25+
#
26+
build/
127
.idea
2-
.vscode
3-
.jest
4-
.watchmanconfig
5-
node_modules
6-
/lib
7-
/types
28+
.gradle
29+
local.properties
30+
*.iml
31+
32+
# Visual Studio Code
33+
#
34+
.vscode/
35+
36+
# node.js
37+
#
38+
node_modules/
39+
npm-debug.log
40+
yarn-error.log
41+
42+
# BUCK
43+
buck-out/
44+
\.buckd/
45+
*.keystore
46+
!debug.keystore
47+
48+
# fastlane
49+
#
50+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
51+
# screenshots whenever they are needed.
52+
# For more information about the recommended setup visit:
53+
# https://docs.fastlane.tools/best-practices/source-control/
54+
55+
*/fastlane/report.xml
56+
*/fastlane/Preview.html
57+
*/fastlane/screenshots
58+
59+
# Bundle artifact
60+
*.jsbundle
61+
62+
# CocoaPods
63+
/ios/Pods/
64+
65+
# Jest code coverage
66+
/coverage
67+
68+
# This library
69+
/lib/
70+
71+
# api-extractor
872
/temp
73+
74+
# Types must be bundled with api-extractor, not included in the repo
75+
/types

Diff for: .prettierrc.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
bracketSpacing: true,
3+
jsxBracketSameLine: true,
4+
singleQuote: true,
5+
trailingComma: 'none',
6+
};

Diff for: LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
(The MIT License)
2+
3+
Copyright (c) 2019-2020 Jules Sam. Randolph.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining
6+
a copy of this software and associated documentation files (the
7+
'Software'), to deal in the Software without restriction, including
8+
without limitation the rights to use, copy, modify, merge, publish,
9+
distribute, sublicense, and/or sell copies of the Software, and to
10+
permit persons to whom the Software is furnished to do so, subject to
11+
the following conditions:
12+
13+
The above copyright notice and this permission notice shall be
14+
included in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Diff for: api-extractor.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
*
4646
* SUPPORTED TOKENS: <projectFolder>, <packageName>, <unscopedPackageName>
4747
*/
48-
"mainEntryPointFilePath": "<projectFolder>/lib/index.d.ts",
48+
"mainEntryPointFilePath": "<projectFolder>/lib/typescript/index.d.ts",
4949

5050
/**
5151
* A list of NPM package names whose exports should be treated as part of this package.
@@ -195,7 +195,7 @@
195195
* SUPPORTED TOKENS: <projectFolder>, <packageName>, <unscopedPackageName>
196196
* DEFAULT VALUE: "<projectFolder>/dist/<unscopedPackageName>.d.ts"
197197
*/
198-
"untrimmedFilePath": "<projectFolder>/types/react-native-render-html-table-bridge/index.d.ts"
198+
"untrimmedFilePath": "<projectFolder>/types/@native-html/table-plugin/index.d.ts"
199199

200200
/**
201201
* Specifies the output path for a .d.ts rollup file to be generated with trimming for a "beta" release.

Diff for: babel.config.js

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module.exports = (api) => {
2+
let presets = ['@babel/typescript'];
3+
if (api.env('test')) {
4+
presets = ['module:metro-react-native-babel-preset', ...presets];
5+
}
6+
return {
7+
presets,
8+
plugins: [
9+
[
10+
'babel-plugin-inline-import',
11+
{
12+
extensions: ['.webjs']
13+
}
14+
],
15+
'@babel/plugin-transform-react-jsx'
16+
]
17+
};
18+
};

Diff for: commitlint.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional']
3+
};

Diff for: doc/react-native-render-html-table-bridge.htmltable.md

-14
This file was deleted.

Diff for: doc/react-native-render-html-table-bridge.htmltablebaseprops.html.md

-13
This file was deleted.

Diff for: doc/react-native-render-html-table-bridge.htmltablebaseprops.md

-21
This file was deleted.

Diff for: doc/react-native-render-html-table-bridge.htmltablebaseprops.onlinkpress.md

-15
This file was deleted.

Diff for: doc/react-native-render-html-table-bridge.htmltablebaseprops.renderersprops.md

-13
This file was deleted.

Diff for: doc/react-native-render-html-table-bridge.htmltableprops.md

-14
This file was deleted.

Diff for: doc/react-native-render-html-table-bridge.htmltablepropswithstats.md

-14
This file was deleted.

Diff for: doc/react-native-render-html-table-bridge.htmltablestatprops.md

-21
This file was deleted.

0 commit comments

Comments
 (0)