@superblocksteam/util 0.0.12 → 0.0.14
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.
|
@@ -12,7 +12,7 @@ const compileTypeScript = (inputFilePath, outputDir) => {
|
|
|
12
12
|
try {
|
|
13
13
|
const tscPath = require.resolve("typescript/bin/tsc");
|
|
14
14
|
if (tscPath) {
|
|
15
|
-
(0, child_process_1.execFile)(tscPath, [node_path_1.default.resolve(inputFilePath), "--outDir", outputDir, "--jsx", "react-jsx", "--target", "es2019", "--esModuleInterop", "true", "--moduleResolution", "node", "--module", "commonjs"], (error, stdout, stderr) => {
|
|
15
|
+
(0, child_process_1.execFile)(tscPath, [node_path_1.default.resolve(inputFilePath), "--outDir", outputDir, "--jsx", "react-jsx", "--target", "es2019", "--esModuleInterop", "true", "--moduleResolution", "node", "--module", "commonjs", "--strict", "true", "--skipLibCheck", "true"], (error, stdout, stderr) => {
|
|
16
16
|
if (error) {
|
|
17
17
|
// Print any Typescript output to the user, such as errors
|
|
18
18
|
console.log(stdout);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export type SuperblocksMetadata = {
|
|
2
2
|
cliVersion: string;
|
|
3
3
|
remote: string;
|
|
4
|
-
lastUpdated:
|
|
5
|
-
created:
|
|
4
|
+
lastUpdated: string;
|
|
5
|
+
created: string;
|
|
6
6
|
};
|
|
7
7
|
export type VersionedResourceConfig = {
|
|
8
8
|
location: string;
|
|
9
|
-
lastUpdated:
|
|
9
|
+
lastUpdated: string;
|
|
10
10
|
resourceType: "APPLICATION" | "BACKEND";
|
|
11
11
|
};
|
|
12
12
|
export type SuperblocksResourceConfig = {
|
package/package.json
CHANGED
package/src/component-configs.ts
CHANGED
|
@@ -11,7 +11,7 @@ const compileTypeScript = (inputFilePath: string, outputDir: string) => {
|
|
|
11
11
|
if (tscPath) {
|
|
12
12
|
execFile(
|
|
13
13
|
tscPath,
|
|
14
|
-
[path.resolve(inputFilePath), "--outDir", outputDir, "--jsx", "react-jsx", "--target", "es2019", "--esModuleInterop", "true", "--moduleResolution", "node", "--module", "commonjs"],
|
|
14
|
+
[path.resolve(inputFilePath), "--outDir", outputDir, "--jsx", "react-jsx", "--target", "es2019", "--esModuleInterop", "true", "--moduleResolution", "node", "--module", "commonjs", "--strict", "true", "--skipLibCheck", "true"],
|
|
15
15
|
(error, stdout, stderr) => {
|
|
16
16
|
if (error) {
|
|
17
17
|
// Print any Typescript output to the user, such as errors
|
package/src/resource-configs.ts
CHANGED
|
@@ -4,13 +4,13 @@ import { RESOURCE_CONFIG_PATH } from "./constants";
|
|
|
4
4
|
export type SuperblocksMetadata = {
|
|
5
5
|
cliVersion: string;
|
|
6
6
|
remote: string;
|
|
7
|
-
lastUpdated:
|
|
8
|
-
created:
|
|
7
|
+
lastUpdated: string;
|
|
8
|
+
created: string;
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export type VersionedResourceConfig = {
|
|
12
12
|
location: string;
|
|
13
|
-
lastUpdated:
|
|
13
|
+
lastUpdated: string;
|
|
14
14
|
resourceType: "APPLICATION" | "BACKEND";
|
|
15
15
|
};
|
|
16
16
|
|