react-native-nitro-websockets 0.1.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app.plugin.js +1 -0
- package/package.json +16 -2
package/app.plugin.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./expo/plugins/dist/index.js').default
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-nitro-websockets",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "react-native-nitro-websockets",
|
|
5
5
|
"main": "lib/index",
|
|
6
6
|
"module": "lib/index",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"ios/**/*.cpp",
|
|
26
26
|
"ios/**/*.swift",
|
|
27
27
|
"app.plugin.js",
|
|
28
|
+
"expo/plugins/dist",
|
|
28
29
|
"nitro.json",
|
|
29
30
|
"*.podspec",
|
|
30
31
|
"README.md",
|
|
@@ -58,12 +59,23 @@
|
|
|
58
59
|
"thirdparty/mbedtls/CMakeLists.txt",
|
|
59
60
|
"thirdparty/mbedtls/LICENSE"
|
|
60
61
|
],
|
|
62
|
+
"exports": {
|
|
63
|
+
".": {
|
|
64
|
+
"source": "./src/index.ts",
|
|
65
|
+
"types": "./lib/index.d.ts",
|
|
66
|
+
"default": "./lib/index.js"
|
|
67
|
+
},
|
|
68
|
+
"./package.json": "./package.json",
|
|
69
|
+
"./app.plugin.js": "./app.plugin.js"
|
|
70
|
+
},
|
|
61
71
|
"scripts": {
|
|
62
72
|
"typecheck": "tsc --noEmit",
|
|
63
|
-
"clean": "rm -rf android/build node_modules/**/android/build lib",
|
|
73
|
+
"clean": "rm -rf android/build node_modules/**/android/build lib expo/plugins/dist",
|
|
64
74
|
"lint": "eslint \"**/*.{js,ts,tsx}\" --fix",
|
|
65
75
|
"lint-ci": "eslint \"**/*.{js,ts,tsx}\" -f @jamesacarr/github-actions",
|
|
66
76
|
"typescript": "tsc",
|
|
77
|
+
"build:plugin": "cd expo/plugins && npx tsc",
|
|
78
|
+
"release": "npm run build:plugin && release-it --only-version",
|
|
67
79
|
"specs": "tsc --noEmit false && nitrogen --logLevel=\"debug\""
|
|
68
80
|
},
|
|
69
81
|
"keywords": [
|
|
@@ -89,7 +101,9 @@
|
|
|
89
101
|
"registry": "https://registry.npmjs.org/"
|
|
90
102
|
},
|
|
91
103
|
"devDependencies": {
|
|
104
|
+
"@expo/config-plugins": "^9.0.0",
|
|
92
105
|
"@release-it/conventional-changelog": "^9.0.2",
|
|
106
|
+
"expo-module-scripts": "^5.0.8",
|
|
93
107
|
"@react-native/eslint-config": "^0.85.0-rc.0",
|
|
94
108
|
"@types/react": "^19.2.0",
|
|
95
109
|
"eslint": "^9.22.0",
|