ci: publish esm and cjs

This commit is contained in:
Dexter 2023-04-25 10:11:55 +01:00
parent f589f4a9fa
commit 0a92f62a66
6 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,5 @@
{ {
"name": "@vegaprotocol/i18n", "name": "@vegaprotocol/i18n",
"version": "0.0.1", "version": "0.0.2",
"type": "commonjs" "type": "commonjs"
} }

View File

@ -6,6 +6,7 @@
"build": { "build": {
"executor": "@nrwl/js:tsc", "executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"], "outputs": ["{options.outputPath}"],
"format": ["esm", "cjs"],
"options": { "options": {
"outputPath": "dist/libs/i18n", "outputPath": "dist/libs/i18n",
"main": "libs/i18n/src/index.ts", "main": "libs/i18n/src/index.ts",

View File

@ -1,4 +1,4 @@
{ {
"name": "@vegaprotocol/react-helpers", "name": "@vegaprotocol/react-helpers",
"version": "0.2.1" "version": "0.2.2"
} }

View File

@ -1,4 +1,4 @@
{ {
"name": "@vegaprotocol/types", "name": "@vegaprotocol/types",
"version": "0.0.1" "version": "0.0.2"
} }

View File

@ -15,6 +15,7 @@
"external": ["react/jsx-runtime"], "external": ["react/jsx-runtime"],
"rollupConfig": "@nrwl/react/plugins/bundle-rollup", "rollupConfig": "@nrwl/react/plugins/bundle-rollup",
"compiler": "babel", "compiler": "babel",
"format": ["esm", "cjs"],
"assets": [ "assets": [
{ {
"glob": "libs/types/README.md", "glob": "libs/types/README.md",

View File

@ -1,4 +1,4 @@
{ {
"name": "@vegaprotocol/ui-toolkit", "name": "@vegaprotocol/ui-toolkit",
"version": "0.12.0" "version": "0.12.1"
} }