@dpuse/dpuse-development 0.3.655 → 0.3.657

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,4 +1,4 @@
1
- # Common git ignore configuration for UNPUBLISHED DPUse projects.
1
+ # Default '.gitignore' configuration for DPUse projects.
2
2
  .dev.vars
3
3
  .env
4
4
  .npmrc
@@ -1,4 +1,4 @@
1
- # Common git ignore configuration for PUBLISHED DPUse projects.
1
+ # '.gitignore' configuration for DPUse projects published to npm.
2
2
  .dev.vars
3
3
  .env
4
4
  .npmrc
package/README.md CHANGED
@@ -100,9 +100,9 @@ The Bundle Analysis Reports provide detailed breakdowns of the bundle's composit
100
100
 
101
101
  |Chunk/Module/File|Composition|
102
102
  |:------ |:-----------|
103
- | dist/dpuse-development.es.js | 299.4 kB · brotli 59.6 kB |
104
- |     acorn → dist/acorn.mjs | `█████████░░░░░░░░░░░` 43.7% |
105
- |     acorn-typescript → lib/index.mjs | `████████░░░░░░░░░░░░` 38.3% |
103
+ | dist/dpuse-development.es.js | 299.6 kB · brotli 59.6 kB |
104
+ |     acorn → dist/acorn.mjs | `█████████░░░░░░░░░░░` 43.6% |
105
+ |     acorn-typescript → lib/index.mjs | `████████░░░░░░░░░░░░` 38.2% |
106
106
  |     src | `██░░░░░░░░░░░░░░░░░░` 7.9% |
107
107
  |         manageProject.ts | `░░░░░░░░░░░░░░░░░░░░` 2.0% |
108
108
  |         index.ts | `░░░░░░░░░░░░░░░░░░░░` 1.5% |
@@ -5878,7 +5878,7 @@ async function qn() {
5878
5878
  try {
5879
5879
  G("Check configuration files"), q("1️⃣ Check individual files");
5880
5880
  let e = Vn((await W("config.json")).id), t = n.dirname(o(import.meta.url));
5881
- if (await J(t, ".editorconfig"), await J(t, ".gitattributes"), await J(t, ".gitignore", [e.publishedTo === "npm" ? ".gitignore_without_dist" : ".gitignore_with_dist"]), await J(t, ".markdownlint.json"), await J(t, ".ncurc.json"), [
5881
+ if (await J(t, ".editorconfig"), await J(t, ".gitattributes"), await J(t, ".gitignore", [e.publishedTo === "npm" ? ".gitignore_npm_published" : ".gitignore_default"]), await J(t, ".markdownlint.json"), await J(t, ".ncurc.json"), [
5882
5882
  "api",
5883
5883
  "development",
5884
5884
  "eslint"
@@ -5928,11 +5928,19 @@ async function J(e, t, r = []) {
5928
5928
  //#region src/actions/checkDependencies.ts
5929
5929
  async function Jn() {
5930
5930
  try {
5931
- G("Check Dependencies"), await Fn("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), q("2️⃣ Check using 'npm-check-updates'"), await s({
5931
+ G("Check Dependencies"), await Fn("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), q("2️⃣ Check using 'npm-check-updates'");
5932
+ let e = {};
5933
+ try {
5934
+ e = await W(n.resolve(process.cwd(), ".ncurc.json"));
5935
+ } catch (e) {
5936
+ if (e.code !== "ENOENT") throw e;
5937
+ }
5938
+ await s({
5932
5939
  interactive: !0,
5933
5940
  upgrade: !0,
5934
5941
  dep: "dev,prod,peer,optional",
5935
- install: "never"
5942
+ install: "never",
5943
+ ...e
5936
5944
  }), await Fn("3️⃣ Install updated dependencies", "npm", ["install", "--prefer-online"]), K("Dependencies checked");
5937
5945
  } catch (e) {
5938
5946
  console.error("❌ Error checking dependencies", e), process.exit(1);