@bagelink/workspace 1.10.3 → 1.10.4
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/dist/bin/bgl.cjs +1 -1
- package/dist/bin/bgl.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +2 -2
- package/dist/shared/{workspace.De344dyT.cjs → workspace.BMua7RCN.cjs} +1 -1
- package/dist/shared/{workspace.CApsK4fT.mjs → workspace.wLxjK4CD.mjs} +1 -1
- package/package.json +1 -1
- package/src/lint.ts +1 -1
package/dist/bin/bgl.cjs
CHANGED
package/dist/bin/bgl.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import process from 'node:process';
|
|
3
|
-
import { i as initWorkspace, g as generateWorkspaceConfig, h as addProject, l as listProjects, k as isWorkspace, d as setupLint, f as generateSDKForWorkspace, e as generateSDK } from '../shared/workspace.
|
|
3
|
+
import { i as initWorkspace, g as generateWorkspaceConfig, h as addProject, l as listProjects, k as isWorkspace, d as setupLint, f as generateSDKForWorkspace, e as generateSDK } from '../shared/workspace.wLxjK4CD.mjs';
|
|
4
4
|
import 'node:fs';
|
|
5
5
|
import 'node:path';
|
|
6
6
|
import 'prompts';
|
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const node_fs = require('node:fs');
|
|
4
4
|
const node_path = require('node:path');
|
|
5
5
|
const process = require('node:process');
|
|
6
|
-
const detect = require('./shared/workspace.
|
|
6
|
+
const detect = require('./shared/workspace.BMua7RCN.cjs');
|
|
7
7
|
require('prompts');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { existsSync } from 'node:fs';
|
|
2
2
|
import { resolve, join } from 'node:path';
|
|
3
3
|
import process from 'node:process';
|
|
4
|
-
import { g as generateWorkspaceConfig, s as setBuildEnvVars, w as writeNetlifyConfig } from './shared/workspace.
|
|
5
|
-
export { h as addProject, a as generateNetlifyConfig, b as generateNetlifyRedirect, e as generateSDK, f as generateSDKForWorkspace, c as generateWorkspaceConfigSync, j as getWorkspaceInfo, i as initWorkspace, k as isWorkspace, l as listProjects, d as setupLint } from './shared/workspace.
|
|
4
|
+
import { g as generateWorkspaceConfig, s as setBuildEnvVars, w as writeNetlifyConfig } from './shared/workspace.wLxjK4CD.mjs';
|
|
5
|
+
export { h as addProject, a as generateNetlifyConfig, b as generateNetlifyRedirect, e as generateSDK, f as generateSDKForWorkspace, c as generateWorkspaceConfigSync, j as getWorkspaceInfo, i as initWorkspace, k as isWorkspace, l as listProjects, d as setupLint } from './shared/workspace.wLxjK4CD.mjs';
|
|
6
6
|
import 'prompts';
|
|
7
7
|
|
|
8
8
|
async function resolveConfig(mode = "development", options = {}) {
|
|
@@ -376,7 +376,7 @@ function updatePackageJsonLint(root, configs) {
|
|
|
376
376
|
}
|
|
377
377
|
try {
|
|
378
378
|
const packageJson = JSON.parse(
|
|
379
|
-
readFileSync(packageJsonPath, "utf-8")
|
|
379
|
+
node_fs.readFileSync(packageJsonPath, "utf-8")
|
|
380
380
|
);
|
|
381
381
|
if (!packageJson.scripts) {
|
|
382
382
|
packageJson.scripts = {};
|
|
@@ -369,7 +369,7 @@ function updatePackageJsonLint(root, configs) {
|
|
|
369
369
|
}
|
|
370
370
|
try {
|
|
371
371
|
const packageJson = JSON.parse(
|
|
372
|
-
readFileSync(packageJsonPath, "utf-8")
|
|
372
|
+
readFileSync$1(packageJsonPath, "utf-8")
|
|
373
373
|
);
|
|
374
374
|
if (!packageJson.scripts) {
|
|
375
375
|
packageJson.scripts = {};
|
package/package.json
CHANGED
package/src/lint.ts
CHANGED