@atls/code-service 2.0.8 → 2.1.0
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.
- package/dist/service.js +2 -1
- package/dist/webpack.config.d.ts +1 -0
- package/dist/webpack.config.js +1 -0
- package/package.json +3 -3
package/dist/service.js
CHANGED
|
@@ -12,11 +12,12 @@ export class Service extends EventEmitter {
|
|
|
12
12
|
this.config = config;
|
|
13
13
|
}
|
|
14
14
|
static async initialize(cwd) {
|
|
15
|
-
const { webpack, nullLoaderPath, tsLoaderPath, nodeLoaderPath } = await import('@atls/code-runtime/webpack');
|
|
15
|
+
const { webpack, nullLoaderPath, tsLoaderPath, nodeLoaderPath, protoLoaderPath } = await import('@atls/code-runtime/webpack');
|
|
16
16
|
const config = new WebpackConfig(webpack, {
|
|
17
17
|
nodeLoader: nodeLoaderPath,
|
|
18
18
|
nullLoader: nullLoaderPath,
|
|
19
19
|
tsLoader: tsLoaderPath,
|
|
20
|
+
protoLoader: protoLoaderPath,
|
|
20
21
|
}, cwd);
|
|
21
22
|
return new Service(webpack, config);
|
|
22
23
|
}
|
package/dist/webpack.config.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare class WebpackConfig {
|
|
|
8
8
|
tsLoader: string;
|
|
9
9
|
nodeLoader: string;
|
|
10
10
|
nullLoader: string;
|
|
11
|
+
protoLoader: string;
|
|
11
12
|
}, cwd: string);
|
|
12
13
|
build(environment?: WebpackEnvironment, additionalPlugins?: Array<wp.WebpackPluginInstance>): Promise<wp.Configuration>;
|
|
13
14
|
private getWorkspaceType;
|
package/dist/webpack.config.js
CHANGED
|
@@ -89,6 +89,7 @@ export class WebpackConfig {
|
|
|
89
89
|
{ test: /\.(png|svg|jpg|jpeg|gif)$/i, type: 'asset/resource' },
|
|
90
90
|
{ test: /\.(md)$/i, type: 'asset/resource' },
|
|
91
91
|
{ test: /\.node$/, use: this.loaders.nodeLoader },
|
|
92
|
+
{ test: /\.proto$/, use: { loader: this.loaders.protoLoader } },
|
|
92
93
|
],
|
|
93
94
|
},
|
|
94
95
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atls/code-service",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"license": "BSD-3-Clause",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@atls/code-configuration": "2.0.0",
|
|
26
|
-
"@atls/code-runtime": "2.
|
|
26
|
+
"@atls/code-runtime": "2.1.1",
|
|
27
27
|
"@atls/config-typescript": "2.0.1",
|
|
28
|
-
"@atls/webpack-start-server-plugin": "1.0.
|
|
28
|
+
"@atls/webpack-start-server-plugin": "1.0.1",
|
|
29
29
|
"@yarnpkg/cli": "4.5.1",
|
|
30
30
|
"@yarnpkg/core": "4.1.4",
|
|
31
31
|
"typescript": "5.5.4"
|