docs(nxdev): flatten ui libs (#8006)
This commit is contained in:
parent
72c9090167
commit
1560a43acd
@ -1,4 +1,4 @@
|
|||||||
import { Member, MemberCard } from '@nrwl/nx-dev/ui/member-card';
|
import { Member, MemberCard } from '@nrwl/nx-dev/ui-member-card';
|
||||||
|
|
||||||
export function ConfSpeakers(): JSX.Element {
|
export function ConfSpeakers(): JSX.Element {
|
||||||
const speakers: Array<Member> = [
|
const speakers: Array<Member> = [
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { Sponsor, SponsorCard } from '@nrwl/nx-dev/ui/sponsor-card';
|
import { Sponsor, SponsorCard } from '@nrwl/nx-dev/ui-sponsor-card';
|
||||||
import cx from 'classnames';
|
import cx from 'classnames';
|
||||||
|
|
||||||
export function ConfSponsors(): JSX.Element {
|
export function ConfSponsors(): JSX.Element {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { MemberCard } from '@nrwl/nx-dev/ui/member-card';
|
import { MemberCard } from '@nrwl/nx-dev/ui-member-card';
|
||||||
|
|
||||||
export function ConfWorkshop(): JSX.Element {
|
export function ConfWorkshop(): JSX.Element {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@ -7,7 +7,7 @@ import {
|
|||||||
MenuSection,
|
MenuSection,
|
||||||
} from '@nrwl/nx-dev/data-access-documents';
|
} from '@nrwl/nx-dev/data-access-documents';
|
||||||
import { useRouter } from 'next/router';
|
import { useRouter } from 'next/router';
|
||||||
import { Selector } from '@nrwl/nx-dev/ui/common';
|
import { Selector } from '@nrwl/nx-dev/ui-common';
|
||||||
import { useSelectedFlavor } from '@nrwl/nx-dev/feature-flavor-selection';
|
import { useSelectedFlavor } from '@nrwl/nx-dev/feature-flavor-selection';
|
||||||
import {
|
import {
|
||||||
useActiveFlavor,
|
useActiveFlavor,
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import type {
|
|||||||
VersionMetadata,
|
VersionMetadata,
|
||||||
} from '@nrwl/nx-dev/data-access-documents';
|
} from '@nrwl/nx-dev/data-access-documents';
|
||||||
import { DocViewer } from '@nrwl/nx-dev/feature-doc-viewer';
|
import { DocViewer } from '@nrwl/nx-dev/feature-doc-viewer';
|
||||||
import { Footer, Header } from '@nrwl/nx-dev/ui/common';
|
import { Footer, Header } from '@nrwl/nx-dev/ui-common';
|
||||||
import { documentsApi, menuApi } from '../lib/api';
|
import { documentsApi, menuApi } from '../lib/api';
|
||||||
import {
|
import {
|
||||||
useActiveFlavor,
|
useActiveFlavor,
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import { useRouter } from 'next/router';
|
|||||||
import Image from 'next/image';
|
import Image from 'next/image';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
import { Footer, Header, NxUsersShowcase } from '@nrwl/nx-dev/ui/common';
|
import { Footer, Header, NxUsersShowcase } from '@nrwl/nx-dev/ui-common';
|
||||||
import { sendCustomEvent } from '@nrwl/nx-dev/feature-analytics';
|
import { sendCustomEvent } from '@nrwl/nx-dev/feature-analytics';
|
||||||
import { useStorage } from '@nrwl/nx-dev/feature-storage';
|
import { useStorage } from '@nrwl/nx-dev/feature-storage';
|
||||||
import { InlineCommand } from '@nrwl/nx-dev/ui-commands';
|
import { InlineCommand } from '@nrwl/nx-dev/ui-commands';
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import Image from 'next/image';
|
import Image from 'next/image';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import { Footer, Header, PluginCard } from '@nrwl/nx-dev/ui/common';
|
import { Footer, Header, PluginCard } from '@nrwl/nx-dev/ui-common';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { useStorage } from '@nrwl/nx-dev/feature-storage';
|
import { useStorage } from '@nrwl/nx-dev/feature-storage';
|
||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import { Footer, Header } from '@nrwl/nx-dev/ui/common';
|
import { Footer, Header } from '@nrwl/nx-dev/ui-common';
|
||||||
import {
|
import {
|
||||||
ConfSchedule,
|
ConfSchedule,
|
||||||
ConfSpeakers,
|
ConfSpeakers,
|
||||||
|
|||||||
@ -8,7 +8,7 @@ import {
|
|||||||
NpxCreateNxWorkspace,
|
NpxCreateNxWorkspace,
|
||||||
NxUsersShowcase,
|
NxUsersShowcase,
|
||||||
Testimonials,
|
Testimonials,
|
||||||
} from '@nrwl/nx-dev/ui/common';
|
} from '@nrwl/nx-dev/ui-common';
|
||||||
import { sendCustomEvent } from '@nrwl/nx-dev/feature-analytics';
|
import { sendCustomEvent } from '@nrwl/nx-dev/feature-analytics';
|
||||||
import {
|
import {
|
||||||
AffectedCommand,
|
AffectedCommand,
|
||||||
|
|||||||
@ -2,7 +2,7 @@ import React from 'react';
|
|||||||
import { useRouter } from 'next/router';
|
import { useRouter } from 'next/router';
|
||||||
import Image from 'next/image';
|
import Image from 'next/image';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import { Footer, Header, NxUsersShowcase } from '@nrwl/nx-dev/ui/common';
|
import { Footer, Header, NxUsersShowcase } from '@nrwl/nx-dev/ui-common';
|
||||||
import { sendCustomEvent } from '@nrwl/nx-dev/feature-analytics';
|
import { sendCustomEvent } from '@nrwl/nx-dev/feature-analytics';
|
||||||
import { useStorage } from '@nrwl/nx-dev/feature-storage';
|
import { useStorage } from '@nrwl/nx-dev/feature-storage';
|
||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import { useRouter } from 'next/router';
|
|||||||
import Image from 'next/image';
|
import Image from 'next/image';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
import { Footer, Header, NxUsersShowcase } from '@nrwl/nx-dev/ui/common';
|
import { Footer, Header, NxUsersShowcase } from '@nrwl/nx-dev/ui-common';
|
||||||
import { sendCustomEvent } from '@nrwl/nx-dev/feature-analytics';
|
import { sendCustomEvent } from '@nrwl/nx-dev/feature-analytics';
|
||||||
import { useStorage } from '@nrwl/nx-dev/feature-storage';
|
import { useStorage } from '@nrwl/nx-dev/feature-storage';
|
||||||
import { InlineCommand } from '@nrwl/nx-dev/ui-commands';
|
import { InlineCommand } from '@nrwl/nx-dev/ui-commands';
|
||||||
|
|||||||
4
nx-dev/ui-common/.eslintrc.json
Normal file
4
nx-dev/ui-common/.eslintrc.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../.eslintrc.json",
|
||||||
|
"ignorePatterns": ["!**/*"]
|
||||||
|
}
|
||||||
@ -6,5 +6,5 @@ module.exports = {
|
|||||||
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }],
|
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }],
|
||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
||||||
coverageDirectory: '../../../coverage/nx-dev/ui/common',
|
coverageDirectory: '../../coverage/nx-dev/ui-common',
|
||||||
};
|
};
|
||||||
@ -1,20 +1,20 @@
|
|||||||
{
|
{
|
||||||
"root": "nx-dev/ui/common",
|
"root": "nx-dev/ui-common",
|
||||||
"sourceRoot": "nx-dev/ui/common/src",
|
"sourceRoot": "nx-dev/ui-common/src",
|
||||||
"projectType": "library",
|
"projectType": "library",
|
||||||
"targets": {
|
"targets": {
|
||||||
"lint": {
|
"lint": {
|
||||||
"executor": "@nrwl/linter:eslint",
|
"executor": "@nrwl/linter:eslint",
|
||||||
"options": {
|
"options": {
|
||||||
"lintFilePatterns": ["nx-dev/ui/common/**/*.{ts,tsx,js,jsx}"]
|
"lintFilePatterns": ["nx-dev/ui-common/**/*.{ts,tsx,js,jsx}"]
|
||||||
},
|
},
|
||||||
"outputs": ["{options.outputFile}"]
|
"outputs": ["{options.outputFile}"]
|
||||||
},
|
},
|
||||||
"test": {
|
"test": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"outputs": ["coverage/nx-dev/ui/common"],
|
"outputs": ["coverage/nx-dev/ui-common"],
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "nx-dev/ui/common/jest.config.js",
|
"jestConfig": "nx-dev/ui-common/jest.config.js",
|
||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx",
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.json",
|
"extends": "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../../../dist/out-tsc",
|
"outDir": "../../dist/out-tsc",
|
||||||
"types": ["node"]
|
"types": ["node"]
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"../../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
|
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
|
||||||
"../../../node_modules/@nrwl/next/typings/image.d.ts"
|
"../../node_modules/@nrwl/react/typings/image.d.ts"
|
||||||
],
|
],
|
||||||
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx"],
|
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx"],
|
||||||
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
|
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
|
||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.json",
|
"extends": "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../../../../dist/out-tsc",
|
"outDir": "../../dist/out-tsc",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"types": ["jest", "node"],
|
"types": ["jest", "node"],
|
||||||
"lib": ["DOM"]
|
"lib": ["DOM"]
|
||||||
@ -5,5 +5,5 @@ module.exports = {
|
|||||||
'^.+\\.[tj]sx?$': 'babel-jest',
|
'^.+\\.[tj]sx?$': 'babel-jest',
|
||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
||||||
coverageDirectory: '../../coverage//nx-dev/ui-home',
|
coverageDirectory: '../../coverage/nx-dev/ui-home',
|
||||||
};
|
};
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": ["plugin:@nrwl/nx/react", "../../../.eslintrc.json"],
|
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"],
|
||||||
"ignorePatterns": ["!**/*"],
|
"ignorePatterns": ["!**/*"],
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
@ -3,11 +3,11 @@ const nxPreset = require('@nrwl/jest/preset');
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
...nxPreset,
|
...nxPreset,
|
||||||
displayName: 'nx-dev-ui-member-card',
|
displayName: 'nx-dev-ui-member-card',
|
||||||
preset: '../../../jest.preset.js',
|
preset: '../../jest.preset.js',
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }],
|
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }],
|
||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
||||||
coverageDirectory: '../../../coverage/nx-dev/ui/member-card',
|
coverageDirectory: '../../coverage/nx-dev/ui-member-card',
|
||||||
setupFilesAfterEnv: ['<rootDir>/test-setup.ts'],
|
setupFilesAfterEnv: ['<rootDir>/test-setup.ts'],
|
||||||
};
|
};
|
||||||
@ -1,21 +1,21 @@
|
|||||||
{
|
{
|
||||||
"root": "nx-dev/ui/member-card",
|
"root": "nx-dev/ui-member-card",
|
||||||
"sourceRoot": "nx-dev/ui/member-card/src",
|
"sourceRoot": "nx-dev/ui-member-card/src",
|
||||||
"projectType": "library",
|
"projectType": "library",
|
||||||
"tags": ["scope:nx-dev", "type:ui"],
|
"tags": ["scope:nx-dev", "type:ui"],
|
||||||
"targets": {
|
"targets": {
|
||||||
"lint": {
|
"lint": {
|
||||||
"executor": "@nrwl/linter:eslint",
|
"executor": "@nrwl/linter:eslint",
|
||||||
"options": {
|
"options": {
|
||||||
"lintFilePatterns": ["nx-dev/ui/member-card/**/*.{ts,tsx,js,jsx}"]
|
"lintFilePatterns": ["nx-dev/ui-member-card/**/*.{ts,tsx,js,jsx}"]
|
||||||
},
|
},
|
||||||
"outputs": ["{options.outputFile}"]
|
"outputs": ["{options.outputFile}"]
|
||||||
},
|
},
|
||||||
"test": {
|
"test": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"outputs": ["coverage/nx-dev/ui/member-card"],
|
"outputs": ["coverage/nx-dev/ui-member-card"],
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "nx-dev/ui/member-card/jest.config.js",
|
"jestConfig": "nx-dev/ui-member-card/jest.config.js",
|
||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx",
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.json",
|
"extends": "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../../../dist/out-tsc",
|
"outDir": "../../dist/out-tsc",
|
||||||
"types": ["node"],
|
"types": ["node"],
|
||||||
"lib": ["DOM"]
|
"lib": ["DOM"]
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"../../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
|
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
|
||||||
"../../../node_modules/@nrwl/react/typings/image.d.ts"
|
"../../node_modules/@nrwl/react/typings/image.d.ts"
|
||||||
],
|
],
|
||||||
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx"],
|
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx"],
|
||||||
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
|
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
|
||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.json",
|
"extends": "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../../../dist/out-tsc",
|
"outDir": "../../dist/out-tsc",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"types": ["jest", "node"]
|
"types": ["jest", "node"]
|
||||||
},
|
},
|
||||||
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": ["plugin:@nrwl/nx/react", "../../../.eslintrc.json"],
|
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"],
|
||||||
"ignorePatterns": ["!**/*"],
|
"ignorePatterns": ["!**/*"],
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
@ -3,11 +3,11 @@ const nxPreset = require('@nrwl/jest/preset');
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
...nxPreset,
|
...nxPreset,
|
||||||
displayName: 'nx-dev-ui-sponsor-card',
|
displayName: 'nx-dev-ui-sponsor-card',
|
||||||
preset: '../../../jest.preset.js',
|
preset: '../../jest.preset.js',
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }],
|
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nrwl/next/babel'] }],
|
||||||
},
|
},
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
||||||
coverageDirectory: '../../../coverage/nx-dev/ui/sponsor-card',
|
coverageDirectory: '../../coverage/nx-dev/ui-sponsor-card',
|
||||||
setupFilesAfterEnv: ['<rootDir>/test-setup.ts'],
|
setupFilesAfterEnv: ['<rootDir>/test-setup.ts'],
|
||||||
};
|
};
|
||||||
@ -1,21 +1,21 @@
|
|||||||
{
|
{
|
||||||
"root": "nx-dev/ui/sponsor-card",
|
"root": "nx-dev/ui-sponsor-card",
|
||||||
"sourceRoot": "nx-dev/ui/sponsor-card/src",
|
"sourceRoot": "nx-dev/ui-sponsor-card/src",
|
||||||
"projectType": "library",
|
"projectType": "library",
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"targets": {
|
"targets": {
|
||||||
"lint": {
|
"lint": {
|
||||||
"executor": "@nrwl/linter:eslint",
|
"executor": "@nrwl/linter:eslint",
|
||||||
"options": {
|
"options": {
|
||||||
"lintFilePatterns": ["nx-dev/ui/sponsor-card/**/*.{ts,tsx,js,jsx}"]
|
"lintFilePatterns": ["nx-dev/ui-sponsor-card/**/*.{ts,tsx,js,jsx}"]
|
||||||
},
|
},
|
||||||
"outputs": ["{options.outputFile}"]
|
"outputs": ["{options.outputFile}"]
|
||||||
},
|
},
|
||||||
"test": {
|
"test": {
|
||||||
"executor": "@nrwl/jest:jest",
|
"executor": "@nrwl/jest:jest",
|
||||||
"outputs": ["coverage/nx-dev/ui/sponsor-card"],
|
"outputs": ["coverage/nx-dev/ui-sponsor-card"],
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "nx-dev/ui/sponsor-card/jest.config.js",
|
"jestConfig": "nx-dev/ui-sponsor-card/jest.config.js",
|
||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx",
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.json",
|
"extends": "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../../../../dist/out-tsc",
|
"outDir": "../../dist/out-tsc",
|
||||||
"types": ["node"]
|
"types": ["node"]
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"../../../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
|
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
|
||||||
"../../../../node_modules/@nrwl/react/typings/image.d.ts"
|
"../../node_modules/@nrwl/next/typings/image.d.ts"
|
||||||
],
|
],
|
||||||
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx"],
|
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx"],
|
||||||
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
|
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
|
||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.json",
|
"extends": "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../../../dist/out-tsc",
|
"outDir": "../../dist/out-tsc",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"types": ["jest", "node"]
|
"types": ["jest", "node"]
|
||||||
},
|
},
|
||||||
@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "../../../.eslintrc.json",
|
|
||||||
"ignorePatterns": ["!**/*"]
|
|
||||||
}
|
|
||||||
@ -13,8 +13,8 @@ export function App() {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<NxWelcome title="<%= projectName %>"/>
|
<NxWelcome title="<%= projectName %>"/>
|
||||||
</>
|
<div />
|
||||||
);
|
</>);
|
||||||
<% if (classComponent) { %>
|
<% if (classComponent) { %>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,10 +11,10 @@ export class App extends Component {
|
|||||||
export function App() {
|
export function App() {
|
||||||
<% } %>
|
<% } %>
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<NxWelcome title="<%= projectName %>"/>
|
<NxWelcome title="<%= projectName %>"/>
|
||||||
</>
|
<div />
|
||||||
);
|
</>);
|
||||||
<% if (classComponent) { %>
|
<% if (classComponent) { %>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,8 +12,8 @@ export function App() {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<NxWelcome title="<%= projectName %>"/>
|
<NxWelcome title="<%= projectName %>"/>
|
||||||
</>
|
<div />
|
||||||
);
|
</>);
|
||||||
<% if (classComponent) { %>
|
<% if (classComponent) { %>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,11 +15,9 @@ export class App extends Component {
|
|||||||
export function App() {
|
export function App() {
|
||||||
<% } %>
|
<% } %>
|
||||||
return (
|
return (
|
||||||
<>
|
|
||||||
<StyledApp>
|
<StyledApp>
|
||||||
<NxWelcome title="<%= projectName %>"/>
|
<NxWelcome title="<%= projectName %>"/>
|
||||||
</StyledApp>
|
</StyledApp>
|
||||||
</>
|
|
||||||
);
|
);
|
||||||
<% if (classComponent) { %>
|
<% if (classComponent) { %>
|
||||||
}
|
}
|
||||||
|
|||||||
@ -34,5 +34,6 @@ Array [
|
|||||||
"app.component.html",
|
"app.component.html",
|
||||||
"app.component.spec.ts",
|
"app.component.spec.ts",
|
||||||
"app.component.ts",
|
"app.component.ts",
|
||||||
|
"nx-welcome.component.ts",
|
||||||
]
|
]
|
||||||
`;
|
`;
|
||||||
|
|||||||
@ -59,9 +59,9 @@
|
|||||||
],
|
],
|
||||||
"@nrwl/nx-dev/ui-commands": ["./nx-dev/ui-commands/src/index.ts"],
|
"@nrwl/nx-dev/ui-commands": ["./nx-dev/ui-commands/src/index.ts"],
|
||||||
"@nrwl/nx-dev/ui-home": ["./nx-dev/ui-home/src/index.ts"],
|
"@nrwl/nx-dev/ui-home": ["./nx-dev/ui-home/src/index.ts"],
|
||||||
"@nrwl/nx-dev/ui/common": ["./nx-dev/ui/common/src/index.ts"],
|
"@nrwl/nx-dev/ui-common": ["./nx-dev/ui-common/src/index.ts"],
|
||||||
"@nrwl/nx-dev/ui/member-card": ["./nx-dev/ui/member-card/src/index.ts"],
|
"@nrwl/nx-dev/ui-member-card": ["./nx-dev/ui-member-card/src/index.ts"],
|
||||||
"@nrwl/nx-dev/ui/sponsor-card": ["./nx-dev/ui/sponsor-card/src/index.ts"],
|
"@nrwl/nx-dev/ui-sponsor-card": ["./nx-dev/ui-sponsor-card/src/index.ts"],
|
||||||
"@nrwl/react": ["./packages/react"],
|
"@nrwl/react": ["./packages/react"],
|
||||||
"@nrwl/react-native": ["./packages/react-native"],
|
"@nrwl/react-native": ["./packages/react-native"],
|
||||||
"@nrwl/react/*": ["./packages/react/*"],
|
"@nrwl/react/*": ["./packages/react/*"],
|
||||||
|
|||||||
@ -52,10 +52,10 @@
|
|||||||
"nx-dev-feature-storage": "nx-dev/feature-storage",
|
"nx-dev-feature-storage": "nx-dev/feature-storage",
|
||||||
"nx-dev-feature-versions-and-flavors": "nx-dev/feature-versions-and-flavors",
|
"nx-dev-feature-versions-and-flavors": "nx-dev/feature-versions-and-flavors",
|
||||||
"nx-dev-ui-commands": "nx-dev/ui-commands",
|
"nx-dev-ui-commands": "nx-dev/ui-commands",
|
||||||
"nx-dev-ui-common": "nx-dev/ui/common",
|
"nx-dev-ui-common": "nx-dev/ui-common",
|
||||||
"nx-dev-ui-home": "nx-dev/ui-home",
|
"nx-dev-ui-home": "nx-dev/ui-home",
|
||||||
"nx-dev-ui-member-card": "nx-dev/ui/member-card",
|
"nx-dev-ui-member-card": "nx-dev/ui-member-card",
|
||||||
"nx-dev-ui-sponsor-card": "nx-dev/ui/sponsor-card",
|
"nx-dev-ui-sponsor-card": "nx-dev/ui-sponsor-card",
|
||||||
"nx-plugin": "packages/nx-plugin",
|
"nx-plugin": "packages/nx-plugin",
|
||||||
"react": "packages/react",
|
"react": "packages/react",
|
||||||
"react-native": "packages/react-native",
|
"react-native": "packages/react-native",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user