@atls/code-service 0.0.15 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ export * from './webpack.config';
2
+ export * from './service';
@@ -0,0 +1,19 @@
1
+ import { Watching } from 'webpack';
2
+ export interface ServiceBuildResultMessage {
3
+ message: string;
4
+ }
5
+ export interface ServiceBuildResult {
6
+ errors: ServiceBuildResultMessage[];
7
+ warnings: ServiceBuildResultMessage[];
8
+ }
9
+ export interface WebpackConfigPlugin {
10
+ name: string;
11
+ use: any;
12
+ args: any[];
13
+ }
14
+ export declare class Service {
15
+ private readonly cwd;
16
+ constructor(cwd: string);
17
+ build(plugins?: Array<WebpackConfigPlugin>): Promise<ServiceBuildResult>;
18
+ watch(callback?: any): Promise<Watching>;
19
+ }
@@ -0,0 +1,15 @@
1
+ import { Configuration } from 'webpack';
2
+ export declare type WebpackEnvironment = 'production' | 'development';
3
+ export declare class WebpackConfig {
4
+ private readonly cwd;
5
+ constructor(cwd: string);
6
+ build(environment?: WebpackEnvironment, plugins?: Array<any>): Promise<Configuration>;
7
+ private applyCommon;
8
+ private applyPlugins;
9
+ private applyModules;
10
+ getUnpluggedDependencies(): Promise<Set<string>>;
11
+ getWorkspaceExternals(): Promise<Set<string>>;
12
+ getExternals(): Promise<{
13
+ [key: string]: string;
14
+ }>;
15
+ }
@@ -0,0 +1,2 @@
1
+ export declare const FORCE_UNPLUGGED_PACKAGES: Set<string>;
2
+ export declare const UNUSED_EXTERNALS: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atls/code-service",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "license": "BSD-3-Clause",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -14,25 +14,25 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@atls/config-typescript": "0.0.1",
17
- "@atls/webpack-proto-imports-loader": "0.0.8",
18
- "@atls/webpack-start-server-plugin": "0.0.5",
19
- "@yarnpkg/cli": "^3.2.0",
20
- "@yarnpkg/core": "^3.2.0",
17
+ "@atls/webpack-proto-imports-loader": "0.0.9",
18
+ "@atls/webpack-start-server-plugin": "0.0.6",
19
+ "@yarnpkg/cli": "^3.2.1",
20
+ "@yarnpkg/core": "^3.2.2",
21
21
  "fast-glob": "^3.2.11",
22
22
  "find-up": "^5.0.0",
23
23
  "string-replace-loader": "^3.1.0",
24
- "ts-loader": "^9.2.8",
24
+ "ts-loader": "^9.3.0",
25
25
  "typescript": "^4.6.2",
26
- "webpack": "^5.70.0",
26
+ "webpack": "^5.73.0",
27
27
  "webpack-chain": "^6.5.1"
28
28
  },
29
29
  "devDependencies": {
30
- "@types/jest": "^27.4.1",
31
- "@types/node": "^17.0.21",
30
+ "@types/jest": "^27.5.2",
31
+ "@types/node": "^17.0.38",
32
32
  "@types/protocol-buffers-schema": "3.4.1",
33
33
  "@types/wait-for-localhost": "3.1.0",
34
34
  "@types/webpack": "^5.28.0",
35
- "@yarnpkg/fslib": "^2.6.1",
35
+ "@yarnpkg/fslib": "^2.6.2",
36
36
  "wait-for-localhost": "^3.3.0"
37
37
  },
38
38
  "publishConfig": {