@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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +6 -2
- package/.changeset/README.md +0 -8
- package/.changeset/config.json +0 -11
- package/.github/workflows/changesets.yml +0 -41
- package/.prettierignore +0 -11
- package/.prettierrc +0 -7
- package/src/constants.ts +0 -12
- package/src/images/icon-1024.png +0 -0
- package/src/images/icon-128.png +0 -0
- package/src/images/icon-16.png +0 -0
- package/src/images/icon-180.png +0 -0
- package/src/images/icon-192.png +0 -0
- package/src/images/icon-256.png +0 -0
- package/src/images/icon-32.png +0 -0
- package/src/images/icon-48.png +0 -0
- package/src/images/icon-512.png +0 -0
- package/src/images/icon-64.png +0 -0
- package/src/index.ts +0 -1
- package/src/types.d.ts +0 -14
- package/tsconfig.json +0 -12
- package/tsup.config.ts +0 -26
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const ORG_NAME = "Fefade";
|
|
2
|
-
declare const
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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
|
|
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": "
|
|
4
|
-
"version": "1.0.
|
|
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",
|
package/.changeset/README.md
DELETED
|
@@ -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).
|
package/.changeset/config.json
DELETED
|
@@ -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
package/.prettierrc
DELETED
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
|
-
}
|
package/src/images/icon-1024.png
DELETED
|
Binary file
|
package/src/images/icon-128.png
DELETED
|
Binary file
|
package/src/images/icon-16.png
DELETED
|
Binary file
|
package/src/images/icon-180.png
DELETED
|
Binary file
|
package/src/images/icon-192.png
DELETED
|
Binary file
|
package/src/images/icon-256.png
DELETED
|
Binary file
|
package/src/images/icon-32.png
DELETED
|
Binary file
|
package/src/images/icon-48.png
DELETED
|
Binary file
|
package/src/images/icon-512.png
DELETED
|
Binary file
|
package/src/images/icon-64.png
DELETED
|
Binary file
|
package/src/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * as Constants from "./constants"
|
package/src/types.d.ts
DELETED
package/tsconfig.json
DELETED
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
|
-
})
|