File tree Expand file tree Collapse file tree 6 files changed +21
-33
lines changed Expand file tree Collapse file tree 6 files changed +21
-33
lines changed Original file line number Diff line number Diff line change 19
19
},
20
20
"repository" : {
21
21
"type" : " git" ,
22
- "url" : " https://github.com/module-federation/metro " ,
22
+ "url" : " https://github.com/module-federation/core " ,
23
23
"directory" : " packages/metro-core"
24
24
},
25
25
"files" : [
55
55
},
56
56
"dependencies" : {
57
57
"@expo/metro-runtime" : " ^5.0.4" ,
58
- "@module-federation/runtime" : " ^0.15.0 " ,
59
- "@module-federation/sdk" : " ^0.15.0 "
58
+ "@module-federation/runtime" : " workspace:* " ,
59
+ "@module-federation/sdk" : " workspace:* "
60
60
},
61
61
"peerDependencies" : {
62
62
"@babel/types" : " ^7.25.0" ,
Original file line number Diff line number Diff line change 3
3
"$schema" : " ../../node_modules/nx/schemas/project-schema.json" ,
4
4
"sourceRoot" : " packages/metro-core/src" ,
5
5
"projectType" : " library" ,
6
- "release" : {
7
- "version" : {
8
- "manifestRootsToUpdate" : [" dist/{projectRoot}" ],
9
- "currentVersionResolver" : " git-tag" ,
10
- "fallbackCurrentVersionResolver" : " disk"
11
- }
12
- },
13
- "tags" : [],
6
+ "tags" : [" type:pkg" ],
14
7
"targets" : {
15
8
"build" : {
16
- "executor" : " @nx/js:tsc" ,
17
- "outputs" : [" {options.outputPath}" ],
18
- "options" : {
19
- "outputPath" : " dist/packages/metro-core" ,
20
- "main" : " packages/metro-core/src/index.ts" ,
21
- "tsConfig" : " packages/metro-core/tsconfig.lib.json" ,
22
- "assets" : [" packages/metro-core/*.md" ]
23
- }
24
- },
25
- "nx-release-publish" : {
9
+ "executor" : " nx:run-commands" ,
26
10
"options" : {
27
- "packageRoot " : " dist/{projectRoot} "
11
+ "commands " : [ " pnpm build " ]
28
12
}
29
13
},
30
14
"lint" : {
Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ function getNormalizedShared(
48
48
// default requiredVersion
49
49
for ( const sharedName of Object . keys ( shared ) ) {
50
50
if ( ! shared [ sharedName ] . requiredVersion ) {
51
- // @ts -expect-error - TODO fix this
52
51
shared [ sharedName ] . requiredVersion =
53
52
pkg . dependencies ?. [ sharedName ] || pkg . devDependencies ?. [ sharedName ] ;
54
53
}
Original file line number Diff line number Diff line change 3
3
"$schema" : " ../../node_modules/nx/schemas/project-schema.json" ,
4
4
"sourceRoot" : " packages/metro-plugin-rnc-cli/" ,
5
5
"projectType" : " library" ,
6
- "tags" : [],
6
+ "tags" : [" type:pkg " ],
7
7
"targets" : {
8
8
"lint" : {
9
9
"executor" : " @nx/eslint:lint"
Original file line number Diff line number Diff line change 3
3
"$schema" : " ../../node_modules/nx/schemas/project-schema.json" ,
4
4
"sourceRoot" : " packages/metro-plugin-rnef/src" ,
5
5
"projectType" : " library" ,
6
- "tags" : [],
6
+ "tags" : [" type:pkg " ],
7
7
"targets" : {
8
+ "build" : {
9
+ "executor" : " nx:run-commands" ,
10
+ "outputs" : [" {workspaceRoot}/packages/metro-plugin-rnef/dist" ],
11
+ "options" : {
12
+ "commands" : [" pnpm build" ]
13
+ }
14
+ },
8
15
"lint" : {
9
16
"executor" : " @nx/eslint:lint"
10
17
},
You can’t perform that action at this time.
0 commit comments