@edifice.io/community-client-rest 1.0.0-develop.20251210131738 → 1.0.0-develop.20251210161602
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/package.json +4 -4
- package/package.json.rn +1 -1
- package/dist/react-native/package.json +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/community-client-rest",
|
|
3
|
-
"version": "1.0.0-develop.
|
|
3
|
+
"version": "1.0.0-develop.20251210161602",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "",
|
|
6
6
|
"private": false,
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
"build:prod": "NODE_ENV=production pnpm run build:node && pnpm run build:browser && pnpm run build:react-native",
|
|
23
23
|
"build:browser": "tsc -p tsconfig.browser.json --outDir dist/browser && tsc-alias -p tsconfig.browser.json --outDir dist/browser",
|
|
24
24
|
"build:node": "tsc -p tsconfig.node.json --outDir dist/node && tsc-alias -p tsconfig.node.json --outDir dist/node",
|
|
25
|
-
"build:react-native": "
|
|
25
|
+
"build:react-native": "mkdir -p dist/react-native && cp -r dist/browser/* dist/react-native/ && find dist/react-native -name '*.node.js*' -delete",
|
|
26
26
|
"clean": "rm -rf dist node_modules",
|
|
27
27
|
"format": "prettier --write src",
|
|
28
28
|
"lint": "eslint src",
|
|
29
29
|
"lint:fix": "eslint src --fix",
|
|
30
30
|
"prebuild": "pnpm clean && pnpm install",
|
|
31
31
|
"prune:prod": "CI=true NPM_CONFIG_IGNORE_SCRIPTS=true pnpm prune --prod --production --loglevel verbose && pnpm store prune",
|
|
32
|
-
"publish:main": "npm publish --no-git-checks --access public --tag=$PUBLISH_TAG --dry-run=${DRY_RUN}",
|
|
33
|
-
"publish:react-native": "cp .npmrc dist/react-native/ && cd dist/react-native && npm publish --no-git-checks --access public --tag=$PUBLISH_TAG --dry-run=${DRY_RUN}",
|
|
32
|
+
"publish:main": "pnpm run sync:rn-version && npm publish --no-git-checks --access public --tag=$PUBLISH_TAG --dry-run=${DRY_RUN}",
|
|
33
|
+
"publish:react-native": "pnpm run sync:rn-version && cp package.json.rn dist/react-native/package.json && cp .npmrc dist/react-native/ && cd dist/react-native && npm publish --no-git-checks --access public --tag=$PUBLISH_TAG --dry-run=${DRY_RUN}",
|
|
34
34
|
"publish:all": "pnpm run publish:main && pnpm run publish:react-native",
|
|
35
35
|
"sync:rn-version": "edifice-update-rn-version",
|
|
36
36
|
"test": "pnpm run prebuild && vitest",
|
package/package.json.rn
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@edifice.io/community-client-rest-rn",
|
|
3
|
-
"version": "1.0.0-develop.20251210131738",
|
|
4
|
-
"description": "React Native compatible version of community-client-rest",
|
|
5
|
-
"author": "",
|
|
6
|
-
"private": false,
|
|
7
|
-
"license": "UNLICENSED",
|
|
8
|
-
"main": "index.js",
|
|
9
|
-
"dependencies": {
|
|
10
|
-
"uuid": "11.1.0",
|
|
11
|
-
"class-transformer": "0.5.1",
|
|
12
|
-
"class-validator": "0.14.2"
|
|
13
|
-
}
|
|
14
|
-
}
|