asset_mapper 0.0.1 → 1.0.0

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.
@@ -0,0 +1,184 @@
1
+ // @ts-check
2
+ //
3
+ import path from "path"
4
+ import process from "process";
5
+ import fsLib from "fs";
6
+
7
+ const fs = fsLib.promises;
8
+
9
+ /**
10
+ * @typedef {Object} ManifestData
11
+ * @property {string} asset_path
12
+ * @property {string} file_path
13
+ */
14
+
15
+ /**
16
+ * @param {{ outputRoot?: string, entrypointRoot?: string, manifestFile?: string }} [options={}] Plugin options.
17
+ * @return {import("esbuild").Plugin}
18
+ */
19
+ export default function AssetMapperPlugin(options = {}) {
20
+ if (options == null) options = {};
21
+
22
+ let {
23
+ outputRoot,
24
+ entrypointRoot,
25
+ manifestFile
26
+ } = options;
27
+
28
+ return {
29
+ name: "asset-mapper-manifest",
30
+
31
+ setup(build) {
32
+ build.initialOptions.metafile = true;
33
+
34
+ // Lets prefill some loaders, but always use what the user has defined.
35
+ build.initialOptions.loader = {
36
+ ".png": "file",
37
+ ".woff": "file",
38
+ ".woff2": "file",
39
+ ".svg": "file",
40
+ ".webp": "file",
41
+ ".jpeg": "file",
42
+ ".jpg": "file",
43
+ ".gif": "file",
44
+ ".avif": "file",
45
+ ".ttf": "file",
46
+ ".eot": "file",
47
+ ".mp4": "file",
48
+ ...build.initialOptions.loader
49
+ }
50
+
51
+ // assume that the user wants to hash their files by default,
52
+ // but don't override any hashing format they may have already set.
53
+ /** @type {Array<"entryNames" | "assetNames" | "chunkNames">} */
54
+ const names = ["entryNames", "assetNames", "chunkNames"]
55
+
56
+ names.forEach((str) => {
57
+ if (build.initialOptions[str]) return;
58
+
59
+ if (str === "chunkNames") {
60
+ build.initialOptions[str] = "chunks/[name]-[hash]";
61
+ return;
62
+ }
63
+
64
+ build.initialOptions[str] = "[dir]/[name]-[hash]";
65
+ });
66
+
67
+ build.onEnd(async (result) => {
68
+ if (!result.metafile) {
69
+ console.warn(
70
+ "No metafile found from ESBuild. No manifest generated by AssetMapperManifest."
71
+ );
72
+ return;
73
+ }
74
+
75
+ if (!result.metafile.outputs) {
76
+ console.warn(
77
+ "No outputs found. Make sure you are passing entrypoints to ESBuild."
78
+ );
79
+ return;
80
+ }
81
+
82
+ const outfileDir = build.initialOptions.outfile
83
+ ? build.initialOptions.outfile
84
+ : null;
85
+
86
+ const outdir =
87
+ build.initialOptions.outdir || outfileDir || process.cwd();
88
+
89
+ if (outputRoot == null) {
90
+ outputRoot = path.relative(process.cwd(), outdir)
91
+ console.warn(`No {outputRoot} defined. Using: ${outputRoot}`)
92
+ }
93
+
94
+ if (entrypointRoot == null) {
95
+ entrypointRoot = process.cwd()
96
+ console.warn(`
97
+ No {entrypointRoot} defined. Using: ${entrypointRoot}
98
+ In Rails, typically the {entrypointRoot} is "app/javascript/"
99
+ `)
100
+ }
101
+
102
+ /** @type Map<string, ManifestData> */
103
+ const manifest = new Map();
104
+
105
+
106
+ // Let's loop through all the various outputs
107
+ // I feel like this may not be needed with AssetMapper shipping its own file manifest creator.
108
+ for (const hashedPath in result.metafile.outputs) {
109
+ const output = result.metafile.outputs[hashedPath];
110
+
111
+ if (!output.entryPoint) {
112
+ continue;
113
+ }
114
+
115
+ const entryPoint = output.entryPoint;
116
+
117
+ let finalPath = hashedPath
118
+
119
+
120
+ // Theres probably better ways to do this, but basically if we import an SVG
121
+ // its final location will be: "thing.svg -> thing-[hash].js", this goes back through
122
+ // the outputs and finds the correct SVG.
123
+ // https://github.com/evanw/esbuild/issues/2731
124
+ const loader = build.initialOptions.loader || {}
125
+ const { ext } = path.parse(entryPoint)
126
+
127
+ const isExternalFile = loader[ext] === "file"
128
+
129
+ if (isExternalFile) {
130
+ for (const key in result.metafile.outputs) {
131
+ const val = result.metafile.outputs[key]
132
+ const inputs = Object.keys(val.inputs)
133
+
134
+ if (inputs.length !== 1) continue
135
+
136
+ const asset = inputs[0]
137
+ if (asset === entryPoint) {
138
+ finalPath = key
139
+ break
140
+ }
141
+ }
142
+ }
143
+
144
+
145
+ // Replace the relative paths. We don't need "/public" or "app/javascript"
146
+ manifest.set(
147
+ path.relative(entrypointRoot, entryPoint),
148
+ {
149
+ asset_path: path.relative(outputRoot, finalPath),
150
+ file_path: finalPath
151
+ }
152
+ );
153
+
154
+ if (!output.cssBundle) continue;
155
+
156
+ const { dir, name } = path.parse(entryPoint);
157
+ const cssBundle = path.join(dir, name + ".css");
158
+ manifest.set(
159
+ path.relative(entrypointRoot, cssBundle),
160
+ {
161
+ asset_path: path.relative(outputRoot, output.cssBundle),
162
+ file_path: output.cssBundle
163
+ }
164
+ );
165
+ }
166
+
167
+
168
+ if (!manifestFile) {
169
+ manifestFile = path.join(outputRoot, "asset-mapper-manifest.json")
170
+ }
171
+
172
+ const manifestFolder = path.dirname(manifestFile);
173
+ await fs.mkdir(manifestFolder, { recursive: true });
174
+
175
+ await fs.writeFile(
176
+ manifestFile,
177
+ JSON.stringify({
178
+ files: Object.fromEntries(manifest)
179
+ }, null, 2)
180
+ );
181
+ });
182
+ },
183
+ };
184
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig.json",
3
+ "extends": "./tsconfig.json",
4
+ "compilerOptions": {
5
+ "declarationDir": "dist/cjs"
6
+ }
7
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "include": ["./src"],
3
+ "exclude": ["./dist"],
4
+ "compilerOptions": {
5
+ "baseUrl": ".",
6
+ "declaration": true,
7
+ "declarationMap": true,
8
+ "declarationDir": "./dist/esm",
9
+ "emitDeclarationOnly": true,
10
+ "esModuleInterop": true,
11
+ "importHelpers": true,
12
+ "experimentalDecorators": true,
13
+ "lib": ["ESNext", "dom", "dom.iterable"],
14
+ "module": "CommonJS",
15
+ "moduleResolution": "Node",
16
+ "sourceMap": true,
17
+ "strict": true,
18
+ "target": "ESNext",
19
+ "allowSyntheticDefaultImports": true,
20
+ "allowJs": true,
21
+
22
+ "forceConsistentCasingInFileNames": true,
23
+ "noImplicitReturns": true,
24
+ "noPropertyAccessFromIndexSignature": false,
25
+ "noUncheckedIndexedAccess": false,
26
+ "noUnusedLocals": true,
27
+ "noUnusedParameters": true
28
+ }
29
+ }
@@ -0,0 +1,146 @@
1
+ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2
+ # yarn lockfile v1
3
+
4
+
5
+ "@esbuild/android-arm64@0.16.4":
6
+ version "0.16.4"
7
+ resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.16.4.tgz#4b31b9e3da2e4c12a8170bd682f713c775f68ab1"
8
+ integrity sha512-VPuTzXFm/m2fcGfN6CiwZTlLzxrKsWbPkG7ArRFpuxyaHUm/XFHQPD4xNwZT6uUmpIHhnSjcaCmcla8COzmZ5Q==
9
+
10
+ "@esbuild/android-arm@0.16.4":
11
+ version "0.16.4"
12
+ resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.16.4.tgz#057d3e8b0ee41ff59386c33ba6dcf20f4bedd1f7"
13
+ integrity sha512-rZzb7r22m20S1S7ufIc6DC6W659yxoOrl7sKP1nCYhuvUlnCFHVSbATG4keGUtV8rDz11sRRDbWkvQZpzPaHiw==
14
+
15
+ "@esbuild/android-x64@0.16.4":
16
+ version "0.16.4"
17
+ resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.16.4.tgz#62ccab8ac1d3e6ef1df3fa2e1974bc2b8528d74a"
18
+ integrity sha512-MW+B2O++BkcOfMWmuHXB15/l1i7wXhJFqbJhp82IBOais8RBEQv2vQz/jHrDEHaY2X0QY7Wfw86SBL2PbVOr0g==
19
+
20
+ "@esbuild/darwin-arm64@0.16.4":
21
+ version "0.16.4"
22
+ resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.16.4.tgz#c19a6489d626c36fc611c85ccd8a3333c1f2a930"
23
+ integrity sha512-a28X1O//aOfxwJVZVs7ZfM8Tyih2Za4nKJrBwW5Wm4yKsnwBy9aiS/xwpxiiTRttw3EaTg4Srerhcm6z0bu9Wg==
24
+
25
+ "@esbuild/darwin-x64@0.16.4":
26
+ version "0.16.4"
27
+ resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.16.4.tgz#b726bbc84a1e277f6ec2509d10b8ee03f242b776"
28
+ integrity sha512-e3doCr6Ecfwd7VzlaQqEPrnbvvPjE9uoTpxG5pyLzr2rI2NMjDHmvY1E5EO81O/e9TUOLLkXA5m6T8lfjK9yAA==
29
+
30
+ "@esbuild/freebsd-arm64@0.16.4":
31
+ version "0.16.4"
32
+ resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.4.tgz#364568e6ca2901297f247de0681c9b14bbe658c8"
33
+ integrity sha512-Oup3G/QxBgvvqnXWrBed7xxkFNwAwJVHZcklWyQt7YCAL5bfUkaa6FVWnR78rNQiM8MqqLiT6ZTZSdUFuVIg1w==
34
+
35
+ "@esbuild/freebsd-x64@0.16.4":
36
+ version "0.16.4"
37
+ resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.16.4.tgz#44701ba4a5497ba64eec0a6c9e221d8f46a25e72"
38
+ integrity sha512-vAP+eYOxlN/Bpo/TZmzEQapNS8W1njECrqkTpNgvXskkkJC2AwOXwZWai/Kc2vEFZUXQttx6UJbj9grqjD/+9Q==
39
+
40
+ "@esbuild/linux-arm64@0.16.4":
41
+ version "0.16.4"
42
+ resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.16.4.tgz#b58fb418ec9ac714d8dbb38c787ff2441eb1d9db"
43
+ integrity sha512-2zXoBhv4r5pZiyjBKrOdFP4CXOChxXiYD50LRUU+65DkdS5niPFHbboKZd/c81l0ezpw7AQnHeoCy5hFrzzs4g==
44
+
45
+ "@esbuild/linux-arm@0.16.4":
46
+ version "0.16.4"
47
+ resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.16.4.tgz#b37f15ecddb53eeea466e5960e31a58f33e0e87e"
48
+ integrity sha512-A47ZmtpIPyERxkSvIv+zLd6kNIOtJH03XA0Hy7jaceRDdQaQVGSDt4mZqpWqJYgDk9rg96aglbF6kCRvPGDSUA==
49
+
50
+ "@esbuild/linux-ia32@0.16.4":
51
+ version "0.16.4"
52
+ resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.16.4.tgz#117e32a9680b5deac184ebee122f8575369fad1b"
53
+ integrity sha512-uxdSrpe9wFhz4yBwt2kl2TxS/NWEINYBUFIxQtaEVtglm1eECvsj1vEKI0KX2k2wCe17zDdQ3v+jVxfwVfvvjw==
54
+
55
+ "@esbuild/linux-loong64@0.16.4":
56
+ version "0.16.4"
57
+ resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.16.4.tgz#dd504fb83c280752d4b485d9acb3cf391cb7bf5b"
58
+ integrity sha512-peDrrUuxbZ9Jw+DwLCh/9xmZAk0p0K1iY5d2IcwmnN+B87xw7kujOkig6ZRcZqgrXgeRGurRHn0ENMAjjD5DEg==
59
+
60
+ "@esbuild/linux-mips64el@0.16.4":
61
+ version "0.16.4"
62
+ resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.16.4.tgz#9ab77e31cf3be1e35572afff94b51df8149d15bd"
63
+ integrity sha512-sD9EEUoGtVhFjjsauWjflZklTNr57KdQ6xfloO4yH1u7vNQlOfAlhEzbyBKfgbJlW7rwXYBdl5/NcZ+Mg2XhQA==
64
+
65
+ "@esbuild/linux-ppc64@0.16.4":
66
+ version "0.16.4"
67
+ resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.16.4.tgz#69d56c2a960808bee1c7b9b84a115220ec9ce05c"
68
+ integrity sha512-X1HSqHUX9D+d0l6/nIh4ZZJ94eQky8d8z6yxAptpZE3FxCWYWvTDd9X9ST84MGZEJx04VYUD/AGgciddwO0b8g==
69
+
70
+ "@esbuild/linux-riscv64@0.16.4":
71
+ version "0.16.4"
72
+ resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.16.4.tgz#9fc23583f4a1508a8d352bd376340e42217e8a90"
73
+ integrity sha512-97ANpzyNp0GTXCt6SRdIx1ngwncpkV/z453ZuxbnBROCJ5p/55UjhbaG23UdHj88fGWLKPFtMoU4CBacz4j9FA==
74
+
75
+ "@esbuild/linux-s390x@0.16.4":
76
+ version "0.16.4"
77
+ resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.16.4.tgz#4cae1f70ac2943f076dd130c3c80d28f57bf75d1"
78
+ integrity sha512-pUvPQLPmbEeJRPjP0DYTC1vjHyhrnCklQmCGYbipkep+oyfTn7GTBJXoPodR7ZS5upmEyc8lzAkn2o29wD786A==
79
+
80
+ "@esbuild/linux-x64@0.16.4":
81
+ version "0.16.4"
82
+ resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.16.4.tgz#fdf494de07cda23a2dc4b71ff1e0848e4ee6539c"
83
+ integrity sha512-N55Q0mJs3Sl8+utPRPBrL6NLYZKBCLLx0bme/+RbjvMforTGGzFvsRl4xLTZMUBFC1poDzBEPTEu5nxizQ9Nlw==
84
+
85
+ "@esbuild/netbsd-x64@0.16.4":
86
+ version "0.16.4"
87
+ resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.16.4.tgz#b59ecb49087119c575c0f64d7e66001d52799e24"
88
+ integrity sha512-LHSJLit8jCObEQNYkgsDYBh2JrJT53oJO2HVdkSYLa6+zuLJh0lAr06brXIkljrlI+N7NNW1IAXGn/6IZPi3YQ==
89
+
90
+ "@esbuild/openbsd-x64@0.16.4":
91
+ version "0.16.4"
92
+ resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.16.4.tgz#c51e36db875948b7b11d08bafa355605a1aa289c"
93
+ integrity sha512-nLgdc6tWEhcCFg/WVFaUxHcPK3AP/bh+KEwKtl69Ay5IBqUwKDaq/6Xk0E+fh/FGjnLwqFSsarsbPHeKM8t8Sw==
94
+
95
+ "@esbuild/sunos-x64@0.16.4":
96
+ version "0.16.4"
97
+ resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.16.4.tgz#0b50e941cd44f069e9f2573321aec984244ec228"
98
+ integrity sha512-08SluG24GjPO3tXKk95/85n9kpyZtXCVwURR2i4myhrOfi3jspClV0xQQ0W0PYWHioJj+LejFMt41q+PG3mlAQ==
99
+
100
+ "@esbuild/win32-arm64@0.16.4":
101
+ version "0.16.4"
102
+ resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.16.4.tgz#d1c93b20f17355ab2221cd18e13ae2f1b68013e3"
103
+ integrity sha512-yYiRDQcqLYQSvNQcBKN7XogbrSvBE45FEQdH8fuXPl7cngzkCvpsG2H9Uey39IjQ6gqqc+Q4VXYHsQcKW0OMjQ==
104
+
105
+ "@esbuild/win32-ia32@0.16.4":
106
+ version "0.16.4"
107
+ resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.16.4.tgz#df5910e76660e0acbbdceb8d4ae6bf1efeade6ae"
108
+ integrity sha512-5rabnGIqexekYkh9zXG5waotq8mrdlRoBqAktjx2W3kb0zsI83mdCwrcAeKYirnUaTGztR5TxXcXmQrEzny83w==
109
+
110
+ "@esbuild/win32-x64@0.16.4":
111
+ version "0.16.4"
112
+ resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.16.4.tgz#6ec594468610c176933da1387c609558371d37e0"
113
+ integrity sha512-sN/I8FMPtmtT2Yw+Dly8Ur5vQ5a/RmC8hW7jO9PtPSQUPkowxWpcUZnqOggU7VwyT3Xkj6vcXWd3V/qTXwultQ==
114
+
115
+ esbuild@^0.16.4:
116
+ version "0.16.4"
117
+ resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.16.4.tgz#06c86298d233386f5e41bcc14d36086daf3f40bd"
118
+ integrity sha512-qQrPMQpPTWf8jHugLWHoGqZjApyx3OEm76dlTXobHwh/EBbavbRdjXdYi/GWr43GyN0sfpap14GPkb05NH3ROA==
119
+ optionalDependencies:
120
+ "@esbuild/android-arm" "0.16.4"
121
+ "@esbuild/android-arm64" "0.16.4"
122
+ "@esbuild/android-x64" "0.16.4"
123
+ "@esbuild/darwin-arm64" "0.16.4"
124
+ "@esbuild/darwin-x64" "0.16.4"
125
+ "@esbuild/freebsd-arm64" "0.16.4"
126
+ "@esbuild/freebsd-x64" "0.16.4"
127
+ "@esbuild/linux-arm" "0.16.4"
128
+ "@esbuild/linux-arm64" "0.16.4"
129
+ "@esbuild/linux-ia32" "0.16.4"
130
+ "@esbuild/linux-loong64" "0.16.4"
131
+ "@esbuild/linux-mips64el" "0.16.4"
132
+ "@esbuild/linux-ppc64" "0.16.4"
133
+ "@esbuild/linux-riscv64" "0.16.4"
134
+ "@esbuild/linux-s390x" "0.16.4"
135
+ "@esbuild/linux-x64" "0.16.4"
136
+ "@esbuild/netbsd-x64" "0.16.4"
137
+ "@esbuild/openbsd-x64" "0.16.4"
138
+ "@esbuild/sunos-x64" "0.16.4"
139
+ "@esbuild/win32-arm64" "0.16.4"
140
+ "@esbuild/win32-ia32" "0.16.4"
141
+ "@esbuild/win32-x64" "0.16.4"
142
+
143
+ typescript@^4.9.4:
144
+ version "4.9.4"
145
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.4.tgz#a2a3d2756c079abda241d75f149df9d561091e78"
146
+ integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==
data/yarn.lock ADDED
@@ -0,0 +1,4 @@
1
+ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2
+ # yarn lockfile v1
3
+
4
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asset_mapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
- - ParamagicDev
7
+ - KonnorRogers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-06 00:00:00.000000000 Z
11
+ date: 2022-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.13.0
47
+ version: '1.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.13.0
54
+ version: '1.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: dry-files
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.1.0
61
+ version: '1.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.1.0
68
+ version: '1.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: dry-initializer
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -112,17 +112,29 @@ files:
112
112
  - asset_mapper.gemspec
