-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Update the build workflow of the extensions using the inbui…
…lt `jspm build` command. (#19) * Replace the existing workflow with jspm cli * fix build for extensions * remove JSPM_VS_CODE_PATH from chompfile
- Loading branch information
1 parent
88a5438
commit 98dc1fa
Showing
7 changed files
with
2,945 additions
and
2,653 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,9 @@ extensions = ['[email protected]:npm'] | |
|
||
[[task]] | ||
name = 'build' | ||
deps = ['src/extension.mjs', 'npm:install'] | ||
deps = ['src/extension.mjs', 'importmap.json', 'rollup-config.mjs'] | ||
target = 'dist/extension.js' | ||
run = 'rollup -c' | ||
run = 'jspm build -r @babel/helper-module-transforms=@babel/[email protected] --config rollup-config.mjs' | ||
|
||
[[task]] | ||
name = 'test' | ||
|
@@ -15,4 +15,4 @@ run = 'code --extensionDevelopmentPath=$JSPM_VSCODE_PATH --extensionDevelopmentK | |
|
||
[[task]] | ||
name = 'publish' | ||
run = 'vsce publish' | ||
run = 'vsce publish' |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
{ | ||
"env": [ | ||
"browser", | ||
"module", | ||
"production" | ||
], | ||
"imports": { | ||
"@jspm/generator": "https://ga.jspm.io/npm:@jspm/[email protected]/dist/generator.js" | ||
}, | ||
"scopes": { | ||
"https://ga.jspm.io/": { | ||
"#fetch": "https://ga.jspm.io/npm:@jspm/[email protected]/dist/fetch-native.js", | ||
"#lib/config/files/index.js": "https://ga.jspm.io/npm:@babel/[email protected]/lib/config/files/index-browser.js", | ||
"#lib/config/resolve-targets.js": "https://ga.jspm.io/npm:@babel/[email protected]/lib/config/resolve-targets-browser.js", | ||
"#lib/transform-file.js": "https://ga.jspm.io/npm:@babel/[email protected]/lib/transform-file-browser.js", | ||
"#node.js": "https://ga.jspm.io/npm:[email protected]/browser.js", | ||
"@ampproject/remapping": "https://ga.jspm.io/npm:@ampproject/[email protected]/dist/remapping.umd.js", | ||
"@babel/code-frame": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/compat-data/native-modules": "https://ga.jspm.io/npm:@babel/[email protected]/native-modules.js", | ||
"@babel/compat-data/plugins": "https://ga.jspm.io/npm:@babel/[email protected]/plugins.js", | ||
"@babel/core": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/generator": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-annotate-as-pure": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-compilation-targets": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-create-class-features-plugin": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-environment-visitor": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-function-name": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-hoist-variables": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-member-expression-to-functions": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-module-imports": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-module-transforms": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-optimise-call-expression": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-plugin-utils": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-replace-supers": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-simple-access": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-skip-transparent-expression-wrappers": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-split-export-declaration": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-string-parser": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-validator-identifier": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helper-validator-option": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/helpers": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/highlight": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/parser": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/plugin-syntax-import-assertions": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/plugin-syntax-jsx": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/plugin-syntax-typescript": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/plugin-transform-modules-commonjs": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/plugin-transform-typescript": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/preset-typescript": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/template": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/traverse": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@babel/types": "https://ga.jspm.io/npm:@babel/[email protected]/lib/index.js", | ||
"@jridgewell/gen-mapping": "https://ga.jspm.io/npm:@jridgewell/[email protected]/dist/gen-mapping.umd.js", | ||
"@jridgewell/resolve-uri": "https://ga.jspm.io/npm:@jridgewell/[email protected]/dist/resolve-uri.umd.js", | ||
"@jridgewell/set-array": "https://ga.jspm.io/npm:@jridgewell/[email protected]/dist/set-array.umd.js", | ||
"@jridgewell/sourcemap-codec": "https://ga.jspm.io/npm:@jridgewell/[email protected]/dist/sourcemap-codec.umd.js", | ||
"@jridgewell/trace-mapping": "https://ga.jspm.io/npm:@jridgewell/[email protected]/dist/trace-mapping.umd.js", | ||
"@jspm/import-map": "https://ga.jspm.io/npm:@jspm/[email protected]/dist/map.js", | ||
"ansi-styles": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"assert": "https://ga.jspm.io/npm:@jspm/[email protected]/nodelibs/browser/assert.js", | ||
"browserslist": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"buffer": "https://ga.jspm.io/npm:@jspm/[email protected]/nodelibs/browser/buffer.js", | ||
"caniuse-lite/dist/unpacker/agents": "https://ga.jspm.io/npm:[email protected]/dist/unpacker/agents.js", | ||
"chalk": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"color-convert": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"color-name": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"convert-source-map": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"crypto": "https://ga.jspm.io/npm:@jspm/[email protected]/nodelibs/browser/crypto.js", | ||
"debug": "https://ga.jspm.io/npm:[email protected]/src/browser.js", | ||
"electron-to-chromium/versions": "https://ga.jspm.io/npm:[email protected]/versions.js", | ||
"es-module-lexer/js": "https://ga.jspm.io/npm:[email protected]/dist/lexer.asm.js", | ||
"escape-string-regexp": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"fs": "https://ga.jspm.io/npm:@jspm/[email protected]/nodelibs/browser/fs.js", | ||
"gensync": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"globals": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"js-tokens": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"jsesc": "https://ga.jspm.io/npm:[email protected]/jsesc.js", | ||
"lru-cache": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"ms": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"node-releases/data/processed/envs.json": "https://ga.jspm.io/npm:[email protected]/data/processed/envs.json.js", | ||
"node-releases/data/release-schedule/release-schedule.json": "https://ga.jspm.io/npm:[email protected]/data/release-schedule/release-schedule.json.js", | ||
"path": "https://ga.jspm.io/npm:@jspm/[email protected]/nodelibs/browser/path.js", | ||
"process": "https://ga.jspm.io/npm:@jspm/[email protected]/nodelibs/browser/process-production.js", | ||
"semver": "https://ga.jspm.io/npm:[email protected]/semver.js", | ||
"supports-color": "https://ga.jspm.io/npm:[email protected]/browser.js", | ||
"sver": "https://ga.jspm.io/npm:[email protected]/sver.js", | ||
"sver/convert-range.js": "https://ga.jspm.io/npm:[email protected]/convert-range.js", | ||
"to-fast-properties": "https://ga.jspm.io/npm:[email protected]/index.js", | ||
"url": "https://ga.jspm.io/npm:@jspm/[email protected]/nodelibs/browser/url.js", | ||
"yallist": "https://ga.jspm.io/npm:[email protected]/yallist.js" | ||
} | ||
} | ||
} |
Oops, something went wrong.