Skip to content

Commit

Permalink
feat: overhaul for ESM
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This is now a pure ESM package. Additionally, support
for bower and component has been dropped.
  • Loading branch information
kenany committed Apr 22, 2023
1 parent 09283a5 commit c81fbae
Show file tree
Hide file tree
Showing 38 changed files with 159 additions and 12,639 deletions.
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ root = true
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = false
insert_final_newline = true
indent_style = space
indent_size = 2

[*.html]
indent_size = 4
indent_size = 4
9 changes: 9 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
extends: '@kenan',
rules: {
'no-array-constructor': 'off',
'no-new-wrappers': 'off',

'import/extensions': 'off'
}
};
3 changes: 0 additions & 3 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* text=auto
* text=auto eol=lf
11 changes: 0 additions & 11 deletions .npmignore

This file was deleted.

1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock = false
64 changes: 0 additions & 64 deletions CONTRIBUTING.md

This file was deleted.

156 changes: 0 additions & 156 deletions Gruntfile.js

This file was deleted.

37 changes: 0 additions & 37 deletions LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,40 +18,3 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

====

The browser build inlines primality's dependencies, some of which are not
licensed by Kenan Yildirim.

- Component's client-side `require()` implementation, whose license is as
follows:
"""
(The MIT License)

Copyright (c) 2012 TJ Holowaychuk <tj@vision-media.ca>

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
"""

- The Nami-Doc/contains component, whose license is as follows:
"""
MIT
"""
Loading

0 comments on commit c81fbae

Please sign in to comment.