Skip to content

Commit f7ccd3e

Browse files
committed
v1.0.0
Initial release
0 parents  commit f7ccd3e

25 files changed

+11587
-0
lines changed

Diff for: .eslintrc.json

+115
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
{
2+
"root": true,
3+
"env": {
4+
"browser": true,
5+
"commonjs": true,
6+
"es2021": true,
7+
"node": true
8+
},
9+
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
10+
"parser": "@typescript-eslint/parser",
11+
"parserOptions": {
12+
"ecmaVersion": 12
13+
},
14+
"plugins": ["@typescript-eslint"],
15+
"rules": {
16+
"strict": "warn",
17+
"@typescript-eslint/no-non-null-assertion": "off",
18+
"@typescript-eslint/ban-ts-comment": "off",
19+
"@typescript-eslint/no-this-alias": "off",
20+
"@typescript-eslint/naming-convention": [
21+
"warn",
22+
{
23+
"selector": "function",
24+
"format": ["camelCase"]
25+
}
26+
],
27+
"@typescript-eslint/semi": "warn",
28+
"semi": "off",
29+
"getter-return": "warn",
30+
"no-dupe-args": "warn",
31+
"no-dupe-else-if": "warn",
32+
"no-dupe-keys": "warn",
33+
"no-duplicate-case": "warn",
34+
"no-empty": "warn",
35+
"accessor-pairs": "warn",
36+
"array-callback-return": "warn",
37+
"block-scoped-var": "warn",
38+
"class-methods-use-this": "warn",
39+
"complexity": "warn",
40+
"consistent-return": "warn",
41+
"curly": "warn",
42+
"default-case": "warn",
43+
"default-case-last": "warn",
44+
"default-param-last": "warn",
45+
"dot-location": "off",
46+
"dot-notation": "warn",
47+
"eqeqeq": "warn",
48+
"grouped-accessor-pairs": "warn",
49+
"guard-for-in": "off",
50+
"max-classes-per-file": ["warn", 2],
51+
"no-alert": "warn",
52+
"no-caller": "warn",
53+
"no-case-declarations": "off",
54+
"no-constructor-return": "warn",
55+
"no-div-regex": "warn",
56+
"no-else-return": "warn",
57+
"no-empty-function": "warn",
58+
"no-empty-pattern": "warn",
59+
"no-eq-null": "warn",
60+
"no-eval": "warn",
61+
"no-extend-native": "off",
62+
"no-extra-bind": "warn",
63+
"no-extra-label": "warn",
64+
"no-fallthrough": "warn",
65+
"no-floating-decimal": "warn",
66+
"no-global-assign": "warn",
67+
"no-implicit-coercion": "warn",
68+
"no-implicit-globals": "warn",
69+
"no-implied-eval": "warn",
70+
"no-invalid-this": "off",
71+
"no-iterator": "warn",
72+
"no-labels": "warn",
73+
"no-lone-blocks": "warn",
74+
"no-loop-func": "warn",
75+
"no-magic-numbers": "off",
76+
"no-mixed-spaces-and-tabs": ["warn", "smart-tabs"],
77+
"no-multi-spaces": "warn",
78+
"no-multi-str": "warn",
79+
"no-new": "warn",
80+
"no-new-func": "warn",
81+
"no-new-wrappers": "warn",
82+
"no-octal": "warn",
83+
"no-octal-escape": "warn",
84+
"no-param-reassign": "warn",
85+
"no-proto": "warn",
86+
"no-redeclare": "off",
87+
"no-restricted-properties": "warn",
88+
"no-return-assign": "warn",
89+
"no-return-await": "warn",
90+
"no-script-url": "warn",
91+
"no-self-assign": "warn",
92+
"no-self-compare": "warn",
93+
"no-sequences": "warn",
94+
"no-throw-literal": "warn",
95+
"no-unmodified-loop-condition": "warn",
96+
"no-unused-expressions": "warn",
97+
"no-unused-labels": "warn",
98+
"no-useless-call": "warn",
99+
"no-useless-catch": "warn",
100+
"no-useless-concat": "warn",
101+
"no-useless-escape": "warn",
102+
"no-useless-return": "warn",
103+
"no-void": "warn",
104+
"no-warning-comments": "warn",
105+
"no-with": "warn",
106+
"prefer-named-capture-group": "warn",
107+
"prefer-promise-reject-errors": "off",
108+
"prefer-regex-literals": "warn",
109+
"radix": "warn",
110+
"require-await": "warn",
111+
"require-unicode-regexp": "off",
112+
"vars-on-top": "warn",
113+
"wrap-iife": "warn"
114+
}
115+
}

Diff for: .github/FUNDING.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: [TopMarksDevelopment]
2+
custom: ['https://www.paypal.com/donate?hosted_button_id=5UFB62RB4AWNL']

Diff for: .github/workflows/publish.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Publish Package to npmjs
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
# Setup .npmrc file to publish to npm
11+
- uses: actions/setup-node@v3
12+
with:
13+
node-version: '16.x'
14+
registry-url: 'https://registry.npmjs.org'
15+
- run: npm ci --no-optional
16+
- run: npm publish --scope=@topmarksdevelopment --access public
17+
env:
18+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Diff for: .gitignore

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Compiled project
2+
lib/
3+
4+
# Dependency directories
5+
node_modules/
6+
7+
# TypeScript v1 declaration files
8+
typings/
9+
10+
# TypeScript cache
11+
*.tsbuildinfo
12+
13+
# Optional npm cache directory
14+
.npm
15+
16+
# Optional eslint cache
17+
.eslintcache

Diff for: .prettierrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"printWidth": 80,
3+
"trailingComma": "all",
4+
"singleQuote": true,
5+
"useTabs": false,
6+
"tabWidth": 4
7+
}

Diff for: .vscode/launch.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Debug Jest Tests",
6+
"type": "node",
7+
"request": "launch",
8+
"runtimeArgs": [
9+
"--inspect-brk",
10+
"${workspaceRoot}/node_modules/jest/bin/jest.js",
11+
"--runInBand"
12+
],
13+
"console": "integratedTerminal",
14+
"internalConsoleOptions": "neverOpen"
15+
}
16+
]
17+
}

Diff for: .vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"editor.formatOnSave": true,
3+
"editor.formatOnPaste": true,
4+
"editor.formatOnType": true
5+
}

Diff for: CHANGELOG.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<!--
2+
Guiding Principles
3+
- Changelogs are for humans, not machines.
4+
- There should be an entry for every single version.
5+
- The same types of changes should be grouped.
6+
- Versions and sections should be linkable.
7+
- The latest version comes first.
8+
- The release date of each version is displayed.
9+
- Mention whether you follow Semantic Versioning.
10+
11+
Types of changes
12+
- Added for new features.
13+
- Changed for changes in existing functionality.
14+
- Deprecated for soon-to-be removed features.
15+
- Removed for now removed features.
16+
- Fixed for any bug fixes.
17+
- Security in case of vulnerabilities.
18+
- Breaking changes for break in new revision
19+
- Other for notable changes that do not
20+
-->
21+
22+
# Changelog
23+
24+
All notable changes to this project will be documented in this file.
25+
26+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
27+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
28+
29+
## [1.0.0] - 2022-12-13
30+
31+
**This was the first release**
32+
33+
[1.0.0]: https://github.com/TopMarksDevelopment/JavaScript.Autocomplete/release/tag/v1.0.0

Diff for: LICENSE

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

0 commit comments

Comments
 (0)