@rocketspark/domain-checker 0.0.7 → 0.0.11
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/.idea/domain-checker.iml +3 -1
- package/.idea/inspectionProfiles/Project_Default.xml +16 -0
- package/.idea/jsonSchemas.xml +25 -0
- package/README.md +9 -57
- package/build/130.index.js +1 -1
- package/build/145.index.js +1 -1
- package/build/171.index.js +1 -1
- package/build/190.index.js +1 -1
- package/build/204fba429a5386123889.svg +266 -0
- package/build/228.index.js +1 -1
- package/build/23.index.js +1 -1
- package/build/253.index.js +1 -1
- package/build/269.index.js +1 -1
- package/build/307.index.js +1 -1
- package/build/314.index.js +1 -1
- package/build/330.index.js +1 -1
- package/build/346.index.js +1 -1
- package/build/385.index.js +1 -1
- package/build/431.index.js +1 -1
- package/build/447.index.js +1 -1
- package/build/482.index.js +1 -1
- package/build/525.index.js +1 -1
- package/build/536.index.js +1 -1
- package/build/548.index.js +1 -1
- package/build/565.index.js +1 -1
- package/build/577.index.js +1 -1
- package/build/655.index.js +1 -1
- package/build/66.index.js +1 -1
- package/build/669.index.js +1 -1
- package/build/677.index.js +1 -1
- package/build/678.index.js +1 -1
- package/build/69.index.js +1 -1
- package/build/690.index.js +1 -1
- package/build/694.index.js +1 -1
- package/build/698.index.js +1 -1
- package/build/716.index.js +1 -1
- package/build/717.index.js +1 -1
- package/build/724.index.js +1 -1
- package/build/738.index.js +1 -1
- package/build/799.index.js +1 -1
- package/build/82.index.js +1 -1
- package/build/858.index.js +1 -1
- package/build/8723cc99516819ff0917.svg +266 -0
- package/build/882.index.js +1 -1
- package/build/895.index.js +1 -1
- package/build/903.index.js +1 -1
- package/build/911.index.js +1 -1
- package/build/912.index.js +1 -1
- package/build/927.index.js +1 -1
- package/build/953.index.js +1 -1
- package/build/955.index.js +1 -1
- package/build/994.index.js +1 -1
- package/build/css/index.css +2 -2
- package/build/css/index.css.map +1 -1
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/types/Components/PopupContainer.d.ts +5 -0
- package/build/types/Components/SearchAlternativeRow.d.ts +25 -0
- package/build/types/Components/SearchAlternatives.d.ts +15 -0
- package/build/types/Components/SearchResultCaption.d.ts +2 -0
- package/build/types/Helpers/Fetch.d.ts +7 -1
- package/build/types/Helpers/templates.d.ts +3 -1
- package/build/types/Helpers/wrap.test.d.ts +4 -0
- package/build/types/{interfaces → Interfaces}/class-names.d.ts +14 -0
- package/build/types/{interfaces → Interfaces}/options.d.ts +0 -0
- package/build/types/index.d.ts +6 -4
- package/build/types/index.test.d.ts +4 -0
- package/package.json +4 -2
- package/tsconfig.json +23 -15
- package/webpack.config.demo.js +2 -6
- package/.github-test/FUNDING.yml +0 -1
- package/.github-test/dependabot.yml +0 -10
- package/.github-test/workflows/main.yml +0 -28
- package/.github-test/workflows/publish.yml +0 -49
- package/.github-test/workflows/pull_request.yml +0 -24
- package/.github-test/workflows/pull_request_dependabot.yml +0 -48
- package/LICENSE +0 -21
- package/build/3cce2bffb56fb72f4f99.svg +0 -521
- package/build/a8181c51f10ef59913b0.svg +0 -266
package/.idea/domain-checker.iml
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<module type="WEB_MODULE" version="4">
|
|
3
3
|
<component name="NewModuleRootManager">
|
|
4
|
-
<content url="file://$MODULE_DIR$"
|
|
4
|
+
<content url="file://$MODULE_DIR$">
|
|
5
|
+
<excludeFolder url="file://$MODULE_DIR$/coverage" />
|
|
6
|
+
</content>
|
|
5
7
|
<orderEntry type="inheritedJdk" />
|
|
6
8
|
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
9
|
</component>
|
|
@@ -2,5 +2,21 @@
|
|
|
2
2
|
<profile version="1.0">
|
|
3
3
|
<option name="myName" value="Project Default" />
|
|
4
4
|
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
5
|
+
<inspection_tool class="HtmlUnknownTag" enabled="true" level="WARNING" enabled_by_default="true">
|
|
6
|
+
<option name="myValues">
|
|
7
|
+
<value>
|
|
8
|
+
<list size="7">
|
|
9
|
+
<item index="0" class="java.lang.String" itemvalue="nobr" />
|
|
10
|
+
<item index="1" class="java.lang.String" itemvalue="noembed" />
|
|
11
|
+
<item index="2" class="java.lang.String" itemvalue="comment" />
|
|
12
|
+
<item index="3" class="java.lang.String" itemvalue="noscript" />
|
|
13
|
+
<item index="4" class="java.lang.String" itemvalue="embed" />
|
|
14
|
+
<item index="5" class="java.lang.String" itemvalue="script" />
|
|
15
|
+
<item index="6" class="java.lang.String" itemvalue="rs-content" />
|
|
16
|
+
</list>
|
|
17
|
+
</value>
|
|
18
|
+
</option>
|
|
19
|
+
<option name="myCustomValuesEnabled" value="true" />
|
|
20
|
+
</inspection_tool>
|
|
5
21
|
</profile>
|
|
6
22
|
</component>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="JsonSchemaMappingsProjectConfiguration">
|
|
4
|
+
<state>
|
|
5
|
+
<map>
|
|
6
|
+
<entry key="GitHub Workflow">
|
|
7
|
+
<value>
|
|
8
|
+
<SchemaInfo>
|
|
9
|
+
<option name="name" value="GitHub Workflow" />
|
|
10
|
+
<option name="relativePathToSchema" value="https://json.schemastore.org/github-workflow.json" />
|
|
11
|
+
<option name="applicationDefined" value="true" />
|
|
12
|
+
<option name="patterns">
|
|
13
|
+
<list>
|
|
14
|
+
<Item>
|
|
15
|
+
<option name="path" value=".github/workflows/release-drafter.yml" />
|
|
16
|
+
</Item>
|
|
17
|
+
</list>
|
|
18
|
+
</option>
|
|
19
|
+
</SchemaInfo>
|
|
20
|
+
</value>
|
|
21
|
+
</entry>
|
|
22
|
+
</map>
|
|
23
|
+
</state>
|
|
24
|
+
</component>
|
|
25
|
+
</project>
|
package/README.md
CHANGED
|
@@ -1,67 +1,19 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<img align="center" width="230" src="https://
|
|
3
|
-
<h2>
|
|
4
|
-
<blockquote>
|
|
5
|
-
|
|
6
|
-
<a href="https://www.npmjs.com/package/@hodgef/ts-library-boilerplate-basic"><img src="https://badgen.net/npm/v/@hodgef/ts-library-boilerplate-basic?color=blue" alt="npm version"></a> <a href="https://github.com/hodgef/ts-library-boilerplate"><img src="https://img.shields.io/github/last-commit/hodgef/ts-library-boilerplate" alt="latest commit"></a> <a href="https://github.com/hodgef/ts-library-boilerplate-basic/actions"><img alt="Build Status" src="https://github.com/hodgef/ts-library-boilerplate-basic/workflows/Build/badge.svg?color=green" /></a> <a href="https://github.com/hodgef/ts-library-boilerplate-basic/actions"> <img alt="Publish Status" src="https://github.com/hodgef/ts-library-boilerplate-basic/workflows/Publish/badge.svg?color=green" /></a>
|
|
2
|
+
<img align="center" width="230" src="https://rs-site-cdn.rocketspark.com/images/nxxxm-ciq70/logo/cropped-23/h242.png" />
|
|
3
|
+
<h2>Rocketspark Domain Checker</h2>
|
|
4
|
+
<blockquote>Domain checker for Rocketspark</blockquote>
|
|
7
5
|
|
|
8
|
-
<
|
|
6
|
+
<a href="https://www.npmjs.com/package/@rocketspark/domain-checker"><img src="https://badgen.net/npm/v/@rocketspark/domain-checker?color=blue" alt="npm version"></a>
|
|
9
7
|
|
|
10
8
|
</div>
|
|
11
9
|
|
|
12
|
-
## ⭐️ Features
|
|
13
|
-
|
|
14
|
-
- Webpack 5
|
|
15
|
-
- Babel 7
|
|
16
|
-
- Hot reloading (`npm start`)
|
|
17
|
-
- Automatic Types file generation (index.d.ts)
|
|
18
|
-
- UMD exports, so your library works everywhere.
|
|
19
|
-
- Jest unit testing
|
|
20
|
-
- Customizable file headers for your build [(Example 1)](https://github.com/hodgef/ts-library-boilerplate-basic/blob/master/build/index.js) [(Example2)](https://github.com/hodgef/ts-library-boilerplate-basic/blob/master/build/css/index.css)
|
|
21
|
-
- Daily [dependabot](https://dependabot.com) dependency updates
|
|
22
|
-
|
|
23
10
|
## 📦 Getting Started
|
|
24
|
-
|
|
25
|
-
```
|
|
26
|
-
git clone https://github.com/hodgef/ts-library-boilerplate-basic.git myLibrary
|
|
27
|
-
npm install
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## 💎 Customization
|
|
31
|
-
|
|
32
|
-
> Before shipping, make sure to:
|
|
33
|
-
|
|
34
|
-
1. Edit `LICENSE` file
|
|
35
|
-
2. Edit `package.json` information (These will be used to generate the headers for your built files)
|
|
36
|
-
3. Edit `library: "MyLibrary"` with your library's export name in `./webpack.config.js`
|
|
37
|
-
|
|
38
|
-
## 🚀 Deployment
|
|
39
|
-
|
|
40
|
-
1. `npm publish`
|
|
41
|
-
2. Your users can include your library as usual
|
|
42
|
-
|
|
43
|
-
### npm
|
|
44
|
-
|
|
11
|
+
Add the following tags to your page
|
|
45
12
|
```
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
...
|
|
13
|
+
<script src="https://cdn.jsdelivr.net/npm/@rocketspark/domain-checker@@latest/build/index.js?v1" type="e626c4c4a135bb897f07d239-text/javascript"></script>
|
|
14
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@rocketspark/domain-checker@latest/build/css/index.css" type="text/css" media="all" /></div>
|
|
49
15
|
```
|
|
50
|
-
|
|
51
|
-
### self-host/cdn
|
|
52
|
-
|
|
16
|
+
Then add a div to the page with as follow, setting the locale to be one of UK/NZ/AU
|
|
53
17
|
```
|
|
54
|
-
<
|
|
55
|
-
|
|
56
|
-
const MyLibrary = window.MyLibrary.default;
|
|
57
|
-
const libraryInstance = new MyLibrary();
|
|
58
|
-
...
|
|
18
|
+
<div class="domain-checker" data-locale="NZ"></div>
|
|
59
19
|
```
|
|
60
|
-
|
|
61
|
-
## ✅ Libraries built with this boilerplate
|
|
62
|
-
|
|
63
|
-
> Made a library using this starter kit? Share it here by [submitting a pull request](https://github.com/hodgef/ts-library-boilerplate-basic/pulls)!
|
|
64
|
-
|
|
65
|
-
- [simple-keyboard](https://github.com/hodgef/simple-keyboard) - Javascript Virtual Keyboard
|
|
66
|
-
- [react-simple-keyboard](https://github.com/hodgef/react-simple-keyboard) - React Virtual Keyboard
|
|
67
|
-
- [simple-keyboard-layouts](https://github.com/hodgef/simple-keyboard-layouts) - Keyboard layouts for simple-keyboard
|
package/build/130.index.js
CHANGED
package/build/145.index.js
CHANGED
package/build/171.index.js
CHANGED