@dpuse/dpuse-development 0.3.810 → 0.3.812
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/README.md +15 -15
- package/dist/dpuse-development.es.js +159 -133
- package/dist/dpuse-development.es.js.map +1 -1
- package/package.json +1 -3
- package/vite.config.wasm.ts +0 -39
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dpuse/dpuse-development",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.812",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Actions for managing DPUse projects.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"vite.config.default.ts",
|
|
47
47
|
"vite.config.presenter.ts",
|
|
48
48
|
"vite.config.tool.ts",
|
|
49
|
-
"vite.config.wasm.ts",
|
|
50
49
|
"vitest.config.ts"
|
|
51
50
|
],
|
|
52
51
|
"engines": {
|
|
@@ -107,7 +106,6 @@
|
|
|
107
106
|
"typescript": "^6.0.3",
|
|
108
107
|
"vite": "^8.3.2",
|
|
109
108
|
"vite-plugin-dts": "^5.1.1",
|
|
110
|
-
"vite-plugin-wasm": "^3.6.0",
|
|
111
109
|
"vitest": "^5.0.3"
|
|
112
110
|
}
|
|
113
111
|
}
|
package/vite.config.wasm.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// ── External Dependencies & Registrations
|
|
2
|
-
import dts from 'vite-plugin-dts';
|
|
3
|
-
import Sonda from 'sonda/vite';
|
|
4
|
-
import wasm from 'vite-plugin-wasm';
|
|
5
|
-
import { defineConfig, type PluginOption } from 'vite';
|
|
6
|
-
import { fileURLToPath, URL } from 'node:url';
|
|
7
|
-
|
|
8
|
-
// ── Data
|
|
9
|
-
import config from './config.json' with { type: 'json' };
|
|
10
|
-
|
|
11
|
-
// ── Initialisation ───────────────────────────────────────────────────────────────────────────────────────────────────
|
|
12
|
-
|
|
13
|
-
const wasmPlugin = wasm() as PluginOption;
|
|
14
|
-
|
|
15
|
-
// ── Vite Configuration ───────────────────────────────────────────────────────────────────────────────────────────────
|
|
16
|
-
|
|
17
|
-
export default defineConfig({
|
|
18
|
-
build: {
|
|
19
|
-
lib: {
|
|
20
|
-
entry: fileURLToPath(new URL('src/index.ts', import.meta.url)),
|
|
21
|
-
fileName: (format) => `${config.id}.${format}.js`,
|
|
22
|
-
formats: ['es']
|
|
23
|
-
},
|
|
24
|
-
rollupOptions: {
|
|
25
|
-
plugins: [Sonda({ filename: 'index', format: 'json', brotli: false, gzip: true, open: false, outputDir: './bundle-analysis-reports/sonda' })]
|
|
26
|
-
},
|
|
27
|
-
sourcemap: 'hidden',
|
|
28
|
-
target: 'ESNext'
|
|
29
|
-
},
|
|
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],
|
|
33
|
-
resolve: {
|
|
34
|
-
alias: {
|
|
35
|
-
'~': fileURLToPath(new URL('./', import.meta.url)),
|
|
36
|
-
'@': fileURLToPath(new URL('src', import.meta.url))
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
});
|