@fefade/common 1.0.1 → 1.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/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  declare const ORG_NAME = "Fefade";
2
- declare const PREFIX = "ff";
2
+ declare const ACRONYM = "ff";
3
3
  declare const DEFAULT_LOCALE = "en";
4
4
  declare const SUPPORT_EMAIL = "support@fefade.com";
5
5
  declare const URLS: {
@@ -10,13 +10,13 @@ declare const URLS: {
10
10
  github: string;
11
11
  };
12
12
 
13
+ declare const constants_ACRONYM: typeof ACRONYM;
13
14
  declare const constants_DEFAULT_LOCALE: typeof DEFAULT_LOCALE;
14
15
  declare const constants_ORG_NAME: typeof ORG_NAME;
15
- declare const constants_PREFIX: typeof PREFIX;
16
16
  declare const constants_SUPPORT_EMAIL: typeof SUPPORT_EMAIL;
17
17
  declare const constants_URLS: typeof URLS;
18
18
  declare namespace constants {
19
- export { constants_DEFAULT_LOCALE as DEFAULT_LOCALE, constants_ORG_NAME as ORG_NAME, constants_PREFIX as PREFIX, constants_SUPPORT_EMAIL as SUPPORT_EMAIL, constants_URLS as URLS };
19
+ export { constants_ACRONYM as ACRONYM, constants_DEFAULT_LOCALE as DEFAULT_LOCALE, constants_ORG_NAME as ORG_NAME, constants_SUPPORT_EMAIL as SUPPORT_EMAIL, constants_URLS as URLS };
20
20
  }
21
21
 
22
22
  export { constants as Constants };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  declare const ORG_NAME = "Fefade";
2
- declare const PREFIX = "ff";
2
+ declare const ACRONYM = "ff";
3
3
  declare const DEFAULT_LOCALE = "en";
4
4
  declare const SUPPORT_EMAIL = "support@fefade.com";
5
5
  declare const URLS: {
@@ -10,13 +10,13 @@ declare const URLS: {
10
10
  github: string;
11
11
  };
12
12
 
13
+ declare const constants_ACRONYM: typeof ACRONYM;
13
14
  declare const constants_DEFAULT_LOCALE: typeof DEFAULT_LOCALE;
14
15
  declare const constants_ORG_NAME: typeof ORG_NAME;
15
- declare const constants_PREFIX: typeof PREFIX;
16
16
  declare const constants_SUPPORT_EMAIL: typeof SUPPORT_EMAIL;
17
17
  declare const constants_URLS: typeof URLS;
18
18
  declare namespace constants {
19
- export { constants_DEFAULT_LOCALE as DEFAULT_LOCALE, constants_ORG_NAME as ORG_NAME, constants_PREFIX as PREFIX, constants_SUPPORT_EMAIL as SUPPORT_EMAIL, constants_URLS as URLS };
19
+ export { constants_ACRONYM as ACRONYM, constants_DEFAULT_LOCALE as DEFAULT_LOCALE, constants_ORG_NAME as ORG_NAME, constants_SUPPORT_EMAIL as SUPPORT_EMAIL, constants_URLS as URLS };
20
20
  }
21
21
 
22
22
  export { constants as Constants };
package/dist/index.js CHANGED
@@ -27,14 +27,14 @@ module.exports = __toCommonJS(index_exports);
27
27
  // src/constants.ts
28
28
  var constants_exports = {};
29
29
  __export(constants_exports, {
30
+ ACRONYM: () => ACRONYM,
30
31
  DEFAULT_LOCALE: () => DEFAULT_LOCALE,
31
32
  ORG_NAME: () => ORG_NAME,
32
- PREFIX: () => PREFIX,
33
33
  SUPPORT_EMAIL: () => SUPPORT_EMAIL,
34
34
  URLS: () => URLS
35
35
  });
36
36
  var ORG_NAME = "Fefade";
37
- var PREFIX = "ff";
37
+ var ACRONYM = "ff";
38
38
  var DEFAULT_LOCALE = "en";
39
39
  var SUPPORT_EMAIL = "support@fefade.com";
40
40
  var URLS = {
package/dist/index.mjs CHANGED
@@ -7,14 +7,14 @@ var __export = (target, all) => {
7
7
  // src/constants.ts
8
8
  var constants_exports = {};
9
9
  __export(constants_exports, {
10
+ ACRONYM: () => ACRONYM,
10
11
  DEFAULT_LOCALE: () => DEFAULT_LOCALE,
11
12
  ORG_NAME: () => ORG_NAME,
12
- PREFIX: () => PREFIX,
13
13
  SUPPORT_EMAIL: () => SUPPORT_EMAIL,
14
14
  URLS: () => URLS
15
15
  });
16
16
  var ORG_NAME = "Fefade";
17
- var PREFIX = "ff";
17
+ var ACRONYM = "ff";
18
18
  var DEFAULT_LOCALE = "en";
19
19
  var SUPPORT_EMAIL = "support@fefade.com";
20
20
  var URLS = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fefade/common",
3
- "description": "Shared images and constants",
4
- "version": "1.0.1",
3
+ "description": "Containing common resources, constants, images, and utility functions that are used across various projects. This package aims to promote reusability and maintain consistency across different applications by centralizing commonly used assets and code.",
4
+ "version": "1.0.2",
5
5
  "private": false,
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -9,6 +9,10 @@
9
9
  "main": "dist/index.js",
10
10
  "module": "dist/index.mjs",
11
11
  "types": "dist/index.d.ts",
12
+ "files": [
13
+ "dist",
14
+ "LICENSE"
15
+ ],
12
16
  "exports": {
13
17
  ".": {
14
18
  "import": "./dist/index.mjs",
@@ -1,8 +0,0 @@
1
- # Changesets
2
-
3
- Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4
- with multi-package repos, or single-package repos to help you version and publish your code. You can
5
- find the full documentation for it [in our repository](https://github.com/changesets/changesets).
6
-
7
- We have a quick list of common questions to get you started engaging with this project in
8
- [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md).
@@ -1,11 +0,0 @@
1
- {
2
- "$schema": "https://unpkg.com/@changesets/config@3.1.3/schema.json",
3
- "changelog": "@changesets/cli/changelog",
4
- "commit": false,
5
- "fixed": [],
6
- "linked": [],
7
- "access": "restricted",
8
- "baseBranch": "main",
9
- "updateInternalDependencies": "patch",
10
- "ignore": []
11
- }
@@ -1,41 +0,0 @@
1
- name: Changesets
2
-
3
- on:
4
- push:
5
- branches:
6
- - main
7
-
8
- env:
9
- CI: true
10
-
11
- jobs:
12
- version:
13
- timeout-minutes: 15
14
- runs-on: ubuntu-latest
15
- steps:
16
- - name: Checkout code repository
17
- uses: actions/checkout@v4
18
-
19
- - name: Setup pnpm
20
- uses: pnpm/action-setup@v4
21
- with:
22
- version: 10.32.1
23
-
24
- - name: Setup node.js
25
- uses: actions/setup-node@v4
26
- with:
27
- node-version: 22.13.1
28
- cache: "pnpm"
29
-
30
- - name: Install dependencies
31
- run: pnpm install
32
-
33
- - name: Create and publish versions
34
- uses: changesets/action@v1
35
- with:
36
- commit: "chore: update versions"
37
- title: "chore: update versions"
38
- publish: pnpm ci:publish
39
- env:
40
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package/.prettierignore DELETED
@@ -1,11 +0,0 @@
1
- # Package Managers
2
- package-lock.json
3
- pnpm-lock.yaml
4
- yarn.lock
5
- bun.lock
6
- bun.lockb
7
-
8
- # Miscellaneous
9
- /static/
10
- dist
11
- node_modules
package/.prettierrc DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "useTabs": true,
3
- "singleQuote": false,
4
- "semi": false,
5
- "trailingComma": "none",
6
- "printWidth": 80
7
- }
package/src/constants.ts DELETED
@@ -1,12 +0,0 @@
1
- export const ORG_NAME = "Fefade"
2
- export const PREFIX = "ff"
3
- export const DEFAULT_LOCALE = "en"
4
- export const SUPPORT_EMAIL = "support@fefade.com"
5
-
6
- export const URLS = {
7
- base: "https://fefade.com",
8
- auth: "https://auth.fefade.com",
9
- email: `mailto:${SUPPORT_EMAIL}`,
10
- play_store: "https://play.google.com/store/apps/dev?id=7701571155946352525",
11
- github: "https://github.com/fefade"
12
- }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/src/index.ts DELETED
@@ -1 +0,0 @@
1
- export * as Constants from "./constants"
package/src/types.d.ts DELETED
@@ -1,14 +0,0 @@
1
- declare module "*.png" {
2
- const value: string
3
- export default value
4
- }
5
-
6
- declare module "*.jpg" {
7
- const value: string
8
- export default value
9
- }
10
-
11
- declare module "*.svg" {
12
- const value: string
13
- export default value
14
- }
package/tsconfig.json DELETED
@@ -1,12 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "esnext",
4
- "module": "esnext",
5
- "moduleResolution": "bundler",
6
- "esModuleInterop": true,
7
- "strict": true,
8
- "skipLibCheck": true,
9
- "declaration": true
10
- },
11
- "include": ["src"]
12
- }
package/tsup.config.ts DELETED
@@ -1,26 +0,0 @@
1
- import { defineConfig } from "tsup"
2
- import { join, resolve } from "path"
3
- import { copyFileSync, existsSync, mkdirSync, readdirSync } from "fs"
4
-
5
- export default defineConfig({
6
- entry: ["src/index.ts"],
7
- format: ["esm", "cjs"],
8
- dts: true,
9
- clean: true,
10
- outDir: "dist",
11
- esbuildOptions(options) {
12
- options.target = "esnext"
13
- },
14
- onSuccess: async () => {
15
- const srcImages = resolve("src/images")
16
- const distImages = resolve("dist/images")
17
-
18
- if (!existsSync(distImages)) {
19
- mkdirSync(distImages, { recursive: true })
20
- }
21
-
22
- for (const file of readdirSync(srcImages)) {
23
- copyFileSync(join(srcImages, file), join(distImages, file))
24
- }
25
- }
26
- })