pentonville 1.0.184 → 1.0.187
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/package.json +7 -7
- package/.circleci/config.yml +0 -56
- package/.editorconfig +0 -16
- package/.eslintrc +0 -33
- package/.github/dependabot.yml +0 -9
- package/.husky/pre-commit +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pentonville",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.187",
|
|
4
4
|
"description": "Pentonville",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Pentonville",
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
"pre-commit": "npm run lint && npm run build && git add lib && npm run gulp -- pre-commit"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@babel/cli": "^7.17.
|
|
36
|
-
"@babel/core": "^7.17.
|
|
35
|
+
"@babel/cli": "^7.17.10",
|
|
36
|
+
"@babel/core": "^7.17.10",
|
|
37
37
|
"@babel/eslint-parser": "^7.17.0",
|
|
38
38
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
39
|
-
"@babel/preset-env": "^7.
|
|
39
|
+
"@babel/preset-env": "^7.17.10",
|
|
40
40
|
"@babel/preset-react": "^7.16.7",
|
|
41
41
|
"@babel/register": "^7.17.7",
|
|
42
42
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
43
|
-
"core-js": "^3.22.
|
|
44
|
-
"eslint": "^8.
|
|
43
|
+
"core-js": "^3.22.5",
|
|
44
|
+
"eslint": "^8.15.0",
|
|
45
45
|
"eslint-config-standard": "^17.0.0",
|
|
46
46
|
"eslint-import-resolver-babel-module": "^5.3.1",
|
|
47
47
|
"eslint-plugin-import": "^2.26.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"eslint-plugin-promise": "^6.0.0",
|
|
50
50
|
"eslint-plugin-react": "^7.29.4",
|
|
51
51
|
"gulp": "^4.0.2",
|
|
52
|
-
"husky": "^
|
|
52
|
+
"husky": "^8.0.1",
|
|
53
53
|
"prop-types": "15.7.2",
|
|
54
54
|
"react": "16.14.0",
|
|
55
55
|
"react-dom": "16.14.0"
|
package/.circleci/config.yml
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
version: 2.1
|
|
2
|
-
|
|
3
|
-
jobs:
|
|
4
|
-
publish:
|
|
5
|
-
docker:
|
|
6
|
-
- image: cimg/node:lts
|
|
7
|
-
steps:
|
|
8
|
-
- checkout
|
|
9
|
-
- run:
|
|
10
|
-
name: Publish to NPM
|
|
11
|
-
command: |
|
|
12
|
-
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
|
|
13
|
-
|
|
14
|
-
PATTERN="([0-9]+)\.([0-9]+)\.([0-9]+)"
|
|
15
|
-
NAME=$(node -p "require('./package').name")
|
|
16
|
-
VERSION=$(node -p "require('./package').version")
|
|
17
|
-
PUBLISHED_VERSION=$(npm view $NAME version)
|
|
18
|
-
|
|
19
|
-
echo Version is $VERSION
|
|
20
|
-
echo Published version is $PUBLISHED_VERSION
|
|
21
|
-
|
|
22
|
-
[[ $VERSION =~ $PATTERN ]]
|
|
23
|
-
|
|
24
|
-
VERSION_MAJOR="${BASH_REMATCH[1]}"
|
|
25
|
-
VERSION_MINOR="${BASH_REMATCH[2]}"
|
|
26
|
-
VERSION_PATCH="${BASH_REMATCH[3]}"
|
|
27
|
-
|
|
28
|
-
[[ $PUBLISHED_VERSION =~ $PATTERN ]]
|
|
29
|
-
|
|
30
|
-
PUBLISHED_VERSION_MAJOR="${BASH_REMATCH[1]}"
|
|
31
|
-
PUBLISHED_VERSION_MINOR="${BASH_REMATCH[2]}"
|
|
32
|
-
PUBLISHED_VERSION_PATCH="${BASH_REMATCH[3]}"
|
|
33
|
-
|
|
34
|
-
if [ $VERSION_MAJOR -gt $PUBLISHED_VERSION_MAJOR ] || [ $VERSION_MINOR -gt $PUBLISHED_VERSION_MINOR ] || [ $VERSION_PATCH -gt $PUBLISHED_VERSION_PATCH ]
|
|
35
|
-
then
|
|
36
|
-
set +e
|
|
37
|
-
|
|
38
|
-
npm ci
|
|
39
|
-
npm publish
|
|
40
|
-
|
|
41
|
-
if [[ $? != 0 ]];
|
|
42
|
-
then
|
|
43
|
-
echo Version $VERSION was not published
|
|
44
|
-
else
|
|
45
|
-
echo Published version $VERSION
|
|
46
|
-
fi
|
|
47
|
-
fi
|
|
48
|
-
|
|
49
|
-
workflows:
|
|
50
|
-
version: 2
|
|
51
|
-
commit-workflow:
|
|
52
|
-
jobs:
|
|
53
|
-
- publish:
|
|
54
|
-
filters:
|
|
55
|
-
tags:
|
|
56
|
-
only: /^v.*/
|
package/.editorconfig
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# EditorConfig is awesome: https://EditorConfig.org
|
|
2
|
-
|
|
3
|
-
# top-most EditorConfig file
|
|
4
|
-
root = true
|
|
5
|
-
|
|
6
|
-
# Unix-style newlines with a newline ending every file
|
|
7
|
-
[*.{js}]
|
|
8
|
-
end_of_line = lf
|
|
9
|
-
insert_final_newline = true
|
|
10
|
-
|
|
11
|
-
# Set default charset
|
|
12
|
-
charset = utf-8
|
|
13
|
-
|
|
14
|
-
# 2 space indentation
|
|
15
|
-
indent_style = space
|
|
16
|
-
indent_size = 2
|
package/.eslintrc
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": true,
|
|
3
|
-
"extends": [
|
|
4
|
-
"standard",
|
|
5
|
-
"plugin:react/recommended"
|
|
6
|
-
],
|
|
7
|
-
"env": {
|
|
8
|
-
"browser": true,
|
|
9
|
-
"es6": true
|
|
10
|
-
},
|
|
11
|
-
"parser": "@babel/eslint-parser",
|
|
12
|
-
"parserOptions": {
|
|
13
|
-
"ecmaVersion": 2020,
|
|
14
|
-
"sourceType": "module",
|
|
15
|
-
"ecmaFeatures": {
|
|
16
|
-
"jsx": true
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"plugins": [
|
|
20
|
-
"react"
|
|
21
|
-
],
|
|
22
|
-
"rules": {
|
|
23
|
-
"react/display-name": 0
|
|
24
|
-
},
|
|
25
|
-
"settings": {
|
|
26
|
-
"react": {
|
|
27
|
-
"version": "detect"
|
|
28
|
-
},
|
|
29
|
-
"import/resolver": {
|
|
30
|
-
"babel-module": {}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
package/.github/dependabot.yml
DELETED
package/.husky/pre-commit
DELETED