Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apix-files/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@looker/apix-files",
"name": "@internal/apix-files",
"version": "21.0.11",
"description": "Looker File Server for API Explorer",
"main": "lib/index.js",
Expand Down
3 changes: 2 additions & 1 deletion bin/looker-resources-index/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "looker-resources-index",
"name": "@internal/looker-resources-index",
"version": "0.0.0",
"description": "A listing of Looker-related resources, and some automation for publishing the listing in consumable formats",
"main": "src/resource-data/resources.ts",
"private": true,
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
"view": "yarn api-explorer",
"wipe": "rm -rf api spec",
"build": "rm -Rf packages/*/lib && run-p -c build:*",
"build:cjs": "lerna exec --stream 'BABEL_ENV=build_cjs babel src --root-mode upward --out-dir lib --source-maps --extensions .ts,.tsx --no-comments'",
"build:es": "lerna exec --stream 'BABEL_ENV=build babel src --root-mode upward --out-dir lib/esm --source-maps --extensions .ts,.tsx --no-comments'",
"build:ts": "lerna exec --stream --sort 'tsc -b tsconfig.build.json'",
"build:cjs": "lerna exec --ignore @internal/* --stream 'BABEL_ENV=build_cjs babel src --root-mode upward --out-dir lib --source-maps --extensions .ts,.tsx --no-comments'",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have to have some sort of marker to filter unwanted workspaces. We can't use private because we have private workspaces in packages/ that need to be built. And we can't target just the packages/ folder because Lerna.

Moving away from root build scripts, and defining them in pacakges and using --if-present when running them would be the correct way to do this, I think.

"build:es": "lerna exec --ignore @internal/* --stream 'BABEL_ENV=build babel src --root-mode upward --out-dir lib/esm --source-maps --extensions .ts,.tsx --no-comments'",
"build:ts": "lerna exec --ignore @internal/* --stream --sort 'tsc -b tsconfig.build.json'",
"build-extensions": "lerna run bundle",
"dedupe:dev": "yarn-deduplicate -s fewer yarn.lock && yarn",
"dedupe:list": "yarn-deduplicate --list",
Expand Down