Skip to content

Commit

Permalink
remove vanilla js builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansonhkg committed Feb 19, 2024
1 parent 91b3381 commit 4941008
Show file tree
Hide file tree
Showing 30 changed files with 1 addition and 511 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"tools": "yarn node ./tools/scripts/tools.mjs",
"graph": "nx graph",
"npm:login": "npm login",
"cy:open:html": "yarn tools --test --e2e html",
"cy:open:react": "yarn tools --test --e2e react",
"dev": "nodemon --watch packages --ext js,ts --exec \"yarn build:packages && yarn tools --yalc --publish\"",
"dev:target": "yarn tools --watch --target",
Expand Down
17 changes: 0 additions & 17 deletions packages/access-control-conditions/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,6 @@
"assets": ["packages/access-control-conditions/*.md"]
}
},
"_buildWeb": {
"executor": "@websaam/nx-esbuild:package",
"options": {
"globalName": "LitJsSdk_accessControlConditions",
"outfile": "dist/packages/access-control-conditions-vanilla/access-control-conditions.js",
"entryPoints": ["./packages/access-control-conditions/src/index.ts"],
"define": {
"process.env.NODE_DEBUG": "false"
},
"plugins": [
{
"package": "esbuild-node-builtins",
"function": "nodeBuiltIns"
}
]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
Expand Down
18 changes: 0 additions & 18 deletions packages/auth-browser/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,6 @@
"assets": ["packages/auth-browser/*.md"]
}
},
"_buildWeb": {
"executor": "@websaam/nx-esbuild:package",
"options": {
"globalName": "LitJsSdk_authBrowser",
"outfile": "dist/packages/auth-browser-vanilla/auth-browser.js",
"entryPoints": ["./packages/auth-browser/src/index.ts"],
"define": {
"process.env.NODE_DEBUG": "false",
"global": "window"
},
"plugins": [
{
"package": "esbuild-node-builtins",
"function": "nodeBuiltIns"
}
]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
Expand Down
18 changes: 0 additions & 18 deletions packages/auth-helpers/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,6 @@
"assets": ["packages/auth-helpers/*.md"]
}
},
"_buildWeb": {
"executor": "@websaam/nx-esbuild:package",
"options": {
"globalName": "LitJsSdk_authHelpers",
"outfile": "dist/packages/auth-helpers-vanilla/auth-helpers.js",
"entryPoints": ["./packages/auth-helpers/src/index.ts"],
"define": {
"process.env.NODE_DEBUG": "false",
"global": "window"
},
"plugins": [
{
"package": "esbuild-node-builtins",
"function": "nodeBuiltIns"
}
]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
Expand Down
17 changes: 0 additions & 17 deletions packages/bls-sdk/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,6 @@
"assets": ["packages/bls-sdk/*.md"]
}
},
"_buildWeb": {
"executor": "@websaam/nx-esbuild:package",
"options": {
"globalName": "LitJsSdk_blsSdk",
"outfile": "dist/packages/bls-sdk-vanilla/bls-sdk.js",
"entryPoints": ["./packages/bls-sdk/src/index.ts"],
"define": {
"process.env.NODE_DEBUG": "false"
},
"plugins": [
{
"package": "esbuild-node-builtins",
"function": "nodeBuiltIns"
}
]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/packages/bls-sdk"],
Expand Down
18 changes: 0 additions & 18 deletions packages/constants/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,6 @@
"assets": ["packages/constants/*.md"]
}
},
"_buildWeb": {
"executor": "@websaam/nx-esbuild:package",
"options": {
"bundle": true,
"sourcemap": true,
"metafile": true,
"globalName": "LitJsSdk_constants",
"outfile": "dist/packages/constants-vanilla/constants.js",
"entryPoints": ["./packages/constants/src/index.ts"],
"define": { "global": "window" },
"plugins": [
{
"package": "esbuild-node-builtins",
"function": "nodeBuiltIns"
}
]
}
},

"copyJSONFilesToDist": {
"executor": "nx:run-commands",
Expand Down
19 changes: 1 addition & 18 deletions packages/contracts-sdk/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,7 @@
"assets": ["packages/contracts-sdk/*.md"]
}
},
"_buildWeb": {
"executor": "@websaam/nx-esbuild:package",
"options": {
"globalName": "LitJsSdk_contractsSdk",
"outfile": "dist/packages/contracts-sdk-vanilla/contracts-sdk.js",
"entryPoints": ["./packages/contracts-sdk/src/index.ts"],
"define": {
"process.env.NODE_DEBUG": "false",
"global": "window"
},
"plugins": [
{
"package": "esbuild-node-builtins",
"function": "nodeBuiltIns"
}
]
}
},

