File tree Expand file tree Collapse file tree 4 files changed +13
-9
lines changed
dom-event-testing-library Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"private" : true ,
3
- "version" : " 0.18.3 " ,
3
+ "version" : " 0.0.0 " ,
4
4
"name" : " monorepo" ,
5
5
"scripts" : {
6
6
"clean" : " del-cli ./packages/*/dist" ,
25
25
"lint" : " yarn lint:report --fix" ,
26
26
"lint:report" : " eslint configs packages scripts --config ./configs/.eslintrc" ,
27
27
"prerelease" : " yarn test && yarn compile" ,
28
- "release" : " node ./scripts/releasePackages .js" ,
28
+ "release" : " node ./scripts/releaseReactNativeWebPackages .js" ,
29
29
"postrelease" : " yarn docs:release && yarn benchmarks:release" ,
30
30
"test" : " yarn flow && yarn fmt:report && yarn lint:report && yarn jest --runInBand"
31
31
},
Original file line number Diff line number Diff line change 1
1
{
2
2
"private" : true ,
3
3
"name" : " benchmarks" ,
4
- "version" : " 0.18.3 " ,
4
+ "version" : " 0.0.0 " ,
5
5
"scripts" : {
6
6
"dev" : " mkdir -p dist && cp -f index.html dist/index.html && ./node_modules/.bin/webpack-cli --config ./webpack.config.js" ,
7
7
"build" : " NODE_ENV=production yarn dev"
Original file line number Diff line number Diff line change 1
1
{
2
2
"private" : true ,
3
3
"name" : " dom-event-testing-library" ,
4
- "version" : " 0.18.3 " ,
4
+ "version" : " 0.0.0 " ,
5
5
"main" : " index.js" ,
6
6
"description" : " Browser event sequences for unit tests" ,
7
7
"author" : " Nicolas Gallagher" ,
Original file line number Diff line number Diff line change @@ -15,13 +15,17 @@ const version = argv._[0];
15
15
const skipGit = argv [ 'skip-git' ] ;
16
16
const oneTimeCode = argv . otp ;
17
17
18
- console . log ( `Publishing ${ version } ` ) ;
18
+ console . log ( `Publishing react-native-web@ ${ version } ` ) ;
19
19
20
- // Collect workspaces and package manifests
21
- const workspacePaths = require ( '../package.json' ) . workspaces . concat ( [ './' ] ) ;
20
+ // Collect 'react-native-web' workspaces and package manifests
21
+ const workspacePaths = require ( '../package.json' ) . workspaces ;
22
22
const workspaces = workspacePaths . reduce ( ( acc , curr ) => {
23
- const packageDirectories = glob . sync ( path . resolve ( curr ) ) ;
24
- packageDirectories . forEach ( ( directory ) => {
23
+ const packageDirectories = glob . sync ( curr ) ;
24
+ const subsetOfpackageDirectories = packageDirectories . filter ( ( dir ) => {
25
+ return dir . includes ( 'react-native-web' ) ;
26
+ } ) ;
27
+ subsetOfpackageDirectories . forEach ( ( dir ) => {
28
+ const directory = path . resolve ( dir ) ;
25
29
const packageJsonPath = path . join ( directory , 'package.json' ) ;
26
30
const packageJson = JSON . parse ( fs . readFileSync ( packageJsonPath , { encoding : 'utf-8' } ) ) ;
27
31
acc . push ( { directory, packageJson, packageJsonPath } ) ;
You can’t perform that action at this time.
0 commit comments