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:
Pawan Kumar 2023-08-16 15:19:21 +05:30 committed by GitHub
parent 323484c505
commit f2636358af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 41 deletions

View File

@ -12,7 +12,8 @@
"packageManager": "yarn@3.5.1",
"cracoConfig": "craco.dev.config.js",
"workspaces": [
"packages/**/!(build)*"
"packages/**",
"!packages/**/build"
],
"scripts": {
"analyze": "yarn cra-bundle-analyzer",

View File

@ -1,42 +1,42 @@
{
"name": "@shared/dsl",
"private": true,
"version": "1.0.0",
"description": "",
"author": "",
"license": "ISC",
"scripts": {
"test:unit": "jest -b --colors --no-cache --silent --coverage --collectCoverage=true --coverageDirectory='./' --coverageReporters='json-summary'",
"test:jest": "jest --watch",
"lint": "yarn g:lint",
"prettier": "yarn g:prettier",
"build": "rollup -c",
"start": "rollup -c",
"postinstall": "yarn build"
},
"main": "build/index.js",
"module": "build/index.es.js",
"types": "build/index.d.ts",
"files": [
"build"
],
"publishConfig": {
"directory": "build"
},
"dependencies": {
"@babel/runtime": "^7.21.0",
"@rollup/plugin-commonjs": "^22.0.0",
"@types/escodegen": "^0.0.7",
"@types/lodash": "^4.14.120",
"normalizr": "^3.6.2",
"rollup": "^2.77.0",
"rollup-plugin-generate-package-json": "^3.2.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-typescript2": "^0.32.0",
"typescript": "4.5.5"
},
"devDependencies": {
"jest": "^29.5.0",
"ts-jest": "^29.1.0"
}
"name": "@shared/dsl",
"private": true,
"version": "1.0.0",
"description": "",
"author": "",
"license": "ISC",
"scripts": {
"test:unit": "jest -b --colors --no-cache --silent --coverage --collectCoverage=true --coverageDirectory='./' --coverageReporters='json-summary'",
"test:jest": "jest --watch",
"lint": "yarn g:lint",
"prettier": "yarn g:prettier",
"build": "rollup -c",
"start": "rollup -c",
"postinstall": "yarn build"
},
"main": "build/index.js",
"module": "build/index.es.js",
"types": "build/index.d.ts",
"files": [
"build"
],
"publishConfig": {
"directory": "build"
},
"dependencies": {
"@babel/runtime": "^7.21.0",
"@rollup/plugin-commonjs": "^22.0.0",
"@types/escodegen": "^0.0.7",
"@types/lodash": "^4.14.120",
"normalizr": "^3.6.2",
"rollup": "^2.77.0",
"rollup-plugin-generate-package-json": "^3.2.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-typescript2": "^0.32.0",
"typescript": "4.5.5"
},
"devDependencies": {
"jest": "^29.5.0",
"ts-jest": "^29.1.0"
}
}