Skip to content

Commit

Permalink
Added usehotkeys hook (#9)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
Co-authored-by: Deepak Jose <[email protected]>
  • Loading branch information
3 people authored Dec 5, 2023
1 parent 468e1d1 commit 1253eb9
Show file tree
Hide file tree
Showing 15 changed files with 1,701 additions and 702 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ tmp
babel.config.js
webpack.config.js
dist
rollup.config.js
.eslintrc.js
.prettierrc.js
jsconfig.json
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ module.exports = mergeDeepLeft(
{
rules: {
"@bigbinary/neeto/no-missing-localization": "off",
"@bigbinary/neeto/webpack-aliases-and-jsconfig-paths-should-be-in-sync":
"off",
},
},
defaultConfig
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create_and_publish_releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:

- name: Setup git user
run: |
git config user.name "Anmol Kumar"
git config user.email "anmol.kumar@bigbinary.com"
git config user.name "Joseph Mathew"
git config user.email "joseph.mathew@bigbinary.com"
- name: Setup NodeJS LTS version
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: yarn build

- name: Publish the package on NPM
uses: JS-DevTools/npm-publish@v1
uses: JS-DevTools/npm-publish@v3
with:
access: "public"
token: ${{ secrets.NPM_TOKEN }}
242 changes: 236 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,240 @@
# dependencies
/node_modules
# Ignore bundler config
/.bundle

# Ignore all SQLite databases
/db/*.sqlite3*

# Ignore database.yml file
/config/database.yml

# Ignore all logfiles
/log/*
/tmp
/db/backups
/public/uploads
*.DS_Store
coverage
.*swp
/uploads/*
.byebug_history

# Ignore node packages
node_modules

# Rails specific ignores
/storage
/vendor
test/reports
test/fixtures
/public/packs
/public/assets
/public/packs-test

# Ignore master key for decrypting credentials and more
/config/master.key

# Ignore environment variables
/.env
/.env.development.local

#---------------------------------------#
# IDEs & Editors Ignores #
#---------------------------------------#
# Sublime Text
*.sublime*
.sublime-gulp.cache
# JetBrains IDEs
.idea/
# VIM
## Session
Session.vim
Sessionx.vim
## Temporary
.netrwhist
## Backup and swap files
*~
## Auto-generated tag files
/tags
# Vscode
.vscode-test

#---------------------------------------#
# Linux Ignores #
#---------------------------------------#
# directory preferences
.directory

#---------------------------------------#
# OSX Ignores #
#---------------------------------------#
.DS_Store
.AppleDouble
.LSOverride
.localized

#---------------------------------------#
# Windows Ignores #
#---------------------------------------#
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Files that might appear on external disk
.Spotlight-V100
.Trashes

#---------------------------------------#
# Tools and Package specific ignores #
#---------------------------------------#
.eslintcache
yarn-error.log
yarn-debug.log*
.yarn-integrity
.yarnrc
yarn-1.22.5.cjs
yarn-1.22.5.js

# Ignore redis dump file
dump.rdb

# production
/build
/dist

npm-debug.log*
/initializers*
/react*
/cypress*.*
/utils*
/pure*
/constants*

# Ignore yalc generated files
yalc.lock
/.yalc

/index.cjs.js
/index.cjs.js.map
/index.mjs
/index.mjs.map
/index.d.ts
# Ignore bundler config
/.bundle

# Ignore all SQLite databases
/db/*.sqlite3*

# Ignore database.yml file
/config/database.yml

# Ignore all logfiles
/log/*
/tmp
/db/backups
/public/uploads
*.DS_Store
coverage
.*swp
/uploads/*
.byebug_history

# Ignore node packages
node_modules

# Rails specific ignores
/storage
/vendor
test/reports
test/fixtures
/public/packs
/public/assets
/public/packs-test

# Ignore master key for decrypting credentials and more
/config/master.key

# Ignore environment variables
/.env
/.env.development.local

#---------------------------------------#
# IDEs & Editors Ignores #
#---------------------------------------#
# Sublime Text
*.sublime*
.sublime-gulp.cache
# JetBrains IDEs
.idea/
# VIM
## Session
Session.vim
Sessionx.vim
## Temporary
.netrwhist
## Backup and swap files
*~
## Auto-generated tag files
/tags
# Vscode
.vscode-test

#---------------------------------------#
# Linux Ignores #
#---------------------------------------#
# directory preferences
.directory

#---------------------------------------#
# OSX Ignores #
#---------------------------------------#
.DS_Store
.AppleDouble
.LSOverride
.localized

#---------------------------------------#
# Windows Ignores #
#---------------------------------------#
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Files that might appear on external disk
.Spotlight-V100
.Trashes

#---------------------------------------#
# Tools and Package specific ignores #
#---------------------------------------#
.eslintcache
yarn-error.log
yarn-debug.log*
yarn-error.log*
.yarn-integrity
.yarnrc
yarn-1.22.5.cjs
yarn-1.22.5.js

# Ignore redis dump file
dump.rdb

/dist

/initializers*
/react*
/cypress*.*
/utils*
/pure*
/constants*

# Ignore yalc generated files
yalc.lock
/.yalc

/index.cjs.js
/index.cjs.js.map
/index.mjs
/index.mjs.map
/index.d.ts
15 changes: 15 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Development and build-related files
node_modules/
.eslintignore
.eslintrc
.prettierignore
.prettierrc
babel.config.js
webpack.config.js

# Editor-specific files and directories
.vscode/

# Documentation and configuration files not needed for users
README.md
.editorconfig
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.12
6 changes: 1 addition & 5 deletions jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,5 @@
"**/node_modules",
"**/.*/"
],
"include": [
"./**/*.js",
"./**/*.jsx",
"./**/*.d.ts"
]
"include": ["./**/*.js", "./**/*.jsx", "./**/*.d.ts"]
}
Loading

0 comments on commit 1253eb9

Please sign in to comment.