unplugin-build-meta 0.3.0 → 1.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/dist/astro.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PLUGIN_NAME,
3
3
  unplugin
4
- } from "./chunk-MXB5NLXO.mjs";
4
+ } from "./chunk-OAZ3YOGG.mjs";
5
5
  import "./chunk-RJEZ2A3A.mjs";
6
6
 
7
7
  // src/astro.ts
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-MXB5NLXO.mjs";
3
+ } from "./chunk-OAZ3YOGG.mjs";
4
4
 
5
5
  // src/webpack.ts
6
6
  import { createWebpackPlugin } from "unplugin";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-MXB5NLXO.mjs";
3
+ } from "./chunk-OAZ3YOGG.mjs";
4
4
 
5
5
  // src/vite.ts
6
6
  import { createVitePlugin } from "unplugin";
@@ -104,7 +104,7 @@ var git_default = defineBuildMetaModule({
104
104
  });
105
105
 
106
106
  // src/core/modules/runtime.ts
107
- import process from "node:process";
107
+ import process from "process";
108
108
  var runtimeModule = {
109
109
  name: "runtime",
110
110
  load: async () => {
package/dist/esbuild.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-MXB5NLXO.mjs";
3
+ } from "./chunk-OAZ3YOGG.mjs";
4
4
  import "./chunk-RJEZ2A3A.mjs";
5
5
 
6
6
  // src/esbuild.ts
package/dist/farm.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-MXB5NLXO.mjs";
3
+ } from "./chunk-OAZ3YOGG.mjs";
4
4
  import "./chunk-RJEZ2A3A.mjs";
5
5
 
6
6
  // src/farm.ts
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  unplugin,
3
3
  unpluginFactory
4
- } from "./chunk-MXB5NLXO.mjs";
4
+ } from "./chunk-OAZ3YOGG.mjs";
5
5
  import "./chunk-RJEZ2A3A.mjs";
6
6
  export {
7
7
  unplugin,
package/dist/nuxt.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  vite_default
3
- } from "./chunk-QCK7NEYC.mjs";
3
+ } from "./chunk-GU2UU6BD.mjs";
4
4
  import {
5
5
  webpack_default
6
- } from "./chunk-CXRRUAJM.mjs";
6
+ } from "./chunk-7ZTBKMAA.mjs";
7
7
  import {
8
8
  NUXT_CONFIG_KEY,
9
9
  PLUGIN_NAME
10
- } from "./chunk-MXB5NLXO.mjs";
10
+ } from "./chunk-OAZ3YOGG.mjs";
11
11
  import "./chunk-RJEZ2A3A.mjs";
12
12
 
13
13
  // src/nuxt.ts
package/dist/rolldown.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-MXB5NLXO.mjs";
3
+ } from "./chunk-OAZ3YOGG.mjs";
4
4
  import "./chunk-RJEZ2A3A.mjs";
5
5
 
6
6
  // src/rolldown.ts
package/dist/rollup.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-MXB5NLXO.mjs";
3
+ } from "./chunk-OAZ3YOGG.mjs";
4
4
  import "./chunk-RJEZ2A3A.mjs";
5
5
 
6
6
  // src/rollup.ts
package/dist/rspack.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-MXB5NLXO.mjs";
3
+ } from "./chunk-OAZ3YOGG.mjs";
4
4
  import "./chunk-RJEZ2A3A.mjs";
5
5
 
6
6
  // src/rspack.ts
package/dist/vite.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  vite_default
3
- } from "./chunk-QCK7NEYC.mjs";
4
- import "./chunk-MXB5NLXO.mjs";
3
+ } from "./chunk-GU2UU6BD.mjs";
4
+ import "./chunk-OAZ3YOGG.mjs";
5
5
  import "./chunk-RJEZ2A3A.mjs";
6
6
  export {
7
7
  vite_default as default
package/dist/webpack.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  webpack_default
3
- } from "./chunk-CXRRUAJM.mjs";
4
- import "./chunk-MXB5NLXO.mjs";
3
+ } from "./chunk-7ZTBKMAA.mjs";
4
+ import "./chunk-OAZ3YOGG.mjs";
5
5
  import "./chunk-RJEZ2A3A.mjs";
