@stacksjs/build 0.70.22 → 0.70.25
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/dist/index.js +45 -45
- package/dist/src/index.d.ts +18 -0
- package/dist/src/utils.d.ts +12 -0
- package/package.json +20 -15
- package/dist/index.d.ts +0 -1
- package/dist/utils.d.ts +0 -3
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare function outro(options: {
|
|
2
|
+
dir: string
|
|
3
|
+
startTime: number
|
|
4
|
+
result: any
|
|
5
|
+
pkgName?: string
|
|
6
|
+
}): Promise<void>;
|
|
7
|
+
export declare function intro(options: { dir: string, pkgName?: string, styled?: boolean }): Promise<{
|
|
8
|
+
startTime: number
|
|
9
|
+
}>;
|
|
10
|
+
/*`. We don't ship
|
|
11
|
+
* any of those — image work goes through the in-house `ts-images` (formerly
|
|
12
|
+
* `imgx`), template metadata is parsed by our own STX-aware extractor, and
|
|
13
|
+
* AWS interactions go through `ts-cloud` / our wrappers. If a build error
|
|
14
|
+
* complains about one of those, the right fix is to remove the import, not
|
|
15
|
+
* to add it back here.
|
|
16
|
+
*/
|
|
17
|
+
export declare function frameworkExternal(extras?: string[]): string[];
|
|
18
|
+
export * from './utils';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// @babel/generator and @babel/traverse ship default exports that
|
|
2
|
+
// TypeScript can't see because the package's `.d.ts` declares them
|
|
3
|
+
// as namespace re-exports. The runtime shape is correct under
|
|
4
|
+
// `esModuleInterop`; the ignore is the cheapest fix until upstream
|
|
5
|
+
// publishes proper module-default declarations.
|
|
6
|
+
// eslint-disable-next-line ts/ban-ts-comment
|
|
7
|
+
// @ts-ignore — upstream .d.ts lacks default export declaration
|
|
8
|
+
export { default as generator } from '@babel/generator';
|
|
9
|
+
export { default as parser } from '@babel/parser';
|
|
10
|
+
// eslint-disable-next-line ts/ban-ts-comment
|
|
11
|
+
// @ts-ignore — upstream .d.ts lacks default export declaration
|
|
12
|
+
export { default as traverse } from '@babel/traverse';
|
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/build",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.70.
|
|
4
|
+
"version": "0.70.25",
|
|
5
5
|
"description": "The Stacks framework build tools and configurations.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
|
-
"contributors": [
|
|
7
|
+
"contributors": [
|
|
8
|
+
"Chris Breuer <chris@stacksjs.com>"
|
|
9
|
+
],
|
|
8
10
|
"license": "MIT",
|
|
9
11
|
"funding": "https://github.com/sponsors/chrisbbreuer",
|
|
10
12
|
"homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/build#readme",
|
|
@@ -21,35 +23,38 @@
|
|
|
21
23
|
"stacks",
|
|
22
24
|
"framework",
|
|
23
25
|
"typescript",
|
|
24
|
-
"javascript"
|
|
25
|
-
"vite",
|
|
26
|
-
"nitro",
|
|
27
|
-
"vue"
|
|
26
|
+
"javascript"
|
|
28
27
|
],
|
|
29
28
|
"exports": {
|
|
30
29
|
".": {
|
|
30
|
+
"bun": "./src/index.ts",
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
31
32
|
"import": "./dist/index.js"
|
|
32
33
|
},
|
|
33
34
|
"./*": {
|
|
35
|
+
"bun": "./src/*",
|
|
34
36
|
"import": "./dist/*"
|
|
35
37
|
}
|
|
36
38
|
},
|
|
37
39
|
"module": "dist/index.js",
|
|
38
40
|
"types": "dist/index.d.ts",
|
|
39
|
-
"files": [
|
|
41
|
+
"files": [
|
|
42
|
+
"README.md",
|
|
43
|
+
"dist"
|
|
44
|
+
],
|
|
40
45
|
"scripts": {
|
|
41
46
|
"build": "bun build.ts",
|
|
42
47
|
"typecheck": "bun tsc --noEmit",
|
|
43
48
|
"prepublishOnly": "bun run build"
|
|
44
49
|
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@babel/generator": "^7.29.1",
|
|
52
|
+
"@babel/traverse": "^7.29.0"
|
|
53
|
+
},
|
|
45
54
|
"devDependencies": {
|
|
46
|
-
"@stacksjs/cli": "0.70.
|
|
47
|
-
"
|
|
48
|
-
"@stacksjs/path": "0.70.
|
|
49
|
-
"@stacksjs/storage": "0.70.
|
|
50
|
-
"@types/babel__generator": "^7.6.8",
|
|
51
|
-
"@types/babel__traverse": "^7.20.7",
|
|
52
|
-
"bun-plugin-dtsx": "^0.21.9",
|
|
53
|
-
"vue-docgen-web-types": "^0.1.8"
|
|
55
|
+
"@stacksjs/cli": "0.70.23",
|
|
56
|
+
"better-dx": "^0.2.12",
|
|
57
|
+
"@stacksjs/path": "0.70.23",
|
|
58
|
+
"@stacksjs/storage": "0.70.23"
|
|
54
59
|
}
|
|
55
60
|
}
|
package/dist/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function outro(options: { dir: string, startTime: number, result: any, pkgName?: string }): Promise<void>;
|
package/dist/utils.d.ts
DELETED