@apps-in-toss/plugins 0.0.0-dev.1743134070910 → 0.0.16
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/dist/index.cjs +7 -1
- package/dist/index.js +7 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -34791,7 +34791,13 @@ var import_node_fs6 = __toESM(require("fs"), 1);
|
|
|
34791
34791
|
var import_node_path6 = __toESM(require("path"), 1);
|
|
34792
34792
|
function setupRuntimeSetupScript(config) {
|
|
34793
34793
|
const packageRoot = getPackageRoot();
|
|
34794
|
-
const
|
|
34794
|
+
const bedrockPath = import_node_path6.default.join(packageRoot, ".bedrock");
|
|
34795
|
+
try {
|
|
34796
|
+
import_node_fs6.default.accessSync(bedrockPath);
|
|
34797
|
+
} catch (error) {
|
|
34798
|
+
import_node_fs6.default.mkdirSync(bedrockPath, { recursive: true });
|
|
34799
|
+
}
|
|
34800
|
+
const envFilePath = import_node_path6.default.join(bedrockPath, ".apps-in-toss.env.js");
|
|
34795
34801
|
const script = `
|
|
34796
34802
|
(function (global) {
|
|
34797
34803
|
global.__appsInToss = ${JSON.stringify({
|
package/dist/index.js
CHANGED
|
@@ -34790,7 +34790,13 @@ import fs5 from "node:fs";
|
|
|
34790
34790
|
import path12 from "node:path";
|
|
34791
34791
|
function setupRuntimeSetupScript(config) {
|
|
34792
34792
|
const packageRoot = getPackageRoot();
|
|
34793
|
-
const
|
|
34793
|
+
const bedrockPath = path12.join(packageRoot, ".bedrock");
|
|
34794
|
+
try {
|
|
34795
|
+
fs5.accessSync(bedrockPath);
|
|
34796
|
+
} catch (error) {
|
|
34797
|
+
fs5.mkdirSync(bedrockPath, { recursive: true });
|
|
34798
|
+
}
|
|
34799
|
+
const envFilePath = path12.join(bedrockPath, ".apps-in-toss.env.js");
|
|
34794
34800
|
const script = `
|
|
34795
34801
|
(function (global) {
|
|
34796
34802
|
global.__appsInToss = ${JSON.stringify({
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apps-in-toss/plugins",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
5
|
-
"description": "The
|
|
4
|
+
"version": "0.0.16",
|
|
5
|
+
"description": "The plugins for Apps In Toss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"prepack": "yarn build",
|
|
8
8
|
"typecheck": "tsc --noEmit",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"connect": "^3.7.0",
|
|
32
32
|
"execa": "^9.5.2",
|
|
33
33
|
"picocolors": "^1.1.1",
|
|
34
|
-
"react-native-bedrock": "
|
|
34
|
+
"react-native-bedrock": "0.0.14",
|
|
35
35
|
"tsup": "^8.4.0",
|
|
36
36
|
"typescript": "4.9.5",
|
|
37
37
|
"typia": "^8.0.4",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "b10f085f0adf50f777421d55b63b99bffb659f28"
|
|
45
45
|
}
|