Skip to content

Commit c81fbae

Browse files
committed
feat: overhaul for ESM
BREAKING CHANGE: This is now a pure ESM package. Additionally, support for bower and component has been dropped.
1 parent 09283a5 commit c81fbae

38 files changed

+159
-12639
lines changed

.editorconfig

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ root = true
55
charset = utf-8
66
end_of_line = lf
77
trim_trailing_whitespace = true
8-
insert_final_newline = false
8+
insert_final_newline = true
99
indent_style = space
1010
indent_size = 2
1111

1212
[*.html]
13-
indent_size = 4
13+
indent_size = 4

.eslintrc.cjs

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = {
2+
extends: '@kenan',
3+
rules: {
4+
'no-array-constructor': 'off',
5+
'no-new-wrappers': 'off',
6+
7+
'import/extensions': 'off'
8+
}
9+
};

.eslintrc.js

-3
This file was deleted.

.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* text=auto
1+
* text=auto eol=lf

.npmignore

-11
This file was deleted.

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock = false

CONTRIBUTING.md

-64
This file was deleted.

Gruntfile.js

-156
This file was deleted.

LICENSE.txt

-37
Original file line numberDiff line numberDiff line change
@@ -18,40 +18,3 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
1818
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
1919
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
2020
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21-
22-
====
23-
24-
The browser build inlines primality's dependencies, some of which are not
25-
licensed by Kenan Yildirim.
26-
27-
- Component's client-side `require()` implementation, whose license is as
28-
follows:
29-
"""
30-
(The MIT License)
31-
32-
Copyright (c) 2012 TJ Holowaychuk <[email protected]>
33-
34-
Permission is hereby granted, free of charge, to any person obtaining
35-
a copy of this software and associated documentation files (the
36-
'Software'), to deal in the Software without restriction, including
37-
without limitation the rights to use, copy, modify, merge, publish,
38-
distribute, sublicense, and/or sell copies of the Software, and to
39-
permit persons to whom the Software is furnished to do so, subject to
40-
the following conditions:
41-
42-
The above copyright notice and this permission notice shall be
43-
included in all copies or substantial portions of the Software.
44-
45-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
46-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
47-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
48-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
49-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
50-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
51-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
52-
"""
53-
54-
- The Nami-Doc/contains component, whose license is as follows:
55-
"""
56-
MIT
57-
"""

0 commit comments

Comments
 (0)