sp-js-provisioning 1.0.4 → 1.1.2
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.
- package/.husky/commit-msg +4 -0
- package/README.md +11 -31
- package/lib/handlers/clientsidepages.d.ts +13 -13
- package/lib/handlers/clientsidepages.js +77 -60
- package/lib/handlers/clientsidepages.js.map +1 -0
- package/lib/handlers/composedlook.d.ts +6 -6
- package/lib/handlers/composedlook.js +24 -17
- package/lib/handlers/composedlook.js.map +1 -0
- package/lib/handlers/contenttypes.d.ts +20 -20
- package/lib/handlers/contenttypes.js +77 -59
- package/lib/handlers/contenttypes.js.map +1 -0
- package/lib/handlers/customactions.d.ts +7 -7
- package/lib/handlers/customactions.js +24 -17
- package/lib/handlers/customactions.js.map +1 -0
- package/lib/handlers/exports.d.ts +3 -3
- package/lib/handlers/exports.js +15 -11
- package/lib/handlers/exports.js.map +1 -0
- package/lib/handlers/features.d.ts +7 -7
- package/lib/handlers/features.js +24 -22
- package/lib/handlers/features.js.map +1 -0
- package/lib/handlers/files.d.ts +44 -44
- package/lib/handlers/files.js +229 -159
- package/lib/handlers/files.js.map +1 -0
- package/lib/handlers/handlerbase.d.ts +21 -11
- package/lib/handlers/handlerbase.js +51 -16
- package/lib/handlers/handlerbase.js.map +1 -0
- package/lib/handlers/hooks.d.ts +22 -0
- package/lib/handlers/hooks.js +230 -0
- package/lib/handlers/hooks.js.map +1 -0
- package/lib/handlers/lists.d.ts +45 -45
- package/lib/handlers/lists.js +184 -150
- package/lib/handlers/lists.js.map +1 -0
- package/lib/handlers/navigation.d.ts +10 -10
- package/lib/handlers/navigation.js +40 -31
- package/lib/handlers/navigation.js.map +1 -0
- package/lib/handlers/propertybagentries.d.ts +7 -7
- package/lib/handlers/propertybagentries.js +30 -25
- package/lib/handlers/propertybagentries.js.map +1 -0
- package/lib/handlers/sitefields.d.ts +11 -11
- package/lib/handlers/sitefields.js +40 -29
- package/lib/handlers/sitefields.js.map +1 -0
- package/lib/handlers/websettings.d.ts +7 -7
- package/lib/handlers/websettings.js +36 -33
- package/lib/handlers/websettings.js.map +1 -0
- package/lib/index.d.ts +3 -3
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -0
- package/lib/provisioningconfig.d.ts +2 -2
- package/lib/provisioningconfig.js +2 -0
- package/lib/provisioningconfig.js.map +1 -0
- package/lib/provisioningcontext.d.ts +1 -5
- package/lib/provisioningcontext.js +2 -4
- package/lib/provisioningcontext.js.map +1 -0
- package/lib/schema.d.ts +18 -4
- package/lib/schema.js +2 -0
- package/lib/schema.js.map +1 -0
- package/lib/util/index.d.ts +3 -6
- package/lib/util/index.js +20 -29
- package/lib/util/index.js.map +1 -0
- package/lib/util/tokenhelper.d.ts +3 -3
- package/lib/util/tokenhelper.js +30 -29
- package/lib/util/tokenhelper.js.map +1 -0
- package/lib/webprovisioner.d.ts +16 -16
- package/lib/webprovisioner.js +42 -29
- package/lib/webprovisioner.js.map +1 -0
- package/package.json +118 -36
- package/sample-schemas/all-simple.ts +85 -76
- package/AUTHORS +0 -3
- package/LICENSE +0 -25
- package/debug/debug.ts +0 -68
- package/debug/example.ts +0 -42
- package/gulptasks/@configuration.js +0 -58
- package/gulptasks/build.js +0 -84
- package/gulptasks/clean.js +0 -23
- package/gulptasks/docs.js +0 -11
- package/gulptasks/index.js +0 -8
- package/gulptasks/lint.js +0 -18
- package/gulptasks/package.js +0 -44
- package/gulptasks/publish.js +0 -232
- package/gulptasks/test.js +0 -40
- package/gulptasks/watch.js +0 -15
- package/jsdoc.json +0 -26
- package/pnpm-lock.yaml +0 -6582
- package/shrinkwrap.yaml +0 -6513
- package/webpack.config.js +0 -58
package/webpack.config.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
var path = require("path"),
|
|
2
|
-
webpack = require('webpack'),
|
|
3
|
-
config = require('./gulptasks/@configuration.js');
|
|
4
|
-
|
|
5
|
-
module.exports = [{
|
|
6
|
-
// core file + sourcemap -> dist
|
|
7
|
-
cache: true,
|
|
8
|
-
entry: './lib/webprovisioner.js',
|
|
9
|
-
output: {
|
|
10
|
-
path: path.join(__dirname, "dist"),
|
|
11
|
-
publicPath: "/assets/",
|
|
12
|
-
filename: "pnp-provisioning.js",
|
|
13
|
-
libraryTarget: "umd",
|
|
14
|
-
library: "$pnp"
|
|
15
|
-
},
|
|
16
|
-
devtool: "source-map",
|
|
17
|
-
resolve: {
|
|
18
|
-
extensions: ['.js']
|
|
19
|
-
},
|
|
20
|
-
plugins: [
|
|
21
|
-
new webpack.BannerPlugin(config.header)
|
|
22
|
-
],
|
|
23
|
-
module: {
|
|
24
|
-
loaders: [
|
|
25
|
-
{ test: /\.js$/, loader: 'babel-loader?presets[]=es2015' }
|
|
26
|
-
]
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
// minified core file + sourcemap -> dist
|
|
31
|
-
cache: true,
|
|
32
|
-
entry: './lib/webprovisioner.js',
|
|
33
|
-
output: {
|
|
34
|
-
path: path.join(__dirname, "dist"),
|
|
35
|
-
publicPath: "/assets/",
|
|
36
|
-
filename: "pnp-provisioning.min.js",
|
|
37
|
-
libraryTarget: "umd",
|
|
38
|
-
library: "$pnp"
|
|
39
|
-
},
|
|
40
|
-
devtool: "source-map",
|
|
41
|
-
resolve: {
|
|
42
|
-
extensions: ['.js']
|
|
43
|
-
},
|
|
44
|
-
plugins: [
|
|
45
|
-
new webpack.BannerPlugin(config.header),
|
|
46
|
-
new webpack.DefinePlugin({
|
|
47
|
-
"process.env": {
|
|
48
|
-
"NODE_ENV": JSON.stringify("production")
|
|
49
|
-
}
|
|
50
|
-
}),
|
|
51
|
-
new webpack.optimize.UglifyJsPlugin()
|
|
52
|
-
],
|
|
53
|
-
module: {
|
|
54
|
-
loaders: [
|
|
55
|
-
{ test: /\.js$/, loader: 'babel-loader?presets[]=es2015' },
|
|
56
|
-
]
|
|
57
|
-
}
|
|
58
|
-
}];
|