@plasmicapp/cli 0.1.346 → 0.1.348

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/README.internal CHANGED
@@ -26,7 +26,7 @@ Example invocation:
26
26
  DEBUG_CHDIR=/path/to/target/project \
27
27
  PLASMIC_DEFAULT_HOST=http://localhost:3003 \
28
28
  PLASMIC_DISABLE_AUTH_SEARCH=1 \
29
- node --inspect -r ts-node/register src/index.ts \
29
+ npx tsx src/index.ts \
30
30
  --auth ~/.plasmic.dev.auth \
31
31
  sync
32
32
 
package/dist/index.js CHANGED
@@ -488550,9 +488550,6 @@ function makeImportPath(context, fromPath, toPath2, forceRelative = false) {
488550
488550
  if (stripExt) {
488551
488551
  result = stripExtension(result);
488552
488552
  }
488553
- if (result.endsWith(".css") && context.config.platform === "tanstack" && context.config.style.scheme === "css") {
488554
- result = `${result}?url`;
488555
- }
488556
488553
  return result;
488557
488554
  }
488558
488555
  function isLocalModulePath(modulePath) {
package/dist/lib.js CHANGED
@@ -483856,9 +483856,6 @@ function makeImportPath(context, fromPath, toPath2, forceRelative = false) {
483856
483856
  if (stripExt) {
483857
483857
  result = stripExtension(result);
483858
483858
  }
483859
- if (result.endsWith(".css") && context.config.platform === "tanstack" && context.config.style.scheme === "css") {
483860
- result = `${result}?url`;
483861
- }
483862
483859
  return result;
483863
483860
  }
483864
483861
  function isLocalModulePath(modulePath) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicapp/cli",
3
- "version": "0.1.346",
3
+ "version": "0.1.348",
4
4
  "description": "plasmic cli for syncing local code with Plasmic designs",
5
5
  "engines": {
6
6
  "node": ">=12"
@@ -18,7 +18,7 @@
18
18
  "test": "NODE_OPTIONS=--experimental-vm-modules jest --colors",
19
19
  "test:debug": "node --experimental-vm-modules --inspect-brk node_modules/.bin/jest --runInBand --watch",
20
20
  "build": "bash build.sh",
21
- "plasmic": "ts-node src/index.ts",
21
+ "plasmic": "tsx src/index.ts",
22
22
  "prepublishOnly": "npm run build"
23
23
  },
24
24
  "devDependencies": {
@@ -72,7 +72,7 @@
72
72
  "socket.io-client": "^4.1.2",
73
73
  "tmp": "^0.2.1",
74
74
  "ts-jest": "^29.1.1",
75
- "ts-node": "^8.10.2",
75
+ "tsx": "^4.20.6",
76
76
  "typescript": "^5.7.3",
77
77
  "typescript-json-schema": "^0.45.0",
78
78
  "upath": "^1.2.0",
@@ -82,5 +82,5 @@
82
82
  "wrap-ansi": "^7.0.0",
83
83
  "yargs": "^15.4.1"
84
84
  },
85
- "gitHead": "2495d0e2aac1b54715640be6c5c3eea5a49a3c69"
85
+ "gitHead": "dff908ba603a5e5385e126fa431de2e96e497960"
86
86
  }
@@ -544,15 +544,6 @@ function makeImportPath(
544
544
  result = stripExtension(result);
545
545
  }
546
546
 
547
- if (
548
- result.endsWith(".css") &&
549
- context.config.platform === "tanstack" &&
550
- context.config.style.scheme === "css"
551
- ) {
552
- // In Tanstack we import css as url such as ".css?url" at the moment
553
- result = `${result}?url`;
554
- }
555
-
556
547
  return result;
557
548
  }
558
549