Skip to content

Commit 5bb2162

Browse files
committed
chore: project
1 parent b3d86d3 commit 5bb2162

File tree

5 files changed

+24
-12
lines changed

5 files changed

+24
-12
lines changed

.npmrc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
shamefully-hoist=true
2+
public-hoist-pattern[]=*eslint*
3+
public-hoist-pattern[]=source-map-support
4+
public-hoist-pattern[]=ts-patch
5+
public-hoist-pattern[]=typescript
6+
public-hoist-pattern[]=cpy-cli
27
strict-peer-dependencies=false
8+
shell-emulator=true
9+
auto-install-peers=false
310
loglevel=error
4-
engine-strict=true

demo-snippets/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "@nativescript-community/template-snippet",
3+
"private": true,
34
"version": "0.0.1",
45
"dependencies": {
56
"@nativescript-community/gesturehandler": "file:../packages/gesturehandler"

package.json

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
"build.watch": "lerna run build.watch --parallel",
1616
"build.all": "lerna run build.all",
1717
"build.angular": "lerna run build.angular",
18-
"clean": "rimraf 'packages/**/*.d.ts' 'packages/**/*.js' 'packages/**/*.js.map' 'packages/**/*.metada 'packages/**/angular/ng-package.json'",
18+
"clean": "rimraf 'packages/**/*.d.ts' 'packages/**/*.js' 'packages/**/*.js.map' 'packages/**/*.metada' 'packages/**/angular/ng-package.json'",
1919
"commitmsg": "commitlint -e $GIT_PARAMS",
20-
"demo.ng.android": "cd ./demo-ng && ns run android --no-hmr",
20+
"demo.ng.android": "cd ./demo-ng && ns run android --no-hmr --env.watchNodeModules",
2121
"demo.ng.clean": "cd ./demo-ng && ns clean",
22-
"demo.ng.ios": "cd ./demo-ng && ns run ios --no-hmr",
22+
"demo.ng.ios": "cd ./demo-ng && ns run ios --no-hmr --env.watchNodeModules",
2323
"postinstall": "npm run setup",
24-
"publish": "npm run clean && npm run build.all && lerna publish --create-release=github --force-publish",
24+
"publish": "npm run clean && npm run build.all && npm run readme && lerna publish --no-private --create-release=github --force-publish",
2525
"readme": "node ./tools/readme.js",
2626
"setup": "npm run submodules && ts-patch install",
2727
"start": "./node_modules/.bin/ntl -A -s 15 -o",
@@ -31,7 +31,7 @@
3131
"tsc": "cpy '**/*.d.ts' '../plugin' --parents --cwd=src && tsc -skipLibCheck -d",
3232
"update": "node ./tools/update.js",
3333
"doc": "node tools/builddoc.mjs && git add docs/* && git commit -m \"chore:doc\"",
34-
"fullclean": "npm run clean && rimraf 'packages/**/node_modules' 'package-lock.json' 'pnpm-lock.yaml' 'node_modules'"
34+
"fullclean": "npm run clean && rimraf 'packages/**/node_modules' 'demo-*/hooks' 'package-lock.json' 'pnpm-lock.yaml' 'node_modules'"
3535
},
3636
"commitlint": {
3737
"extends": [
@@ -59,11 +59,16 @@
5959
"@nativescript-community/observable": "^2.0.10"
6060
},
6161
"workspaces": [
62-
"packages/*"
62+
"packages/*",
63+
"demo-vue",
64+
"demo-ng",
65+
"demo-svelte",
66+
"demo-react",
67+
"demo-snippets"
6368
],
6469
"engines": {
6570
"npm": "please use yarn or pnpm",
66-
"yarn": ">= 1.19.1",
67-
"pnpm": ">= 7.0.0"
71+
"yarn": ">=1.19.1",
72+
"pnpm": ">=7.0.0"
6873
}
6974
}

pnpm-workspace.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
packages:
2+
- packages/*
3+
- demo-*

references.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
/// <reference path="./node_modules/@nativescript/types-ios/lib/ios.d.ts" />
2-
/// <reference path="./node_modules/@nativescript/types-android/lib/android-28.d.ts" />
3-
/// <reference path="./node_modules/@nativescript/core/global-types.d.ts" />

0 commit comments

Comments
 (0)