@modernpoacher/cogs 1.0.196 → 1.0.267
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/husky.mjs +16 -0
- package/package.json +47 -47
package/husky.mjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// @ts-ignore
|
|
4
|
+
Promise.resolve(import('husky'))
|
|
5
|
+
.then(({ default: husky }) => { husky() })
|
|
6
|
+
.catch((e) => {
|
|
7
|
+
if (e instanceof Error) {
|
|
8
|
+
if ('code' in e) {
|
|
9
|
+
const { code } = e
|
|
10
|
+
if (code === 'ERR_MODULE_NOT_FOUND') return
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const { message } = e
|
|
14
|
+
if (message) console.error(`💥 ${message}`)
|
|
15
|
+
}
|
|
16
|
+
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modernpoacher/cogs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.267",
|
|
4
4
|
"description": "Cogs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Cogs",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"nvm": "bash nvm.sh",
|
|
36
36
|
"prebuild": "npm run nvm",
|
|
37
37
|
"prelint": "npm run nvm",
|
|
38
|
-
"prepare": "husky",
|
|
38
|
+
"prepare": "node husky.mjs",
|
|
39
39
|
"prestorybook": "npm run build && npm run prettier && npm run transform",
|
|
40
40
|
"pretest": "npm run nvm",
|
|
41
41
|
"prettier": "prettier src/sass/**/*.scss .storybook --write",
|
|
@@ -51,65 +51,65 @@
|
|
|
51
51
|
"debug": "^4.4.3"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@babel/core": "
|
|
55
|
-
"@babel/eslint-parser": "
|
|
56
|
-
"@babel/preset-env": "
|
|
57
|
-
"@babel/preset-react": "
|
|
58
|
-
"@babel/register": "
|
|
54
|
+
"@babel/core": "7.29.7",
|
|
55
|
+
"@babel/eslint-parser": "7.29.7",
|
|
56
|
+
"@babel/preset-env": "7.29.7",
|
|
57
|
+
"@babel/preset-react": "7.29.7",
|
|
58
|
+
"@babel/register": "7.29.7",
|
|
59
59
|
"@modernpoacher/design-system": "2.0.17",
|
|
60
|
-
"@sequencemedia/eslint-config-standard": "^0.2.
|
|
61
|
-
"@sequencemedia/eslint-config-typescript": "^0.1.
|
|
62
|
-
"@storybook/addon-docs": "^10.
|
|
63
|
-
"@storybook/addon-links": "^10.
|
|
64
|
-
"@storybook/addon-webpack5-compiler-babel": "^4.0.
|
|
65
|
-
"@storybook/react-webpack5": "^10.
|
|
66
|
-
"@testing-library/jest-dom": "^
|
|
67
|
-
"@testing-library/react": "^16.3.
|
|
60
|
+
"@sequencemedia/eslint-config-standard": "^0.2.125",
|
|
61
|
+
"@sequencemedia/eslint-config-typescript": "^0.1.216",
|
|
62
|
+
"@storybook/addon-docs": "^10.6.0",
|
|
63
|
+
"@storybook/addon-links": "^10.6.0",
|
|
64
|
+
"@storybook/addon-webpack5-compiler-babel": "^4.0.1",
|
|
65
|
+
"@storybook/react-webpack5": "^10.6.0",
|
|
66
|
+
"@testing-library/jest-dom": "^7.0.1",
|
|
67
|
+
"@testing-library/react": "^16.3.3",
|
|
68
68
|
"@types/babel__register": "^7.17.3",
|
|
69
69
|
"@types/chai": "^5.2.3",
|
|
70
|
-
"@types/debug": "^4.1.
|
|
70
|
+
"@types/debug": "^4.1.13",
|
|
71
71
|
"@types/jest": "^30.0.0",
|
|
72
72
|
"@types/mocha": "^10.0.10",
|
|
73
73
|
"@types/prop-types": "^15.7.15",
|
|
74
|
-
"@types/react": "^19.2.
|
|
75
|
-
"@types/react-dom": "^19.2.
|
|
76
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
77
|
-
"@typescript-eslint/parser": "^8.
|
|
78
|
-
"autoprefixer": "^10.
|
|
79
|
-
"chai": "^6.2.
|
|
80
|
-
"core-js": "^3.
|
|
74
|
+
"@types/react": "^19.2.18",
|
|
75
|
+
"@types/react-dom": "^19.2.7",
|
|
76
|
+
"@typescript-eslint/eslint-plugin": "^8.69.0",
|
|
77
|
+
"@typescript-eslint/parser": "^8.69.0",
|
|
78
|
+
"autoprefixer": "^10.5.5",
|
|
79
|
+
"chai": "^6.2.2",
|
|
80
|
+
"core-js": "^3.50.0",
|
|
81
81
|
"cross-env": "^10.1.0",
|
|
82
82
|
"eslint": "9.38.0",
|
|
83
83
|
"eslint-plugin-react": "^7.37.5",
|
|
84
|
-
"eslint-plugin-storybook": "^10.
|
|
85
|
-
"globals": "^
|
|
84
|
+
"eslint-plugin-storybook": "^10.6.0",
|
|
85
|
+
"globals": "^17.12.0",
|
|
86
86
|
"husky": "^9.1.7",
|
|
87
|
-
"jest": "^30.
|
|
88
|
-
"jest-environment-jsdom": "^30.
|
|
89
|
-
"mini-css-extract-plugin": "^2.
|
|
90
|
-
"mocha": "^
|
|
87
|
+
"jest": "^30.5.1",
|
|
88
|
+
"jest-environment-jsdom": "^30.5.1",
|
|
89
|
+
"mini-css-extract-plugin": "^2.10.2",
|
|
90
|
+
"mocha": "^12.0.0",
|
|
91
91
|
"perfectionist": "^2.4.0",
|
|
92
|
-
"postcss": "^8.5.
|
|
93
|
-
"postcss-discard-comments": "^
|
|
94
|
-
"postcss-discard-empty": "^
|
|
95
|
-
"postcss-import": "^
|
|
96
|
-
"postcss-loader": "^8.2.
|
|
92
|
+
"postcss": "^8.5.28",
|
|
93
|
+
"postcss-discard-comments": "^9.0.2",
|
|
94
|
+
"postcss-discard-empty": "^9.0.2",
|
|
95
|
+
"postcss-import": "^17.0.0",
|
|
96
|
+
"postcss-loader": "^8.2.1",
|
|
97
97
|
"postcss-map": "^0.11.0",
|
|
98
|
-
"prettier": "^3.
|
|
98
|
+
"prettier": "^3.9.6",
|
|
99
99
|
"prop-types": "^15.8.1",
|
|
100
|
-
"react": "^19.2.
|
|
101
|
-
"react-component-instance": "^0.0.
|
|
102
|
-
"react-component-snapshot": "^0.0.
|
|
103
|
-
"react-dom": "^19.2.
|
|
100
|
+
"react": "^19.2.8",
|
|
101
|
+
"react-component-instance": "^0.0.158",
|
|
102
|
+
"react-component-snapshot": "^0.0.215",
|
|
103
|
+
"react-dom": "^19.2.8",
|
|
104
104
|
"remove-files-webpack-plugin": "^1.5.0",
|
|
105
|
-
"sass": "^1.
|
|
106
|
-
"sass-loader": "^
|
|
107
|
-
"storybook": "^10.
|
|
108
|
-
"stylelint": "^
|
|
109
|
-
"stylelint-config-recommended-scss": "^
|
|
110
|
-
"stylelint-scss": "^
|
|
111
|
-
"webpack": "^5.
|
|
112
|
-
"webpack-cli": "^
|
|
105
|
+
"sass": "^1.104.0",
|
|
106
|
+
"sass-loader": "^17.0.1",
|
|
107
|
+
"storybook": "^10.6.0",
|
|
108
|
+
"stylelint": "^17.15.0",
|
|
109
|
+
"stylelint-config-recommended-scss": "^17.0.1",
|
|
110
|
+
"stylelint-scss": "^7.2.0",
|
|
111
|
+
"webpack": "^5.110.3",
|
|
112
|
+
"webpack-cli": "^7.2.3"
|
|
113
113
|
},
|
|
114
114
|
"overrides": {
|
|
115
115
|
"storybook": "$storybook"
|