@arkenv/vite-plugin 0.0.1

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.md ADDED
@@ -0,0 +1,26 @@
1
+ # bun starter
2
+
3
+ ## Getting Started
4
+
5
+ Click the [Use this template](https://github.com/wobsoriano/bun-lib-starter/generate) button to create a new repository with the contents starter.
6
+
7
+ OR
8
+
9
+ Run `bun create wobsoriano/bun-lib-starter ./my-lib`.
10
+
11
+ ## Setup
12
+
13
+ ```bash
14
+ # install dependencies
15
+ bun install
16
+
17
+ # test the app
18
+ bun test
19
+
20
+ # build the app, available under dist
21
+ bun run build
22
+ ```
23
+
24
+ ## License
25
+
26
+ MIT
package/dist/index.cjs ADDED
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ one: () => one,
24
+ two: () => two
25
+ });
26
+ module.exports = __toCommonJS(index_exports);
27
+ var one = 1;
28
+ var two = 2;
29
+ // Annotate the CommonJS export names for ESM import in node:
30
+ 0 && (module.exports = {
31
+ one,
32
+ two
33
+ });
@@ -0,0 +1,4 @@
1
+ declare const one = 1;
2
+ declare const two = 2;
3
+
4
+ export { one, two };
@@ -0,0 +1,4 @@
1
+ declare const one = 1;
2
+ declare const two = 2;
3
+
4
+ export { one, two };
package/dist/index.js ADDED
@@ -0,0 +1,7 @@
1
+ // src/index.ts
2
+ var one = 1;
3
+ var two = 2;
4
+ export {
5
+ one,
6
+ two
7
+ };
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "@arkenv/vite-plugin",
3
+ "type": "module",
4
+ "version": "0.0.1",
5
+ "main": "./dist/index.cjs",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "description": "Vite plugin for ark.env",
9
+ "exports": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js",
12
+ "require": "./dist/index.cjs"
13
+ },
14
+ "scripts": {
15
+ "build": "rimraf dist && tsup",
16
+ "prepack": "bun run build",
17
+ "typecheck": "tsc --noEmit",
18
+ "clean": "rimraf dist node_modules"
19
+ },
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "keywords": [
24
+ "bun"
25
+ ],
26
+ "license": "MIT",
27
+ "homepage": "https://github.com/wobsoriano/pkg-name#readme",
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "git+https://github.com/wobsoriano/pkg-name.git"
31
+ },
32
+ "bugs": "https://github.com/wobsoriano/pkg-name/issues",
33
+ "author": "Robert Soriano <sorianorobertc@gmail.com>",
34
+ "devDependencies": {
35
+ "@types/bun": "^1.1.10",
36
+ "bun-plugin-dts": "^0.3.0",
37
+ "tsup": "^8.3.6"
38
+ }
39
+ }