@pnp/cli-microsoft365
Version:
Manage Microsoft 365 and SharePoint Framework projects on any platform
110 lines • 6.47 kB
JavaScript
import { FN001001_DEP_microsoft_sp_core_library } from "./rules/FN001001_DEP_microsoft_sp_core_library.js";
import { FN001002_DEP_microsoft_sp_lodash_subset } from "./rules/FN001002_DEP_microsoft_sp_lodash_subset.js";
import { FN001003_DEP_microsoft_sp_office_ui_fabric_core } from "./rules/FN001003_DEP_microsoft_sp_office_ui_fabric_core.js";
import { FN001004_DEP_microsoft_sp_webpart_base } from "./rules/FN001004_DEP_microsoft_sp_webpart_base.js";
import { FN001011_DEP_microsoft_sp_dialog } from "./rules/FN001011_DEP_microsoft_sp_dialog.js";
import { FN001012_DEP_microsoft_sp_application_base } from "./rules/FN001012_DEP_microsoft_sp_application_base.js";
import { FN001013_DEP_microsoft_decorators } from "./rules/FN001013_DEP_microsoft_decorators.js";
import { FN001014_DEP_microsoft_sp_listview_extensibility } from "./rules/FN001014_DEP_microsoft_sp_listview_extensibility.js";
import { FN001023_DEP_microsoft_sp_component_base } from "./rules/FN001023_DEP_microsoft_sp_component_base.js";
import { FN001024_DEP_microsoft_sp_diagnostics } from "./rules/FN001024_DEP_microsoft_sp_diagnostics.js";
import { FN001025_DEP_microsoft_sp_dynamic_data } from "./rules/FN001025_DEP_microsoft_sp_dynamic_data.js";
import { FN001026_DEP_microsoft_sp_extension_base } from "./rules/FN001026_DEP_microsoft_sp_extension_base.js";
import { FN001027_DEP_microsoft_sp_http } from "./rules/FN001027_DEP_microsoft_sp_http.js";
import { FN001029_DEP_microsoft_sp_loader } from "./rules/FN001029_DEP_microsoft_sp_loader.js";
import { FN001030_DEP_microsoft_sp_module_interfaces } from "./rules/FN001030_DEP_microsoft_sp_module_interfaces.js";
import { FN001031_DEP_microsoft_sp_odata_types } from "./rules/FN001031_DEP_microsoft_sp_odata_types.js";
import { FN001032_DEP_microsoft_sp_page_context } from "./rules/FN001032_DEP_microsoft_sp_page_context.js";
import { FN002001_DEVDEP_microsoft_sp_build_web } from "./rules/FN002001_DEVDEP_microsoft_sp_build_web.js";
import { FN002002_DEVDEP_microsoft_sp_module_interfaces } from "./rules/FN002002_DEVDEP_microsoft_sp_module_interfaces.js";
import { FN002003_DEVDEP_microsoft_sp_webpart_workbench } from "./rules/FN002003_DEVDEP_microsoft_sp_webpart_workbench.js";
import { FN002008_DEVDEP_tslint_microsoft_contrib } from "./rules/FN002008_DEVDEP_tslint_microsoft_contrib.js";
import { FN010001_YORC_version } from "./rules/FN010001_YORC_version.js";
import { FN012011_TSC_outDir } from "./rules/FN012011_TSC_outDir.js";
import { FN012012_TSC_include } from "./rules/FN012012_TSC_include.js";
import { FN012013_TSC_exclude } from "./rules/FN012013_TSC_exclude.js";
import { FN015003_FILE_tslint_json } from "./rules/FN015003_FILE_tslint_json.js";
import { FN015004_FILE_config_tslint_json } from "./rules/FN015004_FILE_config_tslint_json.js";
import { FN015005_FILE_src_index_ts } from "./rules/FN015005_FILE_src_index_ts.js";
import { FN016001_TS_msgraphclient_packageName } from "./rules/FN016001_TS_msgraphclient_packageName.js";
import { FN016002_TS_msgraphclient_instance } from "./rules/FN016002_TS_msgraphclient_instance.js";
import { FN016003_TS_aadhttpclient_instance } from "./rules/FN016003_TS_aadhttpclient_instance.js";
export default [
new FN001001_DEP_microsoft_sp_core_library({ packageVersion: '1.6.0' }),
new FN001002_DEP_microsoft_sp_lodash_subset({ packageVersion: '1.6.0' }),
new FN001003_DEP_microsoft_sp_office_ui_fabric_core({ packageVersion: '1.6.0' }),
new FN001004_DEP_microsoft_sp_webpart_base({ packageVersion: '1.6.0' }),
new FN001011_DEP_microsoft_sp_dialog({ packageVersion: '1.6.0' }),
new FN001012_DEP_microsoft_sp_application_base({ packageVersion: '1.6.0' }),
new FN001013_DEP_microsoft_decorators({ packageVersion: '1.6.0' }),
new FN001014_DEP_microsoft_sp_listview_extensibility({ packageVersion: '1.6.0' }),
new FN001023_DEP_microsoft_sp_component_base({ packageVersion: '1.6.0' }),
new FN001024_DEP_microsoft_sp_diagnostics({ packageVersion: '1.6.0' }),
new FN001025_DEP_microsoft_sp_dynamic_data({ packageVersion: '1.6.0' }),
new FN001026_DEP_microsoft_sp_extension_base({ packageVersion: '1.6.0' }),
new FN001027_DEP_microsoft_sp_http({ packageVersion: '1.6.0' }),
new FN001029_DEP_microsoft_sp_loader({ packageVersion: '1.6.0' }),
new FN001030_DEP_microsoft_sp_module_interfaces({ packageVersion: '1.6.0' }),
new FN001031_DEP_microsoft_sp_odata_types({ packageVersion: '1.6.0' }),
new FN001032_DEP_microsoft_sp_page_context({ packageVersion: '1.6.0' }),
new FN002001_DEVDEP_microsoft_sp_build_web({ packageVersion: '1.6.0' }),
new FN002002_DEVDEP_microsoft_sp_module_interfaces({ packageVersion: '1.6.0' }),
new FN002003_DEVDEP_microsoft_sp_webpart_workbench({ packageVersion: '1.6.0' }),
new FN002008_DEVDEP_tslint_microsoft_contrib({ packageVersion: '5.0.0' }),
new FN010001_YORC_version({ version: '1.6.0' }),
new FN012011_TSC_outDir({ outDir: 'lib' }),
new FN012012_TSC_include({
include: [
'src/**/*.ts'
]
}),
new FN012013_TSC_exclude({
exclude: [
'node_modules',
'lib'
]
}),
new FN015003_FILE_tslint_json({
add: true, contents: `{
"rulesDirectory": [
"tslint-microsoft-contrib"
],
"rules": {
"class-name": false,
"export-name": false,
"forin": false,
"label-position": false,
"member-access": true,
"no-arg": false,
"no-console": false,
"no-construct": false,
"no-duplicate-variable": true,
"no-eval": false,
"no-function-expression": true,
"no-internal-module": true,
"no-shadowed-variable": true,
"no-switch-case-fall-through": true,
"no-unnecessary-semicolons": true,
"no-unused-expression": true,
"no-use-before-declare": true,
"no-with-statement": true,
"semicolon": true,
"trailing-comma": false,
"typedef": false,
"typedef-whitespace": false,
"use-named-parameter": true,
"variable-name": false,
"whitespace": false
}
}`
}),
new FN015004_FILE_config_tslint_json({ add: false }),
new FN015005_FILE_src_index_ts({
add: true, contents: `// A file is required to be in the root of the /src directory by the TypeScript compiler
`
}),
new FN016001_TS_msgraphclient_packageName({ packageName: '@microsoft/sp-http' }),
new FN016002_TS_msgraphclient_instance(),
new FN016003_TS_aadhttpclient_instance()
];
//# sourceMappingURL=upgrade-1.6.0.js.map