@stacksjs/lint 0.57.3 โ†’ 0.58.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -20,7 +20,7 @@ Easily get your project linted. It "just works."
20
20
  ## ๐Ÿค– Usage
21
21
 
22
22
  ```bash
23
- pnpm i -D @stacksjs/lint
23
+ bun install -d @stacksjs/lint
24
24
  ```
25
25
 
26
26
  Now, you can easily access it in your project:
@@ -31,12 +31,12 @@ import lint from '@stacksjs/lint'
31
31
  // ...
32
32
  ```
33
33
 
34
- To view the full documentation, please visit [https://stacksjs.dev/lint](https://stacksjs.dev/lint).
34
+ To view the full documentation, please visit [https://stacksjs.org/lint](https://stacksjs.org/lint).
35
35
 
36
36
  ## ๐Ÿงช Testing
37
37
 
38
38
  ```bash
39
- pnpm test
39
+ bun test
40
40
  ```
41
41
 
42
42
  ## ๐Ÿ“ˆ Changelog
@@ -55,7 +55,7 @@ For help, discussion about best practices, or any other conversation that would
55
55
 
56
56
  For casual chit-chat with others using this package:
57
57
 
58
- [Join the Stacks Discord Server](https://discord.ow3.org)
58
+ [Join the Stacks Discord Server](https://discord.gg/stacksjs)
59
59
 
60
60
  ## ๐Ÿ™๐Ÿผ Credits
61
61
 
@@ -70,4 +70,4 @@ Many thanks to the following core technologies & people who have contributed to
70
70
 
71
71
  The MIT License (MIT). Please see [LICENSE](https://github.com/stacksjs/stacks/tree/main/LICENSE.md) for more information.
72
72
 
73
- Made with โค๏ธ
73
+ Made with ๐Ÿ’™
package/dist/index.js ADDED
@@ -0,0 +1,6 @@
1
+ // @bun
2
+ // src/index.ts
3
+ import eslint from "eslint";
4
+ export {
5
+ eslint
6
+ };
package/package.json CHANGED
@@ -1,17 +1,16 @@
1
1
  {
2
2
  "name": "@stacksjs/lint",
3
3
  "type": "module",
4
- "version": "0.57.3",
5
- "packageManager": "pnpm@8.6.6",
4
+ "version": "0.58.19",
6
5
  "description": "The Stacks way to lint.",
7
6
  "author": "Chris Breuer",
8
7
  "license": "MIT",
9
8
  "funding": "https://github.com/sponsors/chrisbbreuer",
10
- "homepage": "https://github.com/stacksjs/stacks/tree/main/.stacks/core/lint#readme",
9
+ "homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/src/lint#readme",
11
10
  "repository": {
12
11
  "type": "git",
13
12
  "url": "git+https://github.com/stacksjs/stacks.git",
14
- "directory": "./.stacks/core/lint"
13
+ "directory": "./storage/framework/core/src/lint"
15
14
  },
16
15
  "bugs": {
17
16
  "url": "https://github.com/stacksjs/stacks/issues"
@@ -26,32 +25,45 @@
26
25
  ],
27
26
  "exports": {
28
27
  ".": {
29
- "types": "./dist/index.d.ts",
30
- "import": "./dist/index.mjs"
28
+ "bun": "./src/index.ts",
29
+ "import": "./dist/index.js"
30
+ },
31
+ "./*": {
32
+ "bun": "./src/*",
33
+ "import": "./dist/*"
31
34
  }
32
35
  },
33
- "module": "dist/index.mjs",
36
+ "module": "dist/index.js",
34
37
  "types": "dist/index.d.ts",
35
38
  "contributors": [
36
- "Chris Breuer <chris@ow3.org>"
39
+ "Chris Breuer <chris@stacksjs.org>"
37
40
  ],
38
41
  "files": [
39
- "dist",
40
- "README.md"
42
+ "README.md",
43
+ "dist"
41
44
  ],
45
+ "scripts": {
46
+ "build": "bun --bun build.ts",
47
+ "typecheck": "bun --bun tsc --noEmit",
48
+ "prepublishOnly": "bun --bun run build"
49
+ },
42
50
  "peerDependencies": {
43
- "@ow3/eslint-config": "^0.44.2",
44
- "@types/eslint": "^8.40.2",
45
- "eslint": "^8.44.0",
46
- "lint-staged": "^13.2.3",
47
- "publint": "^0.1.15"
51
+ "@stacksjs/eslint-config": "workspace:*",
52
+ "@types/eslint": "^8.56.2",
53
+ "eslint": "npm:eslint-ts-patch@^8.55.0-1",
54
+ "eslint-ts-patch": "^8.55.0-1",
55
+ "lint-staged": "^15.2.0",
56
+ "publint": "^0.2.7"
48
57
  },
49
- "devDependencies": {
50
- "@stacksjs/development": "0.57.3"
58
+ "dependencies": {
59
+ "@stacksjs/eslint-config": "workspace:*",
60
+ "@types/eslint": "^8.56.2",
61
+ "eslint": "npm:eslint-ts-patch@^8.55.0-1",
62
+ "eslint-ts-patch": "^8.55.0-1",
63
+ "lint-staged": "^15.2.0",
64
+ "publint": "^0.2.7"
51
65
  },
52
- "scripts": {
53
- "build": "unbuild",
54
- "dev": "unbuild --stub",
55
- "typecheck": "tsc --noEmit"
66
+ "devDependencies": {
67
+ "@stacksjs/development": "workspace:*"
56
68
  }
57
- }
69
+ }
package/LICENSE.md DELETED
@@ -1,21 +0,0 @@
1
- # MIT License
2
-
3
- Copyright (c) 2022 Open Web Foundation
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.
package/dist/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import eslint from 'eslint';
2
- export { eslint };
package/dist/index.mjs DELETED
@@ -1,2 +0,0 @@
1
- import eslint from "eslint";
2
- export { eslint };