Skip to content

Commit

Permalink
chore(BEEQ react): build using TypeScript instead of Rollup (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgonzalezr committed Aug 20, 2023
1 parent 9aa36a6 commit e5ffe47
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 23 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"repository": {
"type": "Git",
"url": "https://github.com/Endava/bee-q"
"url": "https://github.com/Endava/BEEQ"
},
"scripts": {
"prestart": "nx run beeq:generate-icons",
Expand Down
6 changes: 3 additions & 3 deletions packages/beeq-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "@bee-q/angular",
"version": "0.8.0",
"license": "Apache-2.0",
"description": "Angular specific wrapper for Bee-Q Design System components",
"description": "Angular specific wrapper for BEEQ Design System components",
"main": "dist/esm2015/index.js",
"module": "dist/esm2015/index.js",
"types": "dist/index.d.ts",
"types": "index.d.ts",
"dependencies": {
"tslib": "2.6.1"
},
Expand All @@ -19,6 +19,6 @@
},
"repository": {
"type": "git",
"url": "https://github.com/Endava/bee-q"
"url": "https://github.com/Endava/BEEQ"
}
}
4 changes: 2 additions & 2 deletions packages/beeq-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@bee-q/react",
"version": "0.8.0",
"license": "Apache-2.0",
"description": "React specific wrapper for Bee-Q Design System components",
"description": "React specific wrapper for BEEQ Design System components",
"main": "./src/index.js",
"module": "./src/index.js",
"types": "./src/index.d.ts",
Expand All @@ -21,7 +21,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/Endava/bee-q"
"url": "https://github.com/Endava/BEEQ"
},
"publishConfig": {
"access": "public",
Expand Down
19 changes: 5 additions & 14 deletions packages/beeq-react/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,14 @@
"implicitDependencies": ["beeq"],
"targets": {
"build": {
"executor": "@nx/rollup:rollup",
"outputs": ["{options.outputPath}"],
"executor": "@nx/js:tsc",
"options": {
"clean": true,
"main": "packages/beeq-react/src/index.ts",
"assets": ["packages/beeq-react/README.md"],
"outputPath": "dist/beeq-react",
"tsConfig": "packages/beeq-react/tsconfig.lib.json",
"project": "packages/beeq-react/package.json",
"entryFile": "packages/beeq-react/src/index.ts",
"external": ["react", "react-dom", "react/jsx-runtime"],
"rollupConfig": "@nx/react/plugins/bundle-rollup",
"compiler": "babel",
"assets": [
{
"glob": "packages/beeq-react/README.md",
"input": ".",
"output": "."
}
]
"tsConfig": "packages/beeq-react/tsconfig.lib.json"
}
},
"publish": {
Expand Down
3 changes: 2 additions & 1 deletion packages/beeq-react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"jsx": "react-jsx",
"allowJs": false,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,
"declaration": true
},
"files": [],
"include": [],
Expand Down
1 change: 0 additions & 1 deletion packages/beeq-react/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"outDir": "../../dist/out-tsc",
"types": ["node"]
},
"files": ["../../node_modules/@nx/react/typings/cssmodule.d.ts", "../../node_modules/@nx/react/typings/image.d.ts"],
"exclude": [
"jest.config.ts",
"**/*.spec.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/beeq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/Endava/bee-q"
"url": "https://github.com/Endava/BEEQ"
},
"publishConfig": {
"access": "public",
Expand Down

0 comments on commit e5ffe47

Please sign in to comment.