@cydran/testsupport 0.5.0 → 0.6.0

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,10 +1,20 @@
1
1
  {
2
2
  "name": "@cydran/testsupport",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Testing support for Cydran",
5
- "module": "dist/testsupport.js",
5
+ "module": "./dist/testsupport.mjs",
6
6
  "main": "dist/testsupport.js",
7
7
  "typings": "dist/testsupport.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/testsupport.d.ts",
11
+ "import": "./dist/testsupport.mjs",
12
+ "require": "./dist/testsupport.js",
13
+ "default": "./dist/testsupport.js"
14
+ },
15
+ "./dist/*": "./dist/*",
16
+ "./package.json": "./package.json"
17
+ },
8
18
  "browser": {
9
19
  "test": "dist/testsupport.js"
10
20
  },
@@ -13,17 +23,11 @@
13
23
  },
14
24
  "scripts": {
15
25
  "validate": "npx @cydran/build validate",
16
- "build": "npm run clean && npm run transpile && npm run aggregate",
26
+ "fix": "npx @cydran/build fix",
27
+ "format": "npx @cydran/build format",
28
+ "build": "npx @cydran/build build",
17
29
  "build.all": "npm run build.release && npm run docs",
18
- "clean": "npm run clean.dist && npm run clean.coverage && npm run clean.tarball",
19
- "clean.dist": "npx rimraf --glob dist",
20
- "clean.coverage": "npx rimraf --glob coverage",
21
- "clean.tarball": "npx rimraf --glob *.tgz",
22
- "transpile": "npx tsc --project tsconfig.json",
23
- "aggregate": "npm run aggregate.dts && npm run aggregate.js && npm run aggregate.clean",
24
- "aggregate.dts": "npx dts-bundle-generator --config dts-bundle-generator-config.json",
25
- "aggregate.js": "node esbuild.js",
26
- "aggregate.clean": "npx rimraf --glob dist/src",
30
+ "clean": "npx @cydran/build clean",
27
31
  "test": "npx @cydran/build test",
28
32
  "docs": "npx rimraf --glob docs && npx typedoc --options ./typedoc.json --tsconfig ./tsconfig.json ./src",
29
33
  "docsification": "docsify --help"
@@ -54,22 +58,43 @@
54
58
  "url": "https://github.com/cydran/cydran/issues"
55
59
  },
56
60
  "homepage": "https://github.com/cydran/cydran",
61
+ "cydran-build": {
62
+ "source-headers": {
63
+ "active": true
64
+ },
65
+ "format": {
66
+ "active": true
67
+ },
68
+ "unit-tests": {
69
+ "active": true,
70
+ "orphanExclude": [
71
+ "test/sanity/GarbageCollection.spec.ts"
72
+ ]
73
+ },
74
+ "build": {
75
+ "active": true,
76
+ "name": "testsupport",
77
+ "platform": "node",
78
+ "globals": {
79
+ "@cydran/cydran": "cydran"
80
+ }
81
+ },
82
+ "banner": {
83
+ "active": true
84
+ }
85
+ },
57
86
  "devDependencies": {
58
87
  "@babel/cli": "7.25.6",
59
88
  "@babel/core": "7.25.2",
60
89
  "@babel/plugin-transform-modules-umd": "7.24.7",
61
90
  "@babel/preset-env": "7.25.4",
62
91
  "@babel/preset-typescript": "7.24.7",
63
- "@cydran/build": "^0.5.0",
92
+ "@cydran/build": "^0.6.0",
64
93
  "@types/lodash": "4.17.7",
65
94
  "@types/node": "22.5.4",
66
95
  "babel-preset-es2015": "6.24.1",
67
- "cross-env": "7.0.3",
68
96
  "docpress": "0.8.2",
69
- "dts-bundle-generator": "9.5.1",
70
- "esbuild": "0.23.1",
71
97
  "expose-gc": "1.0.0",
72
- "fs-extra": "11.2.0",
73
98
  "requirejs": "2.3.7",
74
99
  "rimraf": "6.0.1",
75
100
  "source-map-support": "0.5.21",
@@ -79,7 +104,7 @@
79
104
  "typescript": "5.6.2"
80
105
  },
81
106
  "dependencies": {
82
- "@cydran/cydran": "^0.5.0",
107
+ "@cydran/cydran": "^0.6.0",
83
108
  "@jest/globals": "29.7.0",
84
109
  "@testing-library/dom": "10.4.0",
85
110
  "@testing-library/jest-dom": "6.5.0",
@@ -94,5 +119,5 @@
94
119
  "docpress": {
95
120
  "dist": "dist/docs"
96
121
  },
97
- "gitHead": "95ff4d00cde7d665a28a0003f574668902ba14ec"
122
+ "gitHead": "036e779535a8f8e708edc4b05fec77e6346578f7"
98
123
  }