Skip to content

Commit

Permalink
Csmccarthy/esm build (#113)
Browse files Browse the repository at this point in the history
make esm build available
  • Loading branch information
csmccarthy authored Nov 22, 2023
1 parent 44ca8e5 commit e99cc37
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

build/
build-esm/

# Secrets
*.env.secret
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Transcend Inc.",
"name": "@transcend-io/airgap.js-types",
"description": "TypeScript types for airgap.js interoperability with custom consent UIs",
"version": "10.7.9",
"version": "10.8.0",
"homepage": "https://github.com/transcend-io/airgap.js-types",
"repository": {
"type": "git",
Expand All @@ -12,13 +12,14 @@
"main": "build/index",
"files": [
"build/**/*",
"build-esm/**/*",
"package.json"
],
"scripts": {
"update:sdks": "yarn set version from sources && yarn sdks base",
"update:deps": "yarn upgrade-interactive && yarn update:sdks",
"build": "yarn pnpify tsc --build",
"clean": "yarn pnpify tsc --build --clean",
"build": "yarn pnpify tsc --build && yarn pnpify tsc --module es2022 --outDir build-esm",
"clean": "yarn pnpify tsc --build --clean && rm -rf build && rm -rf build-esm",
"lint": "yarn pnpify eslint src --ext .ts",
"prepublish": "yarn build",
"test": "echo 'no tests'"
Expand Down
2 changes: 1 addition & 1 deletion src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export type RegimeToPurposeScopes = [PrivacyRegime[], TrackingPurpose[]][];
/** Reserved metadata, currently used for airgap module data syncing */
export interface ReservedMetadata {
/** Top-level key to avoid polluting the metadata key space */
tcmp: null | Record<string, unknown>;
tcmp?: Record<string, unknown>;
}

/**
Expand Down

0 comments on commit e99cc37

Please sign in to comment.