-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add build step for remaining projects
- Loading branch information
1 parent
3c9e61c
commit 1493d1c
Showing
54 changed files
with
302 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,103 @@ | ||
{ | ||
"name": "@toptal/picasso-root", | ||
"version": "0.0.1", | ||
"description": "", | ||
"private": true, | ||
"description": "", | ||
"homepage": "https://github.com/toptal/picasso#readme", | ||
"bugs": { | ||
"url": "https://github.com/toptal/picasso/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:toptal/picasso.git" | ||
}, | ||
"license": "MIT", | ||
"author": "Toptal", | ||
"workspaces": [ | ||
"packages/*", | ||
"packages/base/*" | ||
], | ||
"scripts": { | ||
"build:package": "lerna run build:package", | ||
"build:all": "nx run-many -t build", | ||
"build:package": "lerna run build:package", | ||
"build:storybook": "build-storybook -c .storybook -o build/storybook --quiet", | ||
"circularity": "madge --circular packages/*/src", | ||
"check:icon-sizes": "node ./bin/check-icon-sizes", | ||
"circularity": "madge --circular packages/*/src", | ||
"clean": "yarn cache clean && nx reset && find . -type d -name \"node_modules\" -exec rm -rf '{}' +", | ||
"generate:component": "davinci-code new component", | ||
"generate:example": "davinci-code new example", | ||
"generate:svg-components": "yarn generate:icons && yarn generate:pictograms", | ||
"generate:icons": "./bin/generate-components-from-svg icon", | ||
"generate:pictograms": "./bin/generate-components-from-svg pictogram", | ||
"generate:svg-components": "yarn generate:icons && yarn generate:pictograms", | ||
"happo": "cross-env SCREENSHOT_BREAKPOINTS=true TEST_ENV=visual HAPPO_PROJECT=Picasso/Storybook happo", | ||
"happo:storybook": "cross-env SCREENSHOT_BREAKPOINTS=true TEST_ENV=visual HAPPO_IS_ASYNC=false happo-ci-github-actions", | ||
"lint": "davinci-syntax lint code --check .", | ||
"lint:fix": "davinci-syntax lint code packages/base", | ||
"release": "yarn build:package && changeset publish", | ||
"prepare": "husky install", | ||
"prepublish": "if [ -f 'yarn.lock' ]; then yarn-deduplicate yarn.lock; fi", | ||
"refresh:tsconfig-references": "./bin/refresh-tsconfig-references.mjs", | ||
"release": "yarn build:package && changeset publish", | ||
"start": "start-storybook -p 9001 -c .storybook", | ||
"syncpack": "yarn syncpack:list & yarn syncpack:fix", | ||
"syncpack:list": "syncpack list-mismatches", | ||
"syncpack:fix": "syncpack fix-mismatches", | ||
"symlink": "cross-env ./bin/symlink --link", | ||
"symlink:off": "cross-env ./bin/symlink --unlink", | ||
"syncpack": "yarn syncpack:list & yarn syncpack:fix", | ||
"syncpack:fix": "syncpack fix-mismatches", | ||
"syncpack:list": "syncpack list-mismatches", | ||
"test": "yarn test:unit && yarn test:integration", | ||
"test:combine": "yarn istanbul-merge --out coverage/combined/report.json coverage/cypress/coverage-final.json coverage/jest/coverage-final.json && nyc report --temp-dir coverage/combined --report-dir coverage/combined --reporter html", | ||
"test:coverage": "yarn test:unit:coverage && yarn test:integration && yarn test:combine", | ||
"test:integration": "yarn test:setup cypress run --component", | ||
"test:integration:ci": "yarn happo-e2e -- -- yarn test:setup cypress run --component", | ||
"test:integration:open": "yarn test:setup cypress open --browser=electron --component", | ||
"test:setup": "cross-env TZ=UTC NODE_ENV=development", | ||
"test:unit": "davinci-qa unit --config=./jest.spec.mjs", | ||
"test:unit:debug": "cross-env NODE_OPTIONS=--inspect-brk yarn test:unit", | ||
"test:unit:ci": "yarn test:unit --maxWorkers=4 --ci", | ||
"test:unit:coverage": "yarn test:unit:ci --collect-coverage --coverage true --collectCoverageFrom packages/**/*.{ts,tsx} --coverageDirectory coverage/jest", | ||
"test:combine": "yarn istanbul-merge --out coverage/combined/report.json coverage/cypress/coverage-final.json coverage/jest/coverage-final.json && nyc report --temp-dir coverage/combined --report-dir coverage/combined --reporter html", | ||
"test:unit:debug": "cross-env NODE_OPTIONS=--inspect-brk yarn test:unit", | ||
"test:unit:watch": "yarn test:unit --watch", | ||
"typecheck": "tsc --noEmit && tsc -p ./cypress/tsconfig.json", | ||
"prepublish": "if [ -f 'yarn.lock' ]; then yarn-deduplicate yarn.lock; fi", | ||
"prepare": "husky install" | ||
"typecheck": "tsc --noEmit && tsc -p ./cypress/tsconfig.json" | ||
}, | ||
"lint-staged": { | ||
"{**/*.{js,jsx,ts,tsx},.changeset/*.md}": [ | ||
"davinci-syntax lint code", | ||
"prettier --write" | ||
] | ||
}, | ||
"nyc": { | ||
"report-dir": "coverage/cypress", | ||
"reporter": [ | ||
"json" | ||
], | ||
"include": [ | ||
"packages/**/src/**/*.ts", | ||
"packages/**/src/**/*.tsx", | ||
"packages/base/src/**/*.ts", | ||
"packages/base/src/**/*.tsx" | ||
], | ||
"report-dir": "coverage/cypress", | ||
"reporter": [ | ||
"json" | ||
] | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:toptal/picasso.git" | ||
}, | ||
"author": "Toptal", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/toptal/picasso/issues" | ||
"resolutions": { | ||
"**/@types/unist": "3.0.0", | ||
"**/default-browser-id/meow/trim-newlines": "^3", | ||
"**/find-babel-config/json5": "1", | ||
"**/marksy/marked": "^0.7.0", | ||
"@storybook/react": "^6.5.15", | ||
"ansi-regex": "^5.0.1", | ||
"glob-parent": "^6.0.2", | ||
"lodash": "^4.17.21", | ||
"minimist": "^1.2.6", | ||
"node-fetch": "^2.6.7", | ||
"postcss": "^8.4.32", | ||
"prettier": "^2.5.1", | ||
"prismjs": "^1.25.0", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-test-renderer": "^18.2.0", | ||
"semver-regex": "^3.1.3", | ||
"trim": "^0.0.3", | ||
"unset-value": "^2.0.1", | ||
"webpack": "^5.0.0", | ||
"yaml": "2" | ||
}, | ||
"homepage": "https://github.com/toptal/picasso#readme", | ||
"devDependencies": { | ||
"@actions/core": "^1.10.0", | ||
"@actions/github": "^6.0.0", | ||
|
@@ -155,35 +184,6 @@ | |
"yarn-deduplicate": "^6.0.2", | ||
"zx": "^7.2.3" | ||
}, | ||
"lint-staged": { | ||
"{**/*.{js,jsx,ts,tsx},.changeset/*.md}": [ | ||
"davinci-syntax lint code", | ||
"prettier --write" | ||
] | ||
}, | ||
"resolutions": { | ||
"lodash": "^4.17.21", | ||
"**/marksy/marked": "^0.7.0", | ||
"**/find-babel-config/json5": "1", | ||
"postcss": "^8.4.32", | ||
"**/default-browser-id/meow/trim-newlines": "^3", | ||
"**/@types/unist": "3.0.0", | ||
"@storybook/react": "^6.5.15", | ||
"webpack": "^5.0.0", | ||
"glob-parent": "^6.0.2", | ||
"prettier": "^2.5.1", | ||
"trim": "^0.0.3", | ||
"ansi-regex": "^5.0.1", | ||
"minimist": "^1.2.6", | ||
"prismjs": "^1.25.0", | ||
"unset-value": "^2.0.1", | ||
"semver-regex": "^3.1.3", | ||
"node-fetch": "^2.6.7", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-test-renderer": "^18.2.0", | ||
"yaml": "2" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export * from './Notification' | ||
export * from './NotificationActions' | ||
export * from './NotificationCompound' | ||
export * from './NotificationCompound' | ||
export * from './use-notification' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"extends": "../../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"outDir": "dist" | ||
}, | ||
"include": ["src"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { "outDir": "dist" }, | ||
"include": ["src"], | ||
"references": [ | ||
{ "path": "../base/Utils" }, | ||
{ "path": "../picasso" }, | ||
{ "path": "../shared" } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"outDir": "dist" | ||
}, | ||
"include": ["src"] | ||
} |
Oops, something went wrong.