@dpuse/dpuse-development 1.0.156 → 1.0.158

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.
@@ -1 +1 @@
1
- {"version":3,"file":"vite.es.js","names":["path","SHIPPED_PACKAGES_FILE_NAME","REPORT_DIRECTORY","collectionsByRoot","recordShippedPackages","config","resolvedConfig","collection","outputFileNames","bundle","output","collectChunk","collectAsset","writeRecord","moduleIds","chunk","moduleId","importedNames","imported","packageName","extractPackageName","originalFileNames","asset","originalFileName","root","addPackage","packageDirectory","findPackageDirectory","packageJSON","readFileSync","packageKey","nestedRecordPath","existsSync","nestedPackages","nestedExternal","nestedKey","nestedName","filePath","nodeModulesIndex","directory","packageJSONPath","record","compareNames","content","directories","mkdirSync","writeFileSync","a","b","specifier","parts"],"sources":["../src/vite.ts"],"sourcesContent":["// ── External Dependencies & Registrations\nimport path from 'node:path';\nimport { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';\nimport type { Plugin, ResolvedConfig } from 'vite';\n\n// ── Types ────────────────────────────────────────────────────────────────────────────────────────────────────────────\n\n/** What a build ships: the installed packages whose code, styles or assets are in its output, as 'name@version', and the\n * packages its output still imports by name, which whoever installs it also receives. */\nexport interface ShippedPackagesRecord {\n packages: string[];\n external: string[];\n}\n\ninterface ShippedPackagesCollection {\n packages: Set<string>;\n external: Set<string>;\n}\n\ninterface OutputChunk {\n type: 'chunk';\n modules: Record<string, unknown>;\n moduleIds?: string[];\n imports: string[];\n dynamicImports: string[];\n}\n\ninterface OutputAsset {\n type: 'asset';\n originalFileNames?: string[];\n}\n\n// ── Constants ────────────────────────────────────────────────────────────────────────────────────────────────────────\n\nexport const SHIPPED_PACKAGES_FILE_NAME = 'shipped-packages.json';\nconst REPORT_DIRECTORY = 'bundle-analysis-reports';\n\n// ── State ────────────────────────────────────────────────────────────────────────────────────────────────────────────\n\n// A build can run more than once in a process, such as for a web worker, so what each finds is merged per project.\nconst collectionsByRoot = new Map<string, ShippedPackagesCollection>();\n\n// ── Actions ──────────────────────────────────────────────────────────────────────────────────────────────────────────\n\n/** Records which installed packages a build ships, read from the bundler's own list of what it put in each output file.\n * Modules loaded at run time by URL are not part of the build, so are not recorded; each reports its own. A bundled\n * package that publishes its own record, as DPUse packages do, adds the packages bundled inside it. */\nexport function recordShippedPackages(): Plugin {\n let config: ResolvedConfig | undefined;\n\n return {\n name: 'dpuse-record-shipped-packages',\n apply: 'build',\n configResolved(resolvedConfig) {\n config = resolvedConfig;\n },\n generateBundle(_options, bundle) {\n if (config === undefined) return;\n const collection = collectionsByRoot.get(config.root) ?? { packages: new Set<string>(), external: new Set<string>() };\n collectionsByRoot.set(config.root, collection);\n const outputFileNames = new Set(Object.keys(bundle));\n for (const output of Object.values(bundle) as (OutputChunk | OutputAsset)[]) {\n if (output.type === 'chunk') collectChunk(collection, output, outputFileNames);\n else collectAsset(collection, output, config.root);\n }\n },\n closeBundle() {\n if (config === undefined) return;\n const collection = collectionsByRoot.get(config.root);\n if (collection !== undefined) writeRecord(collection, [path.resolve(config.root, REPORT_DIRECTORY), path.resolve(config.root, config.build.outDir)]);\n }\n };\n}\n\n// ── Helpers ──────────────────────────────────────────────────────────────────────────────────────────────────────────\n\nfunction collectChunk(collection: ShippedPackagesCollection, chunk: OutputChunk, outputFileNames: Set<string>): void {\n const moduleIds = [...Object.keys(chunk.modules), ...(chunk.moduleIds ?? [])];\n for (const moduleId of moduleIds) addPackage(collection, moduleId);\n\n // An import of something that is not one of this build's own files is left for the package's user to install.\n const importedNames = [...chunk.imports, ...chunk.dynamicImports].filter((imported) => !outputFileNames.has(imported));\n for (const imported of importedNames) {\n const packageName = extractPackageName(imported);\n if (packageName !== undefined) collection.external.add(packageName);\n }\n}\n\nfunction collectAsset(collection: ShippedPackagesCollection, asset: OutputAsset, root: string): void {\n const originalFileNames = asset.originalFileNames ?? [];\n for (const originalFileName of originalFileNames) addPackage(collection, path.resolve(root, originalFileName));\n}\n\n/* eslint-disable security/detect-non-literal-fs-filename -- Paths come from the build's own module list and config, not user input. */\n\n// Adds the package a module or asset belongs to, and anything bundled inside that package according to its own record.\nfunction addPackage(collection: ShippedPackagesCollection, moduleId: string): void {\n const packageDirectory = findPackageDirectory(moduleId);\n if (packageDirectory === undefined) return;\n const packageJSON = JSON.parse(readFileSync(path.join(packageDirectory, 'package.json'), 'utf-8')) as { name?: string; version?: string };\n if (packageJSON.name === undefined || packageJSON.version === undefined) return;\n const packageKey = `${packageJSON.name}@${packageJSON.version}`;\n if (collection.packages.has(packageKey)) return;\n collection.packages.add(packageKey);\n\n const nestedRecordPath = path.join(packageDirectory, 'dist', SHIPPED_PACKAGES_FILE_NAME);\n if (!existsSync(nestedRecordPath)) return;\n const { packages: nestedPackages = [], external: nestedExternal = [] } = JSON.parse(readFileSync(nestedRecordPath, 'utf-8')) as Partial<ShippedPackagesRecord>;\n for (const nestedKey of nestedPackages) collection.packages.add(nestedKey);\n for (const nestedName of nestedExternal) collection.external.add(nestedName);\n}\n\n// The folder of the installed package holding a file: the nearest folder with a named package.json, inside the last\n// 'node_modules' on the path. Files outside 'node_modules', such as the project's own source, belong to no package.\nfunction findPackageDirectory(moduleId: string): string | undefined {\n const filePath = moduleId.replace(/^\\0/, '').split('?', 1)[0] ?? '';\n const nodeModulesIndex = filePath.lastIndexOf(`${path.sep}node_modules${path.sep}`);\n if (nodeModulesIndex === -1) return undefined;\n let directory = path.dirname(filePath);\n while (directory.length > nodeModulesIndex + 'node_modules'.length + 1) {\n const packageJSONPath = path.join(directory, 'package.json');\n if (existsSync(packageJSONPath) && (JSON.parse(readFileSync(packageJSONPath, 'utf-8')) as { name?: string }).name !== undefined) return directory;\n directory = path.dirname(directory);\n }\n return undefined;\n}\n\n// Written beside the other bundle reports, where 'npm run document' reads it, and into the output, so it is published with\n// the package and a build that bundles this package can add what is inside it.\nfunction writeRecord(collection: ShippedPackagesCollection, directories: string[]): void {\n const record: ShippedPackagesRecord = { packages: [...collection.packages].toSorted(compareNames), external: [...collection.external].toSorted(compareNames) };\n const content = `${JSON.stringify(record, undefined, 4)}\\n`;\n for (const directory of directories) {\n mkdirSync(directory, { recursive: true });\n writeFileSync(path.join(directory, SHIPPED_PACKAGES_FILE_NAME), content, 'utf-8');\n }\n}\n\n/* eslint-enable security/detect-non-literal-fs-filename -- End of the build plugin's file access. */\n\n// The package a bare import names, such as 'vue' for 'vue/dist/x.js' or '@scope/pkg' for '@scope/pkg/sub'. Built-in\n// modules, relative paths and URLs name no package.\nfunction compareNames(a: string, b: string): number {\n return a.localeCompare(b, 'en');\n}\n\nfunction extractPackageName(specifier: string): string | undefined {\n if (specifier.startsWith('.') || specifier.startsWith('/') || specifier.startsWith('node:') || /^[a-z]+:\\/\\//i.test(specifier)) return undefined;\n const parts = specifier.split('/', 2);\n return specifier.startsWith('@') ? parts.join('/') : parts[0];\n}\n"],"mappings":";;;AAkCA,IAAaC,IAA6B,yBACpCC,IAAmB,2BAKnBC,oBAAoB,IAAI,IAAuC;AAOrE,SAAgBC,IAAgC;CAC5C,IAAIC;CAEJ,OAAO;EACH,MAAM;EACN,OAAO;EACP,eAAe,GAAgB;GAC3B,IAASC;EACb;EACA,eAAe,GAAU,GAAQ;GAC7B,IAAID,MAAW,KAAA,GAAW;GAC1B,IAAME,IAAaJ,EAAkB,IAAIE,EAAO,IAAI,KAAK;IAAE,0BAAU,IAAI,IAAY;IAAG,0BAAU,IAAI,IAAY;GAAE;GACpH,EAAkB,IAAIA,EAAO,MAAME,CAAU;GAC7C,IAAMC,IAAkB,IAAI,IAAI,OAAO,KAAKC,CAAM,CAAC;GACnD,KAAK,IAAMC,KAAU,OAAO,OAAOD,CAAM,GACrC,AAAIC,EAAO,SAAS,UAASC,EAAaJ,GAAYG,GAAQF,CAAe,IACxEI,EAAaL,GAAYG,GAAQL,EAAO,IAAI;EAEzD;EACA,cAAc;GACV,IAAIA,MAAW,KAAA,GAAW;GAC1B,IAAME,IAAaJ,EAAkB,IAAIE,EAAO,IAAI;GACpD,AAAI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AAOK,EAAE,cAAcC,GAAG,IAAI;AAClC;AAEA,SAAS5B,EAAmB,GAAuC;CAC/D,IAAI6B,EAAU,WAAW,GAAG,KAAKA,EAAU,WAAW,GAAG,KAAKA,EAAU,WAAW,OAAO,KAAK,gBAAgB,KAAKA,CAAS,GAAG;CAChI,IAAMC,IAAQD,EAAU,MAAM,KAAK,CAAC;CACpC,OAAOA,EAAU,WAAW,GAAG,IAAIC,EAAM,KAAK,GAAG,IAAIA,EAAM;AAC/D"}
1
+ {"version":3,"file":"vite.es.js","names":["path","SHIPPED_PACKAGES_FILE_NAME","REPORT_DIRECTORY","collectionsByRoot","recordShippedPackages","config","resolvedConfig","collection","outputFileNames","bundle","output","collectChunk","collectAsset","writeRecord","moduleIds","chunk","moduleId","importedNames","imported","packageName","extractPackageName","originalFileNames","asset","originalFileName","root","addPackage","packageDirectory","findPackageDirectory","packageJSON","readFileSync","packageKey","nestedRecordPath","existsSync","nestedPackages","nestedExternal","nestedKey","nestedName","filePath","nodeModulesIndex","directory","packageJSONPath","record","compareNames","content","directories","mkdirSync","writeFileSync","a","b","specifier","parts"],"sources":["../src/vite.ts"],"sourcesContent":["// ── External Dependencies & Registrations\nimport path from 'node:path';\nimport { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';\nimport type { Plugin, ResolvedConfig } from 'vite';\n\n// ── Types ────────────────────────────────────────────────────────────────────────────────────────────────────────────\n\n/** What a build ships: the installed packages whose code, styles or assets are in its output, as 'name@version', and the\n * packages its output still imports by name, which whoever installs it also receives. */\nexport interface ShippedPackagesRecord {\n packages: string[];\n external: string[];\n}\n\ninterface ShippedPackagesCollection {\n packages: Set<string>;\n external: Set<string>;\n}\n\ninterface OutputChunk {\n type: 'chunk';\n modules: Record<string, unknown>;\n moduleIds?: string[];\n imports: string[];\n dynamicImports: string[];\n}\n\ninterface OutputAsset {\n type: 'asset';\n originalFileNames?: string[];\n}\n\n// ── Constants ────────────────────────────────────────────────────────────────────────────────────────────────────────\n\nexport const SHIPPED_PACKAGES_FILE_NAME = 'shipped-packages.json';\nconst REPORT_DIRECTORY = 'bundle-analysis-reports';\n\n// ── State ────────────────────────────────────────────────────────────────────────────────────────────────────────────\n\n// A build can run more than once in a process, such as for a web worker, so what each finds is merged per project.\nconst collectionsByRoot = new Map<string, ShippedPackagesCollection>();\n\n// ── Actions ──────────────────────────────────────────────────────────────────────────────────────────────────────────\n\n/** Records which installed packages a build ships, read from the bundler's own list of what it put in each output file.\n * Modules loaded at run time by URL are not part of the build, so are not recorded; each reports its own. A bundled\n * package that publishes its own record, as DPUse packages do, adds the packages bundled inside it. */\nexport function recordShippedPackages(): Plugin {\n let config: ResolvedConfig | undefined;\n\n return {\n name: 'dpuse-record-shipped-packages',\n apply: 'build',\n configResolved(resolvedConfig) {\n config = resolvedConfig;\n },\n generateBundle(_options, bundle) {\n if (config === undefined) return;\n const collection = collectionsByRoot.get(config.root) ?? { packages: new Set<string>(), external: new Set<string>() };\n collectionsByRoot.set(config.root, collection);\n const outputFileNames = new Set(Object.keys(bundle));\n for (const output of Object.values(bundle) as (OutputChunk | OutputAsset)[]) {\n if (output.type === 'chunk') collectChunk(collection, output, outputFileNames);\n else collectAsset(collection, output, config.root);\n }\n },\n closeBundle() {\n if (config === undefined) return;\n const collection = collectionsByRoot.get(config.root);\n if (collection !== undefined) writeRecord(collection, [path.resolve(config.root, REPORT_DIRECTORY), path.resolve(config.root, config.build.outDir)]);\n }\n };\n}\n\n// ── Helpers ──────────────────────────────────────────────────────────────────────────────────────────────────────────\n\nfunction collectChunk(collection: ShippedPackagesCollection, chunk: OutputChunk, outputFileNames: Set<string>): void {\n const moduleIds = [...Object.keys(chunk.modules), ...(chunk.moduleIds ?? [])];\n for (const moduleId of moduleIds) addPackage(collection, moduleId);\n\n // An import of something that is not one of this build's own files is left for the package's user to install.\n const importedNames = [...chunk.imports, ...chunk.dynamicImports].filter((imported) => !outputFileNames.has(imported));\n for (const imported of importedNames) {\n const packageName = extractPackageName(imported);\n if (packageName !== undefined) collection.external.add(packageName);\n }\n}\n\nfunction collectAsset(collection: ShippedPackagesCollection, asset: OutputAsset, root: string): void {\n const originalFileNames = asset.originalFileNames ?? [];\n for (const originalFileName of originalFileNames) addPackage(collection, path.resolve(root, originalFileName));\n}\n\n/* eslint-disable security/detect-non-literal-fs-filename -- Paths come from the build's own module list and config, not user input. */\n\n// Adds the package a module or asset belongs to, and anything bundled inside that package according to its own record.\nfunction addPackage(collection: ShippedPackagesCollection, moduleId: string): void {\n const packageDirectory = findPackageDirectory(moduleId);\n if (packageDirectory === undefined) return;\n const packageJSON = JSON.parse(readFileSync(path.join(packageDirectory, 'package.json'), 'utf-8')) as { name?: string; version?: string };\n if (packageJSON.name === undefined || packageJSON.version === undefined) return;\n const packageKey = `${packageJSON.name}@${packageJSON.version}`;\n if (collection.packages.has(packageKey)) return;\n collection.packages.add(packageKey);\n\n const nestedRecordPath = path.join(packageDirectory, 'dist', SHIPPED_PACKAGES_FILE_NAME);\n if (!existsSync(nestedRecordPath)) return;\n const { packages: nestedPackages = [], external: nestedExternal = [] } = JSON.parse(readFileSync(nestedRecordPath, 'utf-8')) as Partial<ShippedPackagesRecord>;\n for (const nestedKey of nestedPackages) collection.packages.add(nestedKey);\n for (const nestedName of nestedExternal) collection.external.add(nestedName);\n}\n\n// The folder of the installed package holding a file: the nearest folder with a named package.json, inside the last\n// 'node_modules' on the path. Files outside 'node_modules', such as the project's own source, belong to no package.\nfunction findPackageDirectory(moduleId: string): string | undefined {\n const filePath = moduleId.replace(/^\\0/, '').split('?', 1)[0] ?? '';\n const nodeModulesIndex = filePath.lastIndexOf(`${path.sep}node_modules${path.sep}`);\n if (nodeModulesIndex === -1) return undefined;\n let directory = path.dirname(filePath);\n while (directory.length > nodeModulesIndex + 'node_modules'.length + 1) {\n const packageJSONPath = path.join(directory, 'package.json');\n if (existsSync(packageJSONPath) && (JSON.parse(readFileSync(packageJSONPath, 'utf-8')) as { name?: string }).name !== undefined) return directory;\n directory = path.dirname(directory);\n }\n return undefined;\n}\n\n// Written beside the other bundle reports, where 'npm run document' reads it, and into the output, so it is published with\n// the package and a build that bundles this package can add what is inside it.\nfunction writeRecord(collection: ShippedPackagesCollection, directories: string[]): void {\n const record: ShippedPackagesRecord = { packages: [...collection.packages].toSorted(compareNames), external: [...collection.external].toSorted(compareNames) };\n const content = `${JSON.stringify(record, undefined, 4)}\\n`;\n for (const directory of directories) {\n mkdirSync(directory, { recursive: true });\n writeFileSync(path.join(directory, SHIPPED_PACKAGES_FILE_NAME), content, 'utf-8');\n }\n}\n\n/* eslint-enable security/detect-non-literal-fs-filename -- End of the build plugin's file access. */\n\nfunction compareNames(a: string, b: string): number {\n return a.localeCompare(b, 'en');\n}\n\n// The package a bare import names, such as 'vue' for 'vue/dist/x.js' or '@scope/pkg' for '@scope/pkg/sub'. Built-in\n// modules, relative paths and URLs name no package.\nfunction extractPackageName(specifier: string): string | undefined {\n if (specifier.startsWith('.') || specifier.startsWith('/') || specifier.startsWith('node:') || /^[a-z]+:\\/\\//i.test(specifier)) return undefined;\n const parts = specifier.split('/', 2);\n return specifier.startsWith('@') ? parts.join('/') : parts[0];\n}\n"],"mappings":";;;AAkCA,IAAaC,IAA6B,yBACpCC,IAAmB,2BAKnBC,oBAAoB,IAAI,IAAuC;AAOrE,SAAgBC,IAAgC;CAC5C,IAAIC;CAEJ,OAAO;EACH,MAAM;EACN,OAAO;EACP,eAAe,GAAgB;GAC3B,IAASC;EACb;EACA,eAAe,GAAU,GAAQ;GAC7B,IAAID,MAAW,KAAA,GAAW;GAC1B,IAAME,IAAaJ,EAAkB,IAAIE,EAAO,IAAI,KAAK;IAAE,0BAAU,IAAI,IAAY;IAAG,0BAAU,IAAI,IAAY;GAAE;GACpH,EAAkB,IAAIA,EAAO,MAAME,CAAU;GAC7C,IAAMC,IAAkB,IAAI,IAAI,OAAO,KAAKC,CAAM,CAAC;GACnD,KAAK,IAAMC,KAAU,OAAO,OAAOD,CAAM,GACrC,AAAIC,EAAO,SAAS,UAAS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AK,IAAMF,KAAaK,GAEpB,AADAC,EAAUN,GAAW,EAAE,WAAW,GAAK,CAAC,GACxCO,EAAc9C,EAAK,KAAKuC,GAAWtC,CAA0B,GAAG0C,GAAS,OAAO;AAExF;AAIA,SAASD,EAAa,GAAW,GAAmB;CAChD,OAAOK,EAAE,cAAcC,GAAG,IAAI;AAClC;AAIA,SAAS5B,EAAmB,GAAuC;CAC/D,IAAI6B,EAAU,WAAW,GAAG,KAAKA,EAAU,WAAW,GAAG,KAAKA,EAAU,WAAW,OAAO,KAAK,gBAAgB,KAAKA,CAAS,GAAG;CAChI,IAAMC,IAAQD,EAAU,MAAM,KAAK,CAAC;CACpC,OAAOA,EAAU,WAAW,GAAG,IAAIC,EAAM,KAAK,GAAG,IAAIA,EAAM;AAC/D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpuse/dpuse-development",
3
- "version": "1.0.156",
3
+ "version": "1.0.158",
4
4
  "private": false,
5
5
  "description": "Actions for managing DPUse projects.",
6
6
  "license": "MIT",
@@ -92,7 +92,7 @@
92
92
  }
