Skip to content

Commit 6ace642

Browse files
authored
Merge pull request #1185 from rvsia/maintance
Maintenance
2 parents 8a6322b + 64632d0 commit 6ace642

File tree

18 files changed

+3787
-3063
lines changed

18 files changed

+3787
-3063
lines changed

config/jest.setup.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
// eslint-disable-next-line no-unused-vars
12
import { configure } from 'enzyme';
23
import Adapter from '@wojtekmaj/enzyme-adapter-react-17';
4+
import '@testing-library/jest-dom/extend-expect';
35

46
configure({ adapter: new Adapter() });
57
Element.prototype.scrollTo = () => {};

package.json

Lines changed: 53 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
"packages/**"
2929
],
3030
"jest": {
31-
"testEnvironment": "jsdom",
31+
"testEnvironment": "jest-environment-jsdom",
3232
"verbose": true,
3333
"testPathIgnorePatterns": [
3434
"/node_modules/"
3535
],
36-
"setupFiles": [
36+
"setupFilesAfterEnv": [
3737
"<rootDir>/config/jest.setup.js"
3838
],
3939
"collectCoverageFrom": [
@@ -56,72 +56,75 @@
5656
"globalSetup": "<rootDir>/config/globalSetup.js"
5757
},
5858
"devDependencies": {
59-
"@babel/core": "^7.15.5",
60-
"@babel/plugin-proposal-class-properties": "^7.14.5",
59+
"@babel/core": "^7.16.7",
60+
"@babel/eslint-parser": "^7.16.5",
61+
"@babel/plugin-proposal-class-properties": "^7.16.7",
6162
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
62-
"@babel/preset-env": "^7.15.6",
63-
"@babel/preset-react": "^7.14.5",
64-
"babel-eslint": "^10.1.0",
65-
"babel-jest": "^27.2.0",
66-
"babel-loader": "^8.2.2",
67-
"css-loader": "^6.2.0",
68-
"html-webpack-plugin": "^5.3.2",
69-
"regenerator-runtime": "^0.13.9",
70-
"sass-loader": "^12.1.0",
71-
"style-loader": "^3.2.1",
72-
"webpack": "^5.52.1",
73-
"webpack-cli": "^4.8.0",
74-
"webpack-dev-server": "^4.2.1",
75-
"prop-types": "^15.7.2",
76-
"react": "^17.0.2",
77-
"react-dom": "^17.0.2",
78-
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
79-
"enzyme": "^3.11.0",
80-
"enzyme-to-json": "^3.6.2",
81-
"@babel/eslint-parser": "^7.14.4",
82-
"@babel/plugin-transform-runtime": "^7.15.0",
83-
"@babel/preset-typescript": "^7.15.0",
84-
"node-sass": "^6.0.1",
63+
"@babel/plugin-transform-runtime": "^7.16.8",
64+
"@babel/preset-env": "^7.16.8",
65+
"@babel/preset-react": "^7.16.7",
66+
"@babel/preset-typescript": "^7.16.7",
8567
"@khala/commit-analyzer-wildcard": "^2.5.2",
8668
"@khala/npm-release-monorepo": "^2.5.2",
8769
"@khala/wildcard-release-notes": "^2.5.2",
8870
"@semantic-release/exec": "^6.0.3",
89-
"@semantic-release/git": "^9.0.1",
90-
"@semantic-release/github": "^7.2.3",
91-
"@semantic-release/npm": "^7.1.3",
71+
"@semantic-release/git": "^10.0.1",
72+
"@semantic-release/github": "^8.0.2",
73+
"@semantic-release/npm": "^8.0.3",
74+
"@testing-library/dom": "^8.11.2",
75+
"@testing-library/jest-dom": "^5.16.1",
76+
"@testing-library/react": "^12.1.2",
77+
"@testing-library/user-event": "^13.5.0",
9278
"@types/react": "^17.0.21",
9379
"@types/react-dom": "^17.0.9",
9480
"@typescript-eslint/eslint-plugin": "^4.31.1",
95-
"atob-lite": "^2.0.0",
81+
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.6",
82+
"babel-eslint": "^10.1.0",
83+
"babel-jest": "^27.4.6",
84+
"babel-loader": "^8.2.3",
9685
"babel-plugin-transform-imports": "^2.0.0",
97-
"dtslint": "^4.1.6",
86+
"css-loader": "^6.5.1",
87+
"dtslint": "^4.2.1",
88+
"enzyme": "^3.11.0",
89+
"enzyme-to-json": "^3.6.2",
9890
"eslint": "^7.32.0",
9991
"eslint-config-prettier": "^8.3.0",
100-
"eslint-config-react-app": "^6.0.0",
92+
"eslint-config-react-app": "^7.0.0",
10193
"eslint-loader": "^4.0.2",
102-
"eslint-plugin-flowtype": "^6.0.1",
103-
"eslint-plugin-import": "^2.24.2",
104-
"eslint-plugin-jest": "^24.4.2",
105-
"eslint-plugin-jsx-a11y": "^6.4.1",
94+
"eslint-plugin-flowtype": "^8.0.3",
95+
"eslint-plugin-import": "^2.25.4",
96+
"eslint-plugin-jest": "^25.7.0",
97+
"eslint-plugin-jsx-a11y": "^6.5.1",
10698
"eslint-plugin-prettier": "^4.0.0",
107-
"eslint-plugin-react": "^7.25.2",
108-
"eslint-plugin-react-hooks": "^4.2.0",
99+
"eslint-plugin-react": "^7.28.0",
100+
"eslint-plugin-react-hooks": "^4.3.0",
109101
"fs-extra": "^10.0.0",
110-
"glob": "^7.1.7",
102+
"glob": "^7.2.0",
103+
"html-webpack-plugin": "^5.5.0",
111104
"identity-obj-proxy": "^3.0.0",
112-
"inquirer": "^8.1.5",
113-
"jest": "^27.2.0",
105+
"inquirer": "^8.2.0",
106+
"jest": "^27.4.7",
114107
"lerna": "^4.0.0",
115108
"ncp": "^2.0.0",
116-
"prettier": "^2.4.1",
117-
"replace-in-file": "^6.2.0",
118-
"semantic-release": "^17.4.7",
109+
"node-sass": "^7.0.1",
110+
"prettier": "^2.5.1",
111+
"prop-types": "^15.8.1",
112+
"react": "^17.0.2",
113+
"react-dom": "^17.0.2",
114+
"regenerator-runtime": "^0.13.9",
115+
"replace-in-file": "^6.3.2",
116+
"sass-loader": "^12.4.0",
117+
"semantic-release": "^18.0.1",
119118
"strip-ansi": "^7.0.1",
120-
"terser-webpack-plugin": "^5.2.4",
121-
"ts-loader": "^9.2.5",
119+
"style-loader": "^3.3.1",
120+
"terser-webpack-plugin": "^5.3.0",
121+
"ts-loader": "^9.2.6",
122122
"tslint": "^6.1.3",
123123
"tslint-config-prettier": "^1.18.0",
124-
"typescript": "^4.4.3"
124+
"typescript": "^4.5.4",
125+
"webpack": "^5.66.0",
126+
"webpack-cli": "^4.9.1",
127+
"webpack-dev-server": "^4.7.3"
125128
},
126129
"release": {
127130
"monorepo": "./packages",
@@ -181,7 +184,8 @@
181184
}
182185
],
183186
[
184-
"@semantic-release/exec", {
187+
"@semantic-release/exec",
188+
{
185189
"prepareCmd": "node ./scripts/update-common.js ${nextRelease.version}"
186190
}
187191
]

packages/ant-component-mapper/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
8+
# Runtime data
9+
pids
10+
*.pid
11+
*.seed
12+
*.pid.lock
13+
.vscode
14+
15+
# Directory for instrumented libs generated by jscoverage/JSCover
16+
lib-cov
17+
18+
# Coverage directory used by tools like istanbul
19+
coverage
20+
21+
# nyc test coverage
22+
.nyc_output
23+
24+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
25+
.grunt
26+
27+
# Bower dependency directory (https://bower.io/)
28+
bower_components
29+
30+
# node-waf configuration
31+
.lock-wscript
32+
33+
# Compiled binary addons (https://nodejs.org/api/addons.html)
34+
build/Release
35+
36+
# Dependency directories
37+
node_modules/
38+
jspm_packages/
39+
40+
# TypeScript v1 declaration files
41+
typings/
42+
43+
# Optional npm cache directory
44+
.npm
45+
46+
# Optional eslint cache
47+
.eslintcache
48+
49+
# Optional REPL history
50+
.node_repl_history
51+
52+
# Output of 'npm pack'
53+
*.tgz
54+
55+
# Yarn files
56+
.yarn-integrity
57+
yarn.lock
58+
59+
# dotenv environment variables file
60+
.env
61+
62+
# next.js build output
63+
.next
64+
65+
# build output
66+
dist
67+
public
68+
vendor
69+
70+
/*
71+
72+
!src
73+
!src/
74+
!demo/
75+
!demo
76+
!src/*
77+
!demo/*
78+
!config
79+
!.npmignore
80+
!.gitignore
81+
!babel.config.js
82+
!generate-packages.js
83+
!LICENSE
84+
!package.json
85+
!README.md
86+
!tsconfig.json
87+
!generate-typings.js
88+
!rollup.config.js
89+
90+
.DS_STORE

packages/blueprint-component-mapper/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
# common
2+
3+
# Logs
4+
logs
5+
*.log
6+
npm-debug.log*
7+
yarn-debug.log*
8+
yarn-error.log*
9+
10+
# Runtime data
11+
pids
12+
*.pid
13+
*.seed
14+
*.pid.lock
15+
.vscode
16+
17+
# Directory for instrumented libs generated by jscoverage/JSCover
18+
lib-cov
19+
20+
# Coverage directory used by tools like istanbul
21+
coverage
22+
23+
# nyc test coverage
24+
.nyc_output
25+
26+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
27+
.grunt
28+
29+
# Bower dependency directory (https://bower.io/)
30+
bower_components
31+
32+
# node-waf configuration
33+
.lock-wscript
34+
35+
# Compiled binary addons (https://nodejs.org/api/addons.html)
36+
build/Release
37+
38+
# Dependency directories
39+
node_modules/
40+
jspm_packages/
41+
42+
# TypeScript v1 declaration files
43+
typings/
44+
45+
# Optional npm cache directory
46+
.npm
47+
48+
# Optional eslint cache
49+
.eslintcache
50+
51+
# Optional REPL history
52+
.node_repl_history
53+
54+
# Output of 'npm pack'
55+
*.tgz
56+
57+
# Yarn files
58+
.yarn-integrity
59+
yarn.lock
60+
61+
# dotenv environment variables file
62+
.env
63+
64+
# next.js build output
65+
.next
66+
67+
# build output
68+
dist
69+
vendor
70+
71+
/*
72+
73+
!src
74+
!src/
75+
!demo/
76+
!demo
77+
!src/*
78+
!demo/*
79+
!config
80+
!.npmignore
81+
!.gitignore
82+
!babel.config.js
83+
!generate-packages.js
84+
!LICENSE
85+
!package.json
86+
!README.md
87+
!tsconfig.json
88+
!generate-typings.js
89+
!rollup.config.js
90+
!generate-componen-examples.js
91+
!firebae.json
92+
!firebaseFunctions.js
93+
!scripts/
94+
95+
.DS_STORE

packages/carbon-component-mapper/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)