@aidc-toolkit/dev 1.0.32-beta → 1.0.33-beta
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tsup-config-template.d.ts","sourceRoot":"","sources":["../src/tsup-config-template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAEpC;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"tsup-config-template.d.ts","sourceRoot":"","sources":["../src/tsup-config-template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAEpC;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAepD"}
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
* Updated options.
|
|
10
10
|
*/
|
|
11
11
|
export function tsupConfig(options) {
|
|
12
|
-
|
|
12
|
+
// Mode isn't set for production build.
|
|
13
|
+
const developmentMode = options.define?.["build"] !== undefined;
|
|
13
14
|
return {
|
|
14
15
|
...options,
|
|
15
16
|
name: "aidc-toolkit",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tsup-config-template.js","sourceRoot":"","sources":["../src/tsup-config-template.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,MAAM,UAAU,UAAU,CAAC,OAAgB;IACvC,MAAM,eAAe,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"tsup-config-template.js","sourceRoot":"","sources":["../src/tsup-config-template.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,MAAM,UAAU,UAAU,CAAC,OAAgB;IACvC,uCAAuC;IACvC,MAAM,eAAe,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,KAAK,SAAS,CAAC;IAEhE,OAAO;QACH,GAAG,OAAO;QACV,IAAI,EAAE,cAAc;QACpB,QAAQ,EAAE,qBAAqB;QAC/B,KAAK,EAAE,CAAC,cAAc,CAAC;QACvB,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QACtB,GAAG,EAAE,IAAI;QACT,MAAM,EAAE,CAAC,eAAe;QACxB,SAAS,EAAE,eAAe;QAC1B,KAAK,EAAE,IAAI;KACd,CAAC;AACN,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aidc-toolkit/dev",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.33-beta",
|
|
4
4
|
"description": "Shared development artefacts for AIDC Toolkit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
|
-
"homepage": "https://aidc-toolkit.com
|
|
7
|
+
"homepage": "https://aidc-toolkit.com",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+https://github.com/aidc-toolkit/dev.git"
|
|
@@ -19,26 +19,29 @@
|
|
|
19
19
|
"url": "https://www.linkedin.com/in/kdean"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
|
-
"copy-workflows": "copy-files-from-to --config copy-workflows.json",
|
|
23
22
|
"lint": "eslint",
|
|
24
|
-
"tsc
|
|
25
|
-
"build:
|
|
26
|
-
"build:
|
|
27
|
-
"build:
|
|
23
|
+
"tsc-src": "tsc --project tsconfig-src.json",
|
|
24
|
+
"build:alpha": "rimraf dist && npm run tsc-src -- --declarationMap --sourceMap",
|
|
25
|
+
"build:beta": "npm run build:alpha",
|
|
26
|
+
"build:prod": "npm run tsc-src -- --noEmit && tsup",
|
|
27
|
+
"build:doc": "npm run build:alpha",
|
|
28
|
+
"copy-workflows": "copy-files-from-to --config copy-workflows.json"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"copy-files-from-to": "^4.0.0"
|
|
28
32
|
},
|
|
29
33
|
"dependencies": {
|
|
30
34
|
"@eslint/js": "^9.39.2",
|
|
31
|
-
"@stylistic/eslint-plugin": "^5.
|
|
32
|
-
"@types/node": "^25.0.
|
|
33
|
-
"copy-files-from-to": "^4.0.0",
|
|
35
|
+
"@stylistic/eslint-plugin": "^5.7.0",
|
|
36
|
+
"@types/node": "^25.0.9",
|
|
34
37
|
"eslint": "^9.39.2",
|
|
35
|
-
"eslint-config-love": "^
|
|
36
|
-
"eslint-plugin-jsdoc": "^
|
|
38
|
+
"eslint-config-love": "^145.0.0",
|
|
39
|
+
"eslint-plugin-jsdoc": "^62.2.0",
|
|
37
40
|
"jiti": "^2.6.1",
|
|
38
41
|
"rimraf": "^6.1.2",
|
|
39
42
|
"tsup": "^8.5.1",
|
|
40
43
|
"tsx": "^4.21.0",
|
|
41
44
|
"typescript": "^5.9.3",
|
|
42
|
-
"typescript-eslint": "^8.
|
|
45
|
+
"typescript-eslint": "^8.53.1"
|
|
43
46
|
}
|
|
44
47
|
}
|
|
@@ -11,7 +11,8 @@ import type { Options } from "tsup";
|
|
|
11
11
|
* Updated options.
|
|
12
12
|
*/
|
|
13
13
|
export function tsupConfig(options: Options): Options {
|
|
14
|
-
|
|
14
|
+
// Mode isn't set for production build.
|
|
15
|
+
const developmentMode = options.define?.["build"] !== undefined;
|
|
15
16
|
|
|
16
17
|
return {
|
|
17
18
|
...options,
|