@backstage/cli 0.27.1-next.0 → 0.27.1-next.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/CHANGELOG.md +49 -0
- package/config/eslint-factory.js +1 -1
- package/config/webpack-public-path.js +31 -0
- package/dist/cjs/{build-ChLcykM1.cjs.js → build-4xYS_mRN.cjs.js} +9 -8
- package/dist/cjs/{buildBackend-DzZYYfO1.cjs.js → buildBackend-tihc2jXI.cjs.js} +9 -7
- package/dist/cjs/{buildWorkspace-DD4QzXn4.cjs.js → buildWorkspace-DzGmnLIA.cjs.js} +4 -4
- package/dist/cjs/{bump-B5fxAudm.cjs.js → bump-D7bCh9so.cjs.js} +76 -10
- package/dist/cjs/{clean-BU9OsKlW.cjs.js → clean-CC3Mt_l3.cjs.js} +2 -2
- package/dist/cjs/{clean-DXgG69r8.cjs.js → clean-o78W1uJm.cjs.js} +2 -2
- package/dist/cjs/{codeowners-x_Vt0wQ-.cjs.js → codeowners-DOH0XAJ6.cjs.js} +2 -2
- package/dist/cjs/{config-DJOC2BlP.cjs.js → config-l0OM68oC.cjs.js} +2 -2
- package/dist/cjs/{createDistWorkspace-CT76xlxt.cjs.js → createDistWorkspace-BKOuT4y9.cjs.js} +27 -16
- package/dist/cjs/{createPlugin-DCOzzo5n.cjs.js → createPlugin-BjaWNEr7.cjs.js} +5 -5
- package/dist/cjs/{diff-D2BPB0gv.cjs.js → diff-qR_Krjfe.cjs.js} +2 -2
- package/dist/cjs/{docs-B_8EDQ_c.cjs.js → docs-SFsAHMuR.cjs.js} +3 -3
- package/dist/cjs/{fix-BdZes_3T.cjs.js → fix-CO-_RT-P.cjs.js} +2 -2
- package/dist/cjs/{index-BZ-8mNJM.cjs.js → index-BCv17c0S.cjs.js} +6 -6
- package/dist/cjs/{index-CaRaVAJ5.cjs.js → index-DM0DxIJs.cjs.js} +4 -4
- package/dist/cjs/{index-gm9wYr7k.cjs.js → index-DMR3AyQl.cjs.js} +10 -9
- package/dist/cjs/{index-yhdbch-w.cjs.js → index-DjaukhiC.cjs.js} +2 -2
- package/dist/cjs/{index-rl-LeFYA.cjs.js → index-DnKsJMXl.cjs.js} +54 -53
- package/dist/cjs/{info-CD2fk-al.cjs.js → info-qvh6nVXW.cjs.js} +3 -3
- package/dist/cjs/{install-DfV8a_vk.cjs.js → install-B40PDdfZ.cjs.js} +4 -4
- package/dist/cjs/{lint-CRXksKyo.cjs.js → lint-Bi9nq5Vm.cjs.js} +2 -2
- package/dist/cjs/{lint-qAGboutr.cjs.js → lint-CYb5eR4F.cjs.js} +2 -2
- package/dist/cjs/{list-deprecations-BfTESmta.cjs.js → list-deprecations-BNbOuUo4.cjs.js} +3 -3
- package/dist/cjs/{moduleFederation-AaxHb7e1.cjs.js → moduleFederation-BHgfCDl2.cjs.js} +21 -4
- package/dist/cjs/{new-DZSxUTTU.cjs.js → new-Dhd6Pd1w.cjs.js} +23 -8
- package/dist/cjs/{pack-BINSE9Db.cjs.js → pack-JD01KVjk.cjs.js} +2 -2
- package/dist/cjs/{packageExports-DKi1z-fj.cjs.js → packageExports-B5-mokCQ.cjs.js} +3 -3
- package/dist/cjs/{packageLintConfigs-C9Xzr2K-.cjs.js → packageLintConfigs-4_zdCGPD.cjs.js} +3 -3
- package/dist/cjs/{packageRole-CchDZ2AI.cjs.js → packageRole-C_9jXdSu.cjs.js} +2 -2
- package/dist/cjs/{packages-BMSi5uVS.cjs.js → packages-DAN7bURf.cjs.js} +3 -3
- package/dist/cjs/{print-D0IN16FI.cjs.js → print-B5DqDsG6.cjs.js} +3 -3
- package/dist/cjs/{role-j2UobqJV.cjs.js → role-AqzuEJaH.cjs.js} +2 -2
- package/dist/cjs/{run-Cm7cq-Vq.cjs.js → run-TuUxKRac.cjs.js} +2 -2
- package/dist/cjs/{schema-0pwKtzLP.cjs.js → schema-BQdbH61z.cjs.js} +3 -3
- package/dist/cjs/{tasks-BMEPVeg-.cjs.js → tasks-knkf4kMY.cjs.js} +2 -2
- package/dist/cjs/{test-BvaUKHiQ.cjs.js → test-C7TgF1oU.cjs.js} +3 -3
- package/dist/cjs/{test-DZ3j97ZS.cjs.js → test-DHxhB9qW.cjs.js} +3 -3
- package/dist/cjs/{validate-B5QfjIDs.cjs.js → validate-DNEzV9o_.cjs.js} +3 -3
- package/dist/index.cjs.js +1 -1
- package/package.json +23 -22
- package/templates/default-backend-module/package.json.hbs +0 -1
- package/templates/default-backend-plugin/package.json.hbs +0 -1
- package/templates/scaffolder-module/package.json.hbs +0 -1
- package/templates/scaffolder-module/src/actions/example/example.test.ts +2 -4
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var inquirer = require('inquirer');
|
|
5
|
-
var tasks = require('./tasks-
|
|
5
|
+
var tasks = require('./tasks-knkf4kMY.cjs.js');
|
|
6
6
|
var oauthApp = require('@octokit/oauth-app');
|
|
7
7
|
var fs = require('fs-extra');
|
|
8
8
|
var yaml = require('yaml');
|
|
9
9
|
var cliCommon = require('@backstage/cli-common');
|
|
10
10
|
var path = require('path');
|
|
11
11
|
var differ = require('diff');
|
|
12
|
-
var config = require('./config-
|
|
12
|
+
var config = require('./config-l0OM68oC.cjs.js');
|
|
13
13
|
var catalogModel = require('@backstage/catalog-model');
|
|
14
14
|
var z = require('zod');
|
|
15
15
|
var integration = require('@backstage/integration');
|
|
@@ -22,7 +22,7 @@ require('util');
|
|
|
22
22
|
require('recursive-readdir');
|
|
23
23
|
require('child_process');
|
|
24
24
|
require('@backstage/errors');
|
|
25
|
-
require('./index-
|
|
25
|
+
require('./index-DnKsJMXl.cjs.js');
|
|
26
26
|
require('commander');
|
|
27
27
|
require('semver');
|
|
28
28
|
require('@backstage/config-loader');
|
|
@@ -1024,4 +1024,4 @@ async function command() {
|
|
|
1024
1024
|
}
|
|
1025
1025
|
|
|
1026
1026
|
exports.command = command;
|
|
1027
|
-
//# sourceMappingURL=index-
|
|
1027
|
+
//# sourceMappingURL=index-DM0DxIJs.cjs.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var createDistWorkspace = require('./createDistWorkspace-
|
|
4
|
-
var role = require('./role-
|
|
3
|
+
var createDistWorkspace = require('./createDistWorkspace-BKOuT4y9.cjs.js');
|
|
4
|
+
var role = require('./role-AqzuEJaH.cjs.js');
|
|
5
5
|
var cliNode = require('@backstage/cli-node');
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var buildBackend = require('./buildBackend-
|
|
6
|
+
var index = require('./index-DnKsJMXl.cjs.js');
|
|
7
|
+
var buildBackend = require('./buildBackend-tihc2jXI.cjs.js');
|
|
8
8
|
var chalk = require('chalk');
|
|
9
9
|
require('fs-extra');
|
|
10
10
|
require('path');
|
|
@@ -12,7 +12,7 @@ require('p-limit');
|
|
|
12
12
|
require('os');
|
|
13
13
|
require('tar');
|
|
14
14
|
require('lodash/partition');
|
|
15
|
-
require('./run-
|
|
15
|
+
require('./run-TuUxKRac.cjs.js');
|
|
16
16
|
require('child_process');
|
|
17
17
|
require('util');
|
|
18
18
|
require('@backstage/errors');
|
|
@@ -45,7 +45,7 @@ require('run-script-webpack-plugin');
|
|
|
45
45
|
require('@pmmmwh/react-refresh-webpack-plugin');
|
|
46
46
|
require('@manypkg/get-packages');
|
|
47
47
|
require('webpack-node-externals');
|
|
48
|
-
require('./moduleFederation-
|
|
48
|
+
require('./moduleFederation-BHgfCDl2.cjs.js');
|
|
49
49
|
require('lodash/pickBy');
|
|
50
50
|
require('mini-css-extract-plugin');
|
|
51
51
|
require('yn');
|
|
@@ -56,7 +56,7 @@ require('react-dev-utils/FileSizeReporter');
|
|
|
56
56
|
require('react-dev-utils/formatWebpackMessages');
|
|
57
57
|
require('react-dev-utils/openBrowser');
|
|
58
58
|
require('webpack-dev-server');
|
|
59
|
-
require('./config-
|
|
59
|
+
require('./config-l0OM68oC.cjs.js');
|
|
60
60
|
require('@backstage/config-loader');
|
|
61
61
|
|
|
62
62
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -121,9 +121,10 @@ async function command(opts) {
|
|
|
121
121
|
}
|
|
122
122
|
return createDistWorkspace.buildPackage({
|
|
123
123
|
outputs,
|
|
124
|
-
minify: Boolean(opts.minify)
|
|
124
|
+
minify: Boolean(opts.minify),
|
|
125
|
+
workspacePackages: await cliNode.PackageGraph.listTargetPackages()
|
|
125
126
|
});
|
|
126
127
|
}
|
|
127
128
|
|
|
128
129
|
exports.command = command;
|
|
129
|
-
//# sourceMappingURL=index-
|
|
130
|
+
//# sourceMappingURL=index-DMR3AyQl.cjs.js.map
|
|
@@ -4,7 +4,7 @@ var fs = require('fs-extra');
|
|
|
4
4
|
var chalk = require('chalk');
|
|
5
5
|
var yaml = require('yaml');
|
|
6
6
|
var inquirer = require('inquirer');
|
|
7
|
-
var index$1 = require('./index-
|
|
7
|
+
var index$1 = require('./index-DnKsJMXl.cjs.js');
|
|
8
8
|
var crypto = require('crypto');
|
|
9
9
|
var openBrowser = require('react-dev-utils/openBrowser');
|
|
10
10
|
var request = require('@octokit/request');
|
|
@@ -230,4 +230,4 @@ async function verifyGithubOrg(org) {
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
exports.default = index;
|
|
233
|
-
//# sourceMappingURL=index-
|
|
233
|
+
//# sourceMappingURL=index-DjaukhiC.cjs.js.map
|
|
@@ -47,13 +47,13 @@ class NotFoundError extends CustomError {
|
|
|
47
47
|
|
|
48
48
|
const paths = cliCommon.findPaths(__dirname);
|
|
49
49
|
|
|
50
|
-
var version$f = "0.25.0-next.
|
|
50
|
+
var version$f = "0.25.0-next.2";
|
|
51
51
|
|
|
52
|
-
var version$e = "0.
|
|
52
|
+
var version$e = "1.0.0-next.2";
|
|
53
53
|
|
|
54
|
-
var version$d = "0.
|
|
54
|
+
var version$d = "1.0.0-next.2";
|
|
55
55
|
|
|
56
|
-
var version$c = "0.27.1-next.
|
|
56
|
+
var version$c = "0.27.1-next.2";
|
|
57
57
|
var dependencies = {
|
|
58
58
|
"@backstage/catalog-model": "workspace:^",
|
|
59
59
|
"@backstage/cli-common": "workspace:^",
|
|
@@ -66,7 +66,7 @@ var dependencies = {
|
|
|
66
66
|
"@backstage/release-manifests": "workspace:^",
|
|
67
67
|
"@backstage/types": "workspace:^",
|
|
68
68
|
"@manypkg/get-packages": "^1.1.3",
|
|
69
|
-
"@module-federation/enhanced": "^0.
|
|
69
|
+
"@module-federation/enhanced": "^0.6.0",
|
|
70
70
|
"@octokit/graphql": "^5.0.0",
|
|
71
71
|
"@octokit/graphql-schema": "^13.7.0",
|
|
72
72
|
"@octokit/oauth-app": "^4.2.0",
|
|
@@ -104,7 +104,7 @@ var dependencies = {
|
|
|
104
104
|
"css-loader": "^6.5.1",
|
|
105
105
|
"ctrlc-windows": "^2.1.0",
|
|
106
106
|
diff: "^5.0.0",
|
|
107
|
-
esbuild: "^0.
|
|
107
|
+
esbuild: "^0.23.0",
|
|
108
108
|
"esbuild-loader": "^4.0.0",
|
|
109
109
|
eslint: "^8.6.0",
|
|
110
110
|
"eslint-config-prettier": "^9.0.0",
|
|
@@ -143,6 +143,7 @@ var dependencies = {
|
|
|
143
143
|
pirates: "^4.0.6",
|
|
144
144
|
postcss: "^8.1.0",
|
|
145
145
|
process: "^0.11.10",
|
|
146
|
+
"raw-loader": "^4.0.2",
|
|
146
147
|
"react-dev-utils": "^12.0.0-next.60",
|
|
147
148
|
"react-refresh": "^0.14.0",
|
|
148
149
|
"recursive-readdir": "^2.2.2",
|
|
@@ -195,36 +196,36 @@ var devDependencies = {
|
|
|
195
196
|
"@types/tar": "^6.1.1",
|
|
196
197
|
"@types/terser-webpack-plugin": "^5.0.4",
|
|
197
198
|
"@types/yarnpkg__lockfile": "^1.1.4",
|
|
198
|
-
"@vitejs/plugin-react": "^4.
|
|
199
|
+
"@vitejs/plugin-react": "^4.3.1",
|
|
199
200
|
del: "^7.0.0",
|
|
200
201
|
msw: "^1.0.0",
|
|
201
202
|
nodemon: "^3.0.1",
|
|
202
|
-
vite: "^
|
|
203
|
-
"vite-plugin-html": "^3.2.
|
|
203
|
+
vite: "^5.0.0",
|
|
204
|
+
"vite-plugin-html": "^3.2.2",
|
|
204
205
|
"vite-plugin-node-polyfills": "^0.22.0"
|
|
205
206
|
};
|
|
206
207
|
|
|
207
208
|
var version$b = "1.2.0";
|
|
208
209
|
|
|
209
|
-
var version$a = "1.14.
|
|
210
|
+
var version$a = "1.14.3-next.0";
|
|
210
211
|
|
|
211
|
-
var version$9 = "0.14.
|
|
212
|
+
var version$9 = "0.14.11-next.1";
|
|
212
213
|
|
|
213
|
-
var version$8 = "1.9.
|
|
214
|
+
var version$8 = "1.9.4-next.0";
|
|
214
215
|
|
|
215
|
-
var version$7 = "1.0
|
|
216
|
+
var version$7 = "1.1.0-next.2";
|
|
216
217
|
|
|
217
|
-
var version$6 = "1.6.0-next.
|
|
218
|
+
var version$6 = "1.6.0-next.1";
|
|
218
219
|
|
|
219
|
-
var version$5 = "0.4.11-next.
|
|
220
|
+
var version$5 = "0.4.11-next.2";
|
|
220
221
|
|
|
221
|
-
var version$4 = "0.23.0-next.
|
|
222
|
+
var version$4 = "0.23.0-next.2";
|
|
222
223
|
|
|
223
|
-
var version$3 = "0.2.0-next.
|
|
224
|
+
var version$3 = "0.2.0-next.2";
|
|
224
225
|
|
|
225
|
-
var version$2 = "0.5.
|
|
226
|
+
var version$2 = "0.5.7-next.0";
|
|
226
227
|
|
|
227
|
-
var version$1 = "0.5.0-next.
|
|
228
|
+
var version$1 = "0.5.0-next.2";
|
|
228
229
|
|
|
229
230
|
const packageVersions = {
|
|
230
231
|
"@backstage/backend-common": version$f,
|
|
@@ -290,7 +291,7 @@ const configOption = [
|
|
|
290
291
|
Array()
|
|
291
292
|
];
|
|
292
293
|
function registerOnboardCommand(program) {
|
|
293
|
-
program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
294
|
+
program.command("onboard", { hidden: true }).description("Get help setting up your Backstage App.").action(lazy(() => Promise.resolve().then(function () { return require('./index-DM0DxIJs.cjs.js'); }).then((m) => m.command)));
|
|
294
295
|
}
|
|
295
296
|
function registerRepoCommand(program) {
|
|
296
297
|
const command = program.command("repo [command]").description("Command that run across an entire Backstage project");
|
|
@@ -302,7 +303,7 @@ function registerRepoCommand(program) {
|
|
|
302
303
|
).option(
|
|
303
304
|
"--since <ref>",
|
|
304
305
|
"Only build packages and their dev dependents that changed since the specified ref"
|
|
305
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./build-
|
|
306
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./build-4xYS_mRN.cjs.js'); }).then((m) => m.command)));
|
|
306
307
|
command.command("lint").description("Lint all packages in the project").option(
|
|
307
308
|
"--format <format>",
|
|
308
309
|
"Lint report output format",
|
|
@@ -310,17 +311,17 @@ function registerRepoCommand(program) {
|
|
|
310
311
|
).option(
|
|
311
312
|
"--since <ref>",
|
|
312
313
|
"Only lint packages that changed since the specified ref"
|
|
313
|
-
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
314
|
+
).option("--fix", "Attempt to automatically fix violations").action(lazy(() => Promise.resolve().then(function () { return require('./lint-Bi9nq5Vm.cjs.js'); }).then((m) => m.command)));
|
|
314
315
|
command.command("fix").description("Automatically fix packages in the project").option(
|
|
315
316
|
"--publish",
|
|
316
317
|
"Enable additional fixes that only apply when publishing packages"
|
|
317
318
|
).option(
|
|
318
319
|
"--check",
|
|
319
320
|
"Fail if any packages would have been changed by the command"
|
|
320
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./fix-
|
|
321
|
-
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
321
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./fix-CO-_RT-P.cjs.js'); }).then((m) => m.command)));
|
|
322
|
+
command.command("clean").description("Delete cache and output directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-CC3Mt_l3.cjs.js'); }).then((m) => m.command)));
|
|
322
323
|
command.command("list-deprecations").description("List deprecations").option("--json", "Output as JSON").action(
|
|
323
|
-
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-
|
|
324
|
+
lazy(() => Promise.resolve().then(function () { return require('./list-deprecations-BNbOuUo4.cjs.js'); }).then((m) => m.command))
|
|
324
325
|
);
|
|
325
326
|
command.command("test").allowUnknownOption(true).option(
|
|
326
327
|
"--since <ref>",
|
|
@@ -328,14 +329,14 @@ function registerRepoCommand(program) {
|
|
|
328
329
|
).option(
|
|
329
330
|
"--jest-help",
|
|
330
331
|
"Show help for Jest CLI options, which are passed through"
|
|
331
|
-
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
332
|
+
).description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-C7TgF1oU.cjs.js'); }).then((m) => m.command)));
|
|
332
333
|
}
|
|
333
334
|
function registerScriptCommand(program) {
|
|
334
335
|
const command = program.command("package [command]").description("Lifecycle scripts for individual packages");
|
|
335
336
|
command.command("start").description("Start a package for local development").option(...configOption).option("--role <name>", "Run the command with an explicit package role").option("--check", "Enable type checking and linting if available").option("--inspect [host]", "Enable debugger in Node.js environments").option(
|
|
336
337
|
"--inspect-brk [host]",
|
|
337
338
|
"Enable debugger in Node.js environments, breaking before code starts"
|
|
338
|
-
).option("--require <path>", "Add a --require argument to the node process").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
339
|
+
).option("--require <path>", "Add a --require argument to the node process").action(lazy(() => Promise.resolve().then(function () { return require('./index-BCv17c0S.cjs.js'); }).then((m) => m.command)));
|
|
339
340
|
command.command("build").description("Build a package for production deployment or publishing").option("--role <name>", "Run the command with an explicit package role").option(
|
|
340
341
|
"--minify",
|
|
341
342
|
"Minify the generated code. Does not apply to app package (app is minified by default)."
|
|
@@ -350,30 +351,30 @@ function registerScriptCommand(program) {
|
|
|
350
351
|
"Config files to load instead of app-config.yaml. Applies to app packages only.",
|
|
351
352
|
(opt, opts) => opts ? [...opts, opt] : [opt],
|
|
352
353
|
Array()
|
|
353
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
354
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./index-DMR3AyQl.cjs.js'); }).then((m) => m.command)));
|
|
354
355
|
command.command("lint [directories...]").option(
|
|
355
356
|
"--format <format>",
|
|
356
357
|
"Lint report output format",
|
|
357
358
|
"eslint-formatter-friendly"
|
|
358
|
-
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-
|
|
359
|
-
command.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
360
|
-
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
361
|
-
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
362
|
-
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-
|
|
359
|
+
).option("--fix", "Attempt to automatically fix violations").description("Lint a package").action(lazy(() => Promise.resolve().then(function () { return require('./lint-CYb5eR4F.cjs.js'); }).then((m) => m.default)));
|
|
360
|
+
command.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description("Run tests, forwarding args to Jest, defaulting to watch mode").action(lazy(() => Promise.resolve().then(function () { return require('./test-DHxhB9qW.cjs.js'); }).then((m) => m.default)));
|
|
361
|
+
command.command("clean").description("Delete cache directories").action(lazy(() => Promise.resolve().then(function () { return require('./clean-o78W1uJm.cjs.js'); }).then((m) => m.default)));
|
|
362
|
+
command.command("prepack").description("Prepares a package for packaging before publishing").action(lazy(() => Promise.resolve().then(function () { return require('./pack-JD01KVjk.cjs.js'); }).then((m) => m.pre)));
|
|
363
|
+
command.command("postpack").description("Restores the changes made by the prepack command").action(lazy(() => Promise.resolve().then(function () { return require('./pack-JD01KVjk.cjs.js'); }).then((m) => m.post)));
|
|
363
364
|
}
|
|
364
365
|
function registerMigrateCommand(program) {
|
|
365
366
|
const command = program.command("migrate [command]").description("Migration utilities");
|
|
366
|
-
command.command("package-roles").description(`Add package role field to packages that don't have it`).action(lazy(() => Promise.resolve().then(function () { return require('./packageRole-
|
|
367
|
+
command.command("package-roles").description(`Add package role field to packages that don't have it`).action(lazy(() => Promise.resolve().then(function () { return require('./packageRole-C_9jXdSu.cjs.js'); }).then((m) => m.default)));
|
|
367
368
|
command.command("package-scripts").description("Set package scripts according to each package role").action(
|
|
368
369
|
lazy(() => Promise.resolve().then(function () { return require('./packageScripts-DX6dilK6.cjs.js'); }).then((m) => m.command))
|
|
369
370
|
);
|
|
370
371
|
command.command("package-exports").description("Synchronize package subpath export definitions").action(
|
|
371
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageExports-
|
|
372
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageExports-B5-mokCQ.cjs.js'); }).then((m) => m.command))
|
|
372
373
|
);
|
|
373
374
|
command.command("package-lint-configs").description(
|
|
374
375
|
"Migrates all packages to use @backstage/cli/config/eslint-factory"
|
|
375
376
|
).action(
|
|
376
|
-
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-
|
|
377
|
+
lazy(() => Promise.resolve().then(function () { return require('./packageLintConfigs-4_zdCGPD.cjs.js'); }).then((m) => m.command))
|
|
377
378
|
);
|
|
378
379
|
command.command("react-router-deps").description(
|
|
379
380
|
"Migrates the react-router dependencies for all packages to be peer dependencies"
|
|
@@ -401,7 +402,7 @@ function registerCommands(program) {
|
|
|
401
402
|
).option(
|
|
402
403
|
"--license <license>",
|
|
403
404
|
"The license to use for any new packages (default: Apache-2.0)"
|
|
404
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
405
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-Dhd6Pd1w.cjs.js'); }).then((m) => m.default)));
|
|
405
406
|
program.command("create", { hidden: true }).storeOptionsAsProperties(false).description(
|
|
406
407
|
"Open up an interactive guide to creating new things in your app [DEPRECATED]"
|
|
407
408
|
).option(
|
|
@@ -415,30 +416,30 @@ function registerCommands(program) {
|
|
|
415
416
|
).option("--scope <scope>", "The scope to use for new packages").option(
|
|
416
417
|
"--npm-registry <URL>",
|
|
417
418
|
"The package registry to use for new packages"
|
|
418
|
-
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-
|
|
419
|
+
).option("--no-private", "Do not mark new packages as private").action(lazy(() => Promise.resolve().then(function () { return require('./new-Dhd6Pd1w.cjs.js'); }).then((m) => m.default)));
|
|
419
420
|
program.command("create-plugin", { hidden: true }).option(
|
|
420
421
|
"--backend",
|
|
421
422
|
"Create plugin with the backend dependencies as default"
|
|
422
423
|
).description("Creates a new plugin in the current repository [DEPRECATED]").option("--scope <scope>", "npm scope").option("--npm-registry <URL>", "npm registry URL").option("--no-private", "Public npm package").action(
|
|
423
|
-
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-
|
|
424
|
+
lazy(() => Promise.resolve().then(function () { return require('./createPlugin-BjaWNEr7.cjs.js'); }).then((m) => m.default))
|
|
424
425
|
);
|
|
425
426
|
program.command("plugin:diff", { hidden: true }).option("--check", "Fail if changes are required").option("--yes", "Apply all changes").description(
|
|
426
427
|
"Diff an existing plugin with the creation template [DEPRECATED]"
|
|
427
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-
|
|
428
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./diff-qR_Krjfe.cjs.js'); }).then((m) => m.default)));
|
|
428
429
|
program.command("test").allowUnknownOption(true).helpOption(", --backstage-cli-help").description(
|
|
429
430
|
"Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]"
|
|
430
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./test-
|
|
431
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./test-DHxhB9qW.cjs.js'); }).then((m) => m.default)));
|
|
431
432
|
program.command("config:docs").option(
|
|
432
433
|
"--package <name>",
|
|
433
434
|
"Only include the schema that applies to the given package"
|
|
434
|
-
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-
|
|
435
|
+
).description("Browse the configuration reference documentation").action(lazy(() => Promise.resolve().then(function () { return require('./docs-SFsAHMuR.cjs.js'); }).then((m) => m.default)));
|
|
435
436
|
program.command("config:print").option(
|
|
436
437
|
"--package <name>",
|
|
437
438
|
"Only load config schema that applies to the given package"
|
|
438
439
|
).option("--lax", "Do not require environment variables to be set").option("--frontend", "Print only the frontend configuration").option("--with-secrets", "Include secrets in the printed configuration").option(
|
|
439
440
|
"--format <format>",
|
|
440
441
|
"Format to print the configuration in, either json or yaml [yaml]"
|
|
441
|
-
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-
|
|
442
|
+
).option(...configOption).description("Print the app configuration for the current package").action(lazy(() => Promise.resolve().then(function () { return require('./print-B5DqDsG6.cjs.js'); }).then((m) => m.default)));
|
|
442
443
|
program.command("config:check").option(
|
|
443
444
|
"--package <name>",
|
|
444
445
|
"Only load config schema that applies to the given package"
|
|
@@ -447,14 +448,14 @@ function registerCommands(program) {
|
|
|
447
448
|
"Enable strict config validation, forbidding errors and unknown keys"
|
|
448
449
|
).option(...configOption).description(
|
|
449
450
|
"Validate that the given configuration loads and matches schema"
|
|
450
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-
|
|
451
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./validate-DNEzV9o_.cjs.js'); }).then((m) => m.default)));
|
|
451
452
|
program.command("config:schema").option(
|
|
452
453
|
"--package <name>",
|
|
453
454
|
"Only output config schema that applies to the given package"
|
|
454
455
|
).option(
|
|
455
456
|
"--format <format>",
|
|
456
457
|
"Format to print the schema in, either json or yaml [yaml]"
|
|
457
|
-
).option("--merge", "Print the config schemas merged", true).option("--no-merge", "Print the config schemas not merged").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-
|
|
458
|
+
).option("--merge", "Print the config schemas merged", true).option("--no-merge", "Print the config schemas not merged").description("Print configuration schema").action(lazy(() => Promise.resolve().then(function () { return require('./schema-BQdbH61z.cjs.js'); }).then((m) => m.default)));
|
|
458
459
|
registerRepoCommand(program);
|
|
459
460
|
registerScriptCommand(program);
|
|
460
461
|
registerMigrateCommand(program);
|
|
@@ -466,7 +467,7 @@ function registerCommands(program) {
|
|
|
466
467
|
"--release <version|next|main>",
|
|
467
468
|
"Bump to a specific Backstage release line or version",
|
|
468
469
|
"main"
|
|
469
|
-
).option("--skip-install", "Skips yarn install step").option("--skip-migrate", "Skips migration of any moved packages").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
470
|
+
).option("--skip-install", "Skips yarn install step").option("--skip-migrate", "Skips migration of any moved packages").description("Bump Backstage packages to the latest versions").action(lazy(() => Promise.resolve().then(function () { return require('./bump-D7bCh9so.cjs.js'); }).then(function (n) { return n.bump; }).then((m) => m.default)));
|
|
470
471
|
program.command("versions:check", { hidden: true }).option("--fix", "Fix any auto-fixable versioning problems").description("Check Backstage package versioning").action(lazy(() => Promise.resolve().then(function () { return require('./lint-Dkx_fBkS.cjs.js'); }).then((m) => m.default)));
|
|
471
472
|
program.command("versions:migrate").option(
|
|
472
473
|
"--pattern <glob>",
|
|
@@ -476,18 +477,18 @@ function registerCommands(program) {
|
|
|
476
477
|
"Skip code changes and only update package.json files"
|
|
477
478
|
).description(
|
|
478
479
|
"Migrate any plugins that have been moved to the @backstage-community namespace automatically"
|
|
479
|
-
).action(lazy(() => Promise.resolve().then(function () { return require('./bump-
|
|
480
|
-
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-
|
|
480
|
+
).action(lazy(() => Promise.resolve().then(function () { return require('./bump-D7bCh9so.cjs.js'); }).then(function (n) { return n.migrate; }).then((m) => m.default)));
|
|
481
|
+
program.command("clean").description("Delete cache directories [DEPRECATED]").action(lazy(() => Promise.resolve().then(function () { return require('./clean-o78W1uJm.cjs.js'); }).then((m) => m.default)));
|
|
481
482
|
program.command("build-workspace <workspace-dir> [packages...]").option(
|
|
482
483
|
"--alwaysYarnPack",
|
|
483
484
|
"Force workspace output to be a result of running `yarn pack` on each package (warning: very slow)"
|
|
484
|
-
).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-
|
|
485
|
-
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-
|
|
486
|
-
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-
|
|
485
|
+
).description("Builds a temporary dist workspace from the provided packages").action(lazy(() => Promise.resolve().then(function () { return require('./buildWorkspace-DzGmnLIA.cjs.js'); }).then((m) => m.default)));
|
|
486
|
+
program.command("create-github-app <github-org>").description("Create new GitHub App in your organization.").action(lazy(() => Promise.resolve().then(function () { return require('./index-DjaukhiC.cjs.js'); }).then((m) => m.default)));
|
|
487
|
+
program.command("info").description("Show helpful information for debugging and reporting bugs").action(lazy(() => Promise.resolve().then(function () { return require('./info-qvh6nVXW.cjs.js'); }).then((m) => m.default)));
|
|
487
488
|
program.command("install [plugin-id]", { hidden: true }).option(
|
|
488
489
|
"--from <packageJsonFilePath>",
|
|
489
490
|
"Install from a local package.json containing the installation recipe"
|
|
490
|
-
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-
|
|
491
|
+
).description("Install a Backstage plugin [EXPERIMENTAL]").action(lazy(() => Promise.resolve().then(function () { return require('./install-B40PDdfZ.cjs.js'); }).then((m) => m.default)));
|
|
491
492
|
}
|
|
492
493
|
function lazy(getActionFunc) {
|
|
493
494
|
return async (...args) => {
|
|
@@ -531,4 +532,4 @@ exports.devDependencies = devDependencies;
|
|
|
531
532
|
exports.paths = paths;
|
|
532
533
|
exports.version = version;
|
|
533
534
|
exports.version$1 = version$c;
|
|
534
|
-
//# sourceMappingURL=index-
|
|
535
|
+
//# sourceMappingURL=index-DnKsJMXl.cjs.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DnKsJMXl.cjs.js');
|
|
4
4
|
var os = require('os');
|
|
5
|
-
var run = require('./run-
|
|
5
|
+
var run = require('./run-TuUxKRac.cjs.js');
|
|
6
6
|
var Lockfile = require('./Lockfile-B4mqBkH6.cjs.js');
|
|
7
7
|
require('minimatch');
|
|
8
8
|
require('@manypkg/get-packages');
|
|
@@ -57,4 +57,4 @@ var info = async () => {
|
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
exports.default = info;
|
|
60
|
-
//# sourceMappingURL=info-
|
|
60
|
+
//# sourceMappingURL=info-qvh6nVXW.cjs.js.map
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
var fs = require('fs-extra');
|
|
4
4
|
require('@yarnpkg/parsers');
|
|
5
5
|
require('@yarnpkg/lockfile');
|
|
6
|
-
var packages = require('./packages-
|
|
7
|
-
var index = require('./index-
|
|
6
|
+
var packages = require('./packages-DAN7bURf.cjs.js');
|
|
7
|
+
var index = require('./index-DnKsJMXl.cjs.js');
|
|
8
8
|
var chalk = require('chalk');
|
|
9
9
|
var sortBy = require('lodash/sortBy');
|
|
10
10
|
var groupBy = require('lodash/groupBy');
|
|
11
|
-
var run = require('./run-
|
|
11
|
+
var run = require('./run-TuUxKRac.cjs.js');
|
|
12
12
|
require('minimatch');
|
|
13
13
|
require('@manypkg/get-packages');
|
|
14
14
|
require('./yarn-Ukl9MOS0.cjs.js');
|
|
@@ -265,4 +265,4 @@ var install = async (pluginId, cmd) => {
|
|
|
265
265
|
};
|
|
266
266
|
|
|
267
267
|
exports.default = install;
|
|
268
|
-
//# sourceMappingURL=install-
|
|
268
|
+
//# sourceMappingURL=install-B40PDdfZ.cjs.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var path = require('path');
|
|
5
5
|
var cliNode = require('@backstage/cli-node');
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DnKsJMXl.cjs.js');
|
|
7
7
|
var parallel = require('./parallel-BszNaKyc.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('fs-extra');
|
|
@@ -88,4 +88,4 @@ async function command(opts) {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
exports.command = command;
|
|
91
|
-
//# sourceMappingURL=lint-
|
|
91
|
+
//# sourceMappingURL=lint-Bi9nq5Vm.cjs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DnKsJMXl.cjs.js');
|
|
4
4
|
var eslint = require('eslint');
|
|
5
5
|
require('commander');
|
|
6
6
|
require('chalk');
|
|
@@ -33,4 +33,4 @@ var lint = async (directories, opts) => {
|
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
exports.default = lint;
|
|
36
|
-
//# sourceMappingURL=lint-
|
|
36
|
+
//# sourceMappingURL=lint-CYb5eR4F.cjs.js.map
|
|
@@ -4,7 +4,7 @@ var chalk = require('chalk');
|
|
|
4
4
|
var eslint = require('eslint');
|
|
5
5
|
var path = require('path');
|
|
6
6
|
var cliNode = require('@backstage/cli-node');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-DnKsJMXl.cjs.js');
|
|
8
8
|
require('commander');
|
|
9
9
|
require('fs-extra');
|
|
10
10
|
require('semver');
|
|
@@ -36,7 +36,7 @@ async function command(opts) {
|
|
|
36
36
|
}
|
|
37
37
|
const deprecations = [];
|
|
38
38
|
for (const [index$1, pkg] of packages.entries()) {
|
|
39
|
-
const results = await eslint$1.lintFiles(
|
|
39
|
+
const results = await eslint$1.lintFiles(pkg.dir);
|
|
40
40
|
for (const result of results) {
|
|
41
41
|
for (const message of result.messages) {
|
|
42
42
|
if (message.ruleId !== "deprecation/deprecation") {
|
|
@@ -76,4 +76,4 @@ async function command(opts) {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
exports.command = command;
|
|
79
|
-
//# sourceMappingURL=list-deprecations-
|
|
79
|
+
//# sourceMappingURL=list-deprecations-BNbOuUo4.cjs.js.map
|
|
@@ -11,13 +11,13 @@ var cliCommon = require('@backstage/cli-common');
|
|
|
11
11
|
var ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
|
|
12
12
|
var runScriptWebpackPlugin = require('run-script-webpack-plugin');
|
|
13
13
|
var ReactRefreshPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
|
|
14
|
-
var index = require('./index-
|
|
14
|
+
var index = require('./index-DnKsJMXl.cjs.js');
|
|
15
15
|
var fs = require('fs-extra');
|
|
16
16
|
var getPackages = require('@manypkg/get-packages');
|
|
17
17
|
var nodeExternals = require('webpack-node-externals');
|
|
18
18
|
var pickBy = require('lodash/pickBy');
|
|
19
19
|
var entryPoints = require('./entryPoints-CoHH4lBA.cjs.js');
|
|
20
|
-
var run = require('./run-
|
|
20
|
+
var run = require('./run-TuUxKRac.cjs.js');
|
|
21
21
|
var MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
22
22
|
var svgrTemplate = require('./svgrTemplate-BTjBQ3by.cjs.js');
|
|
23
23
|
var yn = require('yn');
|
|
@@ -416,6 +416,19 @@ async function createConfig(paths, options) {
|
|
|
416
416
|
}
|
|
417
417
|
})
|
|
418
418
|
);
|
|
419
|
+
plugins.push(
|
|
420
|
+
new HtmlWebpackPlugin__default.default({
|
|
421
|
+
meta: {
|
|
422
|
+
"backstage-app-mode": options?.appMode ?? "public",
|
|
423
|
+
// This is added to be written in the later step, and finally read by the extra entry point
|
|
424
|
+
"backstage-public-path": "<%= publicPath %>/"
|
|
425
|
+
},
|
|
426
|
+
minify: false,
|
|
427
|
+
publicPath: "<%= publicPath %>",
|
|
428
|
+
filename: "index.html.tmpl",
|
|
429
|
+
template: `raw-loader!${paths.targetHtml}`
|
|
430
|
+
})
|
|
431
|
+
);
|
|
419
432
|
}
|
|
420
433
|
if (options.moduleFederation) {
|
|
421
434
|
const isRemote = options.moduleFederation?.mode === "remote";
|
|
@@ -536,7 +549,11 @@ async function createConfig(paths, options) {
|
|
|
536
549
|
},
|
|
537
550
|
devtool: isDev ? "eval-cheap-module-source-map" : "source-map",
|
|
538
551
|
context: paths.targetPath,
|
|
539
|
-
entry: [
|
|
552
|
+
entry: [
|
|
553
|
+
require.resolve("@backstage/cli/config/webpack-public-path"),
|
|
554
|
+
...options.additionalEntryPoints ?? [],
|
|
555
|
+
paths.targetEntry
|
|
556
|
+
],
|
|
540
557
|
resolve: {
|
|
541
558
|
extensions: [".ts", ".tsx", ".mjs", ".js", ".jsx", ".json", ".wasm"],
|
|
542
559
|
mainFields: ["browser", "module", "main"],
|
|
@@ -885,4 +902,4 @@ exports.resolveBaseUrl = resolveBaseUrl;
|
|
|
885
902
|
exports.resolveBundlingPaths = resolveBundlingPaths;
|
|
886
903
|
exports.resolveEndpoint = resolveEndpoint;
|
|
887
904
|
exports.resolveOptionalBundlingPaths = resolveOptionalBundlingPaths;
|
|
888
|
-
//# sourceMappingURL=moduleFederation-
|
|
905
|
+
//# sourceMappingURL=moduleFederation-BHgfCDl2.cjs.js.map
|
|
@@ -7,14 +7,14 @@ var chalk = require('chalk');
|
|
|
7
7
|
var inquirer = require('inquirer');
|
|
8
8
|
var camelCase = require('lodash/camelCase');
|
|
9
9
|
var upperFirst = require('lodash/upperFirst');
|
|
10
|
-
var index = require('./index-
|
|
11
|
-
var codeowners = require('./codeowners-
|
|
12
|
-
var tasks = require('./tasks-
|
|
10
|
+
var index = require('./index-DnKsJMXl.cjs.js');
|
|
11
|
+
var codeowners = require('./codeowners-DOH0XAJ6.cjs.js');
|
|
12
|
+
var tasks = require('./tasks-knkf4kMY.cjs.js');
|
|
13
13
|
var Lockfile = require('./Lockfile-B4mqBkH6.cjs.js');
|
|
14
14
|
require('minimatch');
|
|
15
15
|
require('@manypkg/get-packages');
|
|
16
16
|
require('./yarn-Ukl9MOS0.cjs.js');
|
|
17
|
-
require('./run-
|
|
17
|
+
require('./run-TuUxKRac.cjs.js');
|
|
18
18
|
var partition = require('lodash/partition');
|
|
19
19
|
var cliNode = require('@backstage/cli-node');
|
|
20
20
|
var errors = require('@backstage/errors');
|
|
@@ -275,10 +275,10 @@ const backendPlugin = createFactory({
|
|
|
275
275
|
}
|
|
276
276
|
);
|
|
277
277
|
});
|
|
278
|
-
await tasks.addToBackend(name, {
|
|
279
|
-
type: "plugin"
|
|
280
|
-
});
|
|
281
278
|
}
|
|
279
|
+
await tasks.addToBackend(name, {
|
|
280
|
+
type: "plugin"
|
|
281
|
+
});
|
|
282
282
|
if (options.owner) {
|
|
283
283
|
await codeowners.addCodeownersEntry(`/plugins/${id}`, options.owner);
|
|
284
284
|
}
|
|
@@ -599,6 +599,21 @@ const scaffolderModule = createFactory({
|
|
|
599
599
|
license: ctx.license
|
|
600
600
|
}
|
|
601
601
|
});
|
|
602
|
+
if (await fs__default.default.pathExists(index.paths.resolveTargetRoot("packages/backend"))) {
|
|
603
|
+
await tasks.Task.forItem("backend", "adding dependency", async () => {
|
|
604
|
+
await tasks.addPackageDependency(
|
|
605
|
+
index.paths.resolveTargetRoot("packages/backend/package.json"),
|
|
606
|
+
{
|
|
607
|
+
dependencies: {
|
|
608
|
+
[name]: `^${ctx.defaultVersion}`
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
);
|
|
612
|
+
});
|
|
613
|
+
}
|
|
614
|
+
await tasks.addToBackend(name, {
|
|
615
|
+
type: "module"
|
|
616
|
+
});
|
|
602
617
|
if (options.owner) {
|
|
603
618
|
await codeowners.addCodeownersEntry(`/plugins/${slug}`, options.owner);
|
|
604
619
|
}
|
|
@@ -786,4 +801,4 @@ var _new = async (opts) => {
|
|
|
786
801
|
};
|
|
787
802
|
|
|
788
803
|
exports.default = _new;
|
|
789
|
-
//# sourceMappingURL=new-
|
|
804
|
+
//# sourceMappingURL=new-Dhd6Pd1w.cjs.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var productionPack = require('./productionPack-BWU8WkGs.cjs.js');
|
|
4
|
-
var index = require('./index-
|
|
4
|
+
var index = require('./index-DnKsJMXl.cjs.js');
|
|
5
5
|
var fs = require('fs-extra');
|
|
6
6
|
var publishing = require('./publishing-DQtsKTbc.cjs.js');
|
|
7
7
|
require('npm-packlist');
|
|
@@ -30,4 +30,4 @@ const post = async () => {
|
|
|
30
30
|
|
|
31
31
|
exports.post = post;
|
|
32
32
|
exports.pre = pre;
|
|
33
|
-
//# sourceMappingURL=pack-
|
|
33
|
+
//# sourceMappingURL=pack-JD01KVjk.cjs.js.map
|