113
113
  - bin/console
114
114
  - bin/setup
115
+ - docs/parcel2.md
115
116
  - lib/asset_mapper.rb
116
- - lib/asset_mapper/types.rb
117
+ - lib/asset_mapper/configuration.rb
118
+ - lib/asset_mapper/manifest.rb
119
+ - lib/asset_mapper/manifest_generator.rb
117
120
  - lib/asset_mapper/version.rb
118
- homepage: https://github.com/ParamagicDev/asset_mapper
121
+ - packages/asset-mapper-esbuild/CHANGELOG.md
122
+ - packages/asset-mapper-esbuild/esbuild.config.js
123
+ - packages/asset-mapper-esbuild/package.json
124
+ - packages/asset-mapper-esbuild/pnpm-lock.yaml
125
+ - packages/asset-mapper-esbuild/src/index.js
126
+ - packages/asset-mapper-esbuild/tsconfig-cjs.json
127
+ - packages/asset-mapper-esbuild/tsconfig.json
128
+ - packages/asset-mapper-esbuild/yarn.lock
129
+ - yarn.lock
130
+ homepage: https://github.com/KonnorRogers/asset_mapper
119
131
  licenses:
120
132
  - MIT
121
133
  metadata:
122
134
  allowed_push_host: https://rubygems.org
123
- homepage_uri: https://github.com/ParamagicDev/asset_mapper
124
- source_code_uri: https://github.com/ParamagicDev/asset_mapper
125
- changelog_uri: https://github.com/ParamagicDev/asset_mapper/blob/main/CHANGELOG.md
135
+ homepage_uri: https://github.com/KonnorRogers/asset_mapper
136
+ source_code_uri: https://github.com/KonnorRogers/asset_mapper
137
+ changelog_uri: https://github.com/KonnorRogers/asset_mapper/blob/main/CHANGELOG.md
126
138
  post_install_message:
127
139
  rdoc_options: []
128
140
  require_paths:
@@ -1,5 +0,0 @@
1
- require "dry-types"
2
-
3
- module AssetMapper::Types
4
- include ::Dry.Types()
5
- end