@player-ui/reference-assets-cli-preset 0.8.0-next.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.
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/plugins/reference-assets/cli-preset/src/index.ts
31
+ var src_exports = {};
32
+ __export(src_exports, {
33
+ default: () => src_default
34
+ });
35
+ module.exports = __toCommonJS(src_exports);
36
+ var import_cli = require("@player-tools/cli");
37
+ var import_path = __toESM(require("path"));
38
+ var config = {
39
+ plugins: [
40
+ new import_cli.LSPAssetsPlugin(
41
+ ["@player-ui/types", "@player-ui/reference-assets-plugin"].map((pkg) => ({
42
+ path: import_path.default.join(
43
+ import_path.default.dirname(require.resolve(`${pkg}/package.json`)),
44
+ "dist"
45
+ )
46
+ }))
47
+ )
48
+ ]
49
+ };
50
+ var src_default = config;
51
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/plugins/reference-assets/cli-preset/src/index.ts"],"sourcesContent":["import type { PlayerConfigFileShape } from \"@player-tools/cli\";\nimport { LSPAssetsPlugin } from \"@player-tools/cli\";\nimport path from \"path\";\n\nconst config: PlayerConfigFileShape = {\n plugins: [\n new LSPAssetsPlugin(\n [\"@player-ui/types\", \"@player-ui/reference-assets-plugin\"].map((pkg) => ({\n path: path.join(\n path.dirname(require.resolve(`${pkg}/package.json`)),\n \"dist\",\n ),\n })),\n ),\n ],\n};\n\nexport default config;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,iBAAgC;AAChC,kBAAiB;AAEjB,IAAM,SAAgC;AAAA,EACpC,SAAS;AAAA,IACP,IAAI;AAAA,MACF,CAAC,oBAAoB,oCAAoC,EAAE,IAAI,CAAC,SAAS;AAAA,QACvE,MAAM,YAAAA,QAAK;AAAA,UACT,YAAAA,QAAK,QAAQ,QAAQ,QAAQ,GAAG,GAAG,eAAe,CAAC;AAAA,UACnD;AAAA,QACF;AAAA,MACF,EAAE;AAAA,IACJ;AAAA,EACF;AACF;AAEA,IAAO,cAAQ;","names":["path"]}
@@ -0,0 +1,28 @@
1
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
2
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
3
+ }) : x)(function(x) {
4
+ if (typeof require !== "undefined")
5
+ return require.apply(this, arguments);
6
+ throw Error('Dynamic require of "' + x + '" is not supported');
7
+ });
8
+
9
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/plugins/reference-assets/cli-preset/src/index.ts
10
+ import { LSPAssetsPlugin } from "@player-tools/cli";
11
+ import path from "path";
12
+ var config = {
13
+ plugins: [
14
+ new LSPAssetsPlugin(
15
+ ["@player-ui/types", "@player-ui/reference-assets-plugin"].map((pkg) => ({
16
+ path: path.join(
17
+ path.dirname(__require.resolve(`${pkg}/package.json`)),
18
+ "dist"
19
+ )
20
+ }))
21
+ )
22
+ ]
23
+ };
24
+ var src_default = config;
25
+ export {
26
+ src_default as default
27
+ };
28
+ //# sourceMappingURL=index.mjs.map
package/dist/index.mjs ADDED
@@ -0,0 +1,28 @@
1
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
2
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
3
+ }) : x)(function(x) {
4
+ if (typeof require !== "undefined")
5
+ return require.apply(this, arguments);
6
+ throw Error('Dynamic require of "' + x + '" is not supported');
7
+ });
8
+
9
+ // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/plugins/reference-assets/cli-preset/src/index.ts
10
+ import { LSPAssetsPlugin } from "@player-tools/cli";
11
+ import path from "path";
12
+ var config = {
13
+ plugins: [
14
+ new LSPAssetsPlugin(
15
+ ["@player-ui/types", "@player-ui/reference-assets-plugin"].map((pkg) => ({
16
+ path: path.join(
17
+ path.dirname(__require.resolve(`${pkg}/package.json`)),
18
+ "dist"
19
+ )
20
+ }))
21
+ )
22
+ ]
23
+ };
24
+ var src_default = config;
25
+ export {
26
+ src_default as default
27
+ };
28
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/plugins/reference-assets/cli-preset/src/index.ts"],"sourcesContent":["import type { PlayerConfigFileShape } from \"@player-tools/cli\";\nimport { LSPAssetsPlugin } from \"@player-tools/cli\";\nimport path from \"path\";\n\nconst config: PlayerConfigFileShape = {\n plugins: [\n new LSPAssetsPlugin(\n [\"@player-ui/types\", \"@player-ui/reference-assets-plugin\"].map((pkg) => ({\n path: path.join(\n path.dirname(require.resolve(`${pkg}/package.json`)),\n \"dist\",\n ),\n })),\n ),\n ],\n};\n\nexport default config;\n"],"mappings":";;;;;;;;;AACA,SAAS,uBAAuB;AAChC,OAAO,UAAU;AAEjB,IAAM,SAAgC;AAAA,EACpC,SAAS;AAAA,IACP,IAAI;AAAA,MACF,CAAC,oBAAoB,oCAAoC,EAAE,IAAI,CAAC,SAAS;AAAA,QACvE,MAAM,KAAK;AAAA,UACT,KAAK,QAAQ,UAAQ,QAAQ,GAAG,GAAG,eAAe,CAAC;AAAA,UACnD;AAAA,QACF;AAAA,MACF,EAAE;AAAA,IACJ;AAAA,EACF;AACF;AAEA,IAAO,cAAQ;","names":[]}
package/package.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "@player-ui/reference-assets-cli-preset",
3
+ "version": "0.8.0-next.0",
4
+ "main": "dist/cjs/index.cjs",
5
+ "dependencies": {
6
+ "@player-ui/reference-assets-plugin": "0.8.0-next.0",
7
+ "@player-ui/types": "0.8.0-next.0",
8
+ "tslib": "^2.6.2"
9
+ },
10
+ "module": "dist/index.legacy-esm.js",
11
+ "types": "types/index.d.ts",
12
+ "sideEffects": false,
13
+ "exports": {
14
+ "./package.json": "./package.json",
15
+ "./dist/index.css": "./dist/index.css",
16
+ ".": {
17
+ "types": "./types/index.d.ts",
18
+ "import": "./dist/index.mjs",
19
+ "default": "./dist/cjs/index.cjs"
20
+ }
21
+ },
22
+ "files": [
23
+ "dist",
24
+ "src",
25
+ "types"
26
+ ],
27
+ "peerDependencies": {
28
+ "@player-tools/cli": "0.5.2"
29
+ }
30
+ }
package/src/index.ts ADDED
@@ -0,0 +1,18 @@
1
+ import type { PlayerConfigFileShape } from "@player-tools/cli";
2
+ import { LSPAssetsPlugin } from "@player-tools/cli";
3
+ import path from "path";
4
+
5
+ const config: PlayerConfigFileShape = {
6
+ plugins: [
7
+ new LSPAssetsPlugin(
8
+ ["@player-ui/types", "@player-ui/reference-assets-plugin"].map((pkg) => ({
9
+ path: path.join(
10
+ path.dirname(require.resolve(`${pkg}/package.json`)),
11
+ "dist",
12
+ ),
13
+ })),
14
+ ),
15
+ ],
16
+ };
17
+
18
+ export default config;
@@ -0,0 +1,4 @@
1
+ import type { PlayerConfigFileShape } from "@player-tools/cli";
2
+ declare const config: PlayerConfigFileShape;
3
+ export default config;
4
+ //# sourceMappingURL=index.d.ts.map