@dpuse/dpuse-development 0.3.750 → 0.3.751

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpuse/dpuse-development",
3
- "version": "0.3.750",
3
+ "version": "0.3.751",
4
4
  "private": false,
5
5
  "description": "Actions for managing DPUse projects.",
6
6
  "license": "MIT",
@@ -22,13 +22,16 @@
22
22
  "import": "./dist/dpuse-development.es.js",
23
23
  "types": "./dist/types/src/index.d.ts"
24
24
  },
25
- "./prettierrc": "./.prettierrc.json",
26
- "./license-report-config": "./licenses/license-report-config.json"
25
+ "./prettierrc": "./.prettierrc.json"
27
26
  },
28
27
  "files": [
29
28
  ".editorconfig",
30
29
  ".gitattributes",
31
30
  ".gitattributes_default",
31
+ ".github/dependabot.private.yml",
32
+ ".github/dependabot.yml",
33
+ ".github/publish.cloudflare.yml",
34
+ ".github/workflows",
32
35
  ".gitignore_default",
33
36
  ".markdownlint.json",
34
37
  ".ncurc.json",
@@ -36,8 +39,9 @@
36
39
  "dist",
37
40
  "eslint.config.default.js",
38
41
  "LICENSE",
39
- "tsconfig.json",
42
+ "SECURITY.md",
40
43
  "tsconfig.default.json",
44
+ "tsconfig.json",
41
45
  "tsconfig.scripts.json",
42
46
  "vite.config.default.ts",
43
47
  "vite.config.tool.ts",
@@ -78,8 +82,7 @@
78
82
  "lint": "node -e \"import('./dist/dpuse-development.es.js').then(m => m.lintCode())\"",
79
83
  "release": "npm run sync && gh release create \"v$(npm pkg get version | tr -d '\"')\" --target \"$(git rev-parse HEAD)\" --generate-notes --latest",
80
84
  "sync": "node -e \"import('./dist/dpuse-development.es.js').then(m => m.syncProjectWithGitHub())\"",
81
- "test": "node -e \"import('./dist/dpuse-development.es.js').then(m => m.testProject())\"",
82
- "update": "node -e \"import('./dist/dpuse-development.es.js').then(m => m.updateDPUseDependencies(['eslint', 'shared']))\""
85
+ "test": "node -e \"import('./dist/dpuse-development.es.js').then(m => m.testProject())\""
83
86
  },
84
87
  "dependencies": {
85
88
  "@dpuse/dpuse-shared": "^0.3.851",
@@ -5,7 +5,7 @@ import Sonda from 'sonda/vite';
5
5
  import { fileURLToPath, URL } from 'node:url';
6
6
 
7
7
  // ── Data
8
- import config from './config.json';
8
+ import config from './config.json' with { type: 'json' };
9
9
 
10
10
  // ── Vite Configuration ───────────────────────────────────────────────────────────────────────────────────────────────
11
11
 
@@ -19,11 +19,12 @@ export default defineConfig({
19
19
  rollupOptions: {
20
20
  plugins: [Sonda({ filename: 'index', format: 'json', brotli: false, gzip: true, open: false, outputDir: './bundle-analysis-reports/sonda' })]
21
21
  },
22
- sourcemap: true,
22
+ sourcemap: 'hidden',
23
23
  target: 'ESNext'
24
24
  },
25
- // Tests sit in the tsconfig so they get type-checked, but their declarations must not reach the published package.
26
- plugins: [dts({ exclude: ['tests/**'], outDirs: 'dist/types' })],
25
+ // Tests and config files sit in the tsconfig so they get type-checked, but their declarations must not reach the
26
+ // published package. 'entryRoot' keeps the types under 'dist/types/src', where package.json points.
27
+ plugins: [dts({ entryRoot: '.', exclude: ['tests/**', '*.config.*'], outDirs: 'dist/types' })],
27
28
  resolve: {
28
29
  alias: {
29
30
  '~': fileURLToPath(new URL('./', import.meta.url)),
@@ -5,7 +5,7 @@ import Sonda from 'sonda/vite';
5
5
  import { fileURLToPath, URL } from 'node:url';
6
6
 
7
7
  // ── Data
8
- import config from './config.json';
8
+ import config from './config.json' with { type: 'json' };
9
9
 
10
10
  // ── Vite Configuration ───────────────────────────────────────────────────────────────────────────────────────────────
11
11
 
@@ -20,11 +20,12 @@ export default defineConfig({
20
20
  external: [/^https:\/\/engine-eu\.dpuse\.app\//],
21
21
  plugins: [Sonda({ filename: 'index', format: 'json', brotli: false, gzip: true, open: false, outputDir: './bundle-analysis-reports/sonda' })]
22
22
  },
23
- sourcemap: true,
23
+ sourcemap: 'hidden',
24
24
  target: 'ESNext'
25
25
  },
26
- // Tests sit in the tsconfig so they get type-checked, but their declarations must not reach the published package.
27
- plugins: [dts({ exclude: ['tests/**'], outDirs: 'dist/types' })],
26
+ // Tests and config files sit in the tsconfig so they get type-checked, but their declarations must not reach the
27
+ // published package. 'entryRoot' keeps the types under 'dist/types/src', where package.json points.
28
+ plugins: [dts({ entryRoot: '.', exclude: ['tests/**', '*.config.*'], outDirs: 'dist/types' })],
28
29
  resolve: {
29
30
  alias: {
30
31
  '~': fileURLToPath(new URL('./', import.meta.url)),
@@ -6,7 +6,7 @@ import { defineConfig, type PluginOption } from 'vite';
6
6
  import { fileURLToPath, URL } from 'node:url';
7
7
 
8
8
  // ── Data
9
- import config from './config.json';
9
+ import config from './config.json' with { type: 'json' };
10
10
 
11
11
  // ── Initialisation ───────────────────────────────────────────────────────────────────────────────────────────────────
12
12
 
@@ -24,11 +24,12 @@ export default defineConfig({
24
24
  rollupOptions: {
25
25
  plugins: [Sonda({ filename: 'index', format: 'json', brotli: false, gzip: true, open: false, outputDir: './bundle-analysis-reports/sonda' })]
26
26
  },
27
- sourcemap: true,
27
+ sourcemap: 'hidden',
28
28
  target: 'ESNext'
29
29
  },
30
- // Tests sit in the tsconfig so they get type-checked, but their declarations must not reach the published package.
31
- plugins: [dts({ exclude: ['tests/**'], outDirs: 'dist/types' }), wasmPlugin],
30
+ // Tests and config files sit in the tsconfig so they get type-checked, but their declarations must not reach the
31
+ // published package. 'entryRoot' keeps the types under 'dist/types/src', where package.json points.
32
+ plugins: [dts({ entryRoot: '.', exclude: ['tests/**', '*.config.*'], outDirs: 'dist/types' }), wasmPlugin],
32
33
  resolve: {
33
34
  alias: {
34
35
  '~': fileURLToPath(new URL('./', import.meta.url)),