Skip to content

Commit 663e384

Browse files
authored
Merge pull request #77 from atom-community/update
2 parents 197a473 + a901b7f commit 663e384

26 files changed

+985
-714
lines changed

.github/workflows/CI.yml

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
name: CI
22
on:
3-
- push
4-
- pull_request
3+
push:
4+
branches:
5+
- master
6+
pull_request:
57

68
jobs:
79
Test:
8-
if: "!contains(github.event.head_commit.message, '[skip ci]')"
10+
if: ${{!contains(github.event.head_commit.message, '[skip ci]')}}
911
runs-on: ${{ matrix.os }}
1012
strategy:
1113
fail-fast: false
@@ -39,25 +41,25 @@ jobs:
3941
- name: Lint ✨
4042
run: pnpm run test.lint
4143

42-
- name: Tests
43-
run: |
44-
pnpm test
44+
# - name: Tests
45+
# run: |
46+
# pnpm test
4547

46-
Release:
47-
needs: [Test]
48-
if: github.ref == 'refs/heads/master' &&
49-
github.event.repository.fork == false
50-
runs-on: ubuntu-latest
51-
steps:
52-
- uses: actions/checkout@v4
53-
- uses: UziTech/action-setup-atom@v1
54-
- uses: actions/setup-node@v3
55-
with:
56-
node-version: "12.x"
57-
- name: NPM install
58-
run: npm install
59-
- name: Release 🎉
60-
uses: cycjimmy/semantic-release-action@v2
61-
env:
62-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
48+
# Release:
49+
# needs: [Test]
50+
# if: github.ref == 'refs/heads/master' &&
51+
# github.event.repository.fork == false
52+
# runs-on: ubuntu-latest
53+
# steps:
54+
# - uses: actions/checkout@v4
55+
# - uses: UziTech/action-setup-atom@v1
56+
# - uses: actions/setup-node@v3
57+
# with:
58+
# node-version: "12.x"
59+
# - name: NPM install
60+
# run: npm install
61+
# - name: Release 🎉
62+
# uses: cycjimmy/semantic-release-action@v2
63+
# env:
64+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65+
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.npmrc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
public-hoist-pattern[]=*
21
package-lock=false
32
lockfile=true
4-
prefer-frozen-lockfile=false
5-
strict-peer-dependencies=false

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require("./src/index.js")
1+
module.exports = require("./dist/index.js").default

package.json

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,46 +11,55 @@
1111
"*.js"
1212
],
1313
"scripts": {
14+
"build": "tsc",
1415
"bump": "ncu -u -x coffeescript,execa,read-pkg-up",
1516
"clean": "shx rm -rf ./spec/fixtures/atom-community ./spec/fixtures/atom-minimap ./spec/fixtures/steelbrain ./strict.js ./strict-react.js",
1617
"format": "prettier --write .",
17-
"lint": "eslint . --ignore-pattern spec/fixtures/** --fix",
18+
"lint": "eslint . --ignore-pattern ./spec/fixtures/ --fix",
19+
"prepare": "npm run build",
1820
"test": "node ./spec/test.js",
1921
"test.format": "prettier . --check",
2022
"test.lint": "eslint . --ignore-pattern spec/fixtures/**"
2123
},
2224
"prettier": "prettier-config-atomic",
2325
"dependencies": {
24-
"@babel/core": "^7.22.1",
25-
"@babel/eslint-parser": "^7.21.8",
26-
"@babel/plugin-syntax-flow": "^7.21.4",
27-
"@babel/plugin-syntax-jsx": "^7.21.4",
28-
"@typescript-eslint/eslint-plugin": "6.0.0-alpha.138",
29-
"@typescript-eslint/parser": "6.0.0-alpha.138",
26+
"@babel/core": "^7.23.0",
27+
"@babel/eslint-parser": "^7.22.15",
28+
"@babel/plugin-syntax-flow": "^7.22.5",
29+
"@babel/plugin-syntax-jsx": "^7.22.5",
30+
"@typescript-eslint/eslint-plugin": "6.7.3",
31+
"@typescript-eslint/parser": "6.7.3",
3032
"anymatch": "^3.1.3",
31-
"eslint": "^8.41.0",
32-
"eslint-config-prettier": "^8.8.0",
33+
"eslint": "^8.50.0",
34+
"eslint-config-prettier": "^9.0.0",
3335
"eslint-plugin-html": "^7.1.0",
34-
"eslint-plugin-import": "^2.27.5",
36+
"eslint-plugin-import": "^2.28.1",
3537
"eslint-plugin-json": "^3.1.0",
3638
"eslint-plugin-node": "^11.1.0",
3739
"eslint-plugin-only-warn": "npm:@aminya/eslint-plugin-only-warn@^1.2.2",
3840
"eslint-plugin-optimize-regex": "^1.2.1",
39-
"eslint-plugin-react": "^7.32.2",
41+
"eslint-plugin-react": "^7.33.2",
4042
"eslint-plugin-yaml": "^0.5.0",
4143
"globify-gitignore": "^1.0.3",
4244
"make-synchronous": "^0.1.1",
43-
"prettier": "2.8.8",
45+
"prettier": "3.0.3",
4446
"read-pkg-up": "^7.0.1",
45-
"semver": "^7.5.1",
46-
"typescript": "^5.0.4"
47+
"semver": "^7.5.4",
48+
"typescript": "^5.2.2"
4749
},
4850
"devDependencies": {
49-
"@types/node": "^20.2.5",
50-
"@types/semver": "^7.5.0",
51+
"@types/babel__core": "^7.20.2",
52+
"@types/coffeescript": "^2.5.4",
53+
"@types/eslint": "^8.44.3",
54+
"@types/eslint-config-prettier": "^6.11.1",
55+
"@types/execa": "^2.0.0",
56+
"@types/node": "^20.7.2",
57+
"@types/read-pkg-up": "^6.0.0",
58+
"@types/semver": "^7.5.3",
59+
"@types/shelljs": "^0.8.13",
5160
"execa": "^5.1.1",
52-
"gitly": "^2.4.2",
53-
"npm-check-updates": "16.10.12",
61+
"gitly": "^2.4.5",
62+
"npm-check-updates": "16.14.4",
5463
"prettier-config-atomic": "^3.1.0",
5564
"shelljs": "^0.8.5"
5665
},
@@ -73,4 +82,4 @@
7382
"react": "react.js",
7483
"strict": "strict.js",
7584
"strict-react": "strict-react.js"
76-
}
85+
}

0 commit comments

Comments
 (0)