Skip to content

Commit

Permalink
move rollup to base level package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
51ngul4r1ty committed Feb 9, 2024
1 parent 534ad13 commit 58fd508
Show file tree
Hide file tree
Showing 11 changed files with 43 additions and 594 deletions.
578 changes: 16 additions & 562 deletions package-lock.json

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@
"devDependencies": {
"prettier": "2.7.1",
"rimraf": "3.0.2",
"rollup": "2.79.0",
"rollup-plugin-image": "1.0.2",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-jsx": "1.0.3",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-typescript2": "0.34.0",
"typescript": "4.6.4"
}
}
6 changes: 3 additions & 3 deletions packages/api-types/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/* Generates corresponding '.d.ts' file. */
"declarationDir": "./dist",
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
"sourceMap": true,
"sourceMap": false,
/* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "./dist",
Expand Down Expand Up @@ -52,7 +52,7 @@
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
// "typeRoots": [], /* List of folders to include type definitions from. */
// "types": [], /* Type declaration files to be included in compilation. */
"allowSyntheticDefaultImports": true,
"allowSyntheticDefaultImports": true
/* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
// "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
Expand All @@ -61,7 +61,7 @@
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
"inlineSources": true
// "inlineSources": false
/* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
/* Experimental Options */
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
Expand Down
7 changes: 1 addition & 6 deletions packages/client-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,7 @@
"jest-cli": "28.1.0",
"jest-environment-jsdom": "28.1.0",
"rimraf": "3.0.2",
"rollup": "2.71.1",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-typescript2": "0.31.2",
"ts-node": "10.7.0",
"typescript": "4.6.4"
"ts-node": "10.7.0"
},
"dependencies": {
"http-status-codes": "2.2.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/client-sdk/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/* Generates corresponding '.d.ts' file. */
"declarationDir": "./dist",
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
"sourceMap": true,
"sourceMap": false,
/* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "./dist",
Expand Down Expand Up @@ -63,7 +63,7 @@
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
"inlineSources": true
"inlineSources": false
/* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
/* Experimental Options */
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
Expand Down
6 changes: 3 additions & 3 deletions packages/rest-fetch/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/* Generates corresponding '.d.ts' file. */
"declarationDir": "./dist",
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
"sourceMap": true,
"sourceMap": false,
/* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "./dist",
Expand Down Expand Up @@ -54,7 +54,7 @@
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
// "typeRoots": [], /* List of folders to include type definitions from. */
// "types": [], /* Type declaration files to be included in compilation. */
"allowSyntheticDefaultImports": true,
"allowSyntheticDefaultImports": true
/* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
// "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
Expand All @@ -63,7 +63,7 @@
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
"inlineSources": true
// "inlineSources": false
/* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
/* Experimental Options */
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
Expand Down
7 changes: 1 addition & 6 deletions packages/rich-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
},
"license": "MIT",
"devDependencies": {
"rimraf": "3.0.2",
"rollup": "2.71.1",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-typescript2": "0.31.2",
"typescript": "4.6.4"
"rimraf": "3.0.2"
}
}
4 changes: 2 additions & 2 deletions packages/rich-types/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/* Generates corresponding '.d.ts' file. */
"declarationDir": "./dist",
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
"sourceMap": true,
"sourceMap": false,
/* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "./dist",
Expand Down Expand Up @@ -63,7 +63,7 @@
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
"inlineSources": true
"inlineSources": false
/* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
/* Experimental Options */
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
Expand Down
7 changes: 0 additions & 7 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,6 @@
"make-error": "1.3.6",
"opener": "1.5.2",
"redux-mock-store": "1.5.4",
"rollup": "2.79.0",
"rollup-plugin-image": "1.0.2",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-jsx": "1.0.3",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-typescript2": "0.34.0",
"storybook-addon-root-attribute": "1.0.2",
"storybook-dark-mode": "1.1.2",
"ts-jest": "28.0.8",
Expand Down
4 changes: 2 additions & 2 deletions packages/shared/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/* Generates corresponding '.d.ts' file. */
"declarationDir": "./dist",
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
"sourceMap": true,
"sourceMap": false,
/* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "./dist",
Expand Down Expand Up @@ -63,7 +63,7 @@
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
"inlineSources": true,
"inlineSources": false,
/* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
/* Experimental Options */
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
Expand Down
7 changes: 6 additions & 1 deletion packages/vscode-extension/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ const extensionConfig = {
},
module: {
rules: [
{
test: /\.ts$/,
enforce: "pre",
use: ["source-map-loader"]
},
{
test: /\.ts$/,
exclude: /node_modules/,
Expand All @@ -40,7 +45,7 @@ const extensionConfig = {
}
]
},
devtool: "nosources-source-map",
devtool: "inline-cheap-module-source-map",
infrastructureLogging: {
level: "log" // enables logging required for problem matchers
}
Expand Down

0 comments on commit 58fd508

Please sign in to comment.