@ffflorian/gh-open 3.1.4 → 3.1.6

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/cli.js +0 -0
  3. package/package.json +12 -62
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # gh-open [![Build Status](https://github.com/ffflorian/gh-open/workflows/Build/badge.svg)](https://github.com/ffflorian/gh-open/actions/) [![npm version](https://img.shields.io/npm/v/@ffflorian/gh-open.svg?style=flat)](https://www.npmjs.com/package/@ffflorian/gh-open)
1
+ # gh-open [![npm version](https://img.shields.io/npm/v/@ffflorian/gh-open.svg?style=flat)](https://www.npmjs.com/package/@ffflorian/gh-open)
2
2
 
3
3
  Open a GitHub repository in your browser.
4
4
 
package/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -4,46 +4,18 @@
4
4
  "gh-open": "cli.js"
5
5
  },
6
6
  "dependencies": {
7
- "axios": "0.26.1",
8
- "commander": "9.1.0",
7
+ "axios": "1.3.1",
8
+ "commander": "10.0.0",
9
9
  "find-up": "5.0.0",
10
10
  "logdown": "3.3.1",
11
11
  "open": "8.4.0"
12
12
  },
13
13
  "description": "Open a GitHub repository in your browser. Opens pull requests by default.",
14
14
  "devDependencies": {
15
- "@ffflorian/eslint-config": "0.8.1",
16
- "@ffflorian/prettier-config": "0.1.2",
17
- "@ffflorian/semantic-release-config": "0.5.0",
18
- "@semantic-release/changelog": "6.0.1",
19
- "@semantic-release/git": "10.0.1",
20
- "@types/jasmine": "4.0.0",
21
- "@types/node": "~16",
22
- "@typescript-eslint/eslint-plugin": "4.33.0",
23
- "@typescript-eslint/parser": "4.33.0",
24
- "babel-eslint": "10.1.0",
25
- "eslint": "7.32.0",
26
- "eslint-config-prettier": "8.5.0",
27
- "eslint-plugin-import": "2.25.4",
28
- "eslint-plugin-jasmine": "4.1.3",
29
- "eslint-plugin-jsdoc": "38.0.6",
30
- "eslint-plugin-no-unsanitized": "4.0.1",
31
- "eslint-plugin-prettier": "4.0.0",
32
- "eslint-plugin-simple-import-sort": "7.0.0",
33
- "eslint-plugin-sort-keys-fix": "1.1.2",
34
- "eslint-plugin-typescript-sort-keys": "2.1.0",
35
- "eslint-plugin-unused-imports": "1.1.5",
36
15
  "http-status-codes": "2.2.0",
37
- "husky": "4.3.8",
38
- "jasmine": "4.0.2",
39
- "lint-staged": "12.3.7",
40
- "nock": "13.2.4",
41
- "prettier": "2.6.0",
42
- "publish-flat": "1.4.1",
43
- "rimraf": "3.0.2",
44
- "semantic-release": "19.0.2",
45
- "ts-node": "10.7.0",
46
- "typescript": "4.6.2"
16
+ "nock": "13.3.0",
17
+ "rimraf": "4.1.2",
18
+ "typescript": "4.9.5"
47
19
  },
48
20
  "engines": {
49
21
  "node": ">= 10.9"
@@ -70,42 +42,20 @@
70
42
  "typescript"
71
43
  ],
72
44
  "license": "GPL-3.0",
73
- "lint-staged": {
74
- "*.{json,md,yml}": [
75
- "prettier --write"
76
- ],
77
- "spec/**/*.ts": [
78
- "eslint --config .eslintrc.spec.json --fix"
79
- ],
80
- "src/**/*.ts": [
81
- "eslint --fix"
82
- ]
83
- },
84
45
  "main": "index.js",
85
46
  "name": "@ffflorian/gh-open",
86
- "prettier": "@ffflorian/prettier-config",
87
- "release": {
88
- "extends": "@ffflorian/semantic-release-config"
47
+ "publishConfig": {
48
+ "directory": "flattened"
89
49
  },
90
- "repository": "https://github.com/ffflorian/gh-open.git",
50
+ "repository": "https://github.com/ffflorian/node-packages/tree/main/packages/gh-open",
91
51
  "scripts": {
92
52
  "build": "tsc",
93
53
  "clean": "rimraf dist",
94
54
  "dist": "yarn clean && yarn build",
95
- "fix": "yarn fix:other && yarn fix:ts && yarn fix:ts:spec",
96
- "fix:other": "yarn prettier --write",
97
- "fix:ts": "yarn lint:ts --fix && yarn lint:ts:spec --fix",
98
- "fix:ts:spec": "yarn lint:ts:spec --fix",
99
- "flatten": "publish-flat -o flattened",
100
- "lint": "yarn lint:ts && yarn lint:ts:spec && yarn lint:other",
101
- "lint:other": "yarn prettier --list-different",
102
- "lint:ts": "eslint --ignore-path .gitignore --ext .ts src/",
103
- "lint:ts:spec": "eslint --ignore-path .gitignore --ext .ts --config .eslintrc.spec.json spec/",
104
- "postversion": "node ../node_modules/publish-flat/cli-copy.js -i package.json -o ../package.json version",
105
- "prettier": "prettier \"*.{json,md,yml}\"",
106
- "release": "semantic-release",
55
+ "flatten": "node ../publish-flat/dist/cli.js -o flattened",
56
+ "postversion": "node ../publish-flat/dist/cli-copy.js -o flattened/package.json version",
107
57
  "start": "ts-node src/cli.ts -d",
108
- "test": "ts-node -P tsconfig.jasmine.json node_modules/.bin/jasmine"
58
+ "test": "ts-node -P tsconfig.jasmine.json ../../node_modules/.bin/jasmine"
109
59
  },
110
- "version": "3.1.4"
60
+ "version": "3.1.6"
111
61
  }