get linter running
This commit is contained in:
Родитель
a3a7463fd2
Коммит
08b6f4afb0
|
@ -1,4 +0,0 @@
|
|||
module.exports = {
|
||||
srcFiles:
|
||||
'{./,./src/**/,./stories/**/,./packages/*/,./packages/*/src/**/,./packages/*/.storybook/**/,./packages/*/stories/**/,./packages/eslint-plugin/test/,./packages/eslint-plugin/test/**/}*.{js,jsx,ts,tsx}',
|
||||
}
|
|
@ -31,7 +31,13 @@ jobs:
|
|||
${{ runner.os }}-yarn-
|
||||
|
||||
- run: yarn install
|
||||
name: Install Dependencies
|
||||
|
||||
- run: yarn ci
|
||||
name: Execute Tests
|
||||
- name: TurboRepo local server
|
||||
uses: felixmosh/turborepo-gh-artifacts@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
server-token: ${{ secrets.TURBO_SERVER_TOKEN }}
|
||||
|
||||
- run: yarn ci --api="http://127.0.0.1:9080" --token="${{ secrets.TURBO_SERVER_TOKEN }}" --team="essex"
|
||||
name: Verify
|
||||
- run: yarn is_clean
|
||||
|
|
1
.npmrc
1
.npmrc
|
@ -1 +0,0 @@
|
|||
link-workspace-packages=true
|
|
@ -10,5 +10,14 @@
|
|||
"javascript.preferences.importModuleSpecifier": "relative",
|
||||
"javascript.preferences.importModuleSpecifierEnding": "js",
|
||||
"typescript.preferences.importModuleSpecifier": "relative",
|
||||
"typescript.preferences.importModuleSpecifierEnding": "js"
|
||||
"typescript.preferences.importModuleSpecifierEnding": "js",
|
||||
"explorer.fileNesting.enabled": true,
|
||||
"explorer.fileNesting.patterns": {
|
||||
"*.ts": "${capture}.ts, ${capture}.hooks.ts, ${capture}.hooks.tsx, ${capture}.stories.tsx, ${capture}.spec.tsx, ${capture}.base.ts, ${capture}.base.tsx, ${capture}.types.ts, ${capture}.styles.ts, ${capture}.styles.tsx, ${capture}.utils.ts, ${capture}.utils.tsx, ${capture}.module.scss, ${capture}.module.css, ${capture}.md",
|
||||
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts",
|
||||
"*.jsx": "${capture}.js",
|
||||
"*.tsx": "${capture}.ts, ${capture}.hooks.ts, ${capture}.hooks.tsx, ${capture}.stories.tsx, ${capture}.spec.tsx, ${capture}.base.ts, ${capture}.base.tsx, ${capture}.types.ts, ${capture}.styles.ts, ${capture}.styles.tsx, ${capture}.utils.ts, ${capture}.utils.tsx, ${capture}.module.scss, ${capture}.module.css, ${capture}.md, ${capture}.css",
|
||||
"package.json": "LICENSE, yarn.lock, .yarnrc.yml, .pnp.cjs, .pnp.loader.mjs, .eslintrc, .eslintignore, .prettierignore, .gitattributes, .gitignore, turbo.json, tsconfig.json, .npmignore, tsconfig.*.json, jest.config.js, .huskyrc.json, .npmignore, .npmrc, .prettierrc, .lintstagedrc.json, .editorconfig",
|
||||
"README.md": "SECURITY.md, SUPPORT.md, CODE_OF_CONDUCT.md"
|
||||
}
|
||||
}
|
||||
|
|
17
package.json
17
package.json
|
@ -21,20 +21,19 @@
|
|||
"scripts": {
|
||||
"preinstall": "npx only-allow yarn",
|
||||
"postinstall": "husky install",
|
||||
"clean": "yarn workspaces foreach -pv run clean",
|
||||
"build": "yarn workspaces foreach -pivt --exclude essex-js-toolkit-stories run build",
|
||||
"test": "NODE_OPTIONS=--experimental-vm-modules yarn node $(yarn bin jest) --runInBand",
|
||||
"start:": "yarn workspaces foreach -piv run start",
|
||||
"clean": "turbo run clean",
|
||||
"build": "turbo run build",
|
||||
"test": "turbo run test",
|
||||
"start:": "turbo run start",
|
||||
"release": "yarn workspaces foreach --exclude essex-js-toolkit --exclude essex-js-toolkit-stories -pivt npm publish --tolerate-republish --access public",
|
||||
"stories": "essex serve-stories",
|
||||
"lint": "essex lint --strict --fix",
|
||||
"git_is_clean": "essex git-is-clean",
|
||||
"lint": "turbo run lint",
|
||||
"is_clean": "essex git-is-clean",
|
||||
"format": "essex prettify",
|
||||
"ci": "run-s build lint test git_is_clean"
|
||||
"ci": "turbo run ci"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@essex/eslint-config": "^20.3.4",
|
||||
"@essex/jest-config": "^21.0.10",
|
||||
"@essex/prettier-config": "^18.0.2",
|
||||
"@essex/scripts": "^22.0.0",
|
||||
"@types/jest": "^27.4.1",
|
||||
|
@ -42,13 +41,13 @@
|
|||
"debug": "^4.3.4",
|
||||
"eslint": "^8.14.0",
|
||||
"husky": "^7.0.4",
|
||||
"jest": "^28.0.1",
|
||||
"jest-environment-jsdom": "^28.0.1",
|
||||
"jest-util": "^28.0.1",
|
||||
"lint-staged": "^12.4.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"prettier": "^2.6.2",
|
||||
"regenerator-runtime": "^0.13.9",
|
||||
"turbo": "^1.2.12",
|
||||
"typescript": "^4.6.3"
|
||||
},
|
||||
"workspaces": [
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
node_modules/
|
||||
storybook-static/
|
||||
build/
|
||||
dist/
|
||||
lib/
|
||||
coverage/
|
||||
public/
|
||||
docs/
|
||||
.*
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "../../.eslintrc"
|
||||
}
|
|
@ -28,7 +28,8 @@
|
|||
},
|
||||
"scripts": {
|
||||
"clean": "essex clean dist docs",
|
||||
"build": "essex build --docs --skipExportCheck"
|
||||
"build": "essex build --docs --skipExportCheck",
|
||||
"lint": "essex lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@essex/arquero": "workspace:^",
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
node_modules/
|
||||
storybook-static/
|
||||
build/
|
||||
dist/
|
||||
lib/
|
||||
coverage/
|
||||
public/
|
||||
docs/
|
||||
.*
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "../../.eslintrc"
|
||||
}
|
|
@ -2,6 +2,6 @@
|
|||
* Copyright (c) Microsoft. All rights reserved.
|
||||
* Licensed under the MIT license. See LICENSE file in the project.
|
||||
*/
|
||||
const { configure } = require('@essex/jest-config')
|
||||
import { configure } from '@essex/jest-config'
|
||||
const config = configure({})
|
||||
module.exports = config
|
||||
export default config
|
|
@ -28,14 +28,18 @@
|
|||
},
|
||||
"scripts": {
|
||||
"clean": "essex clean dist docs",
|
||||
"build": "essex build --docs --skipExportCheck"
|
||||
"build": "essex build --docs --skipExportCheck",
|
||||
"test": "NODE_OPTIONS=--experimental-vm-modules yarn node $(yarn bin jest) --runInBand",
|
||||
"lint": "essex lint"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@essex/jest-config": "^21.0.11",
|
||||
"@essex/scripts": "^22.0.0",
|
||||
"@essex/tsconfig-base": "^1.0.2",
|
||||
"@types/jest": "^27.4.1",
|
||||
"@types/lodash-es": "^4.17.6",
|
||||
"arquero": "^4.8.8",
|
||||
"jest": "^28.1.0",
|
||||
"typescript": "^4.6.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
node_modules/
|
||||
storybook-static/
|
||||
build/
|
||||
dist/
|
||||
lib/
|
||||
coverage/
|
||||
public/
|
||||
docs/
|
||||
.*
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "../../.eslintrc"
|
||||
}
|
0
packages/boolean-expression-component/docs/boolean-expression-component.api.md
Normal file → Executable file
0
packages/boolean-expression-component/docs/boolean-expression-component.api.md
Normal file → Executable file
|
@ -18,7 +18,7 @@
|
|||
"scripts": {
|
||||
"build": "essex build --skipExportCheck --docs",
|
||||
"clean": "essex clean",
|
||||
"watch": "essex watch"
|
||||
"lint": "essex lint"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@essex/scripts": "^22.0.0",
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
"outDir": "lib",
|
||||
"jsx": "react-jsx"
|
||||
},
|
||||
"include": ["src/index.ts"]
|
||||
"include": ["src"]
|
||||
}
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
node_modules/
|
||||
storybook-static/
|
||||
build/
|
||||
dist/
|
||||
lib/
|
||||
coverage/
|
||||
public/
|
||||
docs/
|
||||
.*
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "../../.eslintrc"
|
||||
}
|
|
@ -28,7 +28,8 @@
|
|||
},
|
||||
"scripts": {
|
||||
"clean": "essex clean dist docs",
|
||||
"build": "essex build --docs"
|
||||
"build": "essex build --docs",
|
||||
"lint": "essex lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"d3-format": "^3.1.0",
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
node_modules/
|
||||
storybook-static/
|
||||
build/
|
||||
dist/
|
||||
lib/
|
||||
coverage/
|
||||
public/
|
||||
docs/
|
||||
.*
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "../../.eslintrc"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
/*!
|
||||
* Copyright (c) Microsoft. All rights reserved.
|
||||
* Licensed under the MIT license. See LICENSE file in the project.
|
||||
*/
|
||||
import { configure } from '@essex/jest-config'
|
||||
const config = configure({})
|
||||
export default config
|
|
@ -11,7 +11,9 @@
|
|||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"clean": "essex clean",
|
||||
"build": "essex build --skipExportCheck"
|
||||
"build": "essex build --skipExportCheck",
|
||||
"test": "NODE_OPTIONS=--experimental-vm-modules yarn node $(yarn bin jest) --runInBand",
|
||||
"lint": "essex lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@essex/toposort": "workspace:^",
|
||||
|
@ -19,9 +21,11 @@
|
|||
"uuid": "^8.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@essex/jest-config": "^21.0.11",
|
||||
"@essex/scripts": "^22.0.0",
|
||||
"@essex/tsconfig-base": "^1.0.2",
|
||||
"@types/jest": "^27.4.1",
|
||||
"@types/uuid": "^8.3.4"
|
||||
"@types/uuid": "^8.3.4",
|
||||
"jest": "^28.1.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
node_modules/
|
||||
storybook-static/
|
||||
build/
|
||||
dist/
|
||||
lib/
|
||||
coverage/
|
||||
public/
|
||||
docs/
|
||||
.*
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "../../.eslintrc"
|
||||
}
|
|
@ -7,8 +7,8 @@
|
|||
import type { DependencyContainer } from 'tsyringe';
|
||||
import type { FastifyInstance } from 'fastify';
|
||||
import type { FastifyRequest } from 'fastify';
|
||||
import type { GraphQLSchema } from 'graphql';
|
||||
import type { Logger } from 'pino';
|
||||
import { GraphQLSchema } from 'graphql';
|
||||
import { Logger } from 'pino';
|
||||
|
||||
// Warning: (ae-missing-release-tag) "AppBuilder" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
},
|
||||
"scripts": {
|
||||
"clean": "essex clean dist lib",
|
||||
"build": "essex build --mode dual --skipExportCheck --docs"
|
||||
"build": "essex build --mode dual --skipExportCheck --docs",
|
||||
"lint": "essex lint"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@essex/scripts": "^22.0.0",
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
import type { Logger } from 'pino'
|
||||
import { inject, singleton } from 'tsyringe'
|
||||
|
||||
import type { AppBuilder, IBuiltAppContext, PreRunCb } from '../app/index.js'
|
||||
import type { AppBuilder } from '../app/AppBuilder.js'
|
||||
import type { IBuiltAppContext, PreRunCb } from '../app/index.js'
|
||||
import type { IBaseConfiguration } from '../configuration/index.js'
|
||||
import { BaseInjectorNames } from '../injectors.js'
|
||||
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
node_modules/
|
||||
storybook-static/
|
||||
build/
|
||||
dist/
|
||||
lib/
|
||||
coverage/
|
||||
public/
|
||||
docs/
|
||||
.*
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"extends": "../../.eslintrc",
|
||||
"rules": {
|
||||
"@typescript-eslint/no-misused-promises": "warn"
|
||||
}
|
||||
}
|
|
@ -14,7 +14,6 @@
|
|||
"scripts": {
|
||||
"build": "essex build --skipExportCheck --docs",
|
||||
"clean": "essex clean",
|
||||
"start": "essex watch",
|
||||
"lint": "essex lint"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
"resolveJsonModule": true,
|
||||
"outDir": "lib"
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
"include": ["src"]
|
||||
}
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
node_modules/
|
||||
storybook-static/
|
||||
build/
|
||||
dist/
|
||||
lib/
|
||||
coverage/
|
||||
public/
|
||||
docs/
|
||||
.*
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "../../.eslintrc"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
/*!
|
||||
* Copyright (c) Microsoft. All rights reserved.
|
||||
* Licensed under the MIT license. See LICENSE file in the project.
|
||||
*/
|
||||
import { configure } from '@essex/jest-config'
|
||||
const config = configure({})
|
||||
export default config
|
|
@ -15,13 +15,15 @@
|
|||
"scripts": {
|
||||
"build": "essex build --skipExportCheck --docs",
|
||||
"clean": "essex clean",
|
||||
"watch": "essex watch"
|
||||
"test": "NODE_OPTIONS=--experimental-vm-modules yarn node $(yarn bin jest) --runInBand",
|
||||
"lint": "essex lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@essex/toolbox": "workspace:^",
|
||||
"lodash-es": "^4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@essex/jest-config": "^21.0.11",
|
||||
"@essex/scripts": "^22.0.0",
|
||||
"@testing-library/react": "^13.1.1",
|
||||
"@types/jest": "^27.4.1",
|
||||
|
@ -30,6 +32,7 @@
|
|||
"@types/react": "^18.0.7",
|
||||
"@types/react-dom": "^18.0.2",
|
||||
"@types/react-test-renderer": "^18.0.0",
|
||||
"jest": "^28.1.0",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0",
|
||||
"react-test-renderer": "^18.0.0",
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
"outDir": "lib",
|
||||
"types": ["jest"]
|
||||
},
|
||||
"include": ["src/index.ts"]
|
||||
"include": ["src"]
|
||||
}
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
node_modules/
|
||||
storybook-static/
|
||||
build/
|
||||
dist/
|
||||
lib/
|
||||
coverage/
|
||||
public/
|
||||
docs/
|
||||
.*
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "../../.eslintrc"
|
||||
}
|
|
@ -18,7 +18,7 @@
|
|||
"scripts": {
|
||||
"build": "essex build --docs",
|
||||
"clean": "essex clean",
|
||||
"watch": "essex watch"
|
||||
"lint": "essex lint"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@azure/msal-browser": "^2.23.0",
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
node_modules/
|
||||
storybook-static/
|
||||
build/
|
||||
dist/
|
||||
lib/
|
||||
coverage/
|
||||
public/
|
||||
docs/
|
||||
.*
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "../../.eslintrc"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
/*!
|
||||
* Copyright (c) Microsoft. All rights reserved.
|
||||
* Licensed under the MIT license. See LICENSE file in the project.
|
||||
*/
|
||||
import { configure } from '@essex/jest-config'
|
||||
const config = configure({})
|
||||
export default config
|
|
@ -14,14 +14,17 @@
|
|||
"scripts": {
|
||||
"build": "essex build --docs",
|
||||
"clean": "essex clean",
|
||||
"watch": "essex watch"
|
||||
"test": "NODE_OPTIONS=--experimental-vm-modules yarn node $(yarn bin jest) --runInBand",
|
||||
"lint": "essex lint"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@essex/jest-config": "^21.0.11",
|
||||
"@essex/scripts": "^22.0.0",
|
||||
"@essex/tsconfig-base": "^1.0.2",
|
||||
"@testing-library/react": "^13.1.1",
|
||||
"@types/react": "^18.0.7",
|
||||
"@types/react-dom": "^18.0.2",
|
||||
"jest": "^28.1.0",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
},
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
node_modules/
|
||||
storybook-static/
|
||||
build/
|
||||
dist/
|
||||
lib/
|
||||
coverage/
|
||||
public/
|
||||
docs/
|
||||
.*
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "../../.eslintrc"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
/*!
|
||||
* Copyright (c) Microsoft. All rights reserved.
|
||||
* Licensed under the MIT license. See LICENSE file in the project.
|
||||
*/
|
||||
import { configure } from '@essex/jest-config'
|
||||
const config = configure({})
|
||||
export default config
|
|
@ -9,9 +9,10 @@
|
|||
"scripts": {
|
||||
"clean": "essex clean",
|
||||
"start:storybook": "start-storybook -s ./public",
|
||||
"build:storybook": "build-storybook --quiet",
|
||||
"bundle:storybook": "build-storybook --quiet",
|
||||
"start": "yarn start:storybook",
|
||||
"build": "yarn build:storybook"
|
||||
"bundle": "yarn bundle:storybook",
|
||||
"lint": "essex lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@essex/boolean-expression-component": "workspace:^",
|
||||
|
@ -28,6 +29,7 @@
|
|||
"@babel/preset-env": "^7.16.11",
|
||||
"@babel/preset-react": "^7.16.7",
|
||||
"@babel/preset-typescript": "^7.16.7",
|
||||
"@essex/jest-config": "^21.0.11",
|
||||
"@essex/scripts": "^22.0.0",
|
||||
"@fluentui/font-icons-mdl2": "^8.3.2",
|
||||
"@fluentui/react": "^8.67.0",
|
||||
|
@ -49,6 +51,7 @@
|
|||
"@types/react-is": "^17.0.3",
|
||||
"@uifabric/icons": "^7.7.0",
|
||||
"babel-loader": "^8.2.5",
|
||||
"jest": "^28.1.0",
|
||||
"react-is": "^18.0.0",
|
||||
"regenerator-runtime": "^0.13.9",
|
||||
"resolve-typescript-plugin": "^1.2.0"
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
node_modules/
|
||||
storybook-static/
|
||||
build/
|
||||
dist/
|
||||
lib/
|
||||
coverage/
|
||||
public/
|
||||
docs/
|
||||
.*
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "../../.eslintrc"
|
||||
}
|
|
@ -15,7 +15,7 @@
|
|||
"scripts": {
|
||||
"build": "essex build --skipExportCheck --docs",
|
||||
"clean": "essex clean",
|
||||
"watch": "essex watch"
|
||||
"lint": "essex lint"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@essex/scripts": "^22.0.0",
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
node_modules/
|
||||
storybook-static/
|
||||
build/
|
||||
dist/
|
||||
lib/
|
||||
coverage/
|
||||
public/
|
||||
docs/
|
||||
.*
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "../../.eslintrc"
|
||||
}
|
|
@ -15,7 +15,7 @@
|
|||
"scripts": {
|
||||
"build": "essex build --skipExportCheck --docs",
|
||||
"clean": "essex clean",
|
||||
"watch": "essex watch"
|
||||
"lint": "essex lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@essex/hooks": "workspace:^",
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
"outDir": "lib",
|
||||
"allowSyntheticDefaultImports": true
|
||||
},
|
||||
"include": ["src/index.ts"]
|
||||
"include": ["src"]
|
||||
}
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
node_modules/
|
||||
storybook-static/
|
||||
build/
|
||||
dist/
|
||||
lib/
|
||||
coverage/
|
||||
public/
|
||||
docs/
|
||||
.*
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "../../.eslintrc"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
/*!
|
||||
* Copyright (c) Microsoft. All rights reserved.
|
||||
* Licensed under the MIT license. See LICENSE file in the project.
|
||||
*/
|
||||
import { configure } from '@essex/jest-config'
|
||||
const config = configure({})
|
||||
export default config
|
|
@ -14,10 +14,14 @@
|
|||
"license": "MIT",
|
||||
"scripts": {
|
||||
"clean": "essex clean",
|
||||
"build": "essex build --docs"
|
||||
"build": "essex build --docs",
|
||||
"test": "NODE_OPTIONS=--experimental-vm-modules yarn node $(yarn bin jest) --runInBand",
|
||||
"lint": "essex lint"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@essex/jest-config": "^21.0.11",
|
||||
"@essex/scripts": "^22.0.0",
|
||||
"jest": "^28.1.0",
|
||||
"regenerator-runtime": "^0.13.9"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
"lib": ["es2015", "dom"],
|
||||
"outDir": "lib"
|
||||
},
|
||||
"include": ["src/index.ts"]
|
||||
"include": ["src"]
|
||||
}
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
node_modules/
|
||||
storybook-static/
|
||||
build/
|
||||
dist/
|
||||
lib/
|
||||
coverage/
|
||||
public/
|
||||
docs/
|
||||
.*
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "../../.eslintrc"
|
||||
}
|
|
@ -17,7 +17,8 @@
|
|||
"license": "MIT",
|
||||
"scripts": {
|
||||
"clean": "essex clean",
|
||||
"build": "essex build --docs"
|
||||
"build": "essex build --docs",
|
||||
"lint": "essex lint"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@essex/scripts": "^22.0.0",
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"$schema": "https://turborepo.org/schema.json",
|
||||
"baseBranch": "origin/main",
|
||||
"pipeline": {
|
||||
"build": {
|
||||
"dependsOn": [],
|
||||
"outputs": ["dist/**", "docs/**"]
|
||||
},
|
||||
"test": {
|
||||
"dependsOn": [],
|
||||
"outputs": []
|
||||
},
|
||||
"lint": {
|
||||
"dependsOn": [],
|
||||
"outputs": []
|
||||
},
|
||||
"bundle": {
|
||||
"dependsOn": [],
|
||||
"outputs": ["dist/**", "build/**"]
|
||||
},
|
||||
"ci": {
|
||||
"dependsOn": ["build", "lint", "test", "bundle"],
|
||||
"outputs": ["dist/**", "docs/**"]
|
||||
},
|
||||
"clean": {
|
||||
"cache": false
|
||||
},
|
||||
"release": {
|
||||
"cache": false
|
||||
},
|
||||
"start": {
|
||||
"cache": false
|
||||
}
|
||||
}
|
||||
}
|
1051
yarn.lock
1051
yarn.lock
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче