feat(core): TypeScript 4 + cleanup (#8967)

This commit is contained in:
Nathan Walker
2020-10-19 09:28:05 -07:00
committed by GitHub
parent 99bb067420
commit 2243660080
266 changed files with 677 additions and 1014 deletions

View File

@ -1,42 +0,0 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
},
"ignorePatterns": ["**/*"],
"plugins": ["@typescript-eslint", "@nrwl/nx"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"rules": {
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-parameter-properties": "off",
"@nrwl/nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
{ "sourceTag": "*", "onlyDependOnLibsWithTags": ["*"] }
]
}
]
},
"overrides": [
{
"files": ["*.tsx"],
"rules": {
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-any": "off"
}
}
]
}

40
.eslintrc.json Normal file
View File

@ -0,0 +1,40 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
},
"ignorePatterns": ["**/*"],
"plugins": ["@typescript-eslint", "@nrwl/nx"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended", "prettier", "prettier/@typescript-eslint"],
"rules": {
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-parameter-properties": "off",
"@nrwl/nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
]
}
],
"@typescript-eslint/explicit-module-boundary-types": "off"
},
"overrides": [
{
"files": ["*.tsx"],
"rules": {
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-any": "off"
}
}
]
}

View File

@ -23,7 +23,7 @@ jobs:
run: npm version $NPM_VERSION
- name: Build @nativescript/core
run: npx nx run core:build.npm
run: npx nx run core:build
- name: Publish @nativescript/core
working-directory: dist/packages

8
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,8 @@
{
"recommendations": [
"nrwl.angular-console",
"ms-vscode.vscode-typescript-tslint-plugin",
"esbenp.prettier-vscode",
"firsttris.vscode-jest-runner"
]
}

View File

@ -1,9 +1,3 @@
module.exports = {
testMatch: ['**/+(*.)+(spec|test).+(ts|js)?(x)'],
transform: {
'^.+\\.(ts|js|html)$': 'ts-jest'
},
resolver: '@nrwl/jest/plugins/resolver',
moduleFileExtensions: ['ts', 'js', 'html'],
coverageReporters: ['html']
projects: ['<rootDir>/packages/core'],
};

11
jest.preset.js Normal file
View File

@ -0,0 +1,11 @@
const nxPreset = require('@nrwl/jest/preset');
module.exports = {
...nxPreset,
testMatch: ['**/+(*.)+(spec|test).+(ts|js)?(x)'],
transform: {
'^.+\\.(ts|js|html)$': 'ts-jest',
},
resolver: '@nrwl/jest/plugins/resolver',
moduleFileExtensions: ['ts', 'js', 'html'],
coverageReporters: ['html'],
};

View File

@ -1,32 +1,109 @@
{
"migrations": [
{
"version": "10.0.0-beta.0",
"description": "Add default branch to nx.json",
"factory": "./src/migrations/update-10-0-0/update-10-0-0",
"version": "10.1.0-beta.0",
"description": "Migrate .eslintrc files to use tsconfig with a wildcard",
"factory": "./src/migrations/update-10-1-0/migrate-eslintrc-tsconfig-wildcard",
"package": "@nrwl/workspace",
"name": "add-default-branch-to-nx-json"
"name": "migrate-eslintrc-tsconfig-wildcard"
},
{
"version": "10.0.0-beta.0",
"description": "Migrate tsconfigs to solution style tsconfigs",
"factory": "./src/migrations/update-10-0-0/solution-tsconfigs",
"version": "10.3.0-beta.0",
"description": "Add @nrwl/cli as dependency",
"factory": "./src/migrations/update-10-3-0/add-cli-dependency",
"package": "@nrwl/workspace",
"name": "solution-tsconfigs"
"name": "add-cli-dependency"
},
{
"version": "10.0.1-beta.0",
"description": "Migrate .eslintrc files to reference new tsconfig",
"factory": "./src/migrations/update-10-0-1/migrate-eslintrc",
"version": "10.3.0-beta.0",
"description": "Update typescript to v4",
"factory": "./src/migrations/update-10-3-0/update-typescript",
"package": "@nrwl/workspace",
"name": "migrate-eslintrc-tsconfig"
"name": "update-10-3-0"
},
{
"version": "10.0.0-beta.2",
"description": "update jest configs to include setup env files",
"factory": "./src/migrations/update-10-0-0/update-jest-configs",
"version": "10.3.0-beta.1",
"description": "Adds .vscode/extensions.json to a workspace",
"factory": "./src/migrations/update-10-3-0/add-vscode-extensions",
"package": "@nrwl/workspace",
"name": "add-vscode-extensions"
},
{
"version": "10.3.0-beta.0",
"description": "Adds `buildableProjectDepsInPackageJsonType` for web and angular package builders",
"factory": "./src/migrations/update-10-3-0/add-buildable-project-deps-in-package-json-type",
"package": "@nrwl/workspace",
"name": "add-buildable-project-deps-in-package-json-type"
},
{
"version": "10.1.0-beta.4",
"description": "Update jest to v26",
"factory": "./src/migrations/update-10-1-0/update-10-1-0",
"package": "@nrwl/jest",
"name": "update-10.0.0"
"name": "update-10.1.0"
},
{
"version": "10.2.0",
"description": "Remove deprecated jest builder options",
"factory": "./src/migrations/update-10-2-0/update-10-2-0",
"package": "@nrwl/jest",
"name": "update-10.2.0"
},
{
"version": "10.3.0-beta.1",
"description": "Adds all jest projects into the root jest config",
"factory": "./src/migrations/update-10-3-0/update-projects-property",
"package": "@nrwl/jest",
"name": "update-projects-property"
},
{
"version": "10.3.0-beta.1",
"description": "Update ts-jest to v26.4",
"factory": "./src/migrations/update-10-3-0/update-ts-jest",
"package": "@nrwl/jest",
"name": "update-ts-jest"
},
{
"version": "10.3.0-beta.1",
"description": "Adds a jest extension to the recommended extensions for vscode",
"factory": "./src/migrations/update-10-3-0/add-jest-extension",
"package": "@nrwl/jest",
"name": "add-jest-extension"
},
{
"version": "10.3.0-beta.1",
"description": "Update @typescript-eslint to v4.3",
"factory": "./src/migrations/update-10-3-0/update-10-3-0",
"package": "@nrwl/linter",
"name": "update-10.3.0"
},
{
"version": "10.3.0-beta.0",
"description": "Migrate to the new ESLint builder and ESLint config style",
"factory": "./src/migrations/update-10-3-0/update-eslint-builder-and-config",
"package": "@nrwl/linter",
"name": "update-eslint-builder-and-config"
},
{
"version": "10.3.0-beta.2",
"description": "Add explicit .json file extension to .eslintrc files, not using an extension is deprecated",
"factory": "./src/migrations/update-10-3-0/add-json-ext-to-eslintrc",
"package": "@nrwl/linter",
"name": "add-json-ext-to-eslintrc"
},
{
"version": "10.3.0-beta.3",
"description": "Update implicitDependencies within nx.json to include root .eslintrc.json",
"factory": "./src/migrations/update-10-3-0/add-root-eslintrc-json-to-workspace-implicit-deps",
"package": "@nrwl/linter",
"name": "add-root-eslintrc-json-to-workspace-implicit-deps"
},
{
"version": "10.1.0-beta.1",
"description": "Removes rootDir from node libs' tsconfig",
"factory": "./src/migrations/update-10-1-0/remove-root-dir",
"package": "@nrwl/node",
"name": "remove-root-dir"
}
]
}

View File

@ -12,7 +12,8 @@
},
"tsconfig.json": "*",
"tslint.json": "*",
"nx.json": "*"
"nx.json": "*",
".eslintrc.json": "*"
},
"projects": {
"apps-automated": {
@ -27,9 +28,6 @@
"core": {
"tags": []
},
"core-compat": {
"tags": []
},
"types": {
"tags": []
},

View File

@ -17,29 +17,30 @@
},
"devDependencies": {
"@nativescript/hook": "^2.0.0",
"@nrwl/eslint-plugin-nx": "~10.0.7",
"@nrwl/jest": "~10.0.7",
"@nrwl/node": "~10.0.7",
"@nrwl/workspace": "~10.0.7",
"@nstudio/focus": "~10.0.0",
"@nrwl/cli": "~10.3.1",
"@nrwl/eslint-plugin-nx": "~10.3.0",
"@nrwl/jest": "~10.3.0",
"@nrwl/node": "~10.3.0",
"@nrwl/workspace": "~10.3.0",
"@nstudio/focus": "~10.3.0",
"@nstudio/nps-i": "~1.1.0",
"@types/chai": "^4.2.11",
"@types/jest": "~26.0.4",
"@types/jest": "~26.0.8",
"@types/mocha": "^7.0.2",
"@types/node": "~14.0.22",
"@typescript-eslint/eslint-plugin": "~3.6.0",
"@typescript-eslint/parser": "~3.6.0",
"@typescript-eslint/eslint-plugin": "~4.3.0",
"@typescript-eslint/parser": "~4.3.0",
"chai": "^4.2.0",
"conventional-changelog-cli": "^2.0.34",
"copyfiles": "^2.3.0",
"copyfiles": "^2.4.0",
"css": "^3.0.0",
"css-tree": "^1.0.0-alpha.39",
"dotenv": "~8.2.0",
"eslint": "~7.4.0",
"eslint": "~7.10.0",
"eslint-config-prettier": "~6.11.0",
"gonzales": "^1.0.7",
"husky": "^4.2.5",
"jest": "~26.1.0",
"jest": "~26.2.2",
"lint-staged": "^10.2.11",
"mocha": "^8.0.1",
"mocha-typescript": "^1.1.17",
@ -52,11 +53,11 @@
"reduce-css-calc": "~2.1.7",
"shady-css-parser": "^0.1.0",
"terser-webpack-plugin": "~3.0.6",
"ts-jest": "~26.1.1",
"ts-jest": "26.4.0",
"ts-node": "~8.10.2",
"ts-patch": "^1.2.5",
"tslint": "~6.1.2",
"typescript": "~3.9.7",
"typescript": "~4.0.3",
"webpack": "~4.44.1",
"webpack-cli": "~3.3.12"
},

View File

@ -1,4 +0,0 @@
*.tgz
**/*.ts
!**/*.d.ts
npm-debug.log

View File

@ -1,3 +0,0 @@
**NOTE**: Do not use this package directly.
The `tns-core-modules` package exists only for compatibility with older versions of NativeScript. It's recommended to use `@nativescript/core` now.

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
import '@nativescript/core/bundle-entry-points';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
require("@nativescript/core/bundle-entry-points");

View File

@ -1,2 +0,0 @@
// Execute the bundle-entry-points from core. Nothing is exported.
import '@nativescript/core/bundle-entry-points';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,7 +0,0 @@
// The "inspector_modules" module is not public, but is refered in legacy versons of webpack.config
// So add the re-export manually
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("@nativescript/core/inspector_modules"));

View File

@ -1,25 +0,0 @@
{
"name": "tns-core-modules",
"main": "index",
"types": "index.d.ts",
"description": "Compatibility with old style tns-core-modules imports for NativeScript.",
"version": "7.0.0-rc.33",
"homepage": "https://nativescript.org",
"repository": {
"type": "git",
"url": "https://github.com/NativeScript/NativeScript"
},
"license": "Apache-2.0",
"scripts": {
"setup": "npm i"
},
"devDependencies": {
"@nativescript/core": "rc"
},
"nativescript": {
"platforms": {
"ios": "5.0.0",
"android": "5.0.0"
}
}
}

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
// Not needed. Only added for back-compatibility as some apps refer to this file.

View File

@ -1 +0,0 @@
export * from './trace';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./trace"), exports);

View File

@ -1 +0,0 @@
export * from './trace';

View File

@ -1,21 +0,0 @@
import { Trace } from '@nativescript/core';
export declare const enable: typeof Trace.enable;
export declare const error: typeof Trace.error;
export declare const getErrorHandler: typeof Trace.getErrorHandler;
export declare const isCategorySet: typeof Trace.isCategorySet;
export declare const isEnabled: typeof Trace.isEnabled;
export declare const notifyEvent: typeof Trace.notifyEvent;
export declare const setCategories: typeof Trace.setCategories;
export declare const setErrorHandler: typeof Trace.setErrorHandler;
export declare const write: typeof Trace.write;
export declare const removeWriter: typeof Trace.removeWriter;
export declare const messageType: typeof Trace.messageType;
export declare const removeEventListener: typeof Trace.removeEventListener;
export declare const addCategories: typeof Trace.addCategories;
export declare const addEventListener: typeof Trace.addEventListener;
export declare const DefaultErrorHandler: typeof Trace.DefaultErrorHandler;
export declare const ConsoleWriter: typeof Trace.ConsoleWriter;
export declare const addWriter: typeof Trace.addWriter;
export declare const categories: typeof Trace.categories;
export declare const clearWriters: typeof Trace.clearWriters;
export declare const disable: typeof Trace.disable;

