@journeyapps/cloudcode-build
Advanced tools
Comparing version 1.9.3 to 1.9.4-dev.b9d306b.444d8c2
@@ -1,2 +0,2 @@ | ||
import { Schema } from 'journeyapps/lib/app/schema'; | ||
import { Schema } from '@journeyapps/parser-schema'; | ||
export declare function schemaToDefinitions(schema: Schema): string; |
@@ -85,11 +85,3 @@ "use strict"; | ||
import { | ||
Database, | ||
Collection, | ||
DatabaseObject, | ||
Query | ||
} from "journeyapps/lib/db/database"; | ||
import { Day } from "journeyapps/lib/db/Day"; | ||
import { Attachment } from "journeyapps/lib/db/Attachment"; | ||
import { Location } from "journeyapps/lib/db/Location"; | ||
import { Database, Query, Collection, DatabaseObject, Attachment, Location, Day } from '@journeyapps/db'; | ||
@@ -96,0 +88,0 @@ interface DB extends Database { |
@@ -11,3 +11,4 @@ "use strict"; | ||
const fs = require("fs"); | ||
const app_1 = require("journeyapps/lib/app"); | ||
const parser_schema_1 = require("@journeyapps/parser-schema"); | ||
const parser_common_1 = require("@journeyapps/parser-common"); | ||
const DEFAULT_OPTIONS = { | ||
@@ -25,4 +26,4 @@ datamodel: '../../schema.xml' | ||
const data = await fs.readFileSync(datamodelPath, 'utf-8'); | ||
const schema = new app_1.Schema(); | ||
schema.loadXml(data, { apiVersion: new app_1.Version('4.0') }); | ||
const schema = new parser_schema_1.Schema(); | ||
schema.loadXml(data, { apiVersion: new parser_common_1.Version('4.0') }); | ||
const ts = await datamodel_1.schemaToDefinitions(schema); | ||
@@ -29,0 +30,0 @@ const dir = path.dirname(outPath); |
{ | ||
"name": "@journeyapps/cloudcode-build", | ||
"version": "1.9.3", | ||
"version": "1.9.4-dev.b9d306b.444d8c2", | ||
"main": "./lib/index.js", | ||
@@ -15,3 +15,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"journeyapps": "2.26.1", | ||
"@journeyapps/parser-schema": "2.30.1-dev.01d68aa.ebdb619", | ||
"typescript": "^3.5.3", | ||
@@ -21,2 +21,3 @@ "yargs": "^13.3.0" | ||
"devDependencies": { | ||
"@journeyapps/db": "2.30.1-dev.01d68aa.ebdb619", | ||
"@types/yargs": "^13.0.2", | ||
@@ -32,3 +33,3 @@ "expect.js": "^0.3.1", | ||
], | ||
"gitHead": "dc178f054e57d678969d0ae55bff79353604cd35" | ||
"gitHead": "cca5d880f692ac867cce34baac520e2bb612d19c" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16280
4
249
2
+ Added@journeyapps/parser-schema@2.30.1-dev.01d68aa.ebdb619
+ Added@journeyapps/core-xml@2.30.1-dev.01d68aa.ebdb619(transitive)
+ Added@journeyapps/domparser@0.3.0(transitive)
+ Added@journeyapps/evaluator@2.30.1-dev.01d68aa.ebdb619(transitive)
+ Added@journeyapps/parser-common@2.30.1-dev.01d68aa.ebdb619(transitive)
+ Added@journeyapps/parser-schema@2.30.1-dev.01d68aa.ebdb619(transitive)
- Removedjourneyapps@2.26.1
- Removedencoding@0.1.13(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisomorphic-fetch@2.2.1(transitive)
- Removedjourneyapps@2.26.1(transitive)
- Removedlodash@4.17.21(transitive)
- Removednode-fetch@1.7.3(transitive)
- Removedpromise.prototype.finally@1.0.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedurijs@1.19.11(transitive)
- Removedwhatwg-fetch@3.6.20(transitive)
- Removedxmldom@0.1.31(transitive)