funkophile 0.2.5 → 1.0.1

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/dev.js DELETED
@@ -1,59 +0,0 @@
1
- import chokidar from 'chokidar';
2
- import { exec } from 'child_process';
3
- import { promisify } from 'util';
4
- import { fileURLToPath } from 'url';
5
- import { dirname } from 'path';
6
-
7
- const __filename = fileURLToPath(import.meta.url);
8
- const __dirname = dirname(__filename);
9
-
10
- const execAsync = promisify(exec);
11
-
12
- console.log('Watching for file changes...');
13
-
14
- const watcher = chokidar.watch('**/*.ts', {
15
- ignored: /node_modules/,
16
- persistent: true,
17
- ignoreInitial: true
18
- });
19
-
20
- let buildInProgress = false;
21
-
22
- const runBuild = async () => {
23
- if (buildInProgress) {
24
- console.log('Build already in progress, skipping...');
25
- return;
26
- }
27
-
28
- buildInProgress = true;
29
- console.log('File changes detected. Rebuilding...');
30
-
31
- try {
32
- const { stdout, stderr } = await execAsync('yarn transpile');
33
- if (stdout) console.log(stdout);
34
- if (stderr) console.error(stderr);
35
- console.log('Rebuild completed successfully!');
36
- } catch (error) {
37
- console.error('Build failed:', error);
38
- } finally {
39
- buildInProgress = false;
40
- }
41
- };
42
-
43
- watcher.on('change', runBuild);
44
- watcher.on('add', runBuild);
45
- watcher.on('unlink', runBuild);
46
-
47
- // Initial build
48
- console.log('Performing initial build...');
49
- execAsync('yarn transpile')
50
- .then(({ stdout, stderr }) => {
51
- if (stdout) console.log(stdout);
52
- if (stderr) console.error(stderr);
53
- console.log('Initial build completed!');
54
- console.log('Watching for changes...');
55
- })
56
- .catch(error => {
57
- console.error('Initial build failed:', error);
58
- process.exit(1);
59
- });
@@ -1,108 +0,0 @@
1
- export declare const contentsOfFiles: (selector: any) => ((state: unknown) => string) & {
2
- clearCache: () => void;
3
- resultsCount: () => number;
4
- resetResultsCount: () => void;
5
- } & {
6
- resultFunc: (resultFuncArgs_0: any) => string;
7
- memoizedResultFunc: ((resultFuncArgs_0: any) => string) & {
8
- clearCache: () => void;
9
- resultsCount: () => number;
10
- resetResultsCount: () => void;
11
- };
12
- lastResult: () => string;
13
- dependencies: [any];
14
- recomputations: () => number;
15
- resetRecomputations: () => void;
16
- dependencyRecomputations: () => number;
17
- resetDependencyRecomputations: () => void;
18
- } & {
19
- argsMemoize: typeof import("reselect").weakMapMemoize;
20
- memoize: typeof import("reselect").weakMapMemoize;
21
- };
22
- export declare const contentOfFile: (selector: any) => ((state: unknown) => any) & {
23
- clearCache: () => void;
24
- resultsCount: () => number;
25
- resetResultsCount: () => void;
26
- } & {
27
- resultFunc: (resultFuncArgs_0: any) => any;
28
- memoizedResultFunc: ((resultFuncArgs_0: any) => any) & {
29
- clearCache: () => void;
30
- resultsCount: () => number;
31
- resetResultsCount: () => void;
32
- };
33
- lastResult: () => any;
34
- dependencies: [any];
35
- recomputations: () => number;
36
- resetRecomputations: () => void;
37
- dependencyRecomputations: () => number;
38
- resetDependencyRecomputations: () => void;
39
- } & {
40
- argsMemoize: typeof import("reselect").weakMapMemoize;
41
- memoize: typeof import("reselect").weakMapMemoize;
42
- };
43
- export declare const srcAndContentOfFile: (selector: any, key: string) => ((state: unknown) => {
44
- src: string;
45
- content: any;
46
- }) & {
47
- clearCache: () => void;
48
- resultsCount: () => number;
49
- resetResultsCount: () => void;
50
- } & {
51
- resultFunc: (resultFuncArgs_0: any) => {
52
- src: string;
53
- content: any;
54
- };
55
- memoizedResultFunc: ((resultFuncArgs_0: any) => {
56
- src: string;
57
- content: any;
58
- }) & {
59
- clearCache: () => void;
60
- resultsCount: () => number;
61
- resetResultsCount: () => void;
62
- };
63
- lastResult: () => {
64
- src: string;
65
- content: any;
66
- };
67
- dependencies: [any];
68
- recomputations: () => number;
69
- resetRecomputations: () => void;
70
- dependencyRecomputations: () => number;
71
- resetDependencyRecomputations: () => void;
72
- } & {
73
- argsMemoize: typeof import("reselect").weakMapMemoize;
74
- memoize: typeof import("reselect").weakMapMemoize;
75
- };
76
- export declare const srcAndContentOfFiles: (selector: any) => ((state: unknown) => {
77
- src: string;
78
- content: any;
79
- }[]) & {
80
- clearCache: () => void;
81
- resultsCount: () => number;
82
- resetResultsCount: () => void;
83
- } & {
84
- resultFunc: (resultFuncArgs_0: any) => {
85
- src: string;
86
- content: any;
87
- }[];
88
- memoizedResultFunc: ((resultFuncArgs_0: any) => {
89
- src: string;
90
- content: any;
91
- }[]) & {
92
- clearCache: () => void;
93
- resultsCount: () => number;
94
- resetResultsCount: () => void;
95
- };
96
- lastResult: () => {
97
- src: string;
98
- content: any;
99
- }[];
100
- dependencies: [any];
101
- recomputations: () => number;
102
- resetRecomputations: () => void;
103
- dependencyRecomputations: () => number;
104
- resetDependencyRecomputations: () => void;
105
- } & {
106
- argsMemoize: typeof import("reselect").weakMapMemoize;
107
- memoize: typeof import("reselect").weakMapMemoize;
108
- };
@@ -1,13 +0,0 @@
1
- declare const _default: (funkophileConfig: {
2
- mode: "build" | "watch";
3
- initialState: any;
4
- options: {
5
- inFolder: string;
6
- outFolder: string;
7
- port?: number;
8
- };
9
- encodings: Record<string, string[]>;
10
- inputs: Record<string, string>;
11
- outputs: (x: any) => any;
12
- }) => void;
13
- export default _default;
package/yarn-error.log DELETED
@@ -1,107 +0,0 @@
1
- Arguments:
2
- /Users/adam/.nvm/versions/node/v20.4.0/bin/node /opt/local/libexec/yarn/bin/yarn.js add @types/chokidar @types/glob-promise @types/bluebird
3
-
4
- PATH:
5
- /Users/adam/.wasmtime/bin:/Users/adam/Code/google-cloud-sdk/bin:/Users/adam/.yarn/bin:/Users/adam/.config/yarn/global/node_modules/.bin:/Users/adam/.nvm/versions/node/v20.4.0/bin:/opt/local/bin:/opt/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/Users/adam/.local/bin:/Users/adam/.cargo/bin:/Applications/iTerm.app/Contents/Resources/utilities:/opt/local/bin:/Users/adam/go/bin:/opt/homebrew/bin/go:/Users/adam/.rvm/bin
6
-
7
- Yarn version:
8
- 1.22.19
9
-
10
- Node version:
11
- 20.4.0
12
-
13
- Platform:
14
- darwin arm64
15
-
16
- Trace:
17
- Error: https://registry.yarnpkg.com/@types%2fglob-promise: Not found
18
- at params.callback [as _callback] (/opt/local/libexec/yarn/lib/cli.js:66145:18)
19
- at self.callback (/opt/local/libexec/yarn/lib/cli.js:140890:22)
20
- at Request.emit (node:events:512:28)
21
- at Request.<anonymous> (/opt/local/libexec/yarn/lib/cli.js:141862:10)
22
- at Request.emit (node:events:512:28)
23
- at IncomingMessage.<anonymous> (/opt/local/libexec/yarn/lib/cli.js:141784:12)
24
- at Object.onceWrapper (node:events:626:28)
25
- at IncomingMessage.emit (node:events:524:35)
26
- at endReadableNT (node:internal/streams/readable:1378:12)
27
- at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
28
-
29
- npm manifest:
30
- {
31
- "name": "funkophile",
32
- "version": "0.0.3",
33
- "main": "index.js",
34
- "repository": "git@github.com:adamwong246/funkophile.git",
35
- "author": "adam wong <adamwong246@gmail.com>",
36
- "license": "MIT",
37
- "type": "module",
38
- "dependencies": {
39
- "@types/fs-extra": "^11.0.4",
40
- "@types/redux": "^3.6.0",
41
- "@types/reselect": "^2.2.0"
42
- },
43
- "exports": {
44
- "./funkophileHelpers": {
45
- "import": "./funkophileHelpers.ts"
46
- }
47
- }
48
- }
49
-
50
- yarn manifest:
51
- No manifest
52
-
53
- Lockfile:
54
- # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
55
- # yarn lockfile v1
56
-
57
-
58
- "@types/fs-extra@^11.0.4":
59
- version "11.0.4"
60
- resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-11.0.4.tgz#e16a863bb8843fba8c5004362b5a73e17becca45"
61
- integrity sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==
62
- dependencies:
63
- "@types/jsonfile" "*"
64
- "@types/node" "*"
65
-
66
- "@types/jsonfile@*":
67
- version "6.1.4"
68
- resolved "https://registry.yarnpkg.com/@types/jsonfile/-/jsonfile-6.1.4.tgz#614afec1a1164e7d670b4a7ad64df3e7beb7b702"
69
- integrity sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==
70
- dependencies:
71
- "@types/node" "*"
72
-
73
- "@types/node@*":
74
- version "22.13.10"
75
- resolved "https://registry.yarnpkg.com/@types/node/-/node-22.13.10.tgz#df9ea358c5ed991266becc3109dc2dc9125d77e4"
76
- integrity sha512-I6LPUvlRH+O6VRUqYOcMudhaIdUVWfsjnZavnsraHvpBwaEyMN29ry+0UVJhImYL16xsscu0aske3yA+uPOWfw==
77
- dependencies:
78
- undici-types "~6.20.0"
79
-
80
- "@types/redux@^3.6.0":
81
- version "3.6.0"
82
- resolved "https://registry.yarnpkg.com/@types/redux/-/redux-3.6.0.tgz#f1ebe1e5411518072e4fdfca5c76e16e74c1399a"
83
- integrity sha512-ic+60DXHW5seNyqFvfr7Sk5cnXs+HsF9tIeIaxjOuSP5kzgDXC+AzKTYmjAfuLx4Sccm/0vjwBQj3OOkUkwOqg==
84
- dependencies:
85
- redux "*"
86
-
87
- "@types/reselect@^2.2.0":
88
- version "2.2.0"
89
- resolved "https://registry.yarnpkg.com/@types/reselect/-/reselect-2.2.0.tgz#c667206cfdc38190e1d379babe08865b2288575f"
90
- integrity sha512-wRzxD+878qxC1h3ZMkEl/smBluwVeuVxhjhwM1/ZLQ6+hgl5gPQp2mZQSjRppwAyyR+Ul3JIaiObAd7mD4QT3w==
91
- dependencies:
92
- reselect "*"
93
-
94
- redux@*:
95
- version "5.0.1"
96
- resolved "https://registry.yarnpkg.com/redux/-/redux-5.0.1.tgz#97fa26881ce5746500125585d5642c77b6e9447b"
97
- integrity sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==
98
-
99
- reselect@*:
100
- version "5.1.1"
101
- resolved "https://registry.yarnpkg.com/reselect/-/reselect-5.1.1.tgz#c766b1eb5d558291e5e550298adb0becc24bb72e"
102
- integrity sha512-K/BG6eIky/SBpzfHZv/dd+9JBFiS4SWV7FIujVyJRux6e45+73RaUHXLmIR1f7WOMaQ0U1km6qwklRQxpJJY0w==
103
-
104
- undici-types@~6.20.0:
105
- version "6.20.0"
106
- resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.20.0.tgz#8171bf22c1f588d1554d55bf204bc624af388433"
107
- integrity sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==