93
93
  },
94
94
  "dependencies": {
95
- "@dpuse/dpuse-shared": "^1.0.236",
95
+ "@dpuse/dpuse-shared": "^1.0.244",
96
96
  "license-checker-rseidelsohn": "^5.0.1",
97
97
  "npm-check-updates": "^23.1.1",
98
98
  "spdx-satisfies": "^6.0.1",
@@ -103,16 +103,16 @@
103
103
  "@types/node": "^26.6.6",
104
104
  "@types/spdx-satisfies": "^6.0.0",
105
105
  "@types/trusted-types": "^2.0.7",
106
- "@vitest/coverage-v8": "^5.1.0",
106
+ "@vitest/coverage-v8": "^5.1.1",
107
107
  "eslint": "^10.15.0",
108
108
  "fallow": "^3.43.2",
109
- "fast-check": "^4.10.2",
109
+ "fast-check": "^4.10.3",
110
110
  "prettier": "^3.10.1",
111
111
  "sonda": "^0.14.0",
112
112
  "type-fest": "^6.0.1",
113
113
  "typescript": "^6.0.3",
114
114
  "vite": "^8.3.8",
115
115
  "vite-plugin-dts": "^5.1.2",
116
- "vitest": "^5.1.0"
116
+ "vitest": "^5.1.1"
117
117
  }
118
118
  }