6
6
  export {
7
7
  webpack_default as default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unplugin-build-meta",
3
- "version": "0.3.0",
3
+ "version": "1.0.1",
4
4
  "description": "Provide build metadata as a virutal module",
5
5
  "type": "module",
6
6
  "author": {
@@ -8,6 +8,7 @@
8
8
  "email": "lucasnrgaard@gmail.com",
9
9
  "url": "https://luxass.dev"
10
10
  },
11
+ "packageManager": "pnpm@10.14.0",
11
12
  "license": "MIT",
12
13
  "repository": {
13
14
  "type": "git",
@@ -145,6 +146,18 @@
145
146
  "dist",
146
147
  "types"
147
148
  ],
149
+ "scripts": {
150
+ "prepack": "pnpm run generate-types",
151
+ "build": "tsup",
152
+ "dev": "tsup --watch",
153
+ "lint": "eslint .",
154
+ "test": "vitest --run",
155
+ "test:watch": "vitest",
156
+ "typecheck": "tsc --noEmit && pnpm -r typecheck",
157
+ "play:vite": "pnpm run --filter @unplugin-build-meta/vite dev",
158
+ "play:rspack": "pnpm run --filter @unplugin-build-meta/rspack dev",
159
+ "generate-types": "node scripts/generate-types.js"
160
+ },
148
161
  "peerDependencies": {
149
162
  "@nuxt/kit": ">=3",
150
163
  "@nuxt/schema": ">=3",
@@ -186,36 +199,25 @@
186
199
  }
187
200
  },
188
201
  "dependencies": {
189
- "git-url-parse": "^16.1.0",
190
- "simple-git": "^3.27.0",
191
- "unplugin": "^2.2.2"
202
+ "git-url-parse": "catalog:prod",
203
+ "simple-git": "catalog:prod",
204
+ "unplugin": "catalog:prod"
192
205
  },
193
206
  "devDependencies": {
194
- "@luxass/eslint-config": "^4.17.1",
195
- "@nuxt/kit": "^3.16.1",
196
- "@nuxt/schema": "^3.16.1",
197
- "@rspack/core": "^1.3.0",
198
- "@types/node": "^22.9.0",
199
- "esbuild": "^0.25.1",
200
- "eslint": "^9.23.0",
201
- "rolldown": "1.0.0-beta.7",
202
- "rollup": "^4.38.0",
203
- "tsup": "^8.4.0",
204
- "typescript": "^5.8.2",
205
- "vite": "^6.2.3",
206
- "vitest": "^3.0.9",
207
- "vitest-testdirs": "^2.2.0",
208
- "webpack": "^5.98.0"
209
- },
210
- "scripts": {
211
- "build": "tsup",
212
- "dev": "tsup --watch",
213
- "lint": "eslint .",
214
- "test": "vitest --run",
215
- "test:watch": "vitest",
216
- "typecheck": "tsc --noEmit && pnpm -r typecheck",
217
- "play:vite": "pnpm run --filter @unplugin-build-meta/vite dev",
218
- "play:rspack": "pnpm run --filter @unplugin-build-meta/rspack dev",
219
- "generate-types": "node scripts/generate-types.js"
207
+ "@luxass/eslint-config": "catalog:dev",
208
+ "@nuxt/kit": "catalog:dev",
209
+ "@nuxt/schema": "catalog:dev",
210
+ "@rspack/core": "catalog:dev",
211
+ "@types/node": "catalog:dev",
212
+ "esbuild": "catalog:dev",
213
+ "eslint": "catalog:dev",
214
+ "rolldown": "catalog:dev",
215
+ "rollup": "catalog:dev",
216
+ "tsup": "catalog:dev",
217
+ "typescript": "catalog:dev",
218
+ "vite": "catalog:dev",
219
+ "vitest": "catalog:dev",
220
+ "vitest-testdirs": "catalog:dev",
221
+ "webpack": "catalog:dev"
220
222
  }
221
- }
223
+ }