From a23d0a6c12f0c6581dbc1db1d543c91802ae4bf5 Mon Sep 17 00:00:00 2001 From: Thomas Schallert Date: Wed, 10 May 2023 17:50:23 +0200 Subject: [PATCH] feat: rollback to previous app version --- package.json | 2 +- .../package.json | 11 +++------- .../tsconfig.json | 4 ++-- yarn.lock | 20 +++++++++---------- 4 files changed, 16 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index 34488916..5ec6b440 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "dev:build": "yarn build_local && cd packages/app && yarn dev", "start": "cd packages/app && yarn start", "build": "cd packages/design-system-component-library-yeahyeahyeah && yarn build", - "build:local": "cd packages/design-system-component-library-yeahyeahyeah && yarn build:local", + "build_local": "cd packages/design-system-component-library-yeahyeahyeah && yarn build_local", "build-app": "yarn build && cd packages/app && yarn build", "build-icons": "npx @svgr/cli --typescript --icon 16px --out-dir ./packages/design-system-component-library-yeahyeahyeah/components/icon/components -- ./packages/design-system-component-library-yeahyeahyeah/components/icon/svg", "watch": "cd packages/design-system-component-library-yeahyeahyeah && yarn watch", diff --git a/packages/design-system-component-library-yeahyeahyeah/package.json b/packages/design-system-component-library-yeahyeahyeah/package.json index f16c70b5..427103e1 100644 --- a/packages/design-system-component-library-yeahyeahyeah/package.json +++ b/packages/design-system-component-library-yeahyeahyeah/package.json @@ -13,18 +13,13 @@ ], "exports": { ".": { - "import": "./dist/cjs/index.js", - "require": { - "default": "./dist/cjs/index.js" - } + "import": "./dist/index.js" }, "./tailwind.config.js": "./tailwind.config.js" }, - "module": "./dist/esm/index.js", "scripts": { - "build": "del ./dist && del ./index.ts && ctix create --overwrite --noBackup --project ./tsconfig.dist.json && tsc -p tsconfig.dist.json --declarationDir dist/types && yarn build:cjs && yarn copy-files", - "build:local": "del ./dist && del ./index.ts && ctix create --overwrite --noBackup --project ./tsconfig.dist.json && tsc -p tsconfig.dist.json --declarationDir dist/types && yarn build:cjs", - "build:cjs": "tsc -p tsconfig.dist.json --module CommonJS --outDir dist/cjs", + "build": "del ./dist && del ./index.ts && ctix create --overwrite --noBackup --project ./tsconfig.dist.json && tsc -p tsconfig.dist.json && yarn copy-files", + "build_local": "del ./dist && del ./index.ts && ctix create --overwrite --noBackup --project ./tsconfig.dist.json && tsc -p tsconfig.dist.json", "watch": "del ./dist && del ./index.ts && ctix create --overwrite --noBackup --project ./tsconfig.dist.json && tsc --watch -p tsconfig.dist.json", "storybook": "start-storybook -p 6006", "build-storybook": "build-storybook", diff --git a/packages/design-system-component-library-yeahyeahyeah/tsconfig.json b/packages/design-system-component-library-yeahyeahyeah/tsconfig.json index 5c585132..74de144d 100644 --- a/packages/design-system-component-library-yeahyeahyeah/tsconfig.json +++ b/packages/design-system-component-library-yeahyeahyeah/tsconfig.json @@ -13,13 +13,13 @@ "skipLibCheck": true, // Ensure that .d.ts files are created by tsc, but not .js files "declaration": true, - "declarationDir": "./dist/esm/types", + "declarationDir": "dist/types", "emitDeclarationOnly": false, // Ensure that Babel can safely transpile files in the TypeScript project "isolatedModules": true, "jsx": "preserve", "sourceMap": true, - "outDir": "dist/esm", + "outDir": "dist", "allowJs": true }, "include": ["./**/*.tsx", "./**/*.ts", "./../../types/*.d.ts", "./types/*.d.ts"], diff --git a/yarn.lock b/yarn.lock index bee38722..a1e49b5f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10178,7 +10178,7 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^5.10.0, enhanced-resolve@npm:^5.13.0": +"enhanced-resolve@npm:^5.10.0, enhanced-resolve@npm:^5.14.0": version: 5.14.0 resolution: "enhanced-resolve@npm:5.14.0" dependencies: @@ -15241,7 +15241,7 @@ __metadata: languageName: node linkType: hard -"lru-cache@npm:^9.0.0": +"lru-cache@npm:^9.1.1": version: 9.1.1 resolution: "lru-cache@npm:9.1.1" checksum: 4d703bb9b66216bbee55ead82a9682820a2b6acbdfca491b235390b1ef1056000a032d56dfb373fdf9ad4492f1fa9d04cc9a05a77f25bd7ce6901d21ad9b68b7 @@ -17346,12 +17346,12 @@ __metadata: linkType: hard "path-scurry@npm:^1.7.0": - version: 1.7.0 - resolution: "path-scurry@npm:1.7.0" + version: 1.7.1 + resolution: "path-scurry@npm:1.7.1" dependencies: - lru-cache: ^9.0.0 + lru-cache: ^9.1.1 minipass: ^5.0.0 - checksum: 4e86df0fa6848cef1ba672d4a332b8dbd0297c42d5123bcc419d714c34b25ee6775b0d2e66dd5e698a38e9bcd808f8fc47333e3a3357307cada98e16bfae8b98 + checksum: 33bd33418c3618a7196a2bb09917deee67c9893dffa1fa25ec6b4e6e4dc63670147b3efb83ba835f358825f43c014ca66d216893e8d501c20c7db4ffcee10eaa languageName: node linkType: hard @@ -23421,8 +23421,8 @@ __metadata: linkType: hard "webpack@npm:>=4.43.0 <6.0.0, webpack@npm:^5.64.4, webpack@npm:^5.75.0": - version: 5.82.0 - resolution: "webpack@npm:5.82.0" + version: 5.82.1 + resolution: "webpack@npm:5.82.1" dependencies: "@types/eslint-scope": ^3.7.3 "@types/estree": ^1.0.0 @@ -23433,7 +23433,7 @@ __metadata: acorn-import-assertions: ^1.7.6 browserslist: ^4.14.5 chrome-trace-event: ^1.0.2 - enhanced-resolve: ^5.13.0 + enhanced-resolve: ^5.14.0 es-module-lexer: ^1.2.1 eslint-scope: 5.1.1 events: ^3.2.0 @@ -23453,7 +23453,7 @@ __metadata: optional: true bin: webpack: bin/webpack.js - checksum: 499e7f5f24fccaa76f64f2a01f91f371073416f568ef6171dc73187a89078f0c33410d4c9f40d411f0827bab8455f8476eabd803ef4d2920d9a2e5f17efa2703 + checksum: 747ee7ebd238c15249c2652060e3c6ca6d62cc66dcf7e4e2824ecd4875b7ea5e01fce8f4179080a3e84dfdb3c8d0992700444c7c5a05ef47b38c0623d3ac76de languageName: node linkType: hard