esoftplay 0.0.132-d → 0.0.132

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/bin/build.js CHANGED
@@ -352,7 +352,6 @@ export default UserIndex`;
352
352
  execSync(cmd + "|| true")
353
353
  execSync("cd ../../ && bun ./node_modules/esoftplay/bin/router.js || true")
354
354
  execSync("cd ../../ && bun ./node_modules/esoftplay/bin/locale.js || true")
355
- execSync("cd ../../ && bun ./node_modules/esoftplay/bin/run.js || true")
356
355
  console.log('App.js has been replace to App.tsx');
357
356
  // /* bugfix AsyncStorage @firebase, remove this section if firebase has update the AsyncStorage */
358
357
  // if (fs.existsSync('../@firebase/app/dist/index.rn.cjs.js')) {
package/bin/cli.js CHANGED
@@ -23,7 +23,7 @@ var args = process.argv.slice(2);
23
23
 
24
24
  // console.log(modpath, "sdofsjdofjsd")
25
25
  function execution() {
26
- const cmd = `watchman watch-del ./ && watchman watch ./ && watchman -j <<< '["trigger","./",{"name":"esp","expression":["allof",["not",["dirname","node_modules"]],["not",["name","index.d.ts"]]],"command":["node","./node_modules/esoftplay/bin/router.js"],"append_files":true}]' && bun ./node_modules/esoftplay/bin/run.js && bun ./node_modules/esoftplay/bin/router.js`
26
+ const cmd = `watchman watch-del ./ && watchman watch ./ && watchman -j <<< '["trigger","./",{"name":"esp","expression":["allof",["not",["dirname","node_modules"]],["not",["name","index.d.ts"]]],"command":["node","./node_modules/esoftplay/bin/router.js"],"append_files":true}]' && bun ./node_modules/esoftplay/bin/router.js`
27
27
  command(cmd)
28
28
  }
29
29
 
@@ -289,7 +289,7 @@ function createMaster(module_name) {
289
289
  "version": "0.0.1",
290
290
  "description": "`+ module_name + ` module on esoftplay framework",
291
291
  "main": "index.js",
292
- "bun-create": {
292
+ "scripts": {
293
293
  "test": "echo \\"Error: no test specified\\" && exit 1",
294
294
  "postinstall": "bun ../esoftplay/bin/mover.js esoftplay-`+ module_name + `"
295
295
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.132-d",
3
+ "version": "0.0.132",
4
4
  "description": "embedding data from esoftplay framework (web based) into mobile app",
5
5
  "main": "cache/index.js",
6
6
  "types": "../../index.d.ts",
package/bin/run.js DELETED
@@ -1,10 +0,0 @@
1
- const fs = require('fs');
2
- const shell = require('child_process').execSync;
3
-
4
- if (fs.existsSync('./node_modules')) {
5
- fs.readdirSync('./node_modules').forEach((module) => {
6
- if (module.includes("esoftplay-")) {
7
- shell(`cd ./node_modules/${module} && bun install && cd ../../`)
8
- }
9
- })
10
- }