@atscript/typescript 0.0.24 → 0.0.26
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/cli.cjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/cli.cjs
CHANGED
|
@@ -654,7 +654,7 @@ else return t.optional ? `${t.type} | true` : t.type;
|
|
|
654
654
|
}
|
|
655
655
|
let renderedTags = Array.from(tags).map((f) => `"${escapeQuotes(f)}"`).join(" | ");
|
|
656
656
|
output.push({
|
|
657
|
-
content: "// prettier-ignore-start/* eslint-disable
|
|
657
|
+
content: "// prettier-ignore-start\n/* eslint-disable */\n/**\n * 🪄 This file was generated by Atscript\n * It is generated based on annotations used in this project\n * Do not edit this file!\n *\n * Use `npx asc -f dts` command to re-generate this file\n */\nexport {}\n\ndeclare global {\n interface AtscriptMetadata {\n " + rendered.join("\n ") + "\n }\n" + " type AtscriptPrimitiveTags = " + renderedTags + "\n" + "}\n" + "// prettier-ignore-end",
|
|
658
658
|
fileName: "atscript.d.ts",
|
|
659
659
|
source: "",
|
|
660
660
|
target: path.default.join(repo.root, "atscript.d.ts")
|
package/dist/index.cjs
CHANGED
|
@@ -652,7 +652,7 @@ else return t.optional ? `${t.type} | true` : t.type;
|
|
|
652
652
|
}
|
|
653
653
|
let renderedTags = Array.from(tags).map((f) => `"${escapeQuotes(f)}"`).join(" | ");
|
|
654
654
|
output.push({
|
|
655
|
-
content: "// prettier-ignore-start/* eslint-disable
|
|
655
|
+
content: "// prettier-ignore-start\n/* eslint-disable */\n/**\n * 🪄 This file was generated by Atscript\n * It is generated based on annotations used in this project\n * Do not edit this file!\n *\n * Use `npx asc -f dts` command to re-generate this file\n */\nexport {}\n\ndeclare global {\n interface AtscriptMetadata {\n " + rendered.join("\n ") + "\n }\n" + " type AtscriptPrimitiveTags = " + renderedTags + "\n" + "}\n" + "// prettier-ignore-end",
|
|
656
656
|
fileName: "atscript.d.ts",
|
|
657
657
|
source: "",
|
|
658
658
|
target: path.default.join(repo.root, "atscript.d.ts")
|
package/dist/index.mjs
CHANGED
|
@@ -627,7 +627,7 @@ else return t.optional ? `${t.type} | true` : t.type;
|
|
|
627
627
|
}
|
|
628
628
|
let renderedTags = Array.from(tags).map((f) => `"${escapeQuotes(f)}"`).join(" | ");
|
|
629
629
|
output.push({
|
|
630
|
-
content: "// prettier-ignore-start/* eslint-disable
|
|
630
|
+
content: "// prettier-ignore-start\n/* eslint-disable */\n/**\n * 🪄 This file was generated by Atscript\n * It is generated based on annotations used in this project\n * Do not edit this file!\n *\n * Use `npx asc -f dts` command to re-generate this file\n */\nexport {}\n\ndeclare global {\n interface AtscriptMetadata {\n " + rendered.join("\n ") + "\n }\n" + " type AtscriptPrimitiveTags = " + renderedTags + "\n" + "}\n" + "// prettier-ignore-end",
|
|
631
631
|
fileName: "atscript.d.ts",
|
|
632
632
|
source: "",
|
|
633
633
|
target: path.join(repo.root, "atscript.d.ts")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atscript/typescript",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.26",
|
|
4
4
|
"description": "Atscript: typescript-gen support.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.mjs",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"homepage": "https://github.com/moostjs/atscript/tree/main/packages/typescript#readme",
|
|
48
48
|
"license": "ISC",
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@atscript/core": "^0.0.
|
|
50
|
+
"@atscript/core": "^0.0.26"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@moostjs/event-cli": "^0.5.32",
|