@multiplatform.one/vite-plugin-webext 9.16.1 → 10.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/lib/index.cjs CHANGED
@@ -28,7 +28,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  //#endregion
29
29
  let node_fs = require("node:fs");
30
30
  node_fs = __toESM(node_fs, 1);
31
- let node_module = require("node:module");
32
31
  let node_path = require("node:path");
33
32
  node_path = __toESM(node_path, 1);
34
33
  let _multiplatform_one_utils_dev = require("@multiplatform.one/utils/dev");
@@ -79,70 +78,25 @@ function shikiStubPlugin() {
79
78
  }
80
79
  };
81
80
  }
82
- function barePackageName(specifier) {
83
- if (!specifier || /^[./#\\]/.test(specifier)) return;
84
- if (/^(node|data|file|https?):/.test(specifier)) return;
85
- const packageName = specifier.startsWith("@") ? specifier.split("/").slice(0, 2).join("/") : specifier.split("/")[0];
86
- if (node_module.builtinModules.includes(packageName)) return;
87
- return packageName;
88
- }
89
- /** Node ESM bare-import resolution walks parent node_modules dirs and — unlike
90
- * CJS — ignores NODE_PATH. Presence of the package dir is what we probe. */
91
- function packageVisibleFromDir(packageName, fromDir) {
92
- let dir = fromDir;
93
- while (true) {
94
- if (node_fs.default.existsSync(node_path.default.join(dir, "node_modules", packageName, "package.json"))) return true;
95
- const parent = node_path.default.dirname(dir);
96
- if (parent === dir) return false;
97
- dir = parent;
98
- }
99
- }
100
81
  /**
101
- * The Tamagui static extractor bundles the app's tamagui config to
102
- * `<cwd>/.tamagui/tamagui.config.{cjs,mjs}` and then loads it (ESM `import()`
103
- * for .mjs, `require()` for .cjs), leaving its externals (`@tamagui/web`,
104
- * `@tamagui/core`, react…) as live imports resolved FROM that artifact. When
105
- * one of them cannot be resolved there (pnpm's default isolated layout
106
- * without a direct `@tamagui/web` dependency), the extractor logs "Error
107
- * bundling tamagui config: Cannot find package …", swallows the error, and
108
- * the build exits 0 with a silently deoptimized runtime-styled bundle.
109
- * Production builds must fail instead: after the build, replay the artifact's
110
- * imports with the loader semantics the extractor would use — CJS resolution
111
- * for .cjs (honors NODE_PATH, which pnpm bin shims set), an ESM-style
112
- * node_modules walk for .mjs (ESM ignores NODE_PATH — exactly the divergence
113
- * that breaks the .mjs artifact under pnpm) — and name the missing package.
114
- * A missing artifact (bundling died before writing it) is equally fatal.
82
+ * The Tamagui static extractor writes the app's tamagui config to
83
+ * `<vite root>/.tamagui/tamagui.config.json`.
84
+ * A missing artifact (bundling died before writing it) is fatal.
115
85
  */
116
86
  function tamaguiConfigBundleGuard(isDev) {
87
+ let root = process.cwd();
117
88
  return {
118
89
  name: "webext-tamagui-config-guard",
90
+ configResolved(config) {
91
+ root = config.root;
92
+ },
119
93
  closeBundle() {
120
94
  if (isDev) return;
121
- const dotDir = node_path.default.join(process.cwd(), ".tamagui");
122
- const artifacts = ["tamagui.config.cjs", "tamagui.config.mjs"].map((name) => node_path.default.join(dotDir, name)).filter((file) => node_fs.default.existsSync(file));
123
- if (artifacts.length === 0) {
124
- if (!node_fs.default.existsSync(dotDir)) return;
125
- throw new Error(`[${PLUGIN_NAME}] the Tamagui static extractor did not produce its bundled config (expected ${node_path.default.join(dotDir, "tamagui.config.{cjs,mjs}")}). The build would silently fall back to a deoptimized runtime-styled bundle. Re-run with DEBUG=tamagui to see the underlying bundling error.`);
126
- }
127
- const artifact = artifacts.sort((a, b) => node_fs.default.statSync(b).mtimeMs - node_fs.default.statSync(a).mtimeMs)[0];
128
- const source = node_fs.default.readFileSync(artifact, "utf8");
129
- const requireFromArtifact = (0, node_module.createRequire)(artifact);
130
- const importRe = /(?:require\s*\(\s*|import\s*\(\s*|from\s*|import\s*)["']([^"'\n]+)["']/g;
131
- const missing = /* @__PURE__ */ new Set();
132
- for (const match of source.matchAll(importRe)) {
133
- const packageName = barePackageName(match[1]);
134
- if (!packageName) continue;
135
- if (artifact.endsWith(".cjs")) try {
136
- requireFromArtifact.resolve(packageName);
137
- } catch {
138
- missing.add(packageName);
139
- }
140
- else if (!packageVisibleFromDir(packageName, dotDir)) missing.add(packageName);
141
- }
142
- if (missing.size > 0) {
143
- const names = [...missing].map((name) => `"${name}"`).join(", ");
144
- throw new Error(`[${PLUGIN_NAME}] Tamagui config bundling failed: ${names} cannot be resolved from ${artifact}. The Tamagui static extractor swallows this ("Error bundling tamagui config") and ships a deoptimized runtime-styled build. Fix: add ${names} to your app's dependencies — under pnpm's default isolated node_modules, transitive packages are not resolvable from the app.`);
145
- }
95
+ const dotDir = node_path.default.join(root, ".tamagui");
96
+ const artifact = node_path.default.join(dotDir, "tamagui.config.json");
97
+ if (node_fs.default.existsSync(artifact)) return;
98
+ if (!node_fs.default.existsSync(dotDir)) return;
99
+ throw new Error(`[${PLUGIN_NAME}] the Tamagui static extractor did not produce its bundled config (expected ${artifact}). The build would silently fall back to a deoptimized runtime-styled bundle. Re-run with DEBUG=tamagui to see the underlying bundling error.`);
146
100
  }
147
101
  };
148
102
  }
package/lib/index.mjs CHANGED
@@ -1,4 +1,3 @@
1
- import { builtinModules, createRequire } from "node:module";
2
1
  import fs from "node:fs";
3
2
  import path from "node:path";
4
3
  import { lookupProjectRoot, lookupTamaguiModules, oneServerOnlyBrowserStub, stubExpoTypeDeclarations, workspaceSourceAliases } from "@multiplatform.one/utils/dev";
@@ -48,70 +47,25 @@ function shikiStubPlugin() {
48
47
  }
49
48
  };
50
49
  }
51
- function barePackageName(specifier) {
52
- if (!specifier || /^[./#\\]/.test(specifier)) return;
53
- if (/^(node|data|file|https?):/.test(specifier)) return;
54
- const packageName = specifier.startsWith("@") ? specifier.split("/").slice(0, 2).join("/") : specifier.split("/")[0];
55
- if (builtinModules.includes(packageName)) return;
56
- return packageName;
57
- }
58
- /** Node ESM bare-import resolution walks parent node_modules dirs and — unlike
59
- * CJS — ignores NODE_PATH. Presence of the package dir is what we probe. */
60
- function packageVisibleFromDir(packageName, fromDir) {
61
- let dir = fromDir;
62
- while (true) {
63
- if (fs.existsSync(path.join(dir, "node_modules", packageName, "package.json"))) return true;
64
- const parent = path.dirname(dir);
65
- if (parent === dir) return false;
66
- dir = parent;
67
- }
68
- }
69
50
  /**
70
- * The Tamagui static extractor bundles the app's tamagui config to
71
- * `<cwd>/.tamagui/tamagui.config.{cjs,mjs}` and then loads it (ESM `import()`
72
- * for .mjs, `require()` for .cjs), leaving its externals (`@tamagui/web`,
73
- * `@tamagui/core`, react…) as live imports resolved FROM that artifact. When
74
- * one of them cannot be resolved there (pnpm's default isolated layout
75
- * without a direct `@tamagui/web` dependency), the extractor logs "Error
76
- * bundling tamagui config: Cannot find package …", swallows the error, and
77
- * the build exits 0 with a silently deoptimized runtime-styled bundle.
78
- * Production builds must fail instead: after the build, replay the artifact's
79
- * imports with the loader semantics the extractor would use — CJS resolution
80
- * for .cjs (honors NODE_PATH, which pnpm bin shims set), an ESM-style
81
- * node_modules walk for .mjs (ESM ignores NODE_PATH — exactly the divergence
82
- * that breaks the .mjs artifact under pnpm) — and name the missing package.
83
- * A missing artifact (bundling died before writing it) is equally fatal.
51
+ * The Tamagui static extractor writes the app's tamagui config to
52
+ * `<vite root>/.tamagui/tamagui.config.json`.
53
+ * A missing artifact (bundling died before writing it) is fatal.
84
54
  */
85
55
  function tamaguiConfigBundleGuard(isDev) {
56
+ let root = process.cwd();
86
57
  return {
87
58
  name: "webext-tamagui-config-guard",
59
+ configResolved(config) {
60
+ root = config.root;
61
+ },
88
62
  closeBundle() {
89
63
  if (isDev) return;
90
- const dotDir = path.join(process.cwd(), ".tamagui");
91
- const artifacts = ["tamagui.config.cjs", "tamagui.config.mjs"].map((name) => path.join(dotDir, name)).filter((file) => fs.existsSync(file));
92
- if (artifacts.length === 0) {
93
- if (!fs.existsSync(dotDir)) return;
94
- throw new Error(`[${PLUGIN_NAME}] the Tamagui static extractor did not produce its bundled config (expected ${path.join(dotDir, "tamagui.config.{cjs,mjs}")}). The build would silently fall back to a deoptimized runtime-styled bundle. Re-run with DEBUG=tamagui to see the underlying bundling error.`);
95
- }
96
- const artifact = artifacts.sort((a, b) => fs.statSync(b).mtimeMs - fs.statSync(a).mtimeMs)[0];
97
- const source = fs.readFileSync(artifact, "utf8");
98
- const requireFromArtifact = createRequire(artifact);
99
- const importRe = /(?:require\s*\(\s*|import\s*\(\s*|from\s*|import\s*)["']([^"'\n]+)["']/g;
100
- const missing = /* @__PURE__ */ new Set();
101
- for (const match of source.matchAll(importRe)) {
102
- const packageName = barePackageName(match[1]);
103
- if (!packageName) continue;
104
- if (artifact.endsWith(".cjs")) try {
105
- requireFromArtifact.resolve(packageName);
106
- } catch {
107
- missing.add(packageName);
108
- }
109
- else if (!packageVisibleFromDir(packageName, dotDir)) missing.add(packageName);
110
- }
111
- if (missing.size > 0) {
112
- const names = [...missing].map((name) => `"${name}"`).join(", ");
113
- throw new Error(`[${PLUGIN_NAME}] Tamagui config bundling failed: ${names} cannot be resolved from ${artifact}. The Tamagui static extractor swallows this ("Error bundling tamagui config") and ships a deoptimized runtime-styled build. Fix: add ${names} to your app's dependencies — under pnpm's default isolated node_modules, transitive packages are not resolvable from the app.`);
114
- }
64
+ const dotDir = path.join(root, ".tamagui");
65
+ const artifact = path.join(dotDir, "tamagui.config.json");
66
+ if (fs.existsSync(artifact)) return;
67
+ if (!fs.existsSync(dotDir)) return;
68
+ throw new Error(`[${PLUGIN_NAME}] the Tamagui static extractor did not produce its bundled config (expected ${artifact}). The build would silently fall back to a deoptimized runtime-styled bundle. Re-run with DEBUG=tamagui to see the underlying bundling error.`);
115
69
  }
116
70
  };
117
71
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multiplatform.one/vite-plugin-webext",
3
- "version": "9.16.1",
3
+ "version": "10.0.0",
4
4
  "description": "Vite config factories for building a browser web extension (MV3 views, background service worker, content scripts) as a target of a multiplatform.one One app — workspace source aliases, the one-server-only browser stub, Tamagui wiring, and the manifest/dev-reload prepare pipeline.",
5
5
  "keywords": [
6
6
  "browser-extension",
@@ -47,13 +47,13 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@babel/core": "^7.26.0",
50
- "@multiplatform.one/utils": "^9.16.1",
50
+ "@multiplatform.one/utils": "^10.0.0",
51
51
  "@rolldown/plugin-babel": "^0.2.4",
52
52
  "babel-plugin-react-compiler": "^1.0.0",
53
53
  "chokidar": "^5.0.0"
54
54
  },
55
55
  "devDependencies": {
56
- "@tamagui/vite-plugin": "2.7.6",
56
+ "@tamagui/vite-plugin": "3.2.3",
57
57
  "@types/babel__core": "^7.20.5",
58
58
  "@types/node": "^26.6.5",
59
59
  "@vitejs/plugin-react": "^6.1.2",
package/src/index.ts CHANGED
@@ -17,7 +17,6 @@
17
17
  // @multiplatform.one/utils/dev so every product app shares one copy.
18
18
 
19
19
  import fs from "node:fs";
20
- import { builtinModules, createRequire } from "node:module";
21
20
  import path from "node:path";
22
21
  import {
23
22
  lookupTamaguiModules,
@@ -108,95 +107,33 @@ export function shikiStubPlugin(): Plugin {
108
107
  };
109
108
  }
110
109
 
111
- function barePackageName(specifier: string): string | undefined {
112
- if (!specifier || /^[./#\\]/.test(specifier)) return;
113
- if (/^(node|data|file|https?):/.test(specifier)) return;
114
- const packageName = specifier.startsWith("@")
115
- ? specifier.split("/").slice(0, 2).join("/")
116
- : specifier.split("/")[0]!;
117
- if (builtinModules.includes(packageName)) return;
118
- return packageName;
119
- }
120
-
121
- /** Node ESM bare-import resolution walks parent node_modules dirs and — unlike
122
- * CJS — ignores NODE_PATH. Presence of the package dir is what we probe. */
123
- function packageVisibleFromDir(packageName: string, fromDir: string): boolean {
124
- let dir = fromDir;
125
- while (true) {
126
- if (fs.existsSync(path.join(dir, "node_modules", packageName, "package.json"))) return true;
127
- const parent = path.dirname(dir);
128
- if (parent === dir) return false;
129
- dir = parent;
130
- }
131
- }
132
-
133
110
  /**
134
- * The Tamagui static extractor bundles the app's tamagui config to
135
- * `<cwd>/.tamagui/tamagui.config.{cjs,mjs}` and then loads it (ESM `import()`
136
- * for .mjs, `require()` for .cjs), leaving its externals (`@tamagui/web`,
137
- * `@tamagui/core`, react…) as live imports resolved FROM that artifact. When
138
- * one of them cannot be resolved there (pnpm's default isolated layout
139
- * without a direct `@tamagui/web` dependency), the extractor logs "Error
140
- * bundling tamagui config: Cannot find package …", swallows the error, and
141
- * the build exits 0 with a silently deoptimized runtime-styled bundle.
142
- * Production builds must fail instead: after the build, replay the artifact's
143
- * imports with the loader semantics the extractor would use — CJS resolution
144
- * for .cjs (honors NODE_PATH, which pnpm bin shims set), an ESM-style
145
- * node_modules walk for .mjs (ESM ignores NODE_PATH — exactly the divergence
146
- * that breaks the .mjs artifact under pnpm) — and name the missing package.
147
- * A missing artifact (bundling died before writing it) is equally fatal.
111
+ * The Tamagui static extractor writes the app's tamagui config to
112
+ * `<vite root>/.tamagui/tamagui.config.json`.
113
+ * A missing artifact (bundling died before writing it) is fatal.
148
114
  */
149
115
  function tamaguiConfigBundleGuard(isDev: boolean): Plugin {
116
+ let root = process.cwd();
150
117
  return {
151
118
  name: "webext-tamagui-config-guard",
119
+ configResolved(config) {
120
+ root = config.root;
121
+ },
152
122
  closeBundle() {
153
123
  if (isDev) return;
154
- const dotDir = path.join(process.cwd(), ".tamagui");
155
- const artifacts = ["tamagui.config.cjs", "tamagui.config.mjs"]
156
- .map((name) => path.join(dotDir, name))
157
- .filter((file) => fs.existsSync(file));
158
- if (artifacts.length === 0) {
159
- // No .tamagui dir at all means the extractor never ran for this
160
- // build (nothing to verify) — an existing dir without the config
161
- // artifact means bundling died before writing it.
162
- if (!fs.existsSync(dotDir)) return;
163
- throw new Error(
164
- `[${PLUGIN_NAME}] the Tamagui static extractor did not produce its bundled config ` +
165
- `(expected ${path.join(dotDir, "tamagui.config.{cjs,mjs}")}). The build would ` +
166
- "silently fall back to a deoptimized runtime-styled bundle. Re-run with " +
167
- "DEBUG=tamagui to see the underlying bundling error.",
168
- );
169
- }
170
- const artifact = artifacts.sort(
171
- (a, b) => fs.statSync(b).mtimeMs - fs.statSync(a).mtimeMs,
172
- )[0]!;
173
- const source = fs.readFileSync(artifact, "utf8");
174
- const requireFromArtifact = createRequire(artifact);
175
- const importRe = /(?:require\s*\(\s*|import\s*\(\s*|from\s*|import\s*)["']([^"'\n]+)["']/g;
176
- const missing = new Set<string>();
177
- for (const match of source.matchAll(importRe)) {
178
- const packageName = barePackageName(match[1]!);
179
- if (!packageName) continue;
180
- if (artifact.endsWith(".cjs")) {
181
- try {
182
- requireFromArtifact.resolve(packageName);
183
- } catch {
184
- missing.add(packageName);
185
- }
186
- } else if (!packageVisibleFromDir(packageName, dotDir)) {
187
- missing.add(packageName);
188
- }
189
- }
190
- if (missing.size > 0) {
191
- const names = [...missing].map((name) => `"${name}"`).join(", ");
192
- throw new Error(
193
- `[${PLUGIN_NAME}] Tamagui config bundling failed: ${names} cannot be resolved ` +
194
- `from ${artifact}. The Tamagui static extractor swallows this ("Error bundling ` +
195
- 'tamagui config") and ships a deoptimized runtime-styled build. Fix: add ' +
196
- `${names} to your app's dependencies — under pnpm's default isolated ` +
197
- "node_modules, transitive packages are not resolvable from the app.",
198
- );
199
- }
124
+ const dotDir = path.join(root, ".tamagui");
125
+ const artifact = path.join(dotDir, "tamagui.config.json");
126
+ if (fs.existsSync(artifact)) return;
127
+ // No .tamagui dir at all means the extractor never ran for this
128
+ // build (nothing to verify) — an existing dir without the config
129
+ // artifact means bundling died before writing it.
130
+ if (!fs.existsSync(dotDir)) return;
131
+ throw new Error(
132
+ `[${PLUGIN_NAME}] the Tamagui static extractor did not produce its bundled config ` +
133
+ `(expected ${artifact}). The build would ` +
134
+ "silently fall back to a deoptimized runtime-styled bundle. Re-run with " +
135
+ "DEBUG=tamagui to see the underlying bundling error.",
136
+ );
200
137
  },
201
138
  };
202
139
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAMtD,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