Comparing version 0.40.0 to 0.41.0
{ | ||
"name": "tsickle", | ||
"version": "0.40.0", | ||
"version": "0.41.0", | ||
"description": "Transpile TypeScript code to JavaScript with Closure annotations.", | ||
"main": "src/tsickle.js", | ||
"typings": "src/tsickle.d.ts", | ||
"main": "out/src/tsickle.js", | ||
"typings": "out/src/tsickle.d.ts", | ||
"directories": { | ||
@@ -11,6 +11,6 @@ "test": "test" | ||
"files": [ | ||
"build/src/*" | ||
"out/src/*" | ||
], | ||
"peerDependencies": { | ||
"typescript": "~4.2" | ||
"typescript": "~4.3" | ||
}, | ||
@@ -20,23 +20,21 @@ "devDependencies": { | ||
"@types/glob": "5.0.35", | ||
"@types/jasmine": "2.8.8", | ||
"@types/jest": "^26.0.23", | ||
"@types/jasmine": "^3.7.7", | ||
"@types/node": "^10.5.6", | ||
"@types/source-map-support": "^0.5.3", | ||
"diff-match-patch": "^1.0.1", | ||
"diff-match-patch": "^1.0.5", | ||
"glob": "7.1.2", | ||
"google-closure-compiler": "^20190929.0.0", | ||
"jasmine": "^3.1.0", | ||
"jasmine": "^3.7.0", | ||
"jasmine-node": "^3.0.0", | ||
"mocha": "^8.4.0", | ||
"source-map": "^0.7.3", | ||
"source-map-support": "^0.5.19", | ||
"tslib": "1.11", | ||
"tslib": "^2.2.0", | ||
"tslint": "^6.1.3", | ||
"typescript": "~4.2" | ||
"typescript": "~4.3" | ||
}, | ||
"scripts": { | ||
"build": "tsc ", | ||
"clean": "rm -r build", | ||
"clean": "rm -r out", | ||
"lint": "tslint -c tslint.json -p tsconfig.json", | ||
"test": "jasmine build/test/*.js && npm run lint" | ||
"test": "jasmine out/test/*.js && npm run lint" | ||
}, | ||
@@ -43,0 +41,0 @@ "repository": { |
@@ -1,2 +0,2 @@ | ||
# Tsickle - TypeScript to Closure Translator [![Build Status](https://circleci.com/gh/angular/tsickle.svg?style=svg)](https://circleci.com/gh/angular/tsickle) [![Windows build](https://ci.appveyor.com/api/projects/status/puxdblmlqbofqqt1/branch/master?svg=true)](https://ci.appveyor.com/project/alexeagle/tsickle/branch/master) | ||
# Tsickle - TypeScript to Closure Translator [![Build Status](https://github.com/angular/tsickle/actions/workflows/node.js.yml/badge.svg)](https://github.com/angular/tsickle/actions/workflows/node.js.yml) | ||
@@ -130,7 +130,8 @@ Tsickle converts TypeScript code into a form acceptable to the [Closure | ||
- `npm run build` builds the code base. | ||
- `yarn build` builds the code base. | ||
- Run `tsc --watch` for an interactive, incremental, and continuous build. | ||
- `npm run lint` checks for lint. | ||
- `yarn test` runs unit tests, e2e tests and checks for lint. Set the | ||
`TEST_FILTER` environment variable to filter what golden tests to run. | ||
- `yarn lint` checks for lint. | ||
- `yarn test` runs unit tests, e2e tests and checks for lint (but make sure to | ||
`yarn build` first or run tsc!). Set the `TEST_FILTER` environment variable | ||
to filter what golden tests to run. | ||
@@ -144,4 +145,4 @@ ### TypeScript AST help | ||
You can debug tests by passing `--node_options=--inspect` | ||
or `--node_options=--inspect-brk` (to suspend execution directly after startup). | ||
You can debug tests by passing `--node_options=--inspect` or | ||
`--node_options=--inspect-brk` (to suspend execution directly after startup). | ||
@@ -151,3 +152,3 @@ For example, to debug a specific golden test: | ||
```shell | ||
TEST_FILTER=my_golden_test node --inspect-brk=4332 ./node_modules/.bin/jasmine build/test/*.js | ||
TEST_FILTER=my_golden_test node --inspect-brk=4332 ./node_modules/.bin/jasmine out/test/*.js | ||
``` | ||
@@ -165,3 +166,3 @@ | ||
Run `UPDATE_GOLDENS=y npm test` to have the test suite update the goldens in | ||
Run `UPDATE_GOLDENS=y yarn test` to have the test suite update the goldens in | ||
`test_files/...`. | ||
@@ -171,5 +172,4 @@ | ||
Pass the flag `--action_env=TEST_FILTER=<REGEX>` to bazel test to limit the | ||
end-to-end test (found in `test_files/...`) run tests with a name matching the | ||
regex. | ||
Set the environment variable `TEST_FILTER=<REGEX>` to limit the golden tests | ||
(found in `test_files/...`) to only run tests with a name matching the regex. | ||
@@ -176,0 +176,0 @@ ### Releasing |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
616324
15
8469