Skip to content

Commit 36a29a8

Browse files
committed
Split node-library-build-test into node-library-build-eslint-test and node-library-build-tslint-test
1 parent 1a36e87 commit 36a29a8

13 files changed

Lines changed: 72 additions & 3 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// This is a workaround for https://github.com/eslint/eslint/issues/3458
2+
require("@rushstack/eslint-config/patch-eslint6");
3+
4+
module.exports = {
5+
extends: [ "@rushstack/eslint-config" ],
6+
parserOptions: { tsconfigRootDir: __dirname },
7+
};
File renamed without changes.
File renamed without changes.

build-tests/node-library-build-test/package.json renamed to build-tests/node-library-build-eslint-test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "node-library-build-test",
2+
"name": "node-library-build-eslint-test",
33
"version": "1.0.0",
44
"description": "",
55
"main": "lib/index.js",
File renamed without changes.
File renamed without changes.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Ignore everything by default
2+
**
3+
4+
# Use negative patterns to bring back the specific things we want to publish
5+
!/bin/**
6+
!/lib/**
7+
!/dist/**
8+
!ThirdPartyNotice.txt
9+
10+
# Ignore certain files in the above folder
11+
/dist/*.stats.*
12+
/lib/**/test/*
13+
14+
# NOTE: These don't need to be specified, because NPM includes them automatically.
15+
#
16+
# package.json
17+
# README (and its variants)
18+
# CHANGELOG (and its variants)
19+
# LICENSE / LICENCE
20+
21+
## Project specific definitions
22+
# -----------------------------
23+
24+
# (Add your exceptions here)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
'use strict';
2+
3+
const build = require('@microsoft/node-library-build');
4+
5+
build.initialize(require('gulp'));
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "node-library-build-tslint-test",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "lib/index.js",
6+
"license": "MIT",
7+
"scripts": {
8+
"build": "gulp test --clean"
9+
},
10+
"devDependencies": {
11+
"@microsoft/node-library-build": "6.2.6",
12+
"@types/chai": "3.4.34",
13+
"@types/mocha": "5.2.5",
14+
"@types/node": "8.10.54",
15+
"chai": "~3.5.0",
16+
"gulp": "~4.0.2",
17+
"@microsoft/rush-stack-compiler-3.4": "0.2.6"
18+
}
19+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
2+
// See LICENSE in the project root for license information.
3+
4+
class TestClass {
5+
}

0 commit comments

Comments
 (0)