projen 0.58.27 → 0.58.28
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/.jsii +4 -4
- package/lib/awscdk/auto-discover.js +5 -5
- package/lib/awscdk/awscdk-app-java.js +1 -1
- package/lib/awscdk/awscdk-app-py.js +1 -1
- package/lib/awscdk/awscdk-app-ts.js +1 -1
- package/lib/awscdk/awscdk-construct.js +2 -2
- package/lib/awscdk/awscdk-deps-java.js +1 -1
- package/lib/awscdk/awscdk-deps-js.js +1 -1
- package/lib/awscdk/awscdk-deps.js +1 -1
- package/lib/awscdk/cdk-config.js +1 -1
- package/lib/awscdk/cdk-tasks.js +1 -1
- package/lib/awscdk/integration-test.js +1 -1
- package/lib/awscdk/lambda-extension.js +1 -1
- package/lib/awscdk/lambda-function.js +2 -2
- package/lib/build/build-workflow.js +1 -1
- package/lib/cdk/auto-discover-base.js +2 -2
- package/lib/cdk/construct-lib.js +1 -1
- package/lib/cdk/integration-test-base.js +1 -1
- package/lib/cdk/jsii-docgen.js +1 -1
- package/lib/cdk/jsii-project.js +1 -1
- package/lib/cdk8s/auto-discover.js +2 -2
- package/lib/cdk8s/cdk8s-app-ts.js +1 -1
- package/lib/cdk8s/cdk8s-construct.js +1 -1
- package/lib/cdk8s/integration-test.js +1 -1
- package/lib/cdktf/cdktf-construct.js +1 -1
- package/lib/circleci/circleci.js +1 -1
- package/lib/component.js +1 -1
- package/lib/dependencies.js +1 -1
- package/lib/dev-env.js +1 -1
- package/lib/docker-compose.js +2 -2
- package/lib/file.js +1 -1
- package/lib/gitattributes.js +1 -1
- package/lib/github/auto-approve.js +1 -1
- package/lib/github/auto-merge.js +1 -1
- package/lib/github/dependabot.js +1 -1
- package/lib/github/github-credentials.js +1 -1
- package/lib/github/github-project.js +1 -1
- package/lib/github/github.js +1 -1
- package/lib/github/mergify.js +1 -1
- package/lib/github/pr-template.js +1 -1
- package/lib/github/pull-request-lint.js +1 -1
- package/lib/github/stale.js +1 -1
- package/lib/github/task-workflow.js +1 -1
- package/lib/github/workflows.js +1 -1
- package/lib/gitlab/configuration.js +1 -1
- package/lib/gitlab/gitlab-configuration.js +1 -1
- package/lib/gitlab/nested-configuration.js +1 -1
- package/lib/gitpod.js +1 -1
- package/lib/ignore-file.js +1 -1
- package/lib/ini.js +1 -1
- package/lib/java/java-project.js +1 -1
- package/lib/java/junit.js +1 -1
- package/lib/java/maven-compile.js +1 -1
- package/lib/java/maven-packaging.js +1 -1
- package/lib/java/maven-sample.js +1 -1
- package/lib/java/pom.js +1 -1
- package/lib/java/projenrc.js +1 -1
- package/lib/javascript/bundler.js +1 -1
- package/lib/javascript/eslint.js +1 -1
- package/lib/javascript/jest.js +1 -1
- package/lib/javascript/node-package.js +1 -1
- package/lib/javascript/node-project.js +1 -1
- package/lib/javascript/npm-config.js +1 -1
- package/lib/javascript/prettier.js +1 -1
- package/lib/javascript/projenrc.js +1 -1
- package/lib/javascript/typescript-config.js +1 -1
- package/lib/javascript/upgrade-dependencies.js +2 -2
- package/lib/json.js +1 -1
- package/lib/license.js +1 -1
- package/lib/logger.js +1 -1
- package/lib/makefile.js +1 -1
- package/lib/object-file.js +1 -1
- package/lib/project-build.js +1 -1
- package/lib/project.js +1 -1
- package/lib/projects.js +1 -1
- package/lib/projenrc-json.js +1 -1
- package/lib/python/pip.js +1 -1
- package/lib/python/poetry.js +2 -2
- package/lib/python/projenrc.js +1 -1
- package/lib/python/pytest-sample.js +1 -1
- package/lib/python/pytest.js +1 -1
- package/lib/python/python-project.js +1 -1
- package/lib/python/python-sample.js +1 -1
- package/lib/python/requirements-file.js +1 -1
- package/lib/python/setuppy.js +1 -1
- package/lib/python/setuptools.js +1 -1
- package/lib/python/venv.js +1 -1
- package/lib/readme.js +1 -1
- package/lib/release/publisher.js +1 -1
- package/lib/release/release-trigger.js +1 -1
- package/lib/release/release.js +1 -1
- package/lib/renovatebot.js +1 -1
- package/lib/sample-file.js +2 -2
- package/lib/semver.js +1 -1
- package/lib/source-code.js +1 -1
- package/lib/task-runtime.js +1 -1
- package/lib/task.js +1 -1
- package/lib/tasks.js +1 -1
- package/lib/testing.js +1 -1
- package/lib/textfile.js +1 -1
- package/lib/toml.js +1 -1
- package/lib/typescript/projenrc.js +1 -1
- package/lib/typescript/typescript-typedoc.js +1 -1
- package/lib/typescript/typescript.js +3 -3
- package/lib/version.js +1 -1
- package/lib/vscode/devcontainer.js +1 -1
- package/lib/vscode/launch-config.js +1 -1
- package/lib/vscode/vscode.js +1 -1
- package/lib/web/next.js +3 -3
- package/lib/web/postcss.js +1 -1
- package/lib/web/react.js +4 -4
- package/lib/web/tailwind.js +1 -1
- package/lib/xmlfile.js +1 -1
- package/lib/yaml.js +1 -1
- package/node_modules/resolve/lib/async.js +1 -1
- package/node_modules/resolve/lib/core.json +1 -0
- package/node_modules/resolve/lib/sync.js +1 -1
- package/node_modules/resolve/package.json +14 -5
- package/node_modules/resolve/test/core.js +8 -1
- package/node_modules/resolve/test/resolver/false_main/index.js +0 -0
- package/node_modules/resolve/test/resolver/false_main/package.json +4 -0
- package/node_modules/resolve/test/resolver.js +49 -0
- package/node_modules/resolve/test/resolver_sync.js +82 -1
- package/node_modules/{lru-cache → semver/node_modules/lru-cache}/LICENSE +0 -0
- package/node_modules/{lru-cache → semver/node_modules/lru-cache}/README.md +0 -0
- package/node_modules/{lru-cache → semver/node_modules/lru-cache}/index.js +0 -0
- package/node_modules/{lru-cache → semver/node_modules/lru-cache}/package.json +0 -0
- package/node_modules/xmlbuilder2/node_modules/@types/node/README.md +1 -1
- package/node_modules/xmlbuilder2/node_modules/@types/node/fs/promises.d.ts +1 -1
- package/node_modules/xmlbuilder2/node_modules/@types/node/fs.d.ts +3 -3
- package/node_modules/xmlbuilder2/node_modules/@types/node/http.d.ts +10 -0
- package/node_modules/xmlbuilder2/node_modules/@types/node/https.d.ts +10 -0
- package/node_modules/xmlbuilder2/node_modules/@types/node/package.json +2 -2
- package/node_modules/xmlbuilder2/node_modules/@types/node/perf_hooks.d.ts +6 -0
- package/package.json +7 -7
- package/node_modules/resolve/appveyor.yml +0 -76
|
@@ -6,7 +6,7 @@ var resolve = require('../');
|
|
|
6
6
|
var sync = require('../sync');
|
|
7
7
|
|
|
8
8
|
var requireResolveSupportsPaths = require.resolve.length > 1
|
|
9
|
-
&& (/^
|
|
9
|
+
&& !(/^v12\.[012]\./).test(process.version); // broken in v12.0-12.2, see https://github.com/nodejs/node/issues/27794
|
|
10
10
|
|
|
11
11
|
test('`./sync` entry point', function (t) {
|
|
12
12
|
t.equal(resolve.sync, sync, '`./sync` entry point is the same as `.sync` on `main`');
|
|
@@ -309,6 +309,87 @@ test('incorrect main', function (t) {
|
|
|
309
309
|
t.end();
|
|
310
310
|
});
|
|
311
311
|
|
|
312
|
+
test('missing index', function (t) {
|
|
313
|
+
t.plan(requireResolveSupportsPaths ? 2 : 1);
|
|
314
|
+
|
|
315
|
+
var resolverDir = path.join(__dirname, 'resolver');
|
|
316
|
+
try {
|
|
317
|
+
resolve.sync('./missing_index', { basedir: resolverDir });
|
|
318
|
+
t.fail('did not fail');
|
|
319
|
+
} catch (err) {
|
|
320
|
+
t.equal(err && err.code, 'MODULE_NOT_FOUND', 'error has correct error code');
|
|
321
|
+
}
|
|
322
|
+
if (requireResolveSupportsPaths) {
|
|
323
|
+
try {
|
|
324
|
+
require.resolve('./missing_index', { basedir: resolverDir });
|
|
325
|
+
t.fail('require.resolve did not fail');
|
|
326
|
+
} catch (err) {
|
|
327
|
+
t.equal(err && err.code, 'MODULE_NOT_FOUND', 'error has correct error code');
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
|
|
332
|
+
test('missing main', function (t) {
|
|
333
|
+
var resolverDir = path.join(__dirname, 'resolver');
|
|
334
|
+
|
|
335
|
+
try {
|
|
336
|
+
resolve.sync('./missing_main', { basedir: resolverDir });
|
|
337
|
+
t.fail('require.resolve did not fail');
|
|
338
|
+
} catch (err) {
|
|
339
|
+
t.equal(err && err.code, 'MODULE_NOT_FOUND', 'error has correct error code');
|
|
340
|
+
}
|
|
341
|
+
if (requireResolveSupportsPaths) {
|
|
342
|
+
try {
|
|
343
|
+
resolve.sync('./missing_main', { basedir: resolverDir });
|
|
344
|
+
t.fail('require.resolve did not fail');
|
|
345
|
+
} catch (err) {
|
|
346
|
+
t.equal(err && err.code, 'MODULE_NOT_FOUND', 'error has correct error code');
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
t.end();
|
|
351
|
+
});
|
|
352
|
+
|
|
353
|
+
test('null main', function (t) {
|
|
354
|
+
var resolverDir = path.join(__dirname, 'resolver');
|
|
355
|
+
|
|
356
|
+
try {
|
|
357
|
+
resolve.sync('./null_main', { basedir: resolverDir });
|
|
358
|
+
t.fail('require.resolve did not fail');
|
|
359
|
+
} catch (err) {
|
|
360
|
+
t.equal(err && err.code, 'MODULE_NOT_FOUND', 'error has correct error code');
|
|
361
|
+
}
|
|
362
|
+
if (requireResolveSupportsPaths) {
|
|
363
|
+
try {
|
|
364
|
+
resolve.sync('./null_main', { basedir: resolverDir });
|
|
365
|
+
t.fail('require.resolve did not fail');
|
|
366
|
+
} catch (err) {
|
|
367
|
+
t.equal(err && err.code, 'MODULE_NOT_FOUND', 'error has correct error code');
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
t.end();
|
|
372
|
+
});
|
|
373
|
+
|
|
374
|
+
test('main: false', function (t) {
|
|
375
|
+
var basedir = path.join(__dirname, 'resolver');
|
|
376
|
+
var dir = path.join(basedir, 'false_main');
|
|
377
|
+
t.equal(
|
|
378
|
+
resolve.sync('./false_main', { basedir: basedir }),
|
|
379
|
+
path.join(dir, 'index.js'),
|
|
380
|
+
'`"main": false`: resolves to `index.js`'
|
|
381
|
+
);
|
|
382
|
+
if (requireResolveSupportsPaths) {
|
|
383
|
+
t.equal(
|
|
384
|
+
resolve.sync('./false_main', { basedir: basedir }),
|
|
385
|
+
require.resolve('./false_main', { paths: [basedir] }),
|
|
386
|
+
'`"main": false`: resolve.sync === require.resolve'
|
|
387
|
+
);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
t.end();
|
|
391
|
+
});
|
|
392
|
+
|
|
312
393
|
var stubStatSync = function stubStatSync(fn) {
|
|
313
394
|
var statSync = fs.statSync;
|
|
314
395
|
try {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Wed,
|
|
11
|
+
* Last updated: Wed, 06 Jul 2022 04:02:23 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
14
14
|
|
|
@@ -1107,7 +1107,7 @@ declare module 'fs/promises' {
|
|
|
1107
1107
|
* @param dest destination path to copy to.
|
|
1108
1108
|
* @return Fulfills with `undefined` upon success.
|
|
1109
1109
|
*/
|
|
1110
|
-
function cp(source: string, destination: string, opts?: CopyOptions): Promise<void>;
|
|
1110
|
+
function cp(source: string | URL, destination: string | URL, opts?: CopyOptions): Promise<void>;
|
|
1111
1111
|
}
|
|
1112
1112
|
declare module 'node:fs/promises' {
|
|
1113
1113
|
export * from 'fs/promises';
|
|
@@ -3838,8 +3838,8 @@ declare module 'fs' {
|
|
|
3838
3838
|
* @param src source path to copy.
|
|
3839
3839
|
* @param dest destination path to copy to.
|
|
3840
3840
|
*/
|
|
3841
|
-
export function cp(source: string, destination: string, callback: (err: NodeJS.ErrnoException | null) => void): void;
|
|
3842
|
-
export function cp(source: string, destination: string, opts: CopyOptions, callback: (err: NodeJS.ErrnoException | null) => void): void;
|
|
3841
|
+
export function cp(source: string | URL, destination: string | URL, callback: (err: NodeJS.ErrnoException | null) => void): void;
|
|
3842
|
+
export function cp(source: string | URL, destination: string | URL, opts: CopyOptions, callback: (err: NodeJS.ErrnoException | null) => void): void;
|
|
3843
3843
|
/**
|
|
3844
3844
|
* Synchronously copies the entire directory structure from `src` to `dest`,
|
|
3845
3845
|
* including subdirectories and files.
|
|
@@ -3851,7 +3851,7 @@ declare module 'fs' {
|
|
|
3851
3851
|
* @param src source path to copy.
|
|
3852
3852
|
* @param dest destination path to copy to.
|
|
3853
3853
|
*/
|
|
3854
|
-
export function cpSync(source: string, destination: string, opts?: CopyOptions): void;
|
|
3854
|
+
export function cpSync(source: string | URL, destination: string | URL, opts?: CopyOptions): void;
|
|
3855
3855
|
}
|
|
3856
3856
|
declare module 'node:fs' {
|
|
3857
3857
|
export * from 'fs';
|
|
@@ -249,6 +249,16 @@ declare module 'http' {
|
|
|
249
249
|
* @since v14.11.0
|
|
250
250
|
*/
|
|
251
251
|
requestTimeout: number;
|
|
252
|
+
/**
|
|
253
|
+
* Closes all connections connected to this server.
|
|
254
|
+
* @since v18.2.0
|
|
255
|
+
*/
|
|
256
|
+
closeAllConnections(): void;
|
|
257
|
+
/**
|
|
258
|
+
* Closes all connections connected to this server which are not sending a request or waiting for a response.
|
|
259
|
+
* @since v18.2.0
|
|
260
|
+
*/
|
|
261
|
+
closeIdleConnections(): void;
|
|
252
262
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
253
263
|
addListener(event: 'close', listener: () => void): this;
|
|
254
264
|
addListener(event: 'connection', listener: (socket: Socket) => void): this;
|
|
@@ -34,6 +34,16 @@ declare module 'https' {
|
|
|
34
34
|
class Server extends tls.Server {
|
|
35
35
|
constructor(requestListener?: http.RequestListener);
|
|
36
36
|
constructor(options: ServerOptions, requestListener?: http.RequestListener);
|
|
37
|
+
/**
|
|
38
|
+
* Closes all connections connected to this server.
|
|
39
|
+
* @since v18.2.0
|
|
40
|
+
*/
|
|
41
|
+
closeAllConnections(): void;
|
|
42
|
+
/**
|
|
43
|
+
* Closes all connections connected to this server which are not sending a request or waiting for a response.
|
|
44
|
+
* @since v18.2.0
|
|
45
|
+
*/
|
|
46
|
+
closeIdleConnections(): void;
|
|
37
47
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
38
48
|
addListener(event: 'keylog', listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this;
|
|
39
49
|
addListener(event: 'newSession', listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.3",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -220,6 +220,6 @@
|
|
|
220
220
|
},
|
|
221
221
|
"scripts": {},
|
|
222
222
|
"dependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "f88edb516946d349187ba7de857caf040f59be37853483f48af1af856105ff55",
|
|
224
224
|
"typeScriptVersion": "4.0"
|
|
225
225
|
}
|
|
@@ -507,6 +507,12 @@ declare module 'perf_hooks' {
|
|
|
507
507
|
* @since v15.9.0, v14.18.0
|
|
508
508
|
*/
|
|
509
509
|
recordDelta(): void;
|
|
510
|
+
/**
|
|
511
|
+
* Adds the values from other to this histogram.
|
|
512
|
+
* @since v17.4.0, v16.14.0
|
|
513
|
+
* @param other Recordable Histogram to combine with
|
|
514
|
+
*/
|
|
515
|
+
add(other: RecordableHistogram): void;
|
|
510
516
|
}
|
|
511
517
|
/**
|
|
512
518
|
* _This property is an extension by Node.js. It is not available in Web browsers._
|
package/package.json
CHANGED
|
@@ -59,24 +59,24 @@
|
|
|
59
59
|
"@typescript-eslint/eslint-plugin": "^5",
|
|
60
60
|
"@typescript-eslint/parser": "^5",
|
|
61
61
|
"all-contributors-cli": "^6.20.0",
|
|
62
|
-
"esbuild": "^0.14.
|
|
62
|
+
"esbuild": "^0.14.49",
|
|
63
63
|
"eslint": "^8",
|
|
64
64
|
"eslint-config-prettier": "^8.5.0",
|
|
65
65
|
"eslint-import-resolver-node": "^0.3.6",
|
|
66
66
|
"eslint-import-resolver-typescript": "^2.7.1",
|
|
67
67
|
"eslint-plugin-import": "^2.26.0",
|
|
68
|
-
"eslint-plugin-prettier": "^4.
|
|
68
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
69
69
|
"jest": "^27",
|
|
70
70
|
"jest-junit": "^13",
|
|
71
|
-
"jsii": "^1.
|
|
72
|
-
"jsii-diff": "^1.
|
|
71
|
+
"jsii": "^1.62.0",
|
|
72
|
+
"jsii-diff": "^1.62.0",
|
|
73
73
|
"jsii-docgen": "^1.8.110",
|
|
74
|
-
"jsii-pacmak": "^1.
|
|
74
|
+
"jsii-pacmak": "^1.62.0",
|
|
75
75
|
"json-schema": "^0.4.0",
|
|
76
76
|
"json5": "^2.2.1",
|
|
77
77
|
"markmac": "^0.1.146",
|
|
78
78
|
"npm-check-updates": "^12",
|
|
79
|
-
"prettier": "^2.7.
|
|
79
|
+
"prettier": "^2.7.1",
|
|
80
80
|
"standard-version": "^9",
|
|
81
81
|
"ts-jest": "^27",
|
|
82
82
|
"typescript": "^3.9.10"
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
},
|
|
123
123
|
"main": "lib/index.js",
|
|
124
124
|
"license": "Apache-2.0",
|
|
125
|
-
"version": "0.58.
|
|
125
|
+
"version": "0.58.28",
|
|
126
126
|
"jest": {
|
|
127
127
|
"maxWorkers": "50%",
|
|
128
128
|
"testMatch": [
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
version: 1.0.{build}
|
|
2
|
-
skip_branch_with_pr: true
|
|
3
|
-
build: off
|
|
4
|
-
|
|
5
|
-
environment:
|
|
6
|
-
matrix:
|
|
7
|
-
#- nodejs_version: "17"
|
|
8
|
-
- nodejs_version: "16"
|
|
9
|
-
- nodejs_version: "15"
|
|
10
|
-
- nodejs_version: "14"
|
|
11
|
-
- nodejs_version: "13"
|
|
12
|
-
- nodejs_version: "12"
|
|
13
|
-
- nodejs_version: "11"
|
|
14
|
-
- nodejs_version: "10"
|
|
15
|
-
- nodejs_version: "9"
|
|
16
|
-
- nodejs_version: "8"
|
|
17
|
-
- nodejs_version: "7"
|
|
18
|
-
- nodejs_version: "6"
|
|
19
|
-
- nodejs_version: "5"
|
|
20
|
-
- nodejs_version: "4"
|
|
21
|
-
- nodejs_version: "3"
|
|
22
|
-
- nodejs_version: "2"
|
|
23
|
-
- nodejs_version: "1"
|
|
24
|
-
- nodejs_version: "0.12"
|
|
25
|
-
- nodejs_version: "0.10"
|
|
26
|
-
- nodejs_version: "0.8"
|
|
27
|
-
- nodejs_version: "0.6"
|
|
28
|
-
matrix:
|
|
29
|
-
# fast_finish: true
|
|
30
|
-
allow_failures:
|
|
31
|
-
- nodejs_version: "0.8"
|
|
32
|
-
# platform: x86 # x64 has started failing on the registry side, around early November 2020
|
|
33
|
-
- nodejs_version: "0.6"
|
|
34
|
-
|
|
35
|
-
platform:
|
|
36
|
-
- x86
|
|
37
|
-
- x64
|
|
38
|
-
|
|
39
|
-
# Install scripts. (runs after repo cloning)
|
|
40
|
-
install:
|
|
41
|
-
# Fix symlinks in working copy (see https://github.com/appveyor/ci/issues/650#issuecomment-186592582) / https://github.com/charleskorn/batect/commit/d08986802ec43086902958c4ee7e57ff3e71dbef
|
|
42
|
-
- git config core.symlinks true
|
|
43
|
-
- git reset --hard
|
|
44
|
-
# Get the latest stable version of Node.js or io.js
|
|
45
|
-
- ps: if ($env:nodejs_version -ne '0.6') { Install-Product node $env:nodejs_version $env:platform }
|
|
46
|
-
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
|
|
47
|
-
- IF %nodejs_version% EQU 0.6 npm config set strict-ssl false && npm -g install npm@1.3
|
|
48
|
-
- IF %nodejs_version% EQU 0.8 npm config set strict-ssl false && npm -g install npm@1.4.28 && npm install -g npm@4.5
|
|
49
|
-
- IF %nodejs_version% EQU 1 npm -g install npm@2.9
|
|
50
|
-
- IF %nodejs_version% EQU 2 npm -g install npm@4
|
|
51
|
-
- IF %nodejs_version% EQU 3 npm -g install npm@4
|
|
52
|
-
- IF %nodejs_version% EQU 4 npm -g install npm@5.3
|
|
53
|
-
- IF %nodejs_version% EQU 5 npm -g install npm@5.3
|
|
54
|
-
- IF %nodejs_version% EQU 6 npm -g install npm@6.9
|
|
55
|
-
- IF %nodejs_version% EQU 7 npm -g install npm@6
|
|
56
|
-
- IF %nodejs_version% EQU 8 npm -g install npm@6
|
|
57
|
-
- IF %nodejs_version% EQU 9 npm -g install npm@6.9
|
|
58
|
-
- IF %nodejs_version% EQU 10 npm -g install npm@7
|
|
59
|
-
- IF %nodejs_version% EQU 11 npm -g install npm@7
|
|
60
|
-
- IF %nodejs_version% EQU 12 npm -g install npm@7
|
|
61
|
-
- IF %nodejs_version% EQU 13 npm -g install npm@7
|
|
62
|
-
- IF %nodejs_version% EQU 14 npm -g install npm@7
|
|
63
|
-
- IF %nodejs_version% EQU 15 npm -g install npm@7
|
|
64
|
-
- IF %nodejs_version% EQU 16 npm -g install npm@7
|
|
65
|
-
- set PATH=%APPDATA%\npm;%PATH%
|
|
66
|
-
#- IF %nodejs_version% NEQ 0.6 AND %nodejs_version% NEQ 0.8 npm -g install npm
|
|
67
|
-
# install modules
|
|
68
|
-
- npm install
|
|
69
|
-
|
|
70
|
-
# Post-install test scripts.
|
|
71
|
-
test_script:
|
|
72
|
-
# Output useful info for debugging.
|
|
73
|
-
- node --version
|
|
74
|
-
- npm --version
|
|
75
|
-
# run tests
|
|
76
|
-
- npm run tests-only
|