@elliemae/pui-cli 8.28.0 → 8.29.1
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/cjs/commands/utils.js +3 -1
- package/dist/cjs/monorepo/set-registry-version.js +3 -3
- package/dist/cjs/monorepo/set-workspace-version.js +3 -3
- package/dist/cjs/transpile/esbuild.js +3 -3
- package/dist/cjs/webpack/webpack.lib.dev.babel.js +3 -1
- package/dist/cjs/webpack/webpack.lib.prod.babel.js +3 -1
- package/dist/esm/commands/utils.js +3 -1
- package/dist/esm/monorepo/set-registry-version.js +3 -3
- package/dist/esm/monorepo/set-workspace-version.js +3 -3
- package/dist/esm/transpile/esbuild.js +3 -3
- package/dist/esm/webpack/webpack.lib.dev.babel.js +3 -1
- package/dist/esm/webpack/webpack.lib.prod.babel.js +3 -1
- package/dist/types/docusaurus.config.d.ts +2 -0
- package/dist/types/{index.d.ts → lib/index.d.ts} +1 -0
- package/package.json +39 -39
- package/dist/cjs/babel.config.cjs +0 -97
- package/dist/cjs/index.cjs +0 -23
- package/dist/cjs/jsdoc.conf.json +0 -17
- package/dist/cjs/lint-config/commitlint.config.cjs +0 -1
- package/dist/cjs/lint-config/eslint/common.cjs +0 -164
- package/dist/cjs/lint-config/eslint/non-react.cjs +0 -14
- package/dist/cjs/lint-config/eslint/react.cjs +0 -26
- package/dist/cjs/lint-config/eslint/typescript/common.cjs +0 -49
- package/dist/cjs/lint-config/eslint/typescript/non-react.cjs +0 -12
- package/dist/cjs/lint-config/eslint/typescript/react.cjs +0 -19
- package/dist/cjs/lint-config/prettier.config.cjs +0 -8
- package/dist/cjs/lint-config/stylelint.config.cjs +0 -20
- package/dist/cjs/monorepo/utils.cjs +0 -30
- package/dist/cjs/release.config.cjs +0 -24
- package/dist/cjs/testing/jest.config.cjs +0 -110
- package/dist/cjs/testing/jest.node.config.cjs +0 -8
- package/dist/cjs/testing/resolver.cjs +0 -47
- package/dist/cjs/transpile/.swcrc +0 -11
- package/dist/cjs/transpile/swcrc.config.cjs +0 -13
- package/dist/cjs/typedoc.cjs +0 -12
- package/dist/cjs/utils.cjs +0 -23
- package/dist/esm/babel.config.cjs +0 -97
- package/dist/esm/index.cjs +0 -23
- package/dist/esm/jsdoc.conf.json +0 -17
- package/dist/esm/lint-config/commitlint.config.cjs +0 -1
- package/dist/esm/lint-config/eslint/common.cjs +0 -164
- package/dist/esm/lint-config/eslint/non-react.cjs +0 -14
- package/dist/esm/lint-config/eslint/react.cjs +0 -26
- package/dist/esm/lint-config/eslint/typescript/common.cjs +0 -49
- package/dist/esm/lint-config/eslint/typescript/non-react.cjs +0 -12
- package/dist/esm/lint-config/eslint/typescript/react.cjs +0 -19
- package/dist/esm/lint-config/prettier.config.cjs +0 -8
- package/dist/esm/lint-config/stylelint.config.cjs +0 -20
- package/dist/esm/monorepo/utils.cjs +0 -30
- package/dist/esm/release.config.cjs +0 -24
- package/dist/esm/testing/jest.config.cjs +0 -110
- package/dist/esm/testing/jest.node.config.cjs +0 -8
- package/dist/esm/testing/resolver.cjs +0 -47
- package/dist/esm/transpile/.swcrc +0 -11
- package/dist/esm/transpile/swcrc.config.cjs +0 -13
- package/dist/esm/typedoc.cjs +0 -12
- package/dist/esm/utils.cjs +0 -23
- /package/dist/types/{babel.config.d.cts → lib/babel.config.d.cts} +0 -0
- /package/dist/types/{cli.d.ts → lib/cli.d.ts} +0 -0
- /package/dist/types/{commands → lib/commands}/build.d.ts +0 -0
- /package/dist/types/{commands → lib/commands}/codemod.d.ts +0 -0
- /package/dist/types/{commands → lib/commands}/gendoc.d.ts +0 -0
- /package/dist/types/{commands → lib/commands}/lint.d.ts +0 -0
- /package/dist/types/{commands → lib/commands}/pack.d.ts +0 -0
- /package/dist/types/{commands → lib/commands}/start.d.ts +0 -0
- /package/dist/types/{commands → lib/commands}/storybook.d.ts +0 -0
- /package/dist/types/{commands → lib/commands}/test.d.ts +0 -0
- /package/dist/types/{commands → lib/commands}/tscheck.d.ts +0 -0
- /package/dist/types/{commands → lib/commands}/utils.d.ts +0 -0
- /package/dist/types/{commands → lib/commands}/version.d.ts +0 -0
- /package/dist/types/{commands → lib/commands}/vitest.d.ts +0 -0
- /package/dist/types/{dummy.d.ts → lib/dummy.d.ts} +0 -0
- /package/dist/types/{index.d.cts → lib/index.d.cts} +0 -0
- /package/dist/types/{lint-config → lib/lint-config}/commitlint.config.d.cts +0 -0
- /package/dist/types/{lint-config → lib/lint-config}/eslint/common.d.cts +0 -0
- /package/dist/types/{lint-config → lib/lint-config}/eslint/non-react.d.cts +0 -0
- /package/dist/types/{lint-config → lib/lint-config}/eslint/react.d.cts +0 -0
- /package/dist/types/{lint-config → lib/lint-config}/eslint/typescript/common.d.cts +0 -0
- /package/dist/types/{lint-config → lib/lint-config}/eslint/typescript/non-react.d.cts +0 -0
- /package/dist/types/{lint-config → lib/lint-config}/eslint/typescript/react.d.cts +0 -0
- /package/dist/types/{lint-config → lib/lint-config}/lint-staged.config.d.ts +0 -0
- /package/dist/types/{lint-config → lib/lint-config}/prettier.config.d.cts +0 -0
- /package/dist/types/{lint-config → lib/lint-config}/stylelint.config.d.cts +0 -0
- /package/dist/types/{monorepo → lib/monorepo}/delete-merged-tags.d.ts +0 -0
- /package/dist/types/{monorepo → lib/monorepo}/set-registry-version.d.ts +0 -0
- /package/dist/types/{monorepo → lib/monorepo}/set-workspace-version.d.ts +0 -0
- /package/dist/types/{monorepo → lib/monorepo}/utils.d.cts +0 -0
- /package/dist/types/{monorepo → lib/monorepo}/utils.d.ts +0 -0
- /package/dist/types/{pui-config.d.ts → lib/pui-config.d.ts} +0 -0
- /package/dist/types/{release.config.d.cts → lib/release.config.d.cts} +0 -0
- /package/dist/types/{server → lib/server}/appRoutes.d.ts +0 -0
- /package/dist/types/{server → lib/server}/csp.d.ts +0 -0
- /package/dist/types/{server → lib/server}/index.d.ts +0 -0
- /package/dist/types/{server → lib/server}/logger.d.ts +0 -0
- /package/dist/types/{server → lib/server}/middlewares.d.ts +0 -0
- /package/dist/types/{server → lib/server}/utils.d.ts +0 -0
- /package/dist/types/{server → lib/server}/wsServer.d.ts +0 -0
- /package/dist/types/{testing → lib/testing}/jest.config.d.cts +0 -0
- /package/dist/types/{testing → lib/testing}/jest.node.config.d.cts +0 -0
- /package/dist/types/{testing → lib/testing}/mocks/axios.d.ts +0 -0
- /package/dist/types/{testing → lib/testing}/mocks/cssModule.d.ts +0 -0
- /package/dist/types/{testing → lib/testing}/mocks/html.d.ts +0 -0
- /package/dist/types/{testing → lib/testing}/mocks/image.d.ts +0 -0
- /package/dist/types/{testing → lib/testing}/mocks/matchMedia.d.ts +0 -0
- /package/dist/types/{testing → lib/testing}/mocks/pui-app-loader.d.ts +0 -0
- /package/dist/types/{testing → lib/testing}/mocks/pui-diagnostics.d.ts +0 -0
- /package/dist/types/{testing → lib/testing}/mocks/pui-user-monitoring.d.ts +0 -0
- /package/dist/types/{testing → lib/testing}/mocks/retry-axios.d.ts +0 -0
- /package/dist/types/{testing → lib/testing}/mocks/svg.d.ts +0 -0
- /package/dist/types/{testing → lib/testing}/mocks/webpack-hmr.d.ts +0 -0
- /package/dist/types/{testing → lib/testing}/resolver.d.cts +0 -0
- /package/dist/types/{testing → lib/testing}/setup-react-env.d.ts +0 -0
- /package/dist/types/{testing → lib/testing}/setup-test-env.d.ts +0 -0
- /package/dist/types/{testing → lib/testing}/setup-tests.d.ts +0 -0
- /package/dist/types/{testing → lib/testing}/vitest.config.d.ts +0 -0
- /package/dist/types/{transpile → lib/transpile}/esbuild.d.ts +0 -0
- /package/dist/types/{transpile → lib/transpile}/react-shim.d.ts +0 -0
- /package/dist/types/{transpile → lib/transpile}/swcrc.config.d.cts +0 -0
- /package/dist/types/{typedoc.d.cts → lib/typedoc.d.cts} +0 -0
- /package/dist/types/{update-notifier.d.ts → lib/update-notifier.d.ts} +0 -0
- /package/dist/types/{utils.d.cts → lib/utils.d.cts} +0 -0
- /package/dist/types/{utils.d.ts → lib/utils.d.ts} +0 -0
- /package/dist/types/{webpack → lib/webpack}/helpers.d.ts +0 -0
- /package/dist/types/{webpack → lib/webpack}/webpack.base.babel.d.ts +0 -0
- /package/dist/types/{webpack → lib/webpack}/webpack.dev.babel.d.ts +0 -0
- /package/dist/types/{webpack → lib/webpack}/webpack.lib.base.babel.d.ts +0 -0
- /package/dist/types/{webpack → lib/webpack}/webpack.lib.dev.babel.d.ts +0 -0
- /package/dist/types/{webpack → lib/webpack}/webpack.lib.prod.babel.d.ts +0 -0
- /package/dist/types/{webpack → lib/webpack}/webpack.prod.babel.d.ts +0 -0
- /package/dist/types/{webpack → lib/webpack}/webpack.storybook.d.ts +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
const fs = require('fs');
|
|
2
|
-
const path = require('path');
|
|
3
|
-
const { merge } = require('lodash');
|
|
4
|
-
|
|
5
|
-
let projectConfig = {};
|
|
6
|
-
const projectPath = path.join(process.cwd(), '.swcrc');
|
|
7
|
-
if (fs.existsSync(projectPath)) {
|
|
8
|
-
projectConfig = JSON.parse(fs.readFileSync(projectPath, 'utf-8'));
|
|
9
|
-
}
|
|
10
|
-
const localConfig = JSON.parse(
|
|
11
|
-
fs.readFileSync(path.join(__dirname, '.swcrc'), 'utf-8'),
|
|
12
|
-
);
|
|
13
|
-
exports.swcrcConfig = merge(localConfig, projectConfig);
|
package/dist/esm/typedoc.cjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
const path = require('path');
|
|
2
|
-
const fs = require('fs');
|
|
3
|
-
|
|
4
|
-
const isApp = () => fs.existsSync(path.join(process.cwd(), 'app'));
|
|
5
|
-
|
|
6
|
-
const srcPath = path.join(process.cwd(), isApp() ? 'app' : 'lib');
|
|
7
|
-
|
|
8
|
-
module.exports = {
|
|
9
|
-
entryPoints: [srcPath],
|
|
10
|
-
exclude: ['**/*+(.spec|.e2e|.test).ts'],
|
|
11
|
-
out: path.join(process.cwd(), 'docs'),
|
|
12
|
-
};
|
package/dist/esm/utils.cjs
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const path = require('path');
|
|
2
|
-
const fs = require('fs');
|
|
3
|
-
|
|
4
|
-
exports.basePath = (process.env.BASE_PATH || '/').replace(/\/?$/, '/');
|
|
5
|
-
|
|
6
|
-
const isApp = () => fs.existsSync(path.join(process.cwd(), 'app'));
|
|
7
|
-
|
|
8
|
-
exports.getAppConfig = () => {
|
|
9
|
-
const appConfigPath = path.join(
|
|
10
|
-
process.cwd(),
|
|
11
|
-
isApp() ? 'app' : 'lib',
|
|
12
|
-
'app.config.json',
|
|
13
|
-
);
|
|
14
|
-
|
|
15
|
-
if (!fs.existsSync(appConfigPath)) return '{}';
|
|
16
|
-
const appConfig = fs.readFileSync(appConfigPath);
|
|
17
|
-
return appConfig || '{}';
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
exports.isApp = isApp;
|
|
21
|
-
|
|
22
|
-
exports.isTypeScriptEnabled = () =>
|
|
23
|
-
fs.existsSync(path.join(process.cwd(), 'tsconfig.json'));
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|