fix: Chromatic build issue (#26368)
Fixes build issue that happened on the promotional PR: release v1.9.33 It happened due to our recent change in the node version. npm started behaving differently. ~This PR removes post install script in ast and dsl so that there is no conflict between package names between ast and ast/build.~
This commit is contained in:
parent
323484c505
commit
f2636358af
|
|
@ -12,7 +12,8 @@
|
||||||
"packageManager": "yarn@3.5.1",
|
"packageManager": "yarn@3.5.1",
|
||||||
"cracoConfig": "craco.dev.config.js",
|
"cracoConfig": "craco.dev.config.js",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/**/!(build)*"
|
"packages/**",
|
||||||
|
"!packages/**/build"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"analyze": "yarn cra-bundle-analyzer",
|
"analyze": "yarn cra-bundle-analyzer",
|
||||||
|
|
|
||||||
|
|
@ -1,42 +1,42 @@
|
||||||
{
|
{
|
||||||
"name": "@shared/dsl",
|
"name": "@shared/dsl",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test:unit": "jest -b --colors --no-cache --silent --coverage --collectCoverage=true --coverageDirectory='./' --coverageReporters='json-summary'",
|
"test:unit": "jest -b --colors --no-cache --silent --coverage --collectCoverage=true --coverageDirectory='./' --coverageReporters='json-summary'",
|
||||||
"test:jest": "jest --watch",
|
"test:jest": "jest --watch",
|
||||||
"lint": "yarn g:lint",
|
"lint": "yarn g:lint",
|
||||||
"prettier": "yarn g:prettier",
|
"prettier": "yarn g:prettier",
|
||||||
"build": "rollup -c",
|
"build": "rollup -c",
|
||||||
"start": "rollup -c",
|
"start": "rollup -c",
|
||||||
"postinstall": "yarn build"
|
"postinstall": "yarn build"
|
||||||
},
|
},
|
||||||
"main": "build/index.js",
|
"main": "build/index.js",
|
||||||
"module": "build/index.es.js",
|
"module": "build/index.es.js",
|
||||||
"types": "build/index.d.ts",
|
"types": "build/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"build"
|
"build"
|
||||||
],
|
],
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"directory": "build"
|
"directory": "build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.21.0",
|
"@babel/runtime": "^7.21.0",
|
||||||
"@rollup/plugin-commonjs": "^22.0.0",
|
"@rollup/plugin-commonjs": "^22.0.0",
|
||||||
"@types/escodegen": "^0.0.7",
|
"@types/escodegen": "^0.0.7",
|
||||||
"@types/lodash": "^4.14.120",
|
"@types/lodash": "^4.14.120",
|
||||||
"normalizr": "^3.6.2",
|
"normalizr": "^3.6.2",
|
||||||
"rollup": "^2.77.0",
|
"rollup": "^2.77.0",
|
||||||
"rollup-plugin-generate-package-json": "^3.2.0",
|
"rollup-plugin-generate-package-json": "^3.2.0",
|
||||||
"rollup-plugin-peer-deps-external": "^2.2.4",
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
||||||
"rollup-plugin-typescript2": "^0.32.0",
|
"rollup-plugin-typescript2": "^0.32.0",
|
||||||
"typescript": "4.5.5"
|
"typescript": "4.5.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"jest": "^29.5.0",
|
"jest": "^29.5.0",
|
||||||
"ts-jest": "^29.1.0"
|
"ts-jest": "^29.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user