@nativescript-community/ui-material-core 7.0.1 → 7.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [7.0.2](https://github.com/nativescript-community/ui-material-components/compare/v7.0.1...v7.0.2) (2022-03-13)
7
+
8
+ **Note:** Version bump only for package @nativescript-community/ui-material-core
9
+
10
+
11
+
12
+
13
+
6
14
  ## [7.0.1](https://github.com/nativescript-community/ui-material-components/compare/v7.0.0...v7.0.1) (2022-03-09)
7
15
 
8
16
  **Note:** Version bump only for package @nativescript-community/ui-material-core
package/package.json CHANGED
@@ -1,36 +1,25 @@
1
1
  {
2
2
  "name": "@nativescript-community/ui-material-core",
3
- "version": "7.0.1",
3
+ "version": "7.0.2",
4
4
  "description": "Material Core component",
5
5
  "main": "./index",
6
6
  "sideEffects": false,
7
7
  "typings": "./index.d.ts",
8
8
  "scripts": {
9
- "preuninstall": "node preuninstall.js",
10
- "postinstall": "node postinstall.js",
11
9
  "tsc": "../../node_modules/.bin/cpy '**/*.d.ts' '../../packages/core' --cwd=../../src/core --parents && ../../node_modules/.bin/tsc -d",
12
10
  "tsc-win": "..\\..\\node_modules\\.bin\\cpy '**/*.d.ts' '..\\..\\packages\\core' --cwd=..\\..\\src\\core --parents && ..\\..\\node_modules\\.bin\\tsc -d",
13
- "build": "npm run tsc && npm run build.hooks",
11
+ "build": "npm run tsc",
14
12
  "build.watch": "npm run tsc -- -w",
15
- "build.win": "npm run tsc-win && npm run build.hooks.win",
16
- "build.hooks.win": "..\\..\\node_modules\\.bin\\tsc -skipLibCheck -p tsconfig.hooks.json",
17
- "build.hooks": " tsc -skipLibCheck -p tsconfig.hooks.json",
18
- "build.all": "npm run build.hooks && npm run build",
19
- "build.all.win": "npm run build.hooks.win && npm run build.win",
13
+ "build.win": "npm run tsc-win",
14
+ "build.all": "npm run build",
15
+ "build.all.win": "npm run build.win",
20
16
  "clean": "../../node_modules/.bin/rimraf ./*.d.ts ./*.js ./*.js.map android"
21
17
  },
22
18
  "nativescript": {
23
19
  "platforms": {
24
20
  "android": "6.2.0",
25
21
  "ios": "6.2.0"
26
- },
27
- "hooks": [
28
- {
29
- "type": "before-prepare",
30
- "script": "scripts/before-prepare.js",
31
- "inject": true
32
- }
33
- ]
22
+ }
34
23
  },
35
24
  "keywords": [
36
25
  "NativeScript",
@@ -49,8 +38,5 @@
49
38
  "homepage": "https://github.com/nativescript-community/ui-material-components",
50
39
  "repository": "https://github.com/nativescript-community/ui-material-components",
51
40
  "readmeFilename": "README.md",
52
- "gitHead": "48cf92e33d0f74f46c045dd3a80652243a19a40c",
53
- "dependencies": {
54
- "@nativescript/hook": "~2.0.0"
55
- }
41
+ "gitHead": "5b8059038ec0669db9b9839696250e7a9a831980"
56
42
  }
package/postinstall.d.ts DELETED
File without changes
package/postinstall.js DELETED
@@ -1,2 +0,0 @@
1
- require('@nativescript/hook')(__dirname).postinstall();
2
- //# sourceMappingURL=postinstall.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"postinstall.js","sourceRoot":"../src/","sources":["postinstall.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,CAAC"}
package/preuninstall.d.ts DELETED
File without changes
package/preuninstall.js DELETED
@@ -1,2 +0,0 @@
1
- require('@nativescript/hook')(__dirname).preuninstall();
2
- //# sourceMappingURL=preuninstall.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preuninstall.js","sourceRoot":"../src/","sources":["preuninstall.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,YAAY,EAAE,CAAC"}
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var fs_1 = require("fs");
4
- var path_1 = require("path");
5
- module.exports = function (hookArgs, $logger) {
6
- var platform = hookArgs.prepareData.platform;
7
- if (platform === 'ios') {
8
- var projectFilePath = (0, path_1.dirname)(hookArgs.projectData.projectFilePath);
9
- var podFilePath = (0, path_1.join)(projectFilePath, 'node_modules', '@nativescript/core', 'platforms/ios/Podfile');
10
- if ((0, fs_1.existsSync)(podFilePath)) {
11
- (0, fs_1.unlinkSync)(podFilePath);
12
- }
13
- var iosFile = (0, path_1.join)(projectFilePath, 'node_modules', '@nativescript/core', 'ui/tabs/index.ios.js');
14
- if ((0, fs_1.existsSync)(iosFile)) {
15
- var data = (0, fs_1.readFileSync)(iosFile, 'utf8');
16
- if (data.indexOf('MDCTabBarView') === -1) {
17
- var result = data.replace(/MDCTabBar/g, 'MDCTabBarView').replace(/MDCTabBarItemState/g, 'UIControlState');
18
- (0, fs_1.writeFileSync)(iosFile, result);
19
- }
20
- }
21
- var uiFile = (0, path_1.join)(projectFilePath, 'node_modules', '@nativescript/core', 'ui/index.js');
22
- if ((0, fs_1.existsSync)(uiFile)) {
23
- var data = (0, fs_1.readFileSync)(uiFile, 'utf8');
24
- var result = data.replace(/^export \{ Tabs \} from '.\/tabs';/gm, '// export { Tabs } from \'./tabs\';');
25
- (0, fs_1.writeFileSync)(uiFile, result);
26
- }
27
- }
28
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"before-prepare.js","sourceRoot":"../src/","sources":["scripts/before-prepare.ts"],"names":[],"mappings":";AAAA,2BAAyE;AACzE,+BAAqC;AAErC,MAAM,CAAC,OAAO,GAAG,UAAU,QAAgF,EAAE,OAAO;IAChH,MAAM,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAC;IAE/C,IAAI,QAAQ,KAAK,KAAK,EAAE;QACpB,MAAM,eAAe,GAAG,IAAA,cAAO,EAAC,QAAQ,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;QACtE,MAAM,WAAW,GAAG,IA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