Skip to content

Commit

Permalink
Move root tsconfig.json into shared/ directory (fka scripts/) (#…
Browse files Browse the repository at this point in the history
…478)

* Resync packages/task/package-lock.json
* Rename scripts/ to shared/
* Move tsconfig.json into shared/
  • Loading branch information
benjamn authored May 4, 2023
1 parent b3c515b commit 5d96777
Show file tree
Hide file tree
Showing 19 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions packages/context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"rollup": "rollup -c rollup.config.js",
"clean:after": "rimraf lib/es5",
"prepare": "npm run build",
"test:cjs": "../../scripts/test.sh lib/tests/bundle.cjs",
"test:esm": "../../scripts/test.sh lib/tests/bundle.js",
"test:cjs": "../../shared/test.sh lib/tests/bundle.cjs",
"test:esm": "../../shared/test.sh lib/tests/bundle.js",
"test": "npm run test:esm && npm run test:cjs"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/context/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "../../scripts/rollup.config.js";
export { default } from "../../shared/rollup.config.js";
2 changes: 1 addition & 1 deletion packages/context/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../shared/tsconfig.json",
"compilerOptions": {
"module": "ES2020",
"rootDir": "./src",
Expand Down
4 changes: 2 additions & 2 deletions packages/equality/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"tsc": "tsc",
"rollup": "rollup -c rollup.config.js",
"prepare": "npm run build",
"test:cjs": "../../scripts/test.sh lib/tests/bundle.cjs",
"test:esm": "../../scripts/test.sh lib/tests/bundle.js",
"test:cjs": "../../shared/test.sh lib/tests/bundle.cjs",
"test:esm": "../../shared/test.sh lib/tests/bundle.js",
"test": "npm run test:esm && npm run test:cjs"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/equality/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { build } from "../../scripts/rollup.config.js";
import { build } from "../../shared/rollup.config.js";

// This package doesn't use the lib/es5 directory, so we need to override the
// default export from ../../scripts/rollup.config.js.
// default export from ../../shared/rollup.config.js.
export default [
build(
"lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/equality/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../shared/tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./lib"
Expand Down
12 changes: 6 additions & 6 deletions packages/task/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/task/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"rollup": "rollup -c rollup.config.js",
"clean:after": "rimraf lib/es5",
"prepare": "npm run build",
"test:cjs": "../../scripts/test.sh lib/tests/bundle.cjs",
"test:esm": "../../scripts/test.sh lib/tests/bundle.js",
"test:cjs": "../../shared/test.sh lib/tests/bundle.cjs",
"test:esm": "../../shared/test.sh lib/tests/bundle.js",
"test": "npm run test:esm && npm run test:cjs"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/task/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "../../scripts/rollup.config.js";
export { default } from "../../shared/rollup.config.js";
2 changes: 1 addition & 1 deletion packages/task/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../shared/tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./lib"
Expand Down
4 changes: 2 additions & 2 deletions packages/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"rollup": "rollup -c rollup.config.js",
"clean:after": "rimraf lib/es5",
"prepare": "npm run build",
"test:cjs": "../../scripts/test.sh lib/tests/bundle.cjs",
"test:esm": "../../scripts/test.sh lib/tests/bundle.js",
"test:cjs": "../../shared/test.sh lib/tests/bundle.cjs",
"test:esm": "../../shared/test.sh lib/tests/bundle.js",
"test": "npm run test:esm && npm run test:cjs"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/template/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "../../scripts/rollup.config.js";
export { default } from "../../shared/rollup.config.js";
2 changes: 1 addition & 1 deletion packages/template/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../shared/tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./lib"
Expand Down
4 changes: 2 additions & 2 deletions packages/trie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"rollup": "rollup -c rollup.config.js",
"clean:after": "rimraf lib/es5",
"prepare": "npm run build",
"test:cjs": "../../scripts/test.sh lib/tests/bundle.cjs",
"test:esm": "../../scripts/test.sh lib/tests/bundle.js",
"test:cjs": "../../shared/test.sh lib/tests/bundle.cjs",
"test:esm": "../../shared/test.sh lib/tests/bundle.js",
"test": "npm run test:esm && npm run test:cjs"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/trie/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "../../scripts/rollup.config.js";
export { default } from "../../shared/rollup.config.js";
2 changes: 1 addition & 1 deletion packages/trie/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../shared/tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./lib"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5d96777

Please sign in to comment.