mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat: Scoped Packages (#7911)
* chore: move tns-core-modules to nativescript-core * chore: preparing compat generate script * chore: add missing definitions * chore: no need for http-request to be private * chore: packages chore * test: generate tests for tns-core-modules * chore: add anroid module for consistency * chore: add .npmignore * chore: added privateModulesWhitelist * chore(webpack): added bundle-entry-points * chore: scripts * chore: tests changed to use @ns/core * test: add scoped-packages test project * test: fix types * test: update test project * chore: build scripts * chore: update build script * chore: npm scripts cleanup * chore: make the compat pgk work with old wp config * test: generate diff friendly tests * chore: create barrel exports * chore: move files after rebase * chore: typedoc config * chore: compat mode * chore: review of barrels * chore: remove tns-core-modules import after rebase * chore: dev workflow setup * chore: update developer-workflow * docs: experiment with API extractor * chore: api-extractor and barrel exports * chore: api-extractor configs * chore: generate d.ts rollup with api-extractor * refactor: move methods inside Frame * chore: fic tests to use Frame static methods * refactor: create Builder class * refactor: use Builder class in tests * refactor: include Style in ui barrel * chore: separate compat build script * chore: fix tslint errors * chore: update NATIVESCRIPT_CORE_ARGS * chore: fix compat pack * chore: fix ui-test-app build with linked modules * chore: Application, ApplicationSettings, Connectivity and Http * chore: export Trace, Profiling and Utils * refactor: Static create methods for ImageSource * chore: fix deprecated usages of ImageSource * chore: move Span and FormattedString to ui * chore: add events-args and ImageSource to index files * chore: check for CLI >= 6.2 when building for IOS * chore: update travis build * chore: copy Pod file to compat package * chore: update error msg ui-tests-app * refactor: Apply suggestions from code review Co-Authored-By: Martin Yankov <m.i.yankov@gmail.com> * chore: typings and refs * chore: add missing d.ts files for public API * chore: adress code review FB * chore: update api-report * chore: dev-workflow for other apps * chore: api update * chore: update api-report
This commit is contained in:
committed by
GitHub
parent
6c7139477e
commit
cc97a16800
27
package.json
27
package.json
@@ -8,6 +8,7 @@
|
||||
},
|
||||
"license": "Apache-2.0",
|
||||
"devDependencies": {
|
||||
"@microsoft/api-extractor": "^7.5.0",
|
||||
"@types/chai": "^4.0.4",
|
||||
"@types/mocha": "^2.2.42",
|
||||
"@types/node": "~10.12.18",
|
||||
@@ -24,11 +25,12 @@
|
||||
"ncp": "^2.0.0",
|
||||
"parse-css": "git+https://github.com/tabatkins/parse-css.git",
|
||||
"parserlib": "^1.1.1",
|
||||
"readdirp": "^3.1.2",
|
||||
"readdirp": "3.1.3",
|
||||
"reduce-css-calc": "^2.1.6",
|
||||
"rimraf": "^2.5.0",
|
||||
"shady-css-parser": "^0.1.0",
|
||||
"source-map-support": "^0.4.17",
|
||||
"ts-node": "^8.3.0",
|
||||
"tslib": "1.10.0",
|
||||
"tslint": "^5.4.3",
|
||||
"typedoc": "^0.13.0",
|
||||
@@ -36,21 +38,18 @@
|
||||
"typescript": "^3.1.6"
|
||||
},
|
||||
"scripts": {
|
||||
"tsc": "node --max_old_space_size=4096 ./node_modules/typescript/bin/tsc",
|
||||
"tsc-w": "npm run tsc -- --skipLibCheck -w",
|
||||
"setup": "npm run build-core && npm run build-compat && npm run setup-link",
|
||||
"setup-link": "(cd nativescript-core && npm link) && (cd dist/tns-core-modules && npm uninstall @nativescript/core -S)",
|
||||
"setup-widgets": "(cd tns-core-modules-widgets && sh build.sh) && npm run dev-link-tns-core-modules-widgets",
|
||||
"tsc-core-watch": "tsc -p nativescript-core/tsconfig.json -w",
|
||||
"tslint": "tslint --project tsconfig.tslint.json --config build/tslint.json",
|
||||
"ci": "tsc && npm run tslint && npm run ci-apps && npm run ci-e2e && npm run ci-tests",
|
||||
"ci-apps": "cd apps && npm i ../tns-core-modules ../tns-platform-declarations --save",
|
||||
"ci-e2e": "cd e2e && cd modal-navigation && npm i ../../tns-core-modules ../../tns-platform-declarations --save",
|
||||
"ci-tests": "cd tests && npm i ../tns-core-modules ../tns-platform-declarations --save",
|
||||
"unit-test": "tsc -p unit-tests/tsconfig.json && mocha --opts unit-tests/mocha.opts",
|
||||
"unit-test-watch": "mocha-typescript-watch -p unit-tests/tsconfig.json --opts unit-tests/mocha.opts",
|
||||
"setup-widgets": "(cd tns-core-modules-widgets && sh build.sh) && npm run dev-link-tns-core-modules-widgets",
|
||||
"dev-link-tns-core-modules-widgets": "(cd tns-core-modules-widgets/dist/package && npm link) && (cd tns-core-modules && npm i ../tns-core-modules-widgets/dist/package --save)",
|
||||
"dev-declarations": "rm -rf tns-platform-declarations/ios/objc* && TNS_TYPESCRIPT_DECLARATIONS_PATH=$PWD/tns-platform-declarations/ios/objc tns build ios --path tests",
|
||||
"typedoc": "typedoc --tsconfig tsconfig.typedoc.json --out bin/dist/apiref --includeDeclarations --name NativeScript --theme ./node_modules/nativescript-typedoc-theme --excludeExternals --externalPattern \"**/+(tns-core-modules|module).d.ts\"",
|
||||
"dev-typedoc": "npm run typedoc && cd bin/dist/apiref && npx http-server",
|
||||
"prepare-dist": "bash ./build/prepare-dist.sh",
|
||||
"pack-dist": "bash ./build/pack-dist.sh"
|
||||
"dev-link-tns-core-modules-widgets": "(cd tns-core-modules-widgets/dist/package && npm link) && (cd nativescript-core && npm i ../tns-core-modules-widgets/dist/package --save)",
|
||||
"api-extractor": "api-extractor run --local --verbose && (cd nativescript-core && cat nativescript-core.header nativescript-core.d.ts > tmp_file && mv tmp_file nativescript-core.d.ts)",
|
||||
"typedoc": "npm run api-extractor && typedoc --tsconfig tsconfig.typedoc.json",
|
||||
"typedoc-dev": "npm run typedoc && cd bin/dist/apiref && npx http-server",
|
||||
"build-core": "sh ./build/build-core.sh",
|
||||
"build-compat": "sh ./build/build-compat.sh"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user