issue-pane 2.4.19 → 2.4.20-184fa11e
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/eslint.config.mjs +35 -0
- package/package.json +10 -6
- package/.eslintrc +0 -19
- package/.github/workflows/ci.yml +0 -75
- package/.nvmrc +0 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { fixupConfigRules } from "@eslint/compat";
|
|
2
|
+
import globals from "globals";
|
|
3
|
+
import path from "node:path";
|
|
4
|
+
import { fileURLToPath } from "node:url";
|
|
5
|
+
import js from "@eslint/js";
|
|
6
|
+
import { FlatCompat } from "@eslint/eslintrc";
|
|
7
|
+
|
|
8
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
9
|
+
const __dirname = path.dirname(__filename);
|
|
10
|
+
const compat = new FlatCompat({
|
|
11
|
+
baseDirectory: __dirname,
|
|
12
|
+
recommendedConfig: js.configs.recommended,
|
|
13
|
+
allConfig: js.configs.all
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
export default [
|
|
17
|
+
...fixupConfigRules(compat.extends("eslint:recommended", "plugin:import/recommended")),
|
|
18
|
+
{
|
|
19
|
+
languageOptions: {
|
|
20
|
+
globals: {
|
|
21
|
+
...globals.browser,
|
|
22
|
+
...globals.node,
|
|
23
|
+
Atomics: "readonly",
|
|
24
|
+
SharedArrayBuffer: "readonly",
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
rules: {
|
|
29
|
+
"no-unused-vars": ["warn", {
|
|
30
|
+
argsIgnorePattern: "^_",
|
|
31
|
+
varsIgnorePattern: "^_",
|
|
32
|
+
}],
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "issue-pane",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.20-184fa11e",
|
|
4
4
|
"description": "Solid-compatible Panes: issue editor",
|
|
5
5
|
"main": "./issuePane.js",
|
|
6
6
|
"scripts": {
|
|
@@ -34,13 +34,17 @@
|
|
|
34
34
|
},
|
|
35
35
|
"homepage": "https://github.com/solid/issue-pane",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"solid-ui": "^2.
|
|
37
|
+
"solid-ui": "^2.5.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"eslint": "^
|
|
41
|
-
"eslint
|
|
42
|
-
"
|
|
43
|
-
"
|
|
40
|
+
"@eslint/compat": "^1.2.6",
|
|
41
|
+
"@eslint/eslintrc": "^3.2.0",
|
|
42
|
+
"@eslint/js": "^9.19.0",
|
|
43
|
+
"eslint": "^9.19.0",
|
|
44
|
+
"eslint-plugin-import": "^2.31.0",
|
|
45
|
+
"globals": "^15.14.0",
|
|
46
|
+
"husky": "^9.1.7",
|
|
47
|
+
"lint-staged": "^15.4.3"
|
|
44
48
|
},
|
|
45
49
|
"husky": {
|
|
46
50
|
"hooks": {
|
package/.eslintrc
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": true,
|
|
3
|
-
"env": {
|
|
4
|
-
"browser": true,
|
|
5
|
-
"es6": true,
|
|
6
|
-
"node": true
|
|
7
|
-
},
|
|
8
|
-
"globals": {
|
|
9
|
-
"Atomics": "readonly",
|
|
10
|
-
"SharedArrayBuffer": "readonly"
|
|
11
|
-
},
|
|
12
|
-
"rules": {
|
|
13
|
-
"no-unused-vars": ["warn", {
|
|
14
|
-
"argsIgnorePattern": "^_",
|
|
15
|
-
"varsIgnorePattern": "^_"
|
|
16
|
-
}]
|
|
17
|
-
},
|
|
18
|
-
"extends": ["eslint:recommended", "plugin:import/recommended"]
|
|
19
|
-
}
|
package/.github/workflows/ci.yml
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
name: CI
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- "**"
|
|
7
|
-
pull_request:
|
|
8
|
-
branches:
|
|
9
|
-
- "**"
|
|
10
|
-
workflow_dispatch:
|
|
11
|
-
|
|
12
|
-
jobs:
|
|
13
|
-
build:
|
|
14
|
-
runs-on: ubuntu-latest
|
|
15
|
-
strategy:
|
|
16
|
-
matrix:
|
|
17
|
-
node-version:
|
|
18
|
-
- 16.x
|
|
19
|
-
- 18.x
|
|
20
|
-
steps:
|
|
21
|
-
- uses: actions/checkout@v2
|
|
22
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
23
|
-
uses: actions/setup-node@v1
|
|
24
|
-
with:
|
|
25
|
-
node-version: ${{ matrix.node-version }}
|
|
26
|
-
- run: npm ci
|
|
27
|
-
- run: npm run lint --if-present
|
|
28
|
-
- run: npm test
|
|
29
|
-
- run: npm run build --if-present
|
|
30
|
-
- name: Save build
|
|
31
|
-
if: matrix.node-version == '16.x'
|
|
32
|
-
uses: actions/upload-artifact@v2
|
|
33
|
-
with:
|
|
34
|
-
name: build
|
|
35
|
-
path: |
|
|
36
|
-
.
|
|
37
|
-
!node_modules
|
|
38
|
-
retention-days: 1
|
|
39
|
-
npm-publish-build:
|
|
40
|
-
needs: build
|
|
41
|
-
runs-on: ubuntu-latest
|
|
42
|
-
steps:
|
|
43
|
-
- uses: actions/download-artifact@v2
|
|
44
|
-
with:
|
|
45
|
-
name: build
|
|
46
|
-
- uses: actions/setup-node@v1
|
|
47
|
-
with:
|
|
48
|
-
node-version: 16.x
|
|
49
|
-
- uses: rlespinasse/github-slug-action@v3.x
|
|
50
|
-
- name: Append commit hash to package version
|
|
51
|
-
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
|
|
52
|
-
- name: Disable pre- and post-publish actions
|
|
53
|
-
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
|
|
54
|
-
- uses: JS-DevTools/npm-publish@v1
|
|
55
|
-
with:
|
|
56
|
-
token: ${{ secrets.NPM_TOKEN }}
|
|
57
|
-
tag: ${{ env.GITHUB_REF_SLUG }}
|
|
58
|
-
|
|
59
|
-
npm-publish-latest:
|
|
60
|
-
needs: build
|
|
61
|
-
runs-on: ubuntu-latest
|
|
62
|
-
if: github.ref == 'refs/heads/main'
|
|
63
|
-
steps:
|
|
64
|
-
- uses: actions/download-artifact@v2
|
|
65
|
-
with:
|
|
66
|
-
name: build
|
|
67
|
-
- uses: actions/setup-node@v1
|
|
68
|
-
with:
|
|
69
|
-
node-version: 16.x
|
|
70
|
-
- name: Disable pre- and post-publish actions
|
|
71
|
-
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
|
|
72
|
-
- uses: JS-DevTools/npm-publish@v1
|
|
73
|
-
with:
|
|
74
|
-
token: ${{ secrets.NPM_TOKEN }}
|
|
75
|
-
tag: latest
|
package/.nvmrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
v18.19.0
|