"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
Expand Down
18 changes: 0 additions & 18 deletions packages/core/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,6 @@
"assets": ["packages/core/*.md"]
}
},
"_buildWeb": {
"executor": "@websaam/nx-esbuild:package",
"options": {
"globalName": "LitJsSdk_core",
"outfile": "dist/packages/core-vanilla/core.js",
"entryPoints": ["./packages/core/src/index.ts"],
"define": {
"process.env.NODE_DEBUG": "false",
"global": "window"
},
"plugins": [
{
"package": "esbuild-node-builtins",
"function": "nodeBuiltIns"
}
]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
Expand Down
17 changes: 0 additions & 17 deletions packages/crypto/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,6 @@
"assets": ["packages/crypto/*.md"]
}
},
"_buildWeb": {
"executor": "@websaam/nx-esbuild:package",
"options": {
"globalName": "LitJsSdk_crypto",
"outfile": "dist/packages/crypto-vanilla/crypto.js",
"entryPoints": ["./packages/crypto/src/index.ts"],
"define": {
"process.env.NODE_DEBUG": "false"
},
"plugins": [
{
"package": "esbuild-node-builtins",
"function": "nodeBuiltIns"
}
]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
Expand Down
17 changes: 0 additions & 17 deletions packages/ecdsa-sdk/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,6 @@
"assets": ["packages/ecdsa-sdk/*.md"]
}
},
"_buildWeb": {
"executor": "@websaam/nx-esbuild:package",
"options": {
"globalName": "LitJsSdk_ecdsaSdk",
"outfile": "dist/packages/ecdsa-sdk-vanilla/ecdsa-sdk.js",
"entryPoints": ["./packages/ecdsa-sdk/src/index.ts"],
"define": {
"process.env.NODE_DEBUG": "false"
},
"plugins": [
{
"package": "esbuild-node-builtins",
"function": "nodeBuiltIns"
}
]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/packages/ecdsa-sdk"],
Expand Down
17 changes: 0 additions & 17 deletions packages/encryption/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,6 @@
"assets": ["packages/encryption/*.md"]
}
},
"_buildWeb": {
"executor": "@websaam/nx-esbuild:package",
"options": {
"globalName": "LitJsSdk_encryption",
"outfile": "dist/packages/encryption-vanilla/encryption.js",
"entryPoints": ["./packages/encryption/src/index.ts"],
"define": {
"process.env.NODE_DEBUG": "false"
},
"plugins": [
{
"package": "esbuild-node-builtins",
"function": "nodeBuiltIns"
}
]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
Expand Down
18 changes: 0 additions & 18 deletions packages/lit-auth-client/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,6 @@
"assets": ["packages/lit-auth-client/*.md"]
}
},
"_buildWeb": {
"executor": "@websaam/nx-esbuild:package",
"options": {
"globalName": "LitJsSdk_litAuthClient",
"outfile": "dist/packages/lit-auth-client-vanilla/lit-auth-client.js",
"entryPoints": ["./packages/lit-auth-client/src/index.ts"],
"define": {
"process.env.NODE_DEBUG": "false",
"global": "window"
},
"plugins": [
{
"package": "esbuild-node-builtins",
"function": "nodeBuiltIns"
}
]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
Expand Down
18 changes: 0 additions & 18 deletions packages/lit-node-client-nodejs/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,6 @@
"assets": ["packages/lit-node-client-nodejs/*.md"]
}
},
"_buildWeb": {
"executor": "@websaam/nx-esbuild:package",
"options": {
"globalName": "LitJsSdk_litNodeClientNodejs",
"outfile": "dist/packages/lit-node-client-nodejs-vanilla/lit-node-client-nodejs.js",
"entryPoints": ["./packages/lit-node-client-nodejs/src/index.ts"],
"define": {
"process.env.NODE_DEBUG": "false",
"global": "window"
},
"plugins": [
{
"package": "esbuild-node-builtins",
"function": "nodeBuiltIns"
}
]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
Expand Down
19 changes: 0 additions & 19 deletions packages/lit-node-client/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,6 @@
"assets": ["packages/lit-node-client/*.md"]
}
},
"_buildWeb": {
"executor": "@websaam/nx-esbuild:package",
"options": {
"globalName": "LitJsSdk_litNodeClient",
"outfile": "dist/packages/lit-node-client-vanilla/lit-node-client.js",
"entryPoints": ["./packages/lit-node-client/src/index.ts"],
"define": {
"process.env.NODE_DEBUG": "false",
"global": "window",
"Buffer": "Buffer"
},
"plugins": [
{
"package": "esbuild-node-builtins",
"function": "nodeBuiltIns"
}
]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
Expand Down
20 changes: 0 additions & 20 deletions packages/lit-third-party-libs/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,6 @@
]
}
},
"_buildWeb": {
"executor": "@websaam/nx-esbuild:package",
"options": {
"globalName": "LitJsSdk_litThirdPartyLibs",
"outfile": "dist/packages/lit-third-party-libs-vanilla/lit-third-party-libs.js",
"entryPoints": [
"./packages/lit-third-party-libs/src/index.ts"
],
"define": {
"process.env.NODE_DEBUG": "false",
"global": "window"
},
"plugins": [
{
"package": "esbuild-node-builtins",
"function": "nodeBuiltIns"
}
]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": [
Expand Down
17 changes: 0 additions & 17 deletions packages/misc-browser/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,6 @@
"assets": ["packages/misc-browser/*.md"]
}
},
"_buildWeb": {
"executor": "@websaam/nx-esbuild:package",
"options": {
"globalName": "LitJsSdk_miscBrowser",
"outfile": "dist/packages/misc-browser-vanilla/misc-browser.js",
"entryPoints": ["./packages/misc-browser/src/index.ts"],
"define": {
"process.env.NODE_DEBUG": "false"
},
"plugins": [
{
"package": "esbuild-node-builtins",
"function": "nodeBuiltIns"
}
]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
Expand Down
Loading

0 comments on commit 4941008

Please sign in to comment.