Updated mocha and chai and cleaned up code for deployment.

This commit is contained in:
jonah 2021-12-30 11:03:34 -05:00
parent 72ede19734
commit b5dfbc0042
5 changed files with 1618 additions and 1622 deletions

View File

@ -2,5 +2,5 @@
"$schema": "https://developer.microsoft.com/json-schemas/core-build/serve.schema.json",
"port": 4321,
"https": true,
"initialPage": "https://expiredsmellthis.sharepoint.com/sites/socks/_layouts/workbench.aspx"
}
"initialPage": "https://enter-your-SharePoint-site/_layouts/workbench.aspx"
}

View File

@ -1,7 +1,5 @@
'use strict';
const gulp = require('gulp');
const build = require('@microsoft/sp-build-web');
build.addSuppression(`Warning - [sass] The local CSS class 'ms-Grid' is not camelCase and will not be type-safe.`);

View File

@ -5263,10 +5263,9 @@
}
},
"@types/chai": {
"version": "3.5.2",
"resolved": "https://registry.npmjs.org/@types/chai/-/chai-3.5.2.tgz",
"integrity": "sha1-wRzSgX06QBt7oPWkIPNcVhObHB4=",
"dev": true
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.0.tgz",
"integrity": "sha512-/ceqdqeRraGolFTcfoXNiqjyQhZzbINDngeoAq9GoHa8PPK1yNzTaxWjA6BFWp5Ua9JpXEMSS4s5i9tS0hOJtw=="
},
"@types/chalk": {
"version": "0.4.31",
@ -5373,10 +5372,9 @@
"dev": true
},
"@types/mocha": {
"version": "2.2.48",
"resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-2.2.48.tgz",
"integrity": "sha512-nlK/iyETgafGli8Zh9zJVCTicvU3iajSkRwOh3Hhiva598CMqNJ4NcVCGMTGKpGpTYj/9R8RLzS9NAykSSCqGw==",
"dev": true
"version": "9.0.0",
"resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.0.0.tgz",
"integrity": "sha512-scN0hAWyLVAvLR9AyW7HoFF5sJZglyBsbPuHO4fv7JRvfmPBMfp1ozWqOf/e4wwPNxezBZXRfWzMb6iFLgEVRA=="
},
"@types/node": {
"version": "10.17.13",

View File

@ -18,15 +18,15 @@
"@pnp/spfx-property-controls": "3.3.0"
},
"devDependencies": {
"@microsoft/rush-stack-compiler-3.7": "0.2.3",
"microsoft/rush-stack-compiler-3.7": "0.2.3",
"@microsoft/rush-stack-compiler-3.9": "0.4.47",
"@microsoft/sp-build-web": "1.13.0",
"@microsoft/sp-module-interfaces": "1.13.0",
"@microsoft/sp-tslint-rules": "1.13.0",
"@types/chai": "4.3.0",
"@types/mocha": "9.0.0",
"@types/webpack-env": "1.13.0",
"gulp": "4.0.2",
"@types/chai": ">=3.4.34 <3.6.0",
"@types/mocha": ">=2.2.33 <2.6.0",
"ajv": "~5.2.2"
"ajv": "~5.2.2",
"gulp": "4.0.2"
}
}
}