Skip to content

Commit 1253eb9

Browse files
anmol-kumar0815bot-bigbinarydeepakjosp
authored
Added usehotkeys hook (#9)
* Added required dependencies * Added usehotkeys hook * Added webpack config * Added webpack config * Added webpack config * Added some missing configs * Added npm ignore * v1.0.2 * Updated package name * Removed redundent dependencies * Removed webpack * Added rollup config * Fixed package name * Enabled ensure-compact-objects * Enabled webpack-aliases-and-jsconfig-paths-should-be-in-sync * #3 - Removed dependencies list and added missing babel plugin. * #3 - Updated eslint ignore files list. * #3 - Omitted prettier and eslint write and checks from package.json and other configuration files. * #3 - Removed unnecessary peer dependencies and bundled it along with the package * #3 - Added babel core package. * #3 - Removed hardsetting env value in rollup config * #3 - Removed unused plugin * #3 - Fixed the version mismatch issues of rollup and it's plugins * Added aliases for constants and utils and fixed issues in rollup.config * #3 - Refactored constant util with absolute path. * #3 - Removed unnecessary file ref from eslintignore * #3 - Set `@bigbinary/neeto/webpack-aliases-and-jsconfig-paths-should-be-in-sync` to off since we don't have jsconfig.json file in the path specified in the rule. * #3 - Fixed eslint dependencies version issues. * #3 - Moved util functions to util file\. * #3 - Cleaned up the rollup config. * #3 - Fixed issues in the publish scripts. * #3 - Removed commonjs configurations from the build script * #3 - Added cjs bundle build method. --------- Co-authored-by: bot-bigbinary <13452707+bot-bigbinary@users.noreply.github.com> Co-authored-by: Deepak Jose <deepakjosp@gmail.com>
1 parent 468e1d1 commit 1253eb9

15 files changed

Lines changed: 1701 additions & 702 deletions

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ tmp
1111
babel.config.js
1212
webpack.config.js
1313
dist
14+
rollup.config.js
1415
.eslintrc.js
1516
.prettierrc.js
16-
jsconfig.json

.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ module.exports = mergeDeepLeft(
66
{
77
rules: {
88
"@bigbinary/neeto/no-missing-localization": "off",
9+
"@bigbinary/neeto/webpack-aliases-and-jsconfig-paths-should-be-in-sync":
10+
"off",
911
},
1012
},
1113
defaultConfig

.github/workflows/create_and_publish_releases.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919

2020
- name: Setup git user
2121
run: |
22-
git config user.name "Anmol Kumar"
23-
git config user.email "anmol.kumar@bigbinary.com"
22+
git config user.name "Joseph Mathew"
23+
git config user.email "joseph.mathew@bigbinary.com"
2424
- name: Setup NodeJS LTS version
2525
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
2626
with:

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: yarn build
2424

2525
- name: Publish the package on NPM
26-
uses: JS-DevTools/npm-publish@v1
26+
uses: JS-DevTools/npm-publish@v3
2727
with:
2828
access: "public"
2929
token: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 236 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,240 @@
1-
# dependencies
2-
/node_modules
1+
# Ignore bundler config
2+
/.bundle
3+
4+
# Ignore all SQLite databases
5+
/db/*.sqlite3*
6+
7+
# Ignore database.yml file
8+
/config/database.yml
9+
10+
# Ignore all logfiles
11+
/log/*
12+
/tmp
13+
/db/backups
14+
/public/uploads
15+
*.DS_Store
16+
coverage
17+
.*swp
18+
/uploads/*
19+
.byebug_history
20+
21+
# Ignore node packages
22+
node_modules
23+
24+
# Rails specific ignores
25+
/storage
26+
/vendor
27+
test/reports
28+
test/fixtures
29+
/public/packs
30+
/public/assets
31+
/public/packs-test
32+
33+
# Ignore master key for decrypting credentials and more
34+
/config/master.key
35+
36+
# Ignore environment variables
37+
/.env
38+
/.env.development.local
39+
40+
#---------------------------------------#
41+
# IDEs & Editors Ignores #
42+
#---------------------------------------#
43+
# Sublime Text
44+
*.sublime*
45+
.sublime-gulp.cache
46+
# JetBrains IDEs
47+
.idea/
48+
# VIM
49+
## Session
50+
Session.vim
51+
Sessionx.vim
52+
## Temporary
53+
.netrwhist
54+
## Backup and swap files
55+
*~
56+
## Auto-generated tag files
57+
/tags
58+
# Vscode
59+
.vscode-test
60+
61+
#---------------------------------------#
62+
# Linux Ignores #
63+
#---------------------------------------#
64+
# directory preferences
65+
.directory
66+
67+
#---------------------------------------#
68+
# OSX Ignores #
69+
#---------------------------------------#
70+
.DS_Store
71+
.AppleDouble
72+
.LSOverride
73+
.localized
74+
75+
#---------------------------------------#
76+
# Windows Ignores #
77+
#---------------------------------------#
78+
# Windows image file caches
79+
Thumbs.db
80+
ehthumbs.db
81+
# Folder config file
82+
Desktop.ini
83+
# Recycle Bin used on file shares
84+
$RECYCLE.BIN/
85+
# Files that might appear on external disk
86+
.Spotlight-V100
87+
.Trashes
88+
89+
#---------------------------------------#
90+
# Tools and Package specific ignores #
91+
#---------------------------------------#
92+
.eslintcache
93+
yarn-error.log
94+
yarn-debug.log*
95+
.yarn-integrity
96+
.yarnrc
97+
yarn-1.22.5.cjs
98+
yarn-1.22.5.js
99+
100+
# Ignore redis dump file
101+
dump.rdb
3102

4-
# production
5-
/build
6103
/dist
7104

8-
npm-debug.log*
105+
/initializers*
106+
/react*
107+
/cypress*.*
108+
/utils*
109+
/pure*
110+
/constants*
111+
112+
# Ignore yalc generated files
113+
yalc.lock
114+
/.yalc
115+
116+
/index.cjs.js
117+
/index.cjs.js.map
118+
/index.mjs
119+
/index.mjs.map
120+
/index.d.ts
121+
# Ignore bundler config
122+
/.bundle
123+
124+
# Ignore all SQLite databases
125+
/db/*.sqlite3*
126+
127+
# Ignore database.yml file
128+
/config/database.yml
129+
130+
# Ignore all logfiles
131+
/log/*
132+
/tmp
133+
/db/backups
134+
/public/uploads
135+
*.DS_Store
136+
coverage
137+
.*swp
138+
/uploads/*
139+
.byebug_history
140+
141+
# Ignore node packages
142+
node_modules
143+
144+
# Rails specific ignores
145+
/storage
146+
/vendor
147+
test/reports
148+
test/fixtures
149+
/public/packs
150+
/public/assets
151+
/public/packs-test
152+
153+
# Ignore master key for decrypting credentials and more
154+
/config/master.key
155+
156+
# Ignore environment variables
157+
/.env
158+
/.env.development.local
159+
160+
#---------------------------------------#
161+
# IDEs & Editors Ignores #
162+
#---------------------------------------#
163+
# Sublime Text
164+
*.sublime*
165+
.sublime-gulp.cache
166+
# JetBrains IDEs
167+
.idea/
168+
# VIM
169+
## Session
170+
Session.vim
171+
Sessionx.vim
172+
## Temporary
173+
.netrwhist
174+
## Backup and swap files
175+
*~
176+
## Auto-generated tag files
177+
/tags
178+
# Vscode
179+
.vscode-test
180+
181+
#---------------------------------------#
182+
# Linux Ignores #
183+
#---------------------------------------#
184+
# directory preferences
185+
.directory
186+
187+
#---------------------------------------#
188+
# OSX Ignores #
189+
#---------------------------------------#
190+
.DS_Store
191+
.AppleDouble
192+
.LSOverride
193+
.localized
194+
195+
#---------------------------------------#
196+
# Windows Ignores #
197+
#---------------------------------------#
198+
# Windows image file caches
199+
Thumbs.db
200+
ehthumbs.db
201+
# Folder config file
202+
Desktop.ini
203+
# Recycle Bin used on file shares
204+
$RECYCLE.BIN/
205+
# Files that might appear on external disk
206+
.Spotlight-V100
207+
.Trashes
208+
209+
#---------------------------------------#
210+
# Tools and Package specific ignores #
211+
#---------------------------------------#
212+
.eslintcache
213+
yarn-error.log
9214
yarn-debug.log*
10-
yarn-error.log*
215+
.yarn-integrity
216+
.yarnrc
217+
yarn-1.22.5.cjs
218+
yarn-1.22.5.js
219+
220+
# Ignore redis dump file
221+
dump.rdb
222+
223+
/dist
224+
225+
/initializers*
226+
/react*
227+
/cypress*.*
228+
/utils*
229+
/pure*
230+
/constants*
231+
232+
# Ignore yalc generated files
233+
yalc.lock
234+
/.yalc
235+
236+
/index.cjs.js
237+
/index.cjs.js.map
238+
/index.mjs
239+
/index.mjs.map
240+
/index.d.ts

.npmignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Development and build-related files
2+
node_modules/
3+
.eslintignore
4+
.eslintrc
5+
.prettierignore
6+
.prettierrc
7+
babel.config.js
8+
webpack.config.js
9+
10+
# Editor-specific files and directories
11+
.vscode/
12+
13+
# Documentation and configuration files not needed for users
14+
README.md
15+
.editorconfig

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18.12

jsconfig.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,5 @@
8989
"**/node_modules",
9090
"**/.*/"
9191
],
92-
"include": [
93-
"./**/*.js",
94-
"./**/*.jsx",
95-
"./**/*.d.ts"
96-
]
92+
"include": ["./**/*.js", "./**/*.jsx", "./**/*.d.ts"]
9793
}

0 commit comments

Comments
 (0)