@visulima/packem 1.6.1 → 1.6.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## @visulima/packem [1.6.2](https://github.com/visulima/packem/compare/@visulima/packem@1.6.1...@visulima/packem@1.6.2) (2024-11-13)
2
+
3
+ ### Bug Fixes
4
+
5
+ * updated dev dependencies and mlly and rollup dep ([c05290f](https://github.com/visulima/packem/commit/c05290f7ae438dd90d3fd3c83bb97408ef997a95))
6
+
1
7
  ## @visulima/packem [1.6.1](https://github.com/visulima/packem/compare/@visulima/packem@1.6.0...@visulima/packem@1.6.1) (2024-11-13)
2
8
 
3
9
  ### Bug Fixes
package/dist/cli.mjs CHANGED
@@ -5,7 +5,7 @@ import __cjs_mod__ from "node:module"; // -- packem CommonJS require shim --
5
5
  const __filename = __cjs_url__.fileURLToPath(import.meta.url);
6
6
  const __dirname = __cjs_path__.dirname(__filename);
7
7
  const require = __cjs_mod__.createRequire(import.meta.url);
8
- const xn="@visulima/packem",yn="1.6.0";var bn=Object.defineProperty,wn=g((e,t)=>bn(e,"name",{value:t,configurable:!0}),"t$c");const yi=wn(async(e,t="")=>{let i=t;if(!i){const o=["packem.config.js","packem.config.mjs","packem.config.cjs","packem.config.ts","packem.config.cts","packem.config.mts"];for(const n of o)if(await qe(j(e,n))){i="./"+n;break}}if(!/\.(?:js|mjs|cjs|ts|cts|mts)$/.test(i))throw new Error("Invalid packem config file extension. Only .js, .mjs, .cjs, .ts, .cts and .mts extensions are allowed.");return i},"findPackemFile"),bi={less:["less"],lightningcss:["lightningcss"],"node-sass":["node-sass"],postcss:["postcss","postcss-load-config","postcss-modules-extract-imports","postcss-modules-local-by-default","postcss-modules-scope","postcss-modules-values","postcss-value-parser","icss-utils"],sass:["sass"],"sass-embedded":["sass-embedded"],stylus:["stylus"]};var kn=Object.defineProperty,Mt=g((e,t)=>kn(e,"name",{value:t,configurable:!0}),"f$h");const jn=["typedoc","typedoc-plugin-markdown","typedoc-plugin-rename-defaults","@ckeditor/typedoc-plugins"],$n=Mt(e=>{e.addCommand({argument:{description:"Add a packem feature to your project",name:"feature",required:!0},description:"Add a optional packem feature to your project",execute:Mt(async({argument:t,logger:i,options:o})=>{const n=rt(),a=$(ni(),o.dir??".");let s;try{s=await yi(a,o.config)}catch{i.error("Could not find a packem config file, please run `packem init` first.");return}const l=await gt(s,{buffer:!1});let p="cjs";l.includes("import")&&(p="esm");const r=new H(l);if(t.includes("typedoc")){if(l.includes("typedoc: typedocBuilder")||l.includes("@visulima/packem/builder/typedoc")){i.warn("Typedoc has already been added to the packem config.");return}p==="cjs"?r.prepend(`const typedocBuilder = require("@visulima/packem/builder/typedoc");
8
+ const xn="@visulima/packem",yn="1.6.1";var bn=Object.defineProperty,wn=g((e,t)=>bn(e,"name",{value:t,configurable:!0}),"t$c");const yi=wn(async(e,t="")=>{let i=t;if(!i){const o=["packem.config.js","packem.config.mjs","packem.config.cjs","packem.config.ts","packem.config.cts","packem.config.mts"];for(const n of o)if(await qe(j(e,n))){i="./"+n;break}}if(!/\.(?:js|mjs|cjs|ts|cts|mts)$/.test(i))throw new Error("Invalid packem config file extension. Only .js, .mjs, .cjs, .ts, .cts and .mts extensions are allowed.");return i},"findPackemFile"),bi={less:["less"],lightningcss:["lightningcss"],"node-sass":["node-sass"],postcss:["postcss","postcss-load-config","postcss-modules-extract-imports","postcss-modules-local-by-default","postcss-modules-scope","postcss-modules-values","postcss-value-parser","icss-utils"],sass:["sass"],"sass-embedded":["sass-embedded"],stylus:["stylus"]};var kn=Object.defineProperty,Mt=g((e,t)=>kn(e,"name",{value:t,configurable:!0}),"f$h");const jn=["typedoc","typedoc-plugin-markdown","typedoc-plugin-rename-defaults","@ckeditor/typedoc-plugins"],$n=Mt(e=>{e.addCommand({argument:{description:"Add a packem feature to your project",name:"feature",required:!0},description:"Add a optional packem feature to your project",execute:Mt(async({argument:t,logger:i,options:o})=>{const n=rt(),a=$(ni(),o.dir??".");let s;try{s=await yi(a,o.config)}catch{i.error("Could not find a packem config file, please run `packem init` first.");return}const l=await gt(s,{buffer:!1});let p="cjs";l.includes("import")&&(p="esm");const r=new H(l);if(t.includes("typedoc")){if(l.includes("typedoc: typedocBuilder")||l.includes("@visulima/packem/builder/typedoc")){i.warn("Typedoc has already been added to the packem config.");return}p==="cjs"?r.prepend(`const typedocBuilder = require("@visulima/packem/builder/typedoc");
9
9
  `):r.prepend(`import typedocBuilder from "@visulima/packem/builder/typedoc";
10
10
  `),l.includes("builder: {")?r.replace("builder: {",`builder: {
11
11
  typedoc: typedocBuilder,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/packem",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "A fast and modern bundler for Node.js and TypeScript.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -355,10 +355,10 @@
355
355
  "hookable": "5.5.3",
356
356
  "jiti": "2.4.0",
357
357
  "magic-string": "0.30.12",
358
- "mlly": "1.7.2",
358
+ "mlly": "1.7.3",
359
359
  "oxc-parser": "0.33.0",
360
360
  "oxc-resolver": "1.12.0",
361
- "rollup": "4.24.4",
361
+ "rollup": "4.26.0",
362
362
  "rollup-plugin-dts": "6.1.1",
363
363
  "rollup-plugin-license": "3.5.3",
364
364
  "rollup-plugin-polyfill-node": "0.13.0",
@@ -373,7 +373,7 @@
373
373
  "@anolilab/prettier-config": "^5.0.14",
374
374
  "@anolilab/semantic-release-pnpm": "^1.1.5",
375
375
  "@anolilab/semantic-release-preset": "^9.0.2",
376
- "@arethetypeswrong/cli": "^0.16.4",
376
+ "@arethetypeswrong/cli": "^0.17.0",
377
377
  "@babel/core": "^7.26.0",
378
378
  "@ckeditor/typedoc-plugins": "44.2.1",
379
379
  "@rushstack/eslint-plugin-security": "^0.8.3",
@@ -420,12 +420,12 @@
420
420
  "node-sass": "^9.0.0",
421
421
  "oxc-transform": "^0.33.0",
422
422
  "p-queue": "^8.0.1",
423
- "postcss": "^8.4.47",
423
+ "postcss": "^8.4.49",
424
424
  "postcss-custom-properties": "14.0.4",
425
425
  "postcss-load-config": "^6.0.1",
426
426
  "postcss-modules-extract-imports": "^3.1.0",
427
- "postcss-modules-local-by-default": "^4.0.5",
428
- "postcss-modules-scope": "^3.2.0",
427
+ "postcss-modules-local-by-default": "^4.1.0",
428
+ "postcss-modules-scope": "^3.2.1",
429
429
  "postcss-modules-values": "^4.0.0",
430
430
  "postcss-value-parser": "^4.2.0",
431
431
  "prettier": "^3.3.3",
@@ -433,8 +433,8 @@
433
433
  "react-dom": "^18.3.1",
434
434
  "rimraf": "^6.0.1",
435
435
  "rollup-plugin-lit-css": "^5.0.1",
436
- "sass": "^1.80.6",
437
- "sass-embedded": "^1.80.6",
436
+ "sass": "^1.80.7",
437
+ "sass-embedded": "^1.80.7",
438
438
  "secretlint": "9.0.0",
439
439
  "semantic-release": "^24.2.0",
440
440
  "sort-package-json": "^2.10.1",