File tree Expand file tree Collapse file tree 8 files changed +501
-31
lines changed Expand file tree Collapse file tree 8 files changed +501
-31
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "releases" : [
3
+ { "name" : " kind2string" , "type" : " patch" },
4
+ { "name" : " pretty-proptypes" , "type" : " patch" }
5
+ ],
6
+ "dependents" : []
7
+ }
Original file line number Diff line number Diff line change
1
+ - Updated build to use preconstruct (this shouldn't affect usage, but calling this out just in case)
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ module.exports = {
23
23
rules : {
24
24
// Error on prettier violations
25
25
'prettier/prettier' : 'error' ,
26
-
26
+ 'import/no-unresolved' : 'off' ,
27
27
'prefer-const' : 'off' ,
28
28
29
29
// New eslint style rules that is not disabled by prettier:
Original file line number Diff line number Diff line change
1
+ const preconstruct = require ( 'preconstruct' ) ;
2
+
3
+ module . exports = {
4
+ moduleNameMapper : preconstruct . aliases . jest ( __dirname )
5
+ } ;
Original file line number Diff line number Diff line change 10
10
"dev:pretty-proptypes" : " bolt w pretty-proptypes run dev" ,
11
11
"lint" : " yarn eslint \" ./**/*.js\" " ,
12
12
"validate" : " yarn lint && yarn test && yarn flow" ,
13
- "build" : " bolt ws build"
13
+ "build" : " preconstruct build" ,
14
+ "clean" : " yarn delete:modules && yarn delete:dist" ,
15
+ "delete:dist" : " bolt ws exec --parallel -- rm -rf dist" ,
16
+ "delete:modules" : " bolt ws exec --parallel -- rm -rf node_modules && rm -rf node_modules"
14
17
},
15
18
"bolt" : {
16
19
"workspaces" : [
17
20
" packages/*"
18
21
]
19
22
},
23
+ "preconstruct" : {
24
+ "packages" : [
25
+ " packages/kind2string" ,
26
+ " packages/pretty-proptypes"
27
+ ]
28
+ },
20
29
"dependencies" : {
21
30
"@atlaskit/build-releases" : " ^3.0.3" ,
22
31
"@babel/core" : " 7.0.0-beta.56" ,
67
76
"jest" : " ^23.6.0" ,
68
77
"jest-in-case" : " ^1.0.2" ,
69
78
"jsdom" : " ^11.7.0" ,
79
+ "preconstruct" : " ^0.0.58" ,
70
80
"prettier" : " ^1.13.7" ,
71
81
"react" : " ^16.3.1" ,
72
82
"react-addons-test-utils" : " ^15.6.2" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " kind2string" ,
3
3
"version" : " 0.5.3" ,
4
- "main" : " dist/index.js" ,
4
+ "main" : " dist/kind2string.cjs.js" ,
5
+ "module" : " dist/kind2string.esm.js" ,
5
6
"license" : " MIT" ,
6
7
"author" : " Atlassian" ,
7
8
"repository" : " atlassian/extract-react-types" ,
8
9
"description" : " Utility to ensure extract-react-types output can be rendered without errors" ,
9
- "scripts" : {
10
- "build" : " babel src -d dist --ignore __tests__/" ,
11
- "prepublish" : " yarn build" ,
12
- "dev" : " yarn build --watch"
13
- },
14
10
"files" : [
15
11
" dist"
16
12
],
17
13
"devDependencies" : {
18
14
"extract-react-types" : " ^0.16.1"
19
15
},
20
16
"dependencies" : {}
21
- }
17
+ }
Original file line number Diff line number Diff line change 3
3
"version" : " 0.6.0" ,
4
4
"description" : " prettily render prop types from react components" ,
5
5
"repository" : " atlassian/extract-react-types" ,
6
- "main" : " dist/index.js" ,
7
- "scripts" : {
8
- "build" : " babel src -d dist --ignore *.test.js" ,
9
- "prepublish" : " yarn build" ,
10
- "dev" : " yarn build --watch"
11
- },
6
+ "main" : " dist/pretty-proptypes.cjs.js" ,
7
+ "module" : " dist/pretty-proptypes.esm.js" ,
12
8
"keywords" : [
13
9
" extract-react-types" ,
14
10
" react" ,
43
39
"react-addons-test-utils" : " ^15.6.2" ,
44
40
"react-dom" : " ^16.3.1"
45
41
}
46
- }
42
+ }
You can’t perform that action at this time.
0 commit comments