View File

@ -1,23 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.disable = exports.clearWriters = exports.categories = exports.addWriter = exports.ConsoleWriter = exports.DefaultErrorHandler = exports.addEventListener = exports.addCategories = exports.removeEventListener = exports.messageType = exports.removeWriter = exports.write = exports.setErrorHandler = exports.setCategories = exports.notifyEvent = exports.isEnabled = exports.isCategorySet = exports.getErrorHandler = exports.error = exports.enable = void 0;
var core_1 = require("@nativescript/core");
exports.enable = core_1.Trace.enable;
exports.error = core_1.Trace.error;
exports.getErrorHandler = core_1.Trace.getErrorHandler;
exports.isCategorySet = core_1.Trace.isCategorySet;
exports.isEnabled = core_1.Trace.isEnabled;
exports.notifyEvent = core_1.Trace.notifyEvent;
exports.setCategories = core_1.Trace.setCategories;
exports.setErrorHandler = core_1.Trace.setErrorHandler;
exports.write = core_1.Trace.write;
exports.removeWriter = core_1.Trace.removeWriter;
exports.messageType = core_1.Trace.messageType;
exports.removeEventListener = core_1.Trace.removeEventListener;
exports.addCategories = core_1.Trace.addCategories;
exports.addEventListener = core_1.Trace.addEventListener;
exports.DefaultErrorHandler = core_1.Trace.DefaultErrorHandler;
exports.ConsoleWriter = core_1.Trace.ConsoleWriter;
exports.addWriter = core_1.Trace.addWriter;
exports.categories = core_1.Trace.categories;
exports.clearWriters = core_1.Trace.clearWriters;
exports.disable = core_1.Trace.disable;

View File

@ -1,22 +0,0 @@
import { Trace } from '@nativescript/core';
export const enable = Trace.enable;
export const error = Trace.error;
export const getErrorHandler = Trace.getErrorHandler;
export const isCategorySet = Trace.isCategorySet;
export const isEnabled = Trace.isEnabled;
export const notifyEvent = Trace.notifyEvent;
export const setCategories = Trace.setCategories;
export const setErrorHandler = Trace.setErrorHandler;
export const write = Trace.write;
export const removeWriter = Trace.removeWriter;
export const messageType = Trace.messageType;
export const removeEventListener = Trace.removeEventListener;
export const addCategories = Trace.addCategories;
export const addEventListener = Trace.addEventListener;
export const DefaultErrorHandler = Trace.DefaultErrorHandler;
export const ConsoleWriter = Trace.ConsoleWriter;
export const addWriter = Trace.addWriter;
export const categories = Trace.categories;
export const clearWriters = Trace.clearWriters;
export const disable = Trace.disable;

View File

@ -1,30 +0,0 @@
{
"compilerOptions": {
"noEmitOnError": true,
"noEmitHelpers": true,
"target": "es5",
"module": "commonjs",
"declaration": true,
"noImplicitAny": false,
"noImplicitUseStrict": true,
"removeComments": true,
"experimentalDecorators": true,
"diagnostics": true,
"sourceMap": false,
"types" : [
"node"
],
"lib": [
"es6", "dom"
],
"baseUrl": "."
},
"include": [
"**/*.ts"
],
"exclude": [
"node_modules",
"dist",
"__tests__"
]
}

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,7 +0,0 @@
// The "ui/frame/activity" module is not public, but is refered in legacy versons of webpack.config
// So add the re-export manually
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("@nativescript/core/ui/frame/activity"));

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

View File

@ -1,2 +0,0 @@
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("@nativescript/core"), exports);

View File

@ -1 +0,0 @@
export * from '@nativescript/core';

Some files were not shown because too many files have changed in this diff Show More