@fluentui/react-icons-file-type 0.0.1 → 0.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.
@@ -1,5 +1,5 @@
1
1
  // Public, stable module path for the file type icon enum. The actual definitions are
2
- // generated from `fileIconTypes.json` into `fileIconTypes.generated.ts` (run `npm run
2
+ // generated from `fileIconTypes.json` into `fileIconTypes.generated.ts` (run `yarn
3
3
  // generate`); this barrel re-exports the public surface so consumers and internal code
4
4
  // import from a hand-written path rather than the generated artifact.
5
5
  export { FileIconType } from './fileIconTypes.generated';
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT license.
3
3
  // AUTO-GENERATED by scripts/generateFileIconTypes.js from src/common/fileIconTypes.json.
4
- // Do not edit this file manually. Run `npm run generate` to regenerate it.
4
+ // Do not edit this file manually. Run `yarn generate` to regenerate it.
5
5
  /**
6
6
  * Enumerates special file type icons that do not map to any file extensions.
7
7
  * For example, the 'pptx' icon maps to the extensions 'ppt', 'pptm', 'pptx',
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT license.
3
3
  // AUTO-GENERATED by scripts/generateFileTypeIconMap.js from src/common/fileTypeIconMap.json.
4
- // Do not edit this file manually. Run `npm run generate` to regenerate it.
4
+ // Do not edit this file manually. Run `yarn generate` to regenerate it.
5
5
  /**
6
6
  * Minimal packed `icon name`->`extensions` table.
7
7
  *
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FileIconType = void 0;
4
4
  // Public, stable module path for the file type icon enum. The actual definitions are
5
- // generated from `fileIconTypes.json` into `fileIconTypes.generated.ts` (run `npm run
5
+ // generated from `fileIconTypes.json` into `fileIconTypes.generated.ts` (run `yarn
6
6
  // generate`); this barrel re-exports the public surface so consumers and internal code
7
7
  // import from a hand-written path rather than the generated artifact.
8
8
  var fileIconTypes_generated_1 = require("./fileIconTypes.generated");
@@ -4,7 +4,7 @@
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.TYPE_TO_ICON_NAME = exports.FileIconType = void 0;
6
6
  // AUTO-GENERATED by scripts/generateFileIconTypes.js from src/common/fileIconTypes.json.
7
- // Do not edit this file manually. Run `npm run generate` to regenerate it.
7
+ // Do not edit this file manually. Run `yarn generate` to regenerate it.
8
8
  /**
9
9
  * Enumerates special file type icons that do not map to any file extensions.
10
10
  * For example, the 'pptx' icon maps to the extensions 'ppt', 'pptm', 'pptx',
@@ -4,7 +4,7 @@
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getFileTypeIconExtensionMap = void 0;
6
6
  // AUTO-GENERATED by scripts/generateFileTypeIconMap.js from src/common/fileTypeIconMap.json.
7
- // Do not edit this file manually. Run `npm run generate` to regenerate it.
7
+ // Do not edit this file manually. Run `yarn generate` to regenerate it.
8
8
  /**
9
9
  * Minimal packed `icon name`->`extensions` table.
10
10
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-icons-file-type",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Fluent UI React (v9-compatible) file type icon components rendered from CDN-hosted assets.",
5
5
  "main": "lib-cjs/index.js",
6
6
  "module": "lib/index.js",
@@ -21,12 +21,10 @@
21
21
  "scripts": {
22
22
  "clean": "git clean -fXd lib/ lib-cjs/",
23
23
  "generate": "node scripts/generateFileTypeIconMap.js && node scripts/generateFileIconTypes.js",
24
- "prebuild": "npm run clean && npm run generate",
25
- "build": "node scripts/build.js",
26
- "bundle-size": "monosize measure",
27
- "lint": "eslint src",
28
- "pretest": "npm run generate",
29
- "test": "vitest run"
24
+ "build": "yarn clean && yarn generate && node scripts/build.js",
25
+ "bundle-size": "yarn run -T monosize measure",
26
+ "lint": "yarn run -T eslint src package.json",
27
+ "test": "yarn generate && yarn run -T vitest run"
30
28
  },
31
29
  "dependencies": {
32
30
  "@griffel/react": "^1.6.1",
@@ -41,13 +39,6 @@
41
39
  "optional": true
42
40
  }
43
41
  },
44
- "devDependencies": {
45
- "@griffel/eslint-plugin": "^2.0.2",
46
- "eslint": "8.57.1",
47
- "eslint-plugin-react-hooks": "^5.2.0",
48
- "typescript": "5.0.4",
49
- "typescript-eslint": "7.18.0"
50
- },
51
42
  "files": [
52
43
  "lib/",
53
44
  "lib-cjs/"