@picked/vite-plugin-picked 0.0.1-dev.1772412203098 → 0.0.1-dev.1773363643396

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.
@@ -4,6 +4,8 @@ export interface PickedPluginOptions {
4
4
  projectId: string;
5
5
  /** Custom API URL (defaults to https://api.picked.app) */
6
6
  apiUrl?: string;
7
+ /** Disable the launcher HTML page (dev server + build output). Defaults to false. */
8
+ disableLauncher?: boolean;
7
9
  }
8
10
  /**
9
11
  * Vite plugin that fetches Picked project config at build time
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAoElC,MAAM,WAAW,mBAAmB;IAClC,4BAA4B;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,0DAA0D;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,MAAM,CAAC,OAAO,EAAE,mBAAmB,GAAG,MAAM,CAuC3D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AA+ElC,MAAM,WAAW,mBAAmB;IAClC,4BAA4B;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,0DAA0D;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,qFAAqF;IACrF,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,MAAM,CAAC,OAAO,EAAE,mBAAmB,GAAG,MAAM,CAyE3D"}
@@ -0,0 +1,3 @@
1
+ import { ProjectConfigFeature } from '@picked/client/plugins/dynamic-experiences';
2
+ export declare function getLauncherHtml(features: ReadonlyArray<ProjectConfigFeature>): string;
3
+ //# sourceMappingURL=launcher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../../src/launcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAA;AAEtF,wBAAgB,eAAe,CAAC,QAAQ,EAAE,aAAa,CAAC,oBAAoB,CAAC,GAAG,MAAM,CA+brF"}
@@ -0,0 +1,3 @@
1
+ import { Connect } from 'vite';
2
+ export declare function createPickedMiddleware(getHtml: () => string): Connect.NextHandleFunction;
3
+ //# sourceMappingURL=middleware.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/middleware.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAEnC,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAoBxF"}
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@picked/vite-plugin-picked",
3
3
  "description": "Vite plugin for build-time config injection",
4
- "version": "0.0.1-dev.1772412203098",
4
+ "version": "0.0.1-dev.1773363643396",
5
5
  "dependencies": {
6
- "@picked/client": "0.0.1-dev.1772412203098"
6
+ "@picked/client": "0.0.1-dev.1773363643396"
7
7
  },
8
8
  "devDependencies": {
9
9
  "@repo/eslint-config": "workspace:*",
@@ -56,7 +56,7 @@
56
56
  "dev": "vite build --watch",
57
57
  "jscpd": "jscpd src",
58
58
  "knip": "knip",
59
- "lint": "eslint .",
59
+ "lint": "if [ \"$AGENT\" = \"true\" ]; then echo \"[AGENT HINT] Prefer running lint on specific files from the repo root: node scripts/lint-files.js <files>\"; fi && eslint .",
60
60
  "lint-files": "eslint",
61
61
  "lint:format": "eslint . --fix",
62
62
  "lint:report": "eslint . -o './.reports/eslint.json' -f json || true",