Skip to content

Commit d169fc4

Browse files
committed
attempt to fix build
1 parent a17b508 commit d169fc4

File tree

3 files changed

+69
-69
lines changed

3 files changed

+69
-69
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- run: pnpm build
4646
# Bootstrap host package to get weak-node-api and ferric-example to get types
4747
# TODO: Solve this by adding an option to ferric to build only types or by committing the types into the repo as a fixture for an "init" command
48-
- run: pnpm bootstrap
48+
- run: pnpm --filter cmake-rn --filter react-native-node-api --filter @react-native-node-api/ferric-example bootstrap
4949
- run: pnpm lint
5050
env:
5151
DEBUG: eslint:eslint

package.json

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
11
{
2-
"name": "@react-native-node-api/root",
3-
"description": "Node-API Modules for React Native",
4-
"type": "module",
5-
"private": true,
6-
"homepage": "https://github.com/callstackincubator/react-native-node-api#readme",
7-
"scripts": {
8-
"build": "tsc --build",
9-
"clean": "tsc --build --clean",
10-
"dev": "tsc --build --watch",
11-
"lint": "eslint .",
12-
"test": "pnpm --filter react-native-node-api --filter cmake-rn --filter gyp-to-cmake --filter node-addon-examples test",
13-
"bootstrap": "pnpm --recursive --no-sort --if-present build",
14-
"prerelease": "pnpm --recursive --no-sort --if-present prerelease",
15-
"prettier:check": "prettier --experimental-cli --check .",
16-
"prettier:write": "prettier --experimental-cli --write .",
17-
"release": "changeset publish"
18-
},
19-
"author": {
20-
"name": "Callstack",
21-
"url": "https://github.com/callstackincubator"
22-
},
23-
"contributors": [
24-
{
25-
"name": "Kræn Hansen",
26-
"url": "https://github.com/kraenhansen"
27-
},
28-
{
29-
"name": "Jamie Birch",
30-
"url": "https://github.com/shirakaba"
31-
}
32-
],
33-
"license": "MIT",
34-
"devDependencies": {
35-
"@changesets/cli": "^2.29.5",
36-
"@eslint/js": "^9.32.0",
37-
"@prettier/plugin-oxc": "^0.0.4",
38-
"@reporters/github": "^1.7.2",
39-
"@tsconfig/node22": "^22.0.0",
40-
"@tsconfig/react-native": "3.0.5",
41-
"@types/node": "^22",
42-
"eslint": "^9.32.0",
43-
"eslint-config-prettier": "^10.1.8",
44-
"globals": "^16.0.0",
45-
"prettier": "^3.6.2",
46-
"react-native": "0.79.5",
47-
"tsx": "^4.20.5",
48-
"typescript": "^5.8.0",
49-
"typescript-eslint": "^8.38.0"
50-
}
2+
"name": "@react-native-node-api/root",
3+
"description": "Node-API Modules for React Native",
4+
"type": "module",
5+
"private": true,
6+
"homepage": "https://github.com/callstackincubator/react-native-node-api#readme",
7+
"scripts": {
8+
"build": "tsc --build",
9+
"clean": "tsc --build --clean",
10+
"dev": "tsc --build --watch",
11+
"lint": "eslint .",
12+
"test": "pnpm --filter react-native-node-api --filter cmake-rn --filter gyp-to-cmake --filter node-addon-examples test",
13+
"bootstrap": "pnpm --recursive --no-sort --if-present build",
14+
"prerelease": "pnpm --recursive --no-sort --if-present prerelease",
15+
"prettier:check": "prettier --experimental-cli --check .",
16+
"prettier:write": "prettier --experimental-cli --write .",
17+
"release": "changeset publish"
18+
},
19+
"author": {
20+
"name": "Callstack",
21+
"url": "https://github.com/callstackincubator"
22+
},
23+
"contributors": [
24+
{
25+
"name": "Kræn Hansen",
26+
"url": "https://github.com/kraenhansen"
27+
},
28+
{
29+
"name": "Jamie Birch",
30+
"url": "https://github.com/shirakaba"
31+
}
32+
],
33+
"license": "MIT",
34+
"devDependencies": {
35+
"@changesets/cli": "^2.29.5",
36+
"@eslint/js": "^9.32.0",
37+
"@prettier/plugin-oxc": "^0.0.4",
38+
"@reporters/github": "^1.7.2",
39+
"@tsconfig/node22": "^22.0.0",
40+
"@tsconfig/react-native": "3.0.5",
41+
"@types/node": "^22",
42+
"eslint": "^9.32.0",
43+
"eslint-config-prettier": "^10.1.8",
44+
"globals": "^16.0.0",
45+
"prettier": "^3.6.2",
46+
"react-native": "0.79.5",
47+
"tsx": "^4.20.5",
48+
"typescript": "^5.8.0",
49+
"typescript-eslint": "^8.38.0"
50+
}
5151
}

packages/ferric-example/package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
2-
"name": "@react-native-node-api/ferric-example",
3-
"private": true,
4-
"type": "commonjs",
5-
"version": "0.1.1",
6-
"homepage": "https://github.com/callstackincubator/react-native-node-api",
7-
"repository": {
8-
"type": "git",
9-
"url": "git+https://github.com/callstackincubator/react-native-node-api.git",
10-
"directory": "packages/ferric-example"
11-
},
12-
"main": "ferric_example.js",
13-
"types": "ferric_example.d.ts",
14-
"scripts": {
15-
"build": "ferric build",
16-
"bootstrap": "pnpm build"
17-
},
18-
"devDependencies": {
19-
"ferric-cli": "latest"
20-
}
2+
"name": "@react-native-node-api/ferric-example",
3+
"private": true,
4+
"type": "commonjs",
5+
"version": "0.1.1",
6+
"homepage": "https://github.com/callstackincubator/react-native-node-api",
7+
"repository": {
8+
"type": "git",
9+
"url": "git+https://github.com/callstackincubator/react-native-node-api.git",
10+
"directory": "packages/ferric-example"
11+
},
12+
"main": "ferric_example.js",
13+
"types": "ferric_example.d.ts",
14+
"scripts": {
15+
"build": "ferric build",
16+
"bootstrap": "pnpm build"
17+
},
18+
"devDependencies": {
19+
"ferric-cli": "latest"
20+
}
2121
}

0 commit comments

Comments
 (0)