mirror of
https://github.com/appium/appium.git
synced 2026-05-20 18:59:59 -05:00
fix(schema): move output files due to tsc's confusion
It seemed to think I wanted to overwrite the root `index.js` file, and I don't know why. It doesn't do that anymore.
This commit is contained in:
@@ -1 +1 @@
|
||||
module.exports = require('./build/index.js');
|
||||
module.exports = require('./build/lib/index.js');
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"license": "Apache-2.0",
|
||||
"author": "https://github.com/appium",
|
||||
"types": "./build/index.d.ts",
|
||||
"types": "./build/lib/index.d.ts",
|
||||
"files": [
|
||||
"build",
|
||||
"lib",
|
||||
|
||||
@@ -29,7 +29,7 @@ const JSON_FILENAME = 'appium-config.schema.json';
|
||||
/**
|
||||
* Path to the schema artifact.
|
||||
*/
|
||||
const SCHEMA_SRC = path.join(SCHEMA_ROOT, 'build', 'appium-config-schema.js');
|
||||
const SCHEMA_SRC = path.join(SCHEMA_ROOT, 'build', 'lib', 'appium-config-schema.js');
|
||||
|
||||
/**
|
||||
* Full path to output `.json`
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
{
|
||||
"extends": "@appium/tsconfig/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "lib",
|
||||
"rootDir": ".",
|
||||
"outDir": "build",
|
||||
"checkJs": true
|
||||
"checkJs": true,
|
||||
"strict": true
|
||||
},
|
||||
"include": ["./lib/**/*.js"]
|
||||
"include": ["